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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tiktokliveproto-0.2.0.tar.gz
  • Upload date:
  • Size: 127.9 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.0.tar.gz
Algorithm Hash digest
SHA256 f1d9a9f555f34d359317d8ad924f0d575b227e0bb22f7c33a520d3e9b3c40b26
MD5 1fa632367723fbfa681cf877b9db1d47
BLAKE2b-256 5836a250d48a02034ebc4001ebb0e36f29dbdf7cc60bb5c92533571232c96f52

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tiktokliveproto-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 156.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6828e90fd715fc03617214ee35d616b1c7ab7b0d855a48158d5b5b541a756410
MD5 ef0f6c864589563e8249750abafad32c
BLAKE2b-256 4638241210527b0d11f6ba2a77a299227a5fe6ee9955fd60ab7921c18016de70

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiktokliveproto-0.2.0-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