semvec/pypi-packages huggingface dataset:
max-util 0.0.14
insert excel book, base xlwt
Requires Python: >=3.5

# Example Package

This is a simple example package. You can use
[Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
to write your content.#\x00 \x00m\x00k\x00_\x00u\x00t\x00i\x00l\x00
\x00
\x00
types-ioavstatsdb 1.5.0a3
Aviation Event Statistics - Database Software
Requires Python: >=3.10
Keywords: Accidents,Aviation,NTSB,Statistics

# IO-AVSTATS-DB-TYPING - Aviation Event Statistics Database Software

The National Transportation Safety Board ([NTSB](https://www.ntsb.gov/Pages/home.aspx)) investigates all aviation accidents in the U.S. and makes the investigation results available on their [website](https://data.ntsb.gov/avdata) in Microsoft Access database files for public use. 
The NTSB provides data from 1982 through 2007 in the file **`Pre2008.zip`**. 
Data since 2008 are available first in the overall **`avail.zip`** file, which is updated monthly, and second with a "weekly" amendment file each month on the 1st, 8th, 15th, and 22nd, e.g. **`up22JUN.zip`**.

**IO-AVSTATS-DB** allows you to migrate Microsoft Access files to a PostgreSQL database.
After the data is uploaded based on the two files **`Pre2008.zip`** and **`avail.zip`**, the PostgreSQL can be kept up to date with the "weekly" amendment files.

## Directory and File Structure of this Repository

### 1. Directories

| Directory         | Content                                                    |
|-------------------|------------------------------------------------------------|
| .github/workflows | **[GitHub Action](https://github.com/actions)** workflows. |
| docs              | Documentation files.                                       |
| site              | Documentation as static HTML pages.                        |
| src               | Python script files.                                       |

### 2. Files

| File                      | Functionality                                                 |
|---------------------------|---------------------------------------------------------------|
| .gitignore                | Configuration of files and folders to be ignored.             |
| .pylintrc                 | **pylint** configuration file.                                |
| LICENSE.md                | Text of the licence terms.                                    |
| Makefile                  | Tasks to be executed with the **`make`** command.             |
| mkdocs.yml                | Configuration file for **MkDocs**.                            |
| Pipfile                   | Definition of the Python package requirements.                |
| pyproject.toml            | Optional configuration data for the software quality tools.   |
| README.md                 | This file.                                                    |
| setup.cfg                 | Optional configuration data for **flake8**.                   |
txt2voice 0.1.4
Convert text to voice
Requires Python: >=3.9

# Text to Audio SDK

[![PyPI Version][pypi-image]][pypi-url]
[![Build Status][build-image]][build-url]
[![Code Coverage][coverage-image]][coverage-url]
[![Code Quality][quality-image]][quality-url]
[![License][license-image]][license-url]

The Yandex Text to Audio SDK is a Python package that allows you to convert text to audio using Yandex premium voices. It provides an easy-to-use asynchronous interface for generating audio files from text with customizable voice, speed, and other parameters.

## Installation

You can install the SDK from PyPI using pip:

```bash
pip install txt2voice
```

## Quick Start

Here's a simple example demonstrating how to use the SDK to convert text to audio:

```python
import asyncio

from txt2voice.api import TextToVoice, RequestParams
from txt2voice.models import VoiceParams, SpeedParams, AudioContent


async def main():
    token = 'YOUR_IAM_TOKEN'
    folder_id = 'YOUR_FOLDER_ID'
    text = 'Hello, this is an example text for audio conversion!'
    output_file = 'output_audio.mp3'

    api = TextToVoice(url='https://tts.api.cloud.yandex.net/speech/v1/tts:synthesize')

    convert_params = RequestParams(
        voice=VoiceParams(male='fillip', female='alyona'),
        speed=SpeedParams(speed=1.0),
        path_to_audiofiles=output_file,
        folder_id=folder_id,
        iam_token=token,
        lang='ru-RU',
        text=text
    )

    audio_content: AudioContent = await api.request_audio_content(convert_params)
    api.convert_ogg_to_mp3(audio_content, 'output_audio.mp3')


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

## Dependencies

The Yandex Text to Audio SDK has the following dependencies:

- aiohttp
- pydantic
- pydub

You can install them using pip with the following command:

```bash
pip install aiohttp pydantic pydub
```

## Contributing

Contributions to the project are welcome! If you find a bug, have a feature request, or want to contribute code, please open an issue or submit a pull request.

## License

This SDK is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

Happy audio conversion with Yandex Text to Audio SDK!

<!-- Badges -->

[pypi-image]: https://img.shields.io/pypi/v/txt2voice
[pypi-url]: https://pypi.org/project/txt2voice/
[build-image]: https://github.com/zemags/python-yandex-speech-kit/actions/workflows/build.yml/badge.svg
[build-url]: https://github.com/zemags/python-yandex-speech-kit/actions/workflows/build.yml
[coverage-image]: https://codecov.io/gh/zemags/python-yandex-speech-kit/branch/main/graph/badge.svg
[coverage-url]: https://codecov.io/gh/zemags/python-yandex-speech-kit
[quality-image]: https://api.codeclimate.com/v1/badges/d36533b74a159ebe78b1/maintainability
[quality-url]: https://codeclimate.com/github/zemags/python-yandex-speech-kit
[license-image]: https://img.shields.io/badge/License-MIT-yellow.svg
[license-url]: https://opensource.org/licenses/MIT