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 schemastargets/python/TikTokLiveProto/src/TikTokLiveProto/{v1,v2}— generated byprotoc+python-betterproto2, committed to the repo, regenerated by CI when any.protoundersrc/slim/changestargets/python/TikTokLiveProto/src/TikTokLiveProto/__init__.py— keeps the root package minimal while the actual generated code lives directly inTikTokLiveProto.v1andTikTokLiveProto.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
Release files for TikTokLiveProto 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tiktokliveproto-0.2.2.tar.gz | 148.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tiktokliveproto-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 324.0 kB
Release files / tiktokliveproto-0.2.2.tar.gz
| Download URL | tiktokliveproto-0.2.2.tar.gz |
|---|---|
| Size | 148.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72d740f54a14a661e568c503bab842ec1310f90519ee58b728cafa63245a0374
|
|
BLAKE2b-256 checksum How to use checksums |
8cc081ce58ae53d769556eff450165745835198f9f363cfba018e4d3b0e40d9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.
Transparency logRelease files / tiktokliveproto-0.2.2-py3-none-any.whl
| Download URL | tiktokliveproto-0.2.2-py3-none-any.whl |
|---|---|
| Size | 176.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3bd3ebae3b1ecc47d963cd3fffc3403076d1297f108e59964279d8f5c9c090e
|
|
BLAKE2b-256 checksum How to use checksums |
155d2609ef698ac9407165c557fe40ecf66f36e78930d28a37162772833c5b8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.
Transparency log