Skip to main content

a simple but powerful pythonic library for making bots for the TeamTalk5 Conferencing System

Project description

Teamtalk.py

Documentation Build Status GitHub Releases PyPI Version Python versions License Code style: black PRs Welcome

teamtalk.py is a simple but powerful pythonic library for making bots for the TeamTalk5 Conferencing System

Installing

Python 3.8 or higher is required

From PyPI

pip install teamtalk.py

From source

git clone https://github.com/JessicaTegner/teamtalk.py
cd teamtalk.py
uv sync

Usage

import teamtalk

bot = teamtalk.TeamTalkBot()

@bot.event
async def on_ready():
    test_server = teamtalk.TeamTalkServerInfo("localhost", 10335, 10335, "user", "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

Erro 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_ You can also donate to the projects maintainer (JessicaTegner) to help support the development of teamtalk.py:

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

teamtalk_py-1.4.0.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

teamtalk_py-1.4.0-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file teamtalk_py-1.4.0.tar.gz.

File metadata

  • Download URL: teamtalk_py-1.4.0.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for teamtalk_py-1.4.0.tar.gz
Algorithm Hash digest
SHA256 7f61d2ddd24b578320b21b5b924a8339b2684c2d4257324ebd22740407b7bdc9
MD5 cc433f15580d00c28079616306b32657
BLAKE2b-256 87bbece863610418267a8776da4b31abe17930adb90c6a3f313f4b376a11867e

See more details on using hashes here.

Provenance

The following attestation bundles were made for teamtalk_py-1.4.0.tar.gz:

Publisher: ci.yaml on JessicaTegner/teamtalk.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file teamtalk_py-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: teamtalk_py-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for teamtalk_py-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a39de59b281aedb24a5aa957a0da2e0f1cff26350fe65f73941c11085d0edb8
MD5 edcd0eafb3d8cf29c120f098d7044cad
BLAKE2b-256 2192d544f369c19bb2918f12b9b3230124fc89ad36d6fa2b34813bba3103a69b

See more details on using hashes here.

Provenance

The following attestation bundles were made for teamtalk_py-1.4.0-py3-none-any.whl:

Publisher: ci.yaml on JessicaTegner/teamtalk.py

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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page