TikTokLiveWrapper
This project allows you to connect to TikTok livestreams and access available data using a creator's @username. It is designed to retrieve information from TikTok livestreams and cannot be used to post content or simulate interactions.
Getting Started
-
Install the module:
pip install TikTokLiveWrapper
Create a connection to the chat:
from TikTokLiveWrapper import TikTokLiveClient
from TikTokLiveWrapper.events import ConnectEvent, CommentEvent
client = TikTokLiveClient(unique_id="@username")
@client.on(ConnectEvent)
async def on_connect(event):
print(f"Connected to @{event.unique_id}")
async def on_comment(event):
print(f"{event.user.nickname} -> {event.comment}")
client.add_listener(CommentEvent, on_comment)
client.run()
Key Methods
- run: Connect to the livestream.
- add_listener: Add a listener for events.
Events
Available events include: ConnectEvent, CommentEvent.
License
MIT License. See the LICENSE file for details.
Metadata
Release files for TikTokLiveWrapper 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tiktoklivewrapper-1.0.0.tar.gz | 42.6 kB | Without provenance | Details for tiktoklivewrapper-1.0.0.tar.gz |
Release files / tiktoklivewrapper-1.0.0.tar.gz
| Download URL | tiktoklivewrapper-1.0.0.tar.gz |
|---|---|
| Size | 42.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87f41235f771b5965588e2c1a74e868a4fba896df2841072ff688e7ea44ca771
|
|
BLAKE2b-256 checksum How to use checksums |
e11b2cb28be1262eb7d39e5425bbdd4749226050e582437dd540e6bc421d1dee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for TikTokLiveWrapper 1.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.