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.0.tar.gz (30.5 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.0-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: teamtalk_py-1.3.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for teamtalk_py-1.3.0.tar.gz
Algorithm Hash digest
SHA256 73c3d2f102dce007fa5d882b31d7d7a2309a53c1eef4faf3e59f19d25d327486
MD5 4e005b80e62f569483b33bcbed43fb6b
BLAKE2b-256 719989b7940cbada8f829294e2c983842c4827656383662de0c6e68479475b4e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: teamtalk_py-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for teamtalk_py-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1ef9a5315fc7e844e93fd637146edc3a2e4562213b39243535ebc5f8f999f8c
MD5 c991391b5361dc4de3c7221420552c16
BLAKE2b-256 0270e14ccf2e8ddfe72a1a78fd35fcb52d736881d284deb97dc3450e4ef3c3c6

See more details on using hashes here.

Provenance

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