Skip to main content

A audio-to-text conversion package

Project description

echoscript

echoscript is an audio transcription tool based on the Whisper model, providing a simple and user-friendly command-line interface (CLI) for audio transcription tasks.

Features

  • Audio transcription: Convert audio files to text
  • Support for multiple Whisper models
  • Multiple output formats (plain text, JSON, SRT)
  • Multi-language transcription support
  • Command-line interface (CLI) operation
  • Web application interface

Installation

pip install echoscript

Usage

Basic Usage

echoscript -a path/to/audio/file.mp3

Advanced Options

echoscript -a path/to/audio/file.mp3 -m medium -f srt -l en -o output.srt -v
  • -a, --audio: Path to the audio file for transcription
  • -m, --model-name: Name of the Whisper model to use (default is 'base')
  • -f, --fmt: Output format, supports json, srt, or None (plain text)
  • -l, --language: Language of the audio
  • -o, --filename: Output filename
  • -v, --verbose: Verbose mode, outputs transcription result to console

List Available Models and Languages

echoscript list --models
echoscript list --languages

Serve a Web Application

echoscript serve
echoscript serve --port 7860 --server_name 0.0.0.0 --share2pub
  • --port: Specify the port for the web application (default is 7860)
  • --server_name: Specify the server name (default is '0.0.0.0')
  • --share2pub/--no-share2pub: Whether to share publicly (default is False)

Development Plans

Future features planned:

  • Speaker Diarization
  • Additional audio processing and analysis features

License

MIT License

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

echoscript-0.0.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

echoscript-0.0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file echoscript-0.0.1.tar.gz.

File metadata

  • Download URL: echoscript-0.0.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for echoscript-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7af206e883ab7b35a6dd90c3e2bb7001a72bae5416c35548509a22e671285f54
MD5 c75e24730749b2d95b8139164f135e7f
BLAKE2b-256 41b947305e0f3c0b42f9cabe6278a3f45f23c78b0ca5d33407fc84d869f052c9

See more details on using hashes here.

File details

Details for the file echoscript-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: echoscript-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for echoscript-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee51cebc4f57a0e26b78587fa175f5a113a1590e2c2376ead57184f015bb22a5
MD5 09e8928510d49d67e11f319cb34d7caf
BLAKE2b-256 20bbac88055bd550d0f234181bdc2c6eff521a00474bc095303d5a0f2324aadb

See more details on using hashes here.

Supported by

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