Skip to main content

Upload a media file and get the transcription link.

Project description

MediaCatch Speech-To-Text Uploader

github test codecov

mediacatch-s2t is the MediaCatch service for uploading a file in python and get the transcription result in a link. This module requires python3.9 or above.

You can use it on your CLI

pip install mediacatch_s2t

python -m mediacatch_s2t <api_key> <path/to/your/media/file> --fallback_language da

Or import it as a module

from mediacatch_s2t.uploader import upload_and_get_transcription


'''
The result will be a JSON object:
{
  "url": "url-to-your-transcription",
  "status": "uploaded",
  "estimated_processing_time": "your-estimated-time-to-get-your-transcription-done",
  "message": "The file has been uploaded."
}

'''
result = upload_and_get_transcription('path/to/your/media/file', 'api_key', fallback_language='da')

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

mediacatch-s2t-2.0.1.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

mediacatch_s2t-2.0.1-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

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