Real Time Speech Translator (rtst)
The rtst is a Python package for comprehensive speech processing. It integrates speech recognition, language detection, translation, and text-to-speech functionalities into a single, easy-to-use function.
Features
- Unified function for speech recognition, language detection, translation, and speaking the translation.
- Support for multiple speech recognition services: Google, Azure, AWS, and Hugging Face.
- Automatic translation of recognized speech to English.
- Vocalization of translated text.
Installation
Install the package using pip:
pip install rtst
Quick Start
Here’s how to use rtst to recognize, translate, and vocalize speech:
Single Function Usage
The package provides a rtst function, which takes care of the entire speech processing workflow:
import rtst
# Call the function with your preferred service and language code
rtst.process_speech(service="google")
This function will:
- Capture speech from the microphone.
- Recognize the speech using the specified service.
- Detect the language of the recognized speech.
- Translate the speech to English if it's in a different language.
- Vocalize the translated text.
Advanced Usage
For more advanced usage, refer to the package documentation. You can customize various aspects such as selecting different speech recognition services or handling different languages.
License
MIT License
Contributing
Contributions to rtst are welcome. Please follow the guidelines provided in the repository for contributing.
Metadata
Release files for rtst 0.1.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rtst-0.1.4.6.tar.gz | 6.2 kB | Without provenance | Details for rtst-0.1.4.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rtst-0.1.4.6-py3-none-any.whl | Python 3 | none | any | Details for rtst-0.1.4.6-py3-none-any.whl |
Total release size: 13.4 kB
Release files / rtst-0.1.4.6.tar.gz
| Download URL | rtst-0.1.4.6.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6924984eefff2615990aca6a5c47c562f59faf72663e31176563599b6e25965
|
|
BLAKE2b-256 checksum How to use checksums |
b403fa0a22704be3d7df23fc886cb53d34991d7512c2de67a76de43d5cc1c1eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / rtst-0.1.4.6-py3-none-any.whl
| Download URL | rtst-0.1.4.6-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff307ec47a61c52d888e2be56a68754e5e18b2bdc22213194e04ed186eaeb6c0
|
|
BLAKE2b-256 checksum How to use checksums |
fae59477883ec8ecc1283479cfa86fb3e78236fefb8602c7b22d76435a2add30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for rtst 0.1.4.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.