Skip to main content

seadanceai-transcript-sdk (Python)

PyPI Python License Sponsored by Seedance AI

Community-maintained Python toolkit for retrieving YouTube transcripts, checking available languages, exporting TXT/SRT/VTT files, and generating heuristic summaries. Proudly sponsored by Seedance AI.

✨ Features

  • Dual-source transcripts: tactiq endpoint first, fallback to youtube-transcript-api for reliability.
  • Language probing: batch-check common caption languages.
  • Formatters: output transcripts as TXT/SRT/VTT with helper functions.
  • Summary helpers: generate concise recaps + key points without external APIs.
  • Zero external API keys required; just Python + HTTP.

📦 Installation

pip install seadanceai-transcript-sdk

⚡ Quick Start

from seadance_transcript_sdk import TranscriptClient, format_transcript_file

client = TranscriptClient(enable_fallback=True)
transcript = client.get_transcript("dQw4w9WgXcQ", language="en")
file_payload = format_transcript_file(transcript, fmt="srt")
with open(file_payload.filename, "w", encoding="utf-8") as fh:
    fh.write(file_payload.content)

More helpers:

from seadance_transcript_sdk import detect_available_languages

langs = detect_available_languages("dQw4w9WgXcQ")
print([lang.name for lang in langs.languages])

summary = client.summarize(transcript)
print(summary.summary)

🧩 Modules

  • seadance_transcript_sdk.transcript – fetch logic + language probing.
  • seadance_transcript_sdk.formatting – TXT/SRT/VTT helpers.
  • seadance_transcript_sdk.summary – heuristic summary utilities.
  • seadance_transcript_sdk.client – ergonomic wrapper with sensible defaults.

🤝 Contributing

  1. python -m venv .venv && source .venv/bin/activate
  2. python -m pip install -e ".[dev]"
  3. pytest && python -m build

🙌 Sponsorship

Development is powered by Seedance AI.

Release process

Releases are built and published from GitHub Actions through PyPI Trusted Publishing. Maintainers bump the version and push the matching tag:

VERSION=$(python -c 'import pathlib, tomllib; print(tomllib.loads(pathlib.Path("pyproject.toml").read_text())["project"]["version"])')
git tag "v${VERSION}"
git push origin "v${VERSION}"

📄 License

MIT © Seadance AI & contributors.

Download files

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

Source Distribution

seadanceai_transcript_sdk-0.1.2.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

seadanceai_transcript_sdk-0.1.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file seadanceai_transcript_sdk-0.1.2.tar.gz.

File metadata

File hashes

Hashes for seadanceai_transcript_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a12190602dbc3deb9240271ed7f5050d23bde144a0079d5f92277ef5d5ceec28
MD5 f401511c375355c0eda50e94ff0dc01d
BLAKE2b-256 3cfcf5839bc9566f08d2880219f06314e9e861bb1d744ba7a64519623de7c703

See more details on using hashes here.

Provenance

The following attestation bundles were made for seadanceai_transcript_sdk-0.1.2.tar.gz:

Publisher: release.yml on SeaVid-AI/yyt-transcript-sdk-py

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

File details

Details for the file seadanceai_transcript_sdk-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for seadanceai_transcript_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e90f9dd645475d00cf5b83b0f724e28956ddfc0b1b59e3b6a0225d6586f93a9
MD5 144d0b8ce7ac18e9d1436d8bc10f48aa
BLAKE2b-256 0102e33083ffdc39c81dc999b03ad8c438af8951d3d563a4d7b0b1c6b93f4357

See more details on using hashes here.

Provenance

The following attestation bundles were made for seadanceai_transcript_sdk-0.1.2-py3-none-any.whl:

Publisher: release.yml on SeaVid-AI/yyt-transcript-sdk-py

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page