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.3.1.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teamtalk_py-1.3.1-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: teamtalk_py-1.3.1.tar.gz
  • Upload date:
  • Size: 30.6 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.3.1.tar.gz
Algorithm Hash digest
SHA256 1c6de7d074dc8fe2b76dfa24f6b09aad41e68a7ab01ef6ddc30f067494e3e885
MD5 94c918631408b101f37492c1d7ece06b
BLAKE2b-256 e60e0edbee12c3da13e71fc95e6ed9bb0c8b2f90e698de99517a4a932a27e2c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for teamtalk_py-1.3.1.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.3.1-py3-none-any.whl.

File metadata

  • Download URL: teamtalk_py-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 36.4 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 988207eb0f73d9c2a1a2607f68024495ab7d80090c302179dc47f3d818a13e0e
MD5 2308d6bcb965b1ef4b7f3aefb7041ca7
BLAKE2b-256 34aef56389d7427a49659ac15aaa4cafb58ed3d9b284d4c67fe86d49a0268d77

See more details on using hashes here.

Provenance

The following attestation bundles were made for teamtalk_py-1.3.1-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page