Skip to main content

Clean-room betterproto Python bindings for the TikTok Webcast Protobuf schema.

Reason this release was yanked:

test version

Project description

TikTokLiveProto

Python betterproto bindings for the TikTok Webcast Protobuf schema.

Install

pip install TikTokLiveProto

Usage

Import the version you need from the package:

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

These are generated betterproto.Message classes, using the same codegen family that TikTokLive uses for its Python protobufs.

TikTokLiveProto.v1 and TikTokLiveProto.v2 are package-level aliases to the generated version modules, so both of these patterns work:

import TikTokLiveProto

message_cls = TikTokLiveProto.v1.WebcastResponse

Layout

  • src/v1/**/*.proto, src/v2/**/*.proto (in the repo root) — canonical schemas
  • targets/python/TikTokLiveProto/src/TikTokLiveProto/generated/{v1,v2} — generated by protoc + python-betterproto, committed to the repo, regenerated by CI when any .proto under src/ changes
  • targets/python/TikTokLiveProto/src/TikTokLiveProto/__init__.py — exposes TikTokLiveProto.v1 and TikTokLiveProto.v2 as aliases to the generated version modules, without adding extra top-level package directories

That means the committed package tree stays small:

src/TikTokLiveProto/
  __init__.py
  generated/
    v1/
      __init__.py
      tiktok_proto.py
    v2/
      __init__.py
      tiktok_proto.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.0.2.tar.gz (33.4 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.0.2-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tiktokliveproto-0.0.2.tar.gz
Algorithm Hash digest
SHA256 768802da8bea6fb316aa5f68778396ebca0d10520c2314a3e5f79e29fd8ff1b9
MD5 32ab6a4aad1bd925a705e8529e31f994
BLAKE2b-256 5331b78531883ec2c5ef87be1da5ca97cb51e08acab26cd3f022a55c82cf1331

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tiktokliveproto-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 33.9 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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 076054188c70ad880c5e2c7ab2ef0e2494cc4bf9ab02af98d2538848b72312c5
MD5 210f3fe64617ea38b777d3782ce67710
BLAKE2b-256 4d9e138a06e57ee5b2973eeb98cba793ccf5473c97a6543b74a36db5cdfe9016

See more details on using hashes here.

Provenance

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