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.1.5.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.1.5-py3-none-any.whl (156.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tiktokliveproto-0.1.5.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.1.5.tar.gz
Algorithm Hash digest
SHA256 d5381e9054243b406f90a22a8c7cb440881dce9f9e3a3e259c0d042d8ac76d53
MD5 2ee0dd1f9f570e763e7e659cb030e17a
BLAKE2b-256 415bd871a46ceec6788671875a46ab206058c8d692e179b57c0ffbe57ad2db1d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tiktokliveproto-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 156.8 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.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 692985deddb4d6e3b2d55bb6904074e62664ac44531405a15e9955ee4b51229a
MD5 2fad15283f188e4c95d626b2f0e00263
BLAKE2b-256 38b18200dee7697a0593da022a6baef4338e31ed447987909f505d4832598156

See more details on using hashes here.

Provenance

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