Skip to main content

Python wrapper for the DaDaScribe API

Project description

Python wrapper for the DaDaScribe API

The official DaDaScribe API wrapper in Python.

DaDaScribe Logo

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


Download files

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

Source Distribution

dadascribe-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

dadascribe-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

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

Hashes for dadascribe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 95ababb2e0a280c30576ec7dea76fca6c67e842981ae794885957a5b03cd03e9
MD5 6acfadd2b98e59fa2a95b86800b11405
BLAKE2b-256 5ca3ec8f1757778c50de3b5095e139343e3efd14928af7e31a0890a88e422efe

See more details on using hashes here.

Provenance

The following attestation bundles were made for dadascribe-0.1.0.tar.gz:

Publisher: publish.yml on PatzEdi/dadascribe-api-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for dadascribe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1718d2b6f77d5a26bb1a9a794756c7a2c8d0684bae93ef30718130aea726e51
MD5 5f59d4496b670ff6769277fe09d56a22
BLAKE2b-256 5010bae5e173b17214ce0d42a32ec4ade0b6b469a46027690728aba79efb9fac

See more details on using hashes here.

Provenance

The following attestation bundles were made for dadascribe-0.1.0-py3-none-any.whl:

Publisher: publish.yml on PatzEdi/dadascribe-api-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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