Skip to main content

Python client + CLI for Klaket — turn any video into LLM-ready data

Project description

klaket (Python SDK)

Turn any video into LLM-ready data. Zero dependencies.

pip install klaket
from klaket import Klaket

k = Klaket()  # self-hosted; Klaket("https://api.klaket.dev", api_key="klk_...") for cloud

result = k.process(
    "https://youtube.com/watch?v=...",
    model="medium",                 # optional quality bump
    prompt="Klaket, Docker, RAG",   # proper-noun hints
    num_speakers=2,                 # diarization hint
)

for seg in result["transcript"]:
    print(f'[{seg["start"]:7.2f}] {seg.get("speaker", "")}: {seg["text"]}')

hits = k.search(result["id"], "docker compose command")

MIT licensed. Part of Klaket.

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

klaket-0.7.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

klaket-0.7.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file klaket-0.7.1.tar.gz.

File metadata

  • Download URL: klaket-0.7.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for klaket-0.7.1.tar.gz
Algorithm Hash digest
SHA256 44dd9dd3cd00fe066d976ef3c6782ac8e0b1ca92cf15c431176ade959ede7ebd
MD5 9e49295df08ee83bb3cf5742ab99c6fa
BLAKE2b-256 c16ef106e6ac5a9ab6fcbb77085bec128d77bde7d902e6072721d22a7fddec4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for klaket-0.7.1.tar.gz:

Publisher: publish.yml on huseyinstif/klaket

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

File details

Details for the file klaket-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: klaket-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for klaket-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 916a9438c99709ee793bb174e778684a8acfbff10f2267af8ffc3ecdaf28655a
MD5 fac0c98f62d9826e116a3eaa6165be09
BLAKE2b-256 8946eb2f6c2456f99300bd92dcc0b2d8cd9cd2006e280d5d2ec1cccd2ee5e42b

See more details on using hashes here.

Provenance

The following attestation bundles were made for klaket-0.7.1-py3-none-any.whl:

Publisher: publish.yml on huseyinstif/klaket

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