semvec/pypi-packages huggingface dataset:
advxml 0.1.0
Advanced XML handling with encryption, compression, and validation.
Requires Python: >=3.6

# advxml

`advxml` is an advanced XML processing library that enhances traditional XML handling with **AES encryption, Gzip compression, and schema validation**.

## Features

- **Gzip compression for efficient XML storage**
- **AES encryption for secure XML storage**
- **XML Schema (XSD) validation**
- **Multi-threaded XML compression**
- **Automatic key generation**

## Installation

```bash
pip install advxml

USAGE:
from advxml import advxml

data = {"username": "Brewlock", "role": "admin"}
xml_str = advxml.to_xml(data)

compressed = advxml.compress_xml(xml_str)
decompressed = advxml.decompress_xml(compressed)

key = advxml.generate_key()
encrypted = advxml.encrypt_xml(xml_str, key)
decrypted = advxml.decrypt_xml(encrypted, key)
```
advlogs 0.1.0
Advanced logging with encryption, compression, and structured JSON logs.
Requires Python: >=3.6

# advlogs

`advlogs` is an advanced logging library that enhances traditional logging with **AES encryption, Gzip compression, and multi-threading**.

## Features

- **AES encryption for secure logs**
- **Gzip compression for storage efficiency**
- **Multi-threaded logging**
- **Structured JSON logging**

## Installation

```bash
pip install advlogs


USAGE:
from advlogs import advlogs
from cryptography.fernet import Fernet

key = Fernet.generate_key().decode()
logger = advlogs(log_file="advlogs.log", encrypt=True, key=key)

logger.log("INFO", "This is an encrypted log message.")
logger.compress_logs()
```
autounrar 0.1.0
A Python library designed to simplify handling RAR archives
Requires Python: >=3.6

---

# autounrar - 自动解压 RAR 压缩包的 Python 库  
# autounrar - Automatically Unrar RAR Archives in Python

---

## 简介 / Introduction  
`autounrar` 是一个 Python 库，旨在简化 RAR 压缩包的处理。它会自动下载 `unrar.exe`，并使用它来解压 RAR 压缩包或列出压缩包中的文件列表。无需手动安装或配置 `unrar.exe`，所有操作均可通过 Python 脚本完成。

`autounrar` is a Python library designed to simplify handling RAR archives. It automatically downloads `unrar.exe` and uses it to extract RAR archives or list their contents. No need to manually install or configure `unrar.exe`; all operations can be done via Python scripts.

---

## 安装 / Installation  
通过 pip 安装 `autounrar`：  
Install `autounrar` via pip:  

```bash
pip install autounrar
```

---

## 使用示例 / Usage Example  

```python
from autounrar import unrar

# 列出RAR压缩包中的文件 / List files in the RAR archive  
file_list = unrar.list('example.rar')  
print("Files in the archive:", file_list)  

# 解压RAR压缩包到指定目录 / Extract RAR archive to a specific directory  
unrar.extract('example.rar', 'output_directory')  

# 解压RAR压缩包到当前目录 / Extract RAR archive to the current directory  
unrar.extract('example.rar')  
```

---

## 功能 / Features  
- 自动下载 `unrar.exe`：无需手动安装，直接通过库完成下载。  
  - **Automatically download `unrar.exe`**: No need for manual installation; directly handled by the library.  
- 列出压缩包内容：快速查看 RAR 压缩包中的文件列表。  
  - **List archive contents**: Quickly view the file list in a RAR archive.  
- 解压文件：将 RAR 压缩包解压到指定目录。  
  - **Extract files**: Extract RAR archives to a specified directory.  

---

## 依赖 / Dependencies  
- Python 3.6 或更高版本。  
  - **Python 3.6 or higher**  
- `subprocess` 库  
  - `subprocess` library  
- `requests` 库  
  - `requests` library  
- `appdirs` 库  
  - `appdirs` library  
- `os` 库  
  - `os` library  
- 需要网络连接以下载 `unrar.exe`。  
  - **Internet connection required to download `unrar.exe`**  

---

## 许可证 / License  
本项目基于 MIT 许可证发布，请查看 [LICENSE](LICENSE) 文件获取更多信息。  
This project is released under the MIT License. See the [LICENSE](LICENSE) file for more details.  

---

## 贡献 / Contribution  
欢迎提交 Pull Request 或 Issue 来改进本库！  
We welcome Pull Requests or Issues to improve this library!  

---

## 支持 / Support  
如有问题或建议，请在 [Issues](https://github.com/Jeffrey131313/unrar/issues) 中反馈。  
If you have any issues or suggestions, please report them in the [Issues](https://github.com/Jeffrey131313/unrar/issues) section.

---

> **Note:** 本项目仅为学习目的，请勿用于非法用途。  
> **Note:** This project is for educational purposes only. Do not use it for illegal purposes.

---
advcsv 0.1.1
Advanced CSV handling with encryption, compression, and validation.
Requires Python: >=3.6

# advcsv

`advcsv` provides secure and optimized CSV handling with **AES encryption, Gzip compression, schema validation, and multi-threading**.

## Features

- **Gzip compression for efficient storage**
- **AES encryption for secure CSV storage**
- **CSV schema validation**
- **Multi-threaded CSV compression**
- **Automatic key generation**

## Installation

```bash
pip install advcsv

USAGE:
from advcsv import advcsv

data = [["Alice", "admin"], ["Bob", "user"]]
headers = ["name", "role"]
key = advcsv.generate_key()

compressed = advcsv.compress_csv(data, headers)
decompressed = advcsv.decompress_csv(compressed)

encrypted = advcsv.encrypt_csv(data, headers, key)
decrypted = advcsv.decrypt_csv(encrypted, key)

schema = {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "role": {"type": "string"}}}}
is_valid = advcsv.validate_csv(data, headers, schema)
```
advjson 0.1.0
Advanced JSON handling with encryption, compression, and validation.
Requires Python: >=3.6

# advjson

`advjson` provides secure and optimized JSON handling with **AES encryption, Gzip compression, schema validation, and multi-threading**.

## Features

- **Gzip compression for efficient storage**
- **AES encryption for secure JSON storage**
- **JSON schema validation**
- **Multi-threaded JSON compression**
- **Automatic key generation**

## Installation

```bash
pip install advjson


USAGE:
from advjson import advjson

data = {"username": "Brewlock", "role": "admin"}
key = advjson.generate_key()

compressed = advjson.compress_json(data)
decompressed = advjson.decompress_json(compressed)

encrypted = advjson.encrypt_json(data, key)
decrypted = advjson.decrypt_json(encrypted, key)

schema = {"type": "object", "properties": {"username": {"type": "string"}, "role": {"type": "string"}}}
is_valid = advjson.validate_json(data, schema)
```
tuik-scraper 1.0.1
TÜİK veri çekme ve indirme kütüphanesi
Requires Python: >=3.6

# TÜİK Scraper

Bu kütüphane, TÜİK verilerini kolayca çekip işlemenizi sağlar.

## Kurulum
```bash
pip install tuik_scraper

## Örnek Kullanım
from tuik_scraper import TuikScraper

tuik = TuikScraper()

tuik.kategoriler  # Kategori isimlerini yazdırır

tuik.tablolar("Enflasyon ve Fiyat") #Kategorideki tablo isimlerini getirir

#tuik.tablolar("kategori_adı")

tuik.indir_tablo("Enflasyon ve Fiyat", "İstatistiksel_Tablolar_Yeni_Mevsim_etkisinden_arındırılmış_TÜFE_göstergeleri") #Seçilen bir tabloyu indirir

#tuik.indir_tablo(kategori_adi, tablo_adi)

tuik.indir("Enflasyon ve Fiyat")  # Kategorideki tüm tabloları indirir
#tuik.indir(kategori_adı)
logging-with-context 0.2.0
Python library to add context to logging messages
Requires Python: >=3.9

# Logging with context (contextual logging)

This library provides utilities to easily add context to logging messages and to show them, promoting a logging style that separates the log message from its contextual values.

It helps you turning this:

```python
logger.info("Reading user %s posts", user_id)
posts = get_posts(user_id)
logger.info("User %s have %d posts", user_id, len(posts))
```

Into this:

```python
with add_global_context({"user_id": user_id}):
    logger.info("Reading user posts")
    posts = get_posts(user_id)
    logger.info("User posts readed", extra={"posts_count": len(posts)})
```

## Documentation

You can read the docs at https://terseus.github.io/python-logging-with-context/

## License

MIT
advhashing 0.1.0
Advanced cryptographic hashing library with salt, multi-threading, and HMAC authentication.
Requires Python: >=3.6

# advhashing

`advhashing` is an advanced cryptographic hashing library with enhanced security features.

## Features

- **Salted SHA-256 & SHA-512 hashing**
- **HMAC-based authentication**
- **Multi-threaded hashing for large datasets**
- **High-speed and cryptographic-grade security**

## Installation

```bash
pip install advhashing

USAGE:
from advhashing import advhashing

print(advhashing.hash_sha256("secure_data"))  # Salted SHA-256
print(advhashing.hmac_sha256("secret_key", "message"))  # HMAC Authentication
hashes = advhashing.multi_threaded_hash(["data1", "data2"])  # Multi-threaded hashing
```
advsecrets 0.1.0
Advanced secure token and key generation library with enhanced cryptographic security.
Requires Python: >=3.6

# advsecrets

`advsecrets` is an advanced cryptographic security library for secure token and key generation.

## Features

- **High-entropy secure tokens**
- **Secure UUID generation**
- **Multi-threaded token generation**
- **Strong password generator**

## Installation

```bash
pip install advsecrets
```

from advsecrets import advsecrets

print(advsecrets.secure_token()) # Secure 32-byte token
print(advsecrets.secure_uuid()) # Secure UUID
print(advsecrets.multi_threaded_tokens(5)) # Generate 5 tokens in parallel
print(advsecrets.secure_password(16)) # Generate a secure password
advhashlib 0.1.0
Advanced hashing and cryptography library with enhanced security and multi-threading.
Requires Python: >=3.6

# advhashlib

`advhashlib` is an advanced cryptographic hashing library, improving security, speed, and multi-threaded hashing capabilities.

## Features

- **Salted SHA-256 & SHA-512 hashing**
- **HMAC-based authentication signatures**
- **Multi-threaded hashing for large datasets**
- **Cryptographic-grade security**

## Installation

```bash
pip install advhashlib
```

from advhashlib import advhashlib

print(advhashlib.sha256("secure_data")) # Salted SHA-256
print(advhashlib.hmac_sha256("secret_key", "message")) # HMAC Authentication
hashes = advhashlib.multi_threaded_hash(["data1", "data2"]) # Multi-threaded hashing
modTable 2.0.1
Prints addition and multiplication tables for Z mod n*Z
Requires Python: <4,>=3.6

# About mod-table

`mod-table` prints the addition and multiplication tables for
the ring of integers modulo n, denoted
&#8484;/n&#8484; - and 
&#8484;/n&#8484; is a field if and only if n is prime.

## Installing `mod-table`

```
    python3 -m pip install modTable --upgrade
```
It's recommended to install into a local `venv`, or if installing systemwide
as the super-user to make a `venv` in `/usr/local/venv`, and install it there.
For some helpful hints about how to do this see the
[`addendum`](https://github.com/jrowellfx/lsseq?tab=readme-ov-file#addendum---more-on-installing-command-line-tools)
in the [`lsseq`](https://github.com/jrowellfx/lsseq) repo.

### Testing `mod-table`

Running `mod-table` on the command line should show you this.

```
$ mod-table 5
ℤ/5ℤ
 + |  0  1  2  3  4 
--------------------
 0 |  0  1  2  3  4 
 1 |  1  2  3  4  0 
 2 |  2  3  4  0  1 
 3 |  3  4  0  1  2 
 4 |  4  0  1  2  3 

 * |  0  1  2  3  4 
--------------------
 0 |  0  0  0  0  0 
 1 |  0  1  2  3  4 
 2 |  0  2  4  1  3 
 3 |  0  3  1  4  2 
 4 |  0  4  3  2  1 

$ mod-table 6
ℤ/6ℤ
 + |  0  1  2  3  4  5 
-----------------------
 0 |  0  1  2  3  4  5 
 1 |  1  2  3  4  5  0 
 2 |  2  3  4  5  0  1 
 3 |  3  4  5  0  1  2 
 4 |  4  5  0  1  2  3 
 5 |  5  0  1  2  3  4 

 * |  0  1  2  3  4  5 
-----------------------
 0 |  0  0  0  0  0  0 
 1 |  0  1  2  3  4  5 
 2 |  0  2  4  0  2  4 
 3 |  0  3  0  3  0  3 
 4 |  0  4  2  0  4  2 
 5 |  0  5  4  3  2  1 

```

See how ℤ/6ℤ can't be a field because 2, 3 and 4 don't have multiplicative inverses.
That is, there's no other number that when multiplied by 2, 3 or 4 gives 1.

But in ℤ/5ℤ all the non-zero numbers have multiplicative inverses, so it is a field!

Time to play - Enjoy!
advtime 0.1.0
An advanced time handling library with high precision and cryptographic security.
Requires Python: >=3.6

# advtime

`advtime` is an advanced and enhanced time handling library, improving precision, multi-threading, and cryptographic security.

## Features

- High-precision nanosecond time resolution
- UTC timestamps in ISO 8601 format
- Cryptographic time-based hashing
- Threaded sleep for non-blocking delays

## Installation

```bash
pip install advtime
```

USAGE:
from advtime import advtime

print(advtime.high_precision_time()) # Nanosecond resolution
print(advtime.utc_timestamp()) # ISO 8601 format
print(advtime.time_hash("secure_seed")) # Secure timestamp hash
advtime.threaded_sleep(2) # Non-blocking sleep
flexit-bacnet 2.2.3
Client BACnet library for Flexit Nordic series of air handling units.
Requires Python: >=3.7

# Flexit BACnet

This library allows integration with Flexit Nordic series of air handling units via BACnet protocol.

## Prerequisites

In order to use that library, you need to know the IP address and Device ID of your unit.

1. Open Flexit Go app on your mobile.
2. Use "Find product" button on tha main screen.
3. Select your device and press "Connect".
4. Enter installer code (default: 1000) and press "Login".
5. Open "More" menu -> Installer -> Communication -> BACnet settings.
6. Note down "IP address" and "Device ID".

You need to have Python version 3.7 or above.


## Connecting to a device

```python
import asyncio

# import FlexitBACnet
from flexit_bacnet import FlexitBACnet


async def main():
    # create a FlexitBACnet device instance with the IP address and Device ID
    device = FlexitBACnet('192.168.0.18', 2)

    await device.update()

    # check device name and s/n
    print('Device Name:', device.device_name)
    print('Serial Number:', device.serial_number)


if __name__ == "__main__":
    asyncio.run(main())
```

## Interacting with the device

For list of available states and interactions, please study [device.py](./flexit_bacnet/device.py).

For example, changing ventilation mode can be done as follows:

```python
import asyncio

# import FlexitBACnet
from flexit_bacnet import (
    FlexitBACnet,
    VENTILATION_MODE_HIGH
)


async def main():
    # create a FlexitBACnet device instance with the IP address and Device ID
    device = FlexitBACnet('192.168.0.18', 2)

    await device.update()

    # check current ventilation mode
    print('ventilation mode (before):', device.ventilation_mode)

    # set ventilation mode to High
    await device.set_ventilation_mode(VENTILATION_MODE_HIGH)

    # check current ventilation mode again
    print('ventilation mode (after):', device.ventilation_mode)


if __name__ == "__main__":
    asyncio.run(main())
```

Which would result in the following output:

```text
ventilation mode (before): 3
ventilation mode (after): 2
```


## Examples

To execute examples without installing the package, set PYTHONPATH to local directory, e.g.:

```bash
PYTHONPATH=. python3 examples/current_mode.py 192.168.0.100
```

Where 192.168.0.100 should be replaced with your unit's IP address.

## Finding device IP address

If you don't know the IP address of your unit, you can use the following script to find it:

```bash
PYTHONPATH=. python3 examples/discover.py
```
cmeel-lapack 3.12.1
cmeel distribution for LAPACK
Requires Python: >=3.8

# CMeel LAPACK

[![PyPI version](https://badge.fury.io/py/cmeel-lapack.svg)](https://pypi.org/project/cmeel-lapack)
[![Release](https://github.com/cmake-wheel/cmeel-lapack/actions/workflows/release.yml/badge.svg)](https://github.com/cmake-wheel/cmeel-lapack/actions/workflows/release.yml)

[LAPACK](https://netlib.org/lapack/) distribution for cmeel packages.
revcat 0.1.7
Unofficial RevenueCat CLI for Python
Requires Python: >=3.9
Keywords: cli, revenuecat

# RevenueCat CLI

Unofficial RevenueCat CLI for Python.

It allows you to interact with the RevenueCat API from the command line,
and automate more complex tasks such as granting entitlements to users.

## ⚙️ Installation

[We recommend](https://sealambda.com/blog/hygienic-python-in-2025) [uv](https://github.com/astral-sh/uv) to run the CLI.

```bash
# to run the CLI straight away
uvx revcat --help

# or if you prefer to install it
uv tool install revcat
```

You may of course also use `pip` to install the CLI - or `pipx` if you prefer to install it in an isolated environment.

```bash
pipx install revcat

# ...or if you like to live on the edge
pip install revcat
```

## 🔨 Usage

```bash
export REVENUECAT_API_KEY=<api-key>
revcat v1 entitlements grant --user-id <user-id> --entitlement-id <entitlement-id>
```

## 💻 Contributing

If you want to contribute to the project, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) file.

It contains information on how to set up your development environment, submit issues, and create pull requests.

## 📜 License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
advrandom 0.1.0
An advanced random number generation library with cryptographic security.
Requires Python: >=3.6

# advrandom

`advrandom` is an advanced and enhanced random number generation library designed for high-security applications, AI models, cryptography, and general-purpose randomness. It surpasses Python’s `random` module with cryptographic security, entropy enhancements, and multithreaded optimizations.

## Features

- Cryptographic security (`secrets`, `hashlib`, `os.urandom`)
- Multi-threaded high-speed number generation
- Gaussian-distributed random numbers
- Secure entropy-based hashing for unpredictable randomness
- Random execution delays (useful for bot protection)

## Installation

```bash
pip install advrandom
```
appendorgheading 2025.2.6.2
Append a new Org mode heading to an existing Org mode file
Keywords: org mode, orgmode, CLI, logging, shell

This tool appends Org mode formatted headings to existing Org mode files.

The author is using this to log events to some kind of 'errors.org' which is part
of his Org mode agenda.

Command line parameters override configuration file entries.
- Hosted and documented on github: https://github.com/novoid/appendorgheading
oeva 1.0.9
Eva - A friendly AI assistant for managing your projects
Requires Python: >=3.8

# oeva

Eva - A friendly AI assistant for managing your projects through a simple CLI interface.

## Features

- 🤖 AI-powered project management
- 📁 Project discovery and organization
- 🔍 Project analysis and validation
- 🚀 Interactive project creation
- 🔄 Git integration and release management

## Prerequisites

1. Python 3.8 or higher
2. OpenAI API key (get one at https://platform.openai.com/api-keys)

## Installation

Install Eva globally using pip:

```bash
pip install oeva
```

Set up your OpenAI API key:

```bash
# Add to your shell profile (~/.zshrc, ~/.bashrc, etc.)
export OPENAI_API_KEY='your-api-key-here'
```

## Usage

Start an interactive chat session with Eva:

```bash
oeva chat
```

Eva will help you:
- Create new projects with proper setup
- Open projects in your IDE
- Analyze project structure and dependencies
- Manage git repositories and releases
- And much more!

## Example Conversation

```
> oeva chat

Welcome to Eva Chat! Type 'exit' to end the conversation.

You: Create a new Python project called my-awesome-api
Eva: I'll help you create a new Python project with all the essentials! 💫

Creating project: my-awesome-api...
✓ Created directory structure
✓ Set up virtual environment
✓ Installed base dependencies
✓ Added README.md and .gitignore
✓ Initialized git repository

Your project is ready! Would you like me to open it in your IDE?

You: Yes please!
Eva: Opening my-awesome-api in Cursor... Done! 🚀

Let me know if you need help setting up anything else!

You: exit
Goodbye! Have a great day! ✨
```

## License

MIT License
altair_tiles 0.4.0
altair_tiles
Requires Python: >=3.9
Keywords: altair, basemaps, tiles

<img src="https://raw.githubusercontent.com/altair-viz/altair_tiles/main/doc/logo.svg" height="110"></img>

This package is in an early development stage. You should expect things to break unannounced until we release a version `1.0.0`.

You can use altair_tiles to add tiles from any xyz tile provider such as OpenStreetMap to your Altair chart. It is a counterpart to the amazing [contextily](https://github.com/geopandas/contextily) package which provides this functionality for [matplotlib](https://matplotlib.org/).

You can find the documentation [here](https://vega.github.io/altair_tiles). 

For a general introduction to plotting geographic data with Altair, see [Geoshape - Vega-Altair](https://altair-viz.github.io/user_guide/marks/geoshape.html) and [Specifying Data - Vega-Altair](https://altair-viz.github.io/user_guide/data.html#spatial-data).

## Installation
```bash
pip install altair_tiles
```
or
```bash
conda install -c conda-forge altair_tiles
```

altair-tiles requires at least Vega version `5.26.0`. If you use an IDE such as a Jupyter Notebook or VS Code, you usually don't have to worry about this.

## Development
```bash
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
```

Run linters and tests with
```bash
hatch run test
```

Build and view the documentation with
```bash
hatch run doc:clean
hatch run doc:build
hatch run doc:serve
```

To run a clean build and publish, run
```bash
hatch run doc:build-and-publish
```