Skip to main content

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.8 or higher is required

From PyPI

pip install py-talk

From source

git clone https://github.com/BlindMaster24/pytalk
cd pytalk
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_

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

py_talk_ex-1.4.3.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

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

py_talk_ex-1.4.3-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file py_talk_ex-1.4.3.tar.gz.

File metadata

  • Download URL: py_talk_ex-1.4.3.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_talk_ex-1.4.3.tar.gz
Algorithm Hash digest
SHA256 b49e4d962b0db0cf85171e8c8eff6e8fdb04c8560d68fc78e72ae06f6ee5eea6
MD5 1678aa27ff55a528f8852e4a59f773b5
BLAKE2b-256 53486398b6088148ae3722d428b03596a8d07a8ac77487420107401bdf40bf9c

See more details on using hashes here.

File details

Details for the file py_talk_ex-1.4.3-py3-none-any.whl.

File metadata

  • Download URL: py_talk_ex-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_talk_ex-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 339a91eebecb00d278bce305d094d4e01f2449fc360dd6a302e1315e33a38df1
MD5 6ba11763a2fc04d15bc1be764912ea8a
BLAKE2b-256 fe94782a0025cb111ec49b19e330a38b510976b3902fadb55809701ceaa44e1e

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