Python wrapper for the DaDaScribe API
Project description
Python wrapper for the DaDaScribe API
The official DaDaScribe API wrapper in Python.
CLI Interface
The wrapper offers a CLI interface.
To start a job, for example:
$ dadascribe --source "link/to/youtube/or/path/to/file"
{
"status": "ok",
"id": "a7wuTaPrebOqheE0",
"count": 1
}
Check a job status:
$ dadascribe --status a7wuTaPrebOqheE0
Easily download results of a completed job:
$ dadadascribe --download a7wuTaPrebOqheE0
Python API
The wrapper offers a Python API.
from dadascribe import ScribeAPIWrapper
api_key = ... # e.g. from an environment variable, as str
w = ScribeAPIWrapper(api_key)
# Example transcription:
trsc_result = w.transcribe(
source="youtube/link/or/path/to/file",
source_language="en",
destination_language="es,it",
)
Development
pip3 install -e .
Make sure to run the tests as well via the run_tests.sh script:
chmod +x run_tests.sh
./run_tests.sh
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
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 dadascribe-0.1.0.tar.gz.
File metadata
- Download URL: dadascribe-0.1.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95ababb2e0a280c30576ec7dea76fca6c67e842981ae794885957a5b03cd03e9
|
|
| MD5 |
6acfadd2b98e59fa2a95b86800b11405
|
|
| BLAKE2b-256 |
5ca3ec8f1757778c50de3b5095e139343e3efd14928af7e31a0890a88e422efe
|
Provenance
The following attestation bundles were made for dadascribe-0.1.0.tar.gz:
Publisher:
publish.yml on PatzEdi/dadascribe-api-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dadascribe-0.1.0.tar.gz -
Subject digest:
95ababb2e0a280c30576ec7dea76fca6c67e842981ae794885957a5b03cd03e9 - Sigstore transparency entry: 2064779452
- Sigstore integration time:
-
Permalink:
PatzEdi/dadascribe-api-python@05454b2a23d6a3b9567268eb4a930d6b4bcd8f5f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/PatzEdi
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@05454b2a23d6a3b9567268eb4a930d6b4bcd8f5f -
Trigger Event:
release
-
Statement type:
File details
Details for the file dadascribe-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dadascribe-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1718d2b6f77d5a26bb1a9a794756c7a2c8d0684bae93ef30718130aea726e51
|
|
| MD5 |
5f59d4496b670ff6769277fe09d56a22
|
|
| BLAKE2b-256 |
5010bae5e173b17214ce0d42a32ec4ade0b6b469a46027690728aba79efb9fac
|
Provenance
The following attestation bundles were made for dadascribe-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on PatzEdi/dadascribe-api-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dadascribe-0.1.0-py3-none-any.whl -
Subject digest:
a1718d2b6f77d5a26bb1a9a794756c7a2c8d0684bae93ef30718130aea726e51 - Sigstore transparency entry: 2064779462
- Sigstore integration time:
-
Permalink:
PatzEdi/dadascribe-api-python@05454b2a23d6a3b9567268eb4a930d6b4bcd8f5f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/PatzEdi
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@05454b2a23d6a3b9567268eb4a930d6b4bcd8f5f -
Trigger Event:
release
-
Statement type: