semvec/pypi-packages huggingface dataset:
accord-rs 0.0.12
Calculate consensus sequences
Requires Python: >=3.8

# accord-rs

The `accord-rs` library calculates a consensus sequence from reads that where aligned against a reference sequence.

To bring something into accord (*/əˈkɔrd/*) is to make it agree or correspond.
In German "Akkordarbeit" (piecework) is used to imply that something is done fast.

**BEWARE**:  
This library is in the early alpha stage, and its API may be subject to change without notice.

## Python

Accord provides bindings for consensus calculation from Python code.
Install with `pip install accord-rs`, and then use like so:

```python
from accord import Calculator
from accord.data import AlnQualityReqs

# settings for consensus calculation
reqs = AlnQualityReqs(
    min_mapq=10,            # minimum mapping quality
    mandatory_flags=0,      # required SAM flags, see: https://broadinstitute.github.io/picard/explain-flags.html
    prohibited_flags=1540,  # no unmapped, failing quality or optical duplicate reads
    indel_cutoff=0.1,       # only indels contained in at least 10 % of reads covering that position are considered
    save_ends=0,            # this has no function yet - only relevant when using PCR fragments
    min_observations=50,    # base coverage needs to be at least 50
)

# generate the consensus and alignment statistics
calc = Calculator(reqs)
consensus = calc.calculate("/path/to/reference.fasta", "/path/to/aln.bam")

# print the consensus as a FASTA record
print(consensus.consensus_seq.to_fasta())
```
kia-hyundai-api 1.6.4
Kia Uvo Api Wrapper
Requires Python: <4,>=3.12.0
Keywords: Kia, Uvo, rest-mini, api

[![GitHub Release][releases-shield]][releases]
[![GitHub Activity][commits-shield]][commits]
[![License][license-shield]](LICENSE)

![Project Maintenance][maintenance-shield]
[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]

Api Wrapper for Kia/Hyundai API using async in python, this was inspired by [this guide](https://developers.home-assistant.io/docs/api_lib_index) to be a lightweight wrapper, with simple error handling.

a lot of this is a port of [Bluelinky](https://github.com/Hacksore/bluelinky) from node.

# US Kia

- login
- get_vehicles
- get_cached_vehicle_status
- request_vehicle_data_sync
- check_last_action_status - allows verification actions have completed on vehicle
- lock
- unlock
- start_climate
- stop_climate
- start_charge
- stop_charge
- set_charge_limits

# US Hyundai

- login
- get_vehicles
- get_cached_vehicle_status
- get_location
- lock
- unlock
- start_climate
- stop_climate

# CA Kia/Hyundai

- login
- get_vehicles
- get_cached_vehicle_status
- get_next_service_status
- get_pin_token
- get_location
- request_vehicle_data_sync
- check_last_action_status - allows verification actions have completed on vehicle
- lock
- unlock
- start_climate
- start_climate_ev
- stop_climate
- stop_climate_ev
- start_charge
- stop_charge
- set_charge_limits

***

[kia_hyundai_api]: https://github.com/dahlb/kia_hyundai_api
[commits-shield]: https://img.shields.io/github/commit-activity/y/dahlb/kia_hyundai_api.svg?style=for-the-badge
[commits]: https://github.com/dahlb/kia_hyundai_api/commits/main
[forum]: https://community.home-assistant.io/
[license-shield]: https://img.shields.io/github/license/dahlb/kia_hyundai_api.svg?style=for-the-badge
[maintenance-shield]: https://img.shields.io/badge/maintainer-Bren%20Dahl%20%40dahlb-blue.svg?style=for-the-badge
[releases-shield]: https://img.shields.io/github/release/dahlb/kia_hyundai_api.svg?style=for-the-badge
[releases]: https://github.com/dahlb/kia_hyundai_api/releases
[buymecoffee]: https://www.buymeacoffee.com/dahlb
[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge
lrucache-rs 1.5.0
Dict-like LRUCache in Rust for Python
Requires Python: >=3.9
Keywords: cache, caching, lru, lrucache, mapping

# lrucache-rs

[![PyPI - Python Version](https://shields.monicz.dev/pypi/pyversions/lrucache-rs)](https://pypi.org/project/lrucache-rs)

An efficient LRU cache written in Rust with Python bindings. Unlike other LRU cache implementations, this one behaves like a Python dictionary and does not wrap around a function.

## Installation

```sh
pip install lrucache-rs
```

## Basic usage

```py
from lrucache_rs import LRUCache

cache: LRUCache[str, int] = LRUCache(maxsize=2)
cache['1'] = 1
cache['2'] = 2
cache['3'] = 3
assert cache.get('1') is None
assert cache.get('2') == 2
assert cache.get('3') == 3
```
token2audio 0.1.10
Token2Audio Server Package
Requires Python: >=3.8

# Token2Audio Package

This package provides a Token2Audio server for audio synthesis.

## Installation

```bash
# 无 GPU（默认）：
pip install token2audio
# 有 NVIDIA GPU：
pip install token2audio[gpu]

# or from source
pip install .
```

## Usage

download pre-trained models:

```bash
python -m token2audio.download /path/to/models
```

You can run the server directly using the command line:

```bash
python -m token2audio.server --model-path /path/to/models --host 0.0.0.0 --port 8000
```

Or import and run in Python:

```python
from token2audio import run_app

# Run the server (will parse command line arguments)
if __name__ == "__main__":
    run_app()
```

## Development

The package structure is as follows:

- `token2audio/`: Main package directory
    - `app.py`: FastAPI application factory
    - `server.py`: Server entry point
    - `protocol.py`: Protocol definitions
    - `handlers/`: Request handlers
    - `models/`: Model implementations
    - `utils/`: Utility functions
    - `flashcosyvoice/`: CosyVoice2 implementation