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
poetry install

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.2.1.tar.gz (27.7 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.2.1-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: teamtalk_py-1.2.1.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for teamtalk_py-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d802d2418d56adb94f6508d876421269a09c3bf2ded8776f75984c38c3a231fd
MD5 df8450a8df7366fb944a5b7569228061
BLAKE2b-256 ca6289d44e13567e855c69fc8348e5e8e7db61968494bf450fb71eeae23c0379

See more details on using hashes here.

File details

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

File metadata

  • Download URL: teamtalk_py-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for teamtalk_py-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 244621794bf88a2eb6f9f3692e375bb64904ce469267f979a93a2d3d87811040
MD5 90dd7d2acf89a9a1df6f696fff9581a7
BLAKE2b-256 87928e808fba6260626558772bda5e91abbdb1fbb7e285bb5c4f6312b7534a40

See more details on using hashes here.

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