semvec/pypi-packages huggingface dataset:
iwcs 0.0.4
iw client stats, get connected wireless client connection statistics
Requires Python: >=3.5

# IWCS - WiFi Client Stats Utility

This utility collects statistics of WiFi clients connected to a specified interface on your system.

## Prerequisites

Ensure that the `iw` command-line tool is installed on your system. If not, you can install it using the following command:

```bash
sudo apt-get install iw
```

## Usage

### Python Function

You can use the provided Python function `info(interface)` to collect WiFi client statistics.

```python
from iwcs import info

# Replace 'wlan0' with your wireless interface if necessary
stats = info(interface='wlan0')
print(stats)
```

The function returns a dictionary containing connection stats for each connected client identified by their MAC address.

### Example

```python
from iwcs import info

interface = "wlan0"  # Replace with your wireless interface
connected_clients_info = info(interface)
print(connected_clients_info)
```

## Output

The output is a dictionary where each key represents a MAC address of a connected client. The corresponding value is another dictionary containing various statistics such as inactive time, received bytes, transmitted bytes, signal level, etc.

---

## License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.
padaleclib 0.0.1
A small library with some useful tools

# Padalec Library

A small python library with some useful tools.

## Table of Contents

- [Installation](#installation)
- [License](#license)
- [Contact](#contact)

## Installation

1. [Prerequisites](#prerequisites)
2. [Installation Steps](#installation-steps)

### Prerequisites

- Python 3.12.0

### Installation Steps

```bash
pip install padaleclib
```

### License

This project is licensed under the [MIT License](https://opensource.org/licenses/MIT). See [LICENSE.md](LICENSE.md) for details.

### Contact

For any questions, issues or feedback, feel free to create an issue on [GitHub](https://github.com/DarkKryU/Padalec-Lib/issues/new).
tpds-extension-dspic33-support 1.0.1
Microchip(SPG) Trust Platform - dsPIC33 extension
Requires Python: >=3.8

# Trust Platform Design Suite - dsPIC33 Connect Extension

This package is needed to add support for USB to UART conversion (over MCP2221A) which allows the Trust Platform Design Suite to communicate with dsPIC devices.

## Setup

Kit Protocol is required to provision a Secure Element using the Trust Platform Design Suite. This firmware can be installed through the CryptoAuthentication Library in MPLAB® Code Configurator. More information about this library can be found on [npm](https://www.npmjs.com/package/@mchp-mcc/crypto-authentication-library) and the [Microchip Online Docs](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.CAL.RELEASENOTES&version=latest&redirect=true).

## Release Notes

### 1.0.x
- Added [pykitinfo](https://pypi.org/project/pykitinfo/) dependency with minimum version 1.1.2.19
- Initial public release
- Added support for dsPIC33 devices in TPDS
lecert 1.3
Python module for obtaining SSL certificates from Let's Encrypt for self-service projects

# lecert

Lecert is a Python module for obtaining SSL certificates from Let\'s Encrypt for self-service projects.

## Installation
```
pip install lecert
```

## Usage
To obtain a new certificate, simply call the get_cert function:
```
import lecert

certs_dir = './certs'
email = 'example@domain.com
domains = ['example.com', 'example.org']

result = lecert.get_cert(certs_dir, email, domains)
```

The get_cert function will create a private key and CSR, issue a certificate from Let's Encrypt, and save the certificate and private key to the specified directory.

To make the contents of the ACME challenge directory available, you can add the following route to your web application:

```
from flask import Flask, send_file, abort

app = Flask(__name__)

@app.route('/.well-known/acme-challenge/<challenge_token>')
def acme_challenge(challenge_token):
	validation_path = lecert.get_validation_path(certs_dir, challenge_token)
	if not validation_path:
		return abort(404)
	
	return send_file(validation_path)
```

## Options
The get_cert function takes the following optional arguments:
- www: Whether to include the www subdomain in the certificate.
- cert_lifetime: The lifetime of the certificate in days.
- timeout: The timeout in seconds for the certificate issuance process.
- force: Whether to force the certificate issuance even if the current certificate is still valid.
- privkey_file_name: The name of the private key file.
- cert_file_name: The name of the certificate file.
- backup_time_format: Time format for backup directories.


## Example
The following example shows how to use LeCert to obtain and maintain SSL certificates for a small web application:
```
import lecert
import schedule
import time

certs_dir = './certs'
domains = ['example.com', 'example.org']
email = 'example@domain.com

def get_cert_job():
	result = lecert.get_cert(certs_dir, email, domains)
	if result:
		print('Certificate obtained successfully.')
	else:
		print('Error obtaining certificate.')

# Schedule the certificate renewal job to run everyday
schedule.every().day.do(get_cert_job)

# Start the scheduler
while True:
	schedule.run_pending()
	time.sleep(1)
```
This example will automatically obtain a new certificate everyday and save it to the certs directory. The contents of the ACME challenge directory will be made available at /.well-known/acme-challenge/<challenge_token>.

## License
This project is licensed under the MIT License