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.0.tar.gz (6.4 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.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: klaket-0.7.0.tar.gz
  • Upload date:
  • Size: 6.4 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.0.tar.gz
Algorithm Hash digest
SHA256 42963e57f839766d7e9bf84f6eca2754937b4d4b1f8f13f98b09cfbb9029366f
MD5 60ed43be74c74bce5a1d3ea76f0ae3de
BLAKE2b-256 8d9610ea4f5b431fbbee9e193a463d008dd5008621423169a6542e8d8336f6f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for klaket-0.7.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: klaket-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e7217fa042d8502e386286e26fbd0bf7fcdd2268fcf3f551877df9b4fbafaa3
MD5 b2aa003e6636b837c42a6846c9658a20
BLAKE2b-256 8452e9a4d0f198e758f70b87083ba65abdbf81e2a10817907525da47f0a6aeee

See more details on using hashes here.

Provenance

The following attestation bundles were made for klaket-0.7.0-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