Arabic Translator Tester Arabic Translator Tester is a Python-based project designed for offline Arabic speech-to-English translation. The project combines Vosk for Arabic speech recognition and Argos Translate for language translation, allowing users to convert spoken Arabic audio into English text without requiring an internet connection.
This repository is structured to work both as:
✅ A standalone GitHub project ✅ A publishable Python package on PyPI 🚀 Key Features 🔊 Offline Arabic Speech Recognition using Vosk 🌍 Arabic → English Translation using Argos Translate 📴 Works completely offline (no API keys required) 🧩 Can be used as a Python library or via CLI 🐍 Compatible with Python 3.9+ (tested with Python 3.12) ⚙ Dependencies This project relies on the following core technologies:
Vosk – Offline speech recognition engine Argos Translate – Offline neural machine translation Python Standard Libraries All dependencies are automatically installed via pip.
🧠 How It Works Audio Input: Arabic speech is provided as an audio file or microphone input Speech Recognition: Vosk converts Arabic speech into Arabic text Translation: Argos Translate converts Arabic text into English Output: Translated English text is returned to the user The entire pipeline runs locally, ensuring privacy, speed, and offline usability.
🧪 Usage Examples Python Library Usage from arabic_translator_tester import translate_audio
result = translate_audio("sample_arabic.wav") print(result) CLI Usage arabic-translator-tester sample_arabic.wav 🔨 Building the Package (For PyPI) To build the package locally:
pip install build twine python -m build This will generate a dist/ folder containing .whl and .tar.gz files.
🚀 Publishing to PyPI twine upload dist/* Make sure to:
Increment the version in pyproject.toml Use a unique package name on PyPI Use a PyPI API token for authentication 🔁 Updating the Package Update code Increase version number Rebuild and upload python -m build twine upload dist/* 📜 License This project is licensed under the MIT License. You are free to use, modify, and distribute this software.
🤝 Contributing Contributions are welcome!
Metadata
Release files for arabic-translator-tester 0.1.8
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 |
|---|---|---|---|---|
| arabic_translator_tester-0.1.8.tar.gz | 6.4 kB | Without provenance | Details for arabic_translator_tester-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arabic_translator_tester-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for arabic_translator_tester-0.1.8-py3-none-any.whl |
Total release size: 14.2 kB
Release files / arabic_translator_tester-0.1.8.tar.gz
| Download URL | arabic_translator_tester-0.1.8.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b84f277aa84dd0aa792e219f3cc7fdb5f338c5f7853ae3ae1b2a19cc54abd18c
|
|
BLAKE2b-256 checksum How to use checksums |
a4d0b263c911f4210e0c71a216020bbf3ae94d0bc647e54a738cb785135d14a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / arabic_translator_tester-0.1.8-py3-none-any.whl
| Download URL | arabic_translator_tester-0.1.8-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98fc4f40fdf5b82b4cdceeb1b35dff2c48eb33f14ae84645c23a549a4e8af03b
|
|
BLAKE2b-256 checksum How to use checksums |
7e18861df720bd31556068f91af23f603d551004a669dcc56e1bda4988f39170
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for arabic-translator-tester 0.1.8
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.