semvec/pypi-packages huggingface dataset:
dsrecords 0.4.18
Dead-simple and easy-to-hack RecordIO-like data storing. Inspired by MXNet's RecordIO and Protobuf.
License: MIT
Keywords: RecordIO


# Dead Simple Records


Easy to hack and dead simple RecordIO-like data storing. Inspired by MXNet's RecordIO and Protobuf.

- [Documentations](https://ndgnuh.gitlab.io/dsrecords/)

## (planned) features

- [x] Binary-based data format with index file
- [x] Easy custom serialization schemes
- [x] Common serialization schemes (more TBA)
- [x] Documentation
- [x] Append, update, delete data sample
- [ ] Pack/unpack form
- [ ] Schema serialization

## Quick start
See the overview section in the [documentations](https://ndgnuh.gitlab.io/dsrecords/).

Also, check out [this notebook](https://github.com/ndgnuh/ezrecords/blob/master/Examples.ipynb) for a quick example, this notebook has not been updated in a while though.

## How does it work?

#### Saving

1. Open an empty file, this is the data file.
2. Take whatever data you got, serialize it in a way (for example, write to PNG buffer)
3. Write the serialized data to the said file buffer, store the offset and size of the data
4. Repeat until all data are written
5. Write all the offsets and sizes to another file (index file)

#### Loading

1. Load the data file and the index file.
2. When given an index, use the index file to get the offset and size of the data.
3. Seek the file pointer to the offset, read the exact size and deserialize the data.

## Prebuilt format


## Customized serialization format
streamspeech 2023.12.6
Text to Speech with Generative AI
License: MIT
Requires Python: >=3.9
Keywords: generative-ai speechbrain tts text-to-speech gan artificial-intelligence ai

# streamspeech

[![PyPI version fury.io](https://badge.fury.io/py/streamspeech.svg)](https://pypi.python.org/pypi/streamspeech/)
[![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) 
[![Build Package](https://github.com/Nelson-Gon/streamspeech/actions/workflows/build-package.yaml/badge.svg)](https://github.com/Nelson-Gon/streamspeech/actions/workflows/build-package.yaml)
[![PyPI license](https://img.shields.io/pypi/l/streamspeech.svg)](https://pypi.python.org/pypi/streamspeech/)
[![Total Downloads](https://pepy.tech/badge/streamspeech)](https://pepy.tech/project/streamspeech)
[![Monthly Downloads](https://pepy.tech/badge/streamspeech/month)](https://pepy.tech/project/streamspeech)
[![Weekly Downloads](https://pepy.tech/badge/streamspeech/week)](https://pepy.tech/project/streamspeech)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Nelson-Gon/streamspeech/graphs/commit-activity)
[![GitHub last commit](https://img.shields.io/github/last-commit/Nelson-Gon/streamspeech.svg)](https://github.com/Nelson-Gon/streamspeech/commits/main)
[![GitHub issues](https://img.shields.io/github/issues/Nelson-Gon/streamspeech.svg)](https://GitHub.com/Nelson-Gon/streamspeech/issues/)
[![GitHub issues-closed](https://img.shields.io/github/issues-closed/Nelson-Gon/streamspeech.svg)](https://GitHub.com/Nelson-Gon/streamspeech/issues?q=is%3Aissue+is%3Aclosed)



`streamspeech`: generative AI that talks!


## Features List

- [x] Text to Speech

- [ ] Speech to Text 

- [ ] Custom user voices 

- [ ] API Free Development (local LLM or text generation model)

- [ ] Image to text to speech 






## Installation

The simplest way to install the latest release is as follows:

```shell
pip install streamspeech

```

To install the development version:


Open the Terminal/CMD/Git bash/shell and enter

```shell

pip install git+https://github.com/Nelson-Gon/streamspeech.git

# or for the less stable dev version
pip install git+https://github.com/Nelson-Gon/streamspeech.git@dev

```

Otherwise:

```shell
# clone the repo
git clone git@github.com:Nelson-Gon/streamspeech.git
cd streamspeech
pip install -e . 

```

## Usage 

```python
python -m streamspeech
```

The above will open a web browser with the app. NOTE: At the moment, one needs to sign up for an API Key to use this app. 

Acknowledgements

`streamspeech` is made possible by the [`PaLM` API](https://developers.generativeai.google/), [speechbrain](https://speechbrain.github.io/) by NVIDIA, and [`streamlit`](https://streamlit.io/)


To report any issues, suggestions or improvement, please do so at [issues](https://github.com/Nelson-Gon/streamspeech/issues). 

If you would like to cite this work, please use:

Nelson Gonzabato (2023) streamspeech: Generative AI that talks! https://github.com/Nelson-Gon/streamspeech


**Thank you very much**. 


> “Ideas come and go, stories stay” – NNT, The Black Swan