Skip to main content

Clean-room betterproto2/Pydantic Python bindings for the TikTok Webcast Protobuf schema.

Project description

TikTokLiveProto

Python betterproto2 bindings for the TikTok Webcast Protobuf schema.

Install

pip install TikTokLiveProto

Usage

Import the version you need from the version package:

from TikTokLiveProto.v1 import WebcastResponse, WebcastChatMessage
from TikTokLiveProto.v2 import WebcastPushFrame

These are generated betterproto2.Message classes, using pydantic dataclasses for field validation.

Layout

  • src/slim/v1/**/*.proto, src/slim/v2/**/*.proto (in the repo root) — canonical schemas
  • targets/python/TikTokLiveProto/src/TikTokLiveProto/{v1,v2} — generated by protoc + python-betterproto2, committed to the repo, regenerated by CI when any .proto under src/slim/ changes
  • targets/python/TikTokLiveProto/src/TikTokLiveProto/__init__.py — keeps the root package minimal while the actual generated code lives directly in TikTokLiveProto.v1 and TikTokLiveProto.v2

That means the committed package tree stays small:

src/TikTokLiveProto/
  __init__.py
  v1/
    __init__.py
    message_pool.py
  v2/
    __init__.py
    message_pool.py

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

tiktokliveproto-0.2.1.tar.gz (133.6 kB view details)

Uploaded Source

Built Distribution

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

tiktokliveproto-0.2.1-py3-none-any.whl (162.1 kB view details)

Uploaded Python 3

File details

Details for the file tiktokliveproto-0.2.1.tar.gz.

File metadata

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

File hashes

Hashes for tiktokliveproto-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f133de66559ab7bbc68627c333b7d692e74a9270a8054006a3b66f77571f4e6a
MD5 a105101bfefaf7bb8543876a0dc75364
BLAKE2b-256 81981abd587c86fbbc0a799e1e2da985d0c1eec47cba505fed761a1fb5e2f355

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiktokliveproto-0.2.1.tar.gz:

Publisher: release-python.yml on isaackogan/TikTok-Webcast-Protobuf

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

File details

Details for the file tiktokliveproto-0.2.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for tiktokliveproto-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d3e17a0a028e89b3f54c921e30eb8079707110d379c57e5e9c7df133ef5bb62
MD5 4343a6ef448ff2ed6f31a149b9ad8a84
BLAKE2b-256 0bf0ef2dfec4cc0c088f6605fd428ab132cd41f39e5fa56a2784d7eed77bd4e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiktokliveproto-0.2.1-py3-none-any.whl:

Publisher: release-python.yml on isaackogan/TikTok-Webcast-Protobuf

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