Skip to main content

Voicely is a lightweight Python library that converts audio files → text and optionally translates the extracted text

Project description

Telegram-Discuss

📘 voicely — Audio-to-Text + Translation for Python

Voicely is a lightweight Python library that converts audio files → text and optionally translates the extracted text .

🚀 Features

  • 🎤 Audio → Text .

  • 🌍 Automatic translation using Google Translate endpoint .

  • 🔁 Supports any target language .

  • ⚡ Fast, minimal, and dependency-light .

  • 🧩 Simple class-based interface .

📦 Installation

  • Clone the project:
git clone https://github.com/DevZ44d/voicely.git
  • Via PyPi
pip install voicely -U

🧠 Usage Example

  • 🔊 Convert audio to text + translate to Arabic
from voicely import Audio
def main() -> str:
    audio = Audio(
        audio="audio.mp3", # Hello, How are you ?
        Translation_To="ar"
    )
    
    print(audio.start())  # → returns translated text
    print(audio.extract_text) # → returns extract text → Hello, How are you ?
    
if __name__ == '__main__':
  main()

Class Translation

  • Simple Google Translate wrapper.
from voicely.translation import Translation
T: str = Translation("ar" , "Hello, How are you ?")
# ar → arabic , en → english , ...
print(T["Text"])
# or
print(T.get())
  • 📝 Output Example
مرحبا, كيف حالك ؟

💬 Help & Support .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voicely-5.0.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voicely-5.0.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file voicely-5.0.0.tar.gz.

File metadata

  • Download URL: voicely-5.0.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for voicely-5.0.0.tar.gz
Algorithm Hash digest
SHA256 5052a77d61091b22ed1f5be11d40ad5110d7299680d9b6284607a3f44ff9603e
MD5 6ccb8350a9cc01b9cbb51151f7874b18
BLAKE2b-256 323dd89d020b4196e913573a3b68d9349b4e1d0f167351848825b96bd6524f2a

See more details on using hashes here.

File details

Details for the file voicely-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: voicely-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for voicely-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb85855138fd43079e2f84a813a3a1bf47605a379b7067374b5055c97c00968e
MD5 36ea3a079440c6ab852f08f0e0dd8936
BLAKE2b-256 7f936f0dd7fea1aa5ac15e031c8f4f885399ddb930f6a2253d9665671ca00ffe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page