semvec/pypi-packages huggingface dataset:
pyiwctl 0.4
A Python package to manage WiFi connections using iwctl
Requires Python: >=3.6

# pyiwctl

`pyiwctl` is a Python package for managing WiFi connections using `iwctl`.

## Installation

### Prerequisites

Ensure you have `iwd` (iNet Wireless Daemon) installed on your system. You can install it using the following commands:

```bash
- Debian:
sudo apt install iwd -y

- Fedora:
sudo dnf install iwd

- Arch Linux:
sudo pacman -Sy iwd

```

### Python Package

Install the `pyiwctl` package using `pip`:

```bash
pip install pyiwctl
```

## Usage

```python
from pyiwctl import WiFiManager

manager = WiFiManager(interface='wlan0')
manager.scan_networks()
ssids = manager.get_ssids()
print("Available networks:", ssids)

success = manager.connect_to_network('SSID_NAME', 'PASSWORD')
print("Connection successful:", success)

manager.disconnect()
manager.forget_network('SSID_NAME')
```
cdxj-util 1.0.0
A utility library for working with CDXJ files
Requires Python: >=3.7
Keywords: cdxj openwayback wayback

# cdxj_util

cdxj_util is a Python library for efficiently processing CDXJ (Compressed DeduplicateD Web Archive Index JSON) files. This library provides functionality for loading, searching, and analyzing large CDXJ files.

## Features

- Asynchronous and synchronous loading of CDXJ files
- URL-based searching (exact and partial matching)
- Filtering by timestamp range
- Bulk searching of multiple URLs
- Generation of CDXJ file statistics (total records, unique URLs, subdomain distribution, MIME type distribution, etc.)

## Installation

```bash
pip install cdxj_util
```

## Usage

### Loading a CDXJ file

```python
from cdxj_util.core import CDXJCore

core = CDXJCore("path/to/your.cdxj")
records = core.load_all_records()
```

### Searching URLs

```python
from cdxj_util.search import CDXJSearch

search = CDXJSearch(records)
results = search.search_by_url("http://example.com/", exact_match=True)
```

### Generating statistics

```python
from cdxj_util.stats import CDXJStats

stats = CDXJStats(records)
total_records = stats.total_records()
unique_urls = stats.unique_urls()
mime_distribution = stats.mime_type_distribution()
```

## Asynchronous Support

cdxj_util also supports asynchronous processing, which is particularly useful for handling large CDXJ files:

```python
import asyncio
from cdxj_util.async_core import AsyncCDXJCore

async def process_cdxj():
    async_core = AsyncCDXJCore("path/to/your.cdxj")
    records = await async_core.load_all_records()
    # Further processing...

asyncio.run(process_cdxj())
```

## Examples

For more detailed usage examples, please refer to the demo scripts in the `examples/` directory.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
verify-project-demo-aa10fd8b 0.1.1
A sample Python package that generates test code.
Requires Python: >=3.6

# verify-project-demo-aa10fd8b

    This is a sample Python package that generates test code with specified comments.

    ## Installation

    Install the package with:

    ```sh
    pip install verify-project-demo-aa10fd8b
    from my_package.code_generator import generate_test_code

    directory = 'test'
    filename = 'test_code.py'
    custom_value = 'specified_value'
    generate_test_code(directory, filename, custom_value)