Pytalk
py-talk is a simple but powerful pythonic library for making bots for the TeamTalk5 Conferencing System
Installing
Python 3.11 or higher is required
From PyPI
pip install py-talk-ex
From source
git clone https://github.com/BlindMaster24/pytalk
cd pytalk
pip install pipx
pipx install hatch
hatch env create
Development
To run development tasks like linting, formatting, and type checking, use hatch run:
hatch run dev:lint
hatch run dev:format
hatch run dev:typecheck
hatch run docs:build
hatch run sdk-download
Usage
import pytalk
bot = pytalk.TeamTalkBot()
@bot.event
async def on_ready():
test_server = pytalk.TeamTalkServerInfo({"host": "localhost", "tcp_port": 10335, "udp_port": 10335, "username": "user", "password": "pass"})
await bot.add_server(test_server)
@bot.event
async def on_message(message):
if message.content.lower() == "ping":
message.reply("pong")
bot.run()
Documentation
You can find the full documentation here
Troubleshooting
Error when downloading the teamtalk sdk
Error: patoolib.util.PatoolError: could not find an executable program to extract format 7z; candidates are (7z,7za,7zr,unar),
Solution:
$ sudo apt install p7zip-full
Explanation:
The error is caused by the fact that the patool library requires a program to extract 7z files. The error message lists the programs it tried to use, and the solution is to install one of them. In this case, p7zip-full is a good choice.
Contributing
So you want to contribute to teamtalk.py? Great! There are many ways to contribute to this project, and all contributions are welcome. If you have found a bug, have a feature request or want to help improve documentation please open an issue_
License
This project is licensed under the MIT License - see the LICENSE file for details
Metadata
Release files for py-talk-ex 2.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 | |
|---|---|---|---|---|
| py_talk_ex-2.0.0.tar.gz | 56.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_talk_ex-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.4 kB
Release files / py_talk_ex-2.0.0.tar.gz
| Download URL | py_talk_ex-2.0.0.tar.gz |
|---|---|
| Size | 56.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b20bebc2da0c5b4ca8ebe4b74f2f36bd1db5baa19c2930d087e0bebe6d20d7cf
|
|
BLAKE2b-256 checksum How to use checksums |
68fec9ccb77e724bbc5c1071affff63f5913f44edc2d98423bea428eb8fdee11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Nov 1, 2025.
Transparency logRelease files / py_talk_ex-2.0.0-py3-none-any.whl
| Download URL | py_talk_ex-2.0.0-py3-none-any.whl |
|---|---|
| Size | 46.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca79a1655f597a4f011966b800b17f5d078e10744287778933cf49d8f3bffd55
|
|
BLAKE2b-256 checksum How to use checksums |
3c69d75f4addf5c8da5805e819e0f19d46a899b92e62eb786ea9b32ffee89fba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Nov 1, 2025.
Transparency logSecurity for py-talk-ex 2.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for py_talk_ex-2.0.0.tar.gz
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 Nov 1, 2025.
Transparency logA 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.