Upload a media file and get the transcription link.
Project description
MediaCatch Speech-To-Text Uploader
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mediacatch-s2t-2.0.1.tar.gz.
File metadata
- Download URL: mediacatch-s2t-2.0.1.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa78d01a806884738f4a49ac5a14c46afc0f0f1d36fe9447ab0a0c9545c2a3ac
|
|
| MD5 |
d123eeb46eb7d09041f5da31df7b944e
|
|
| BLAKE2b-256 |
2ccfc608a087a2df954cfbae344811d13e35a1bfbc084c2e374aabb0899b894f
|
File details
Details for the file mediacatch_s2t-2.0.1-py3-none-any.whl.
File metadata
- Download URL: mediacatch_s2t-2.0.1-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1e4bae15c1972c367140f43af139f29ed6602f4158a492590d61f3c6d329d0d
|
|
| MD5 |
b609442f57320ec1e76d0be39179bfdd
|
|
| BLAKE2b-256 |
fd8c5f2ee610f98e095c7c784c58bbe7f80ff2b4ea6275d800978754f52f874e
|