semvec/pypi-packages huggingface dataset:
py-wake-cli 2.0.5
A simple wakeonlan implementation.
License: MIT
Requires Python: <4.0.0,>=3.10.0

# wake

A simple wakeonlan implementation for waking defined hosts.

## Requirements

- Python 3.10.x, 3.11.x
- Linux / macOS

**Note:** wake is not tested on Windows.

## Installation

```
pip install py-wake-cli
```

## Usage

```
Usage: wake [OPTIONS] COMMAND [ARGS]...

  A simple wakeonlan implementation.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  host  Wake the specified host(s).
  show  Show all hosts.
```

### Examples

_Examples use the configuration shown in [Configuration](#Configuration)_

Wake a specific host:

```
$ wake host abcd
Waking host "abcd"
```

Wake all hosts:

```
$ wake host --all
Waking host "abcd"
Waking host "wxyz"
```

Show hosts:

```
$ wake show
Hostname    MAC Address        IP Address         Port
----------  -----------------  ---------------  ------
abcd        AA:BB:CC:DD:EE:FF  255.255.255.255       9
wxyz        00:11:22:33:44:55  192.168.0.255         7
```

## Configuration

Hosts should be defined in the file `~/.config/wake.toml`. Every host must have a `name` and `mac` value; `ip` and `port` are optional. `ip` is an IPv4 address. Optional valid MAC address separators are `:`, `-`, and `.`. The number of characters between separators does not matter. Example formats:

- AA:00:BB:11:CC:22
- AA-00-BB-11-CC-22
- AA00.BB11.CC22
- AA00BB11CC22

Example configuration:

```
[[ hosts ]]
name = "abcd"
mac = "AABBCCDDEEFF"

[[ hosts ]]
name = "wxyz"
mac = "00:11:22:33:44:55"
ip = "192.168.0.255"
port = 7
```

## License

Wake is released under the [MIT License](./LICENSE)
py-triex 2.0.6
A tool to generate semi-minimized regular expression alternations.
License: MIT
Requires Python: <4.0.0,>=3.10.0

# Triex

A tool to generate semi-minimized regular expression alternations.

Given a list of `str`, `int`, and `float` values, triex constructs a trie data structure and generates a minimized regular expression that matches all members in the trie. The regex is created walking the values left-to-right, so the best results are achieved with values that share a common prefix.

## Requirements

- Python 3.10.x, 3.11.x

## Installation

```
pip install py-triex
```

## Usage

### As a Library

```
>>> from triex import Trie
>>> t = Trie(['foo', 'foobar', 'foobaz', 'bar', 'bat'])
>>> t.to_regex()
ba[rt]|foo(?:ba[rz])?
```

### Command Line

```
Usage: triex [OPTIONS] COMMAND [ARGS]...

  A tool to generate semi-minimized regular expression alternations.

Options:
  --help         Show this message and exit.
  -v, --verbose  Increase verbosity.
  --version      Show the version and exit.

Commands:
  batch    Batch convert file contents to patterns.
  convert  Convert input to a regex pattern.
```

#### Examples

Convert:

```
$ echo "foo\nfoobar\nfoobaz\nbar\nbat" > words.txt
$ triex convert -i words.txt
ba[rt]|foo(?:ba[rz])?
$ echo -e "foo\nfoobar\nfoobaz\nbar\nbat" | triex convert
ba[rt]|foo(?:ba[rz])?
```

Batch:

```
$ printf "foo\nbar" > words1.txt
$ printf "foo\nbaz" > words2.txt
$ triex batch *.txt
Converting words1.txt
Converting words2.txt
$ less -FX words1.txt
bar|foo
$ less -FX words2.txt
baz|foo
```

## License

triex is released under the [MIT License](./LICENSE)
mkdocs-overwrite-configs 1.0.1
Overwrite MkDocs configuration files with a single file
License: MIT
Requires Python: >=3.6
Keywords: mkdocs, backstage, techdocs, mkdocs-overwrite-configs

A simple plugin that will override configs that previous plugins have messed.

I made this plugin for the sole reason that I need to use the same config for a standalone build and a backstage integration. For some reason, the backstage-techdocs-core plugin messes with the config and I need to override it to make it work.

## Usage

```yaml
theme:
  palette: &palette
    - media: "(prefers-color-scheme: light)"
      scheme: default
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      toggle:
        icon: material/brightness-4
        name: Switch to system preference
plugins:
  - overwrite-configs:
      theme:
        palette: *palette
```
django-flow-viz-toolkit 0.1.1
A tool to generate flowcharts for Django projects
License: MIT
Requires Python: >=3.7
Keywords: django, flowchart, visualization, model relationships, django models, URL mapping, middleware visualization, signal visualization, graph generation, pygraphviz, Django management commands, process visualization, Django package, project visualization, Django tools, developer tools

# Django Flow Viz Toolkit

![Flowchart Example](https://raw.githubusercontent.com/arifbd2221/django-flow-viz/main/flowcharts/project_flowchart.png)

A Django management command that generates flowcharts for your Django project, including models, URLs, middleware, and signals.

You can find this package on [PyPI](https://pypi.org/project/django-flow-viz-toolkit/).

## Features
- Generates project-wide or app-wise flowcharts.
- Visualizes Django models, URLs, middleware, and signals.
- Uses PyGraphviz to render flowcharts.

## Installation

1. We will use pygraphviz to generate the flowcharts. Install it via pip:
   ```
   pip install pygraphviz
   ```
   If you face any issues, you might need to install Graphviz on your system first. For example, on Ubuntu, you can run:
   ```
   sudo apt-get install graphviz
   ```

2. Install the package using pip:
   ```
   pip install django-flow-viz-toolkit
   ```

## Configuration
After installation, include `django-flow-viz-toolkit` in the `INSTALLED_APPS` in your Django project's `settings.py`:

```
INSTALLED_APPS = [
    ...
    'flowchart_visualizer',
    ...
]
```

## Usage
Run the management command to generate the flowchart:
```
python manage.py generate_flowchart
```

To generate app-wise flowcharts:
```
python manage.py generate_flowchart --app-wise
```