a simple but powerful pythonic library for making bots for the TeamTalk5 Conferencing System
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_talk_ex-2.0.0.tar.gz.
File metadata
- Download URL: py_talk_ex-2.0.0.tar.gz
- Upload date:
- Size: 56.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b20bebc2da0c5b4ca8ebe4b74f2f36bd1db5baa19c2930d087e0bebe6d20d7cf
|
|
| MD5 |
f7ad5bf755bd39caea934b5f1192468e
|
|
| BLAKE2b-256 |
68fec9ccb77e724bbc5c1071affff63f5913f44edc2d98423bea428eb8fdee11
|
Provenance
The following attestation bundles were made for py_talk_ex-2.0.0.tar.gz:
Publisher:
ci.yaml on BlindMaster24/pytalk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_talk_ex-2.0.0.tar.gz -
Subject digest:
b20bebc2da0c5b4ca8ebe4b74f2f36bd1db5baa19c2930d087e0bebe6d20d7cf - Sigstore transparency entry: 659992691
- Sigstore integration time:
-
Permalink:
BlindMaster24/pytalk@f52966d70ad38ef9b9d45a66de110bd26b16ccb8 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/BlindMaster24
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@f52966d70ad38ef9b9d45a66de110bd26b16ccb8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file py_talk_ex-2.0.0-py3-none-any.whl.
File metadata
- Download URL: py_talk_ex-2.0.0-py3-none-any.whl
- Upload date:
- Size: 46.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca79a1655f597a4f011966b800b17f5d078e10744287778933cf49d8f3bffd55
|
|
| MD5 |
8d37a101c5761d638bd57906b6914140
|
|
| BLAKE2b-256 |
3c69d75f4addf5c8da5805e819e0f19d46a899b92e62eb786ea9b32ffee89fba
|
Provenance
The following attestation bundles were made for py_talk_ex-2.0.0-py3-none-any.whl:
Publisher:
ci.yaml on BlindMaster24/pytalk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_talk_ex-2.0.0-py3-none-any.whl -
Subject digest:
ca79a1655f597a4f011966b800b17f5d078e10744287778933cf49d8f3bffd55 - Sigstore transparency entry: 659992697
- Sigstore integration time:
-
Permalink:
BlindMaster24/pytalk@f52966d70ad38ef9b9d45a66de110bd26b16ccb8 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/BlindMaster24
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@f52966d70ad38ef9b9d45a66de110bd26b16ccb8 -
Trigger Event:
push
-
Statement type: