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

From PyPI

pip install py-talk-ex

From source

git clone https://github.com/BlindMaster24/pytalk
cd pytalk
pip install pipx
pipx install hatch
hatch env create

Development

To run development tasks like linting, formatting, and type checking, use hatch run:

hatch run dev:lint
hatch run dev:format
hatch run dev:typecheck
hatch run docs:build
hatch run sdk-download

Usage

import pytalk

bot = pytalk.TeamTalkBot()

@bot.event
async def on_ready():
    test_server = pytalk.TeamTalkServerInfo({"host": "localhost", "tcp_port": 10335, "udp_port": 10335, "username": "user", "password": "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

Error 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-2.0.0.tar.gz (56.2 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-2.0.0-py3-none-any.whl (46.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_talk_ex-2.0.0.tar.gz
  • Upload date:
  • Size: 56.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_talk_ex-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b20bebc2da0c5b4ca8ebe4b74f2f36bd1db5baa19c2930d087e0bebe6d20d7cf
MD5 f7ad5bf755bd39caea934b5f1192468e
BLAKE2b-256 68fec9ccb77e724bbc5c1071affff63f5913f44edc2d98423bea428eb8fdee11

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_talk_ex-2.0.0.tar.gz:

Publisher: ci.yaml on BlindMaster24/pytalk

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

File details

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

File metadata

  • Download URL: py_talk_ex-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 46.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_talk_ex-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca79a1655f597a4f011966b800b17f5d078e10744287778933cf49d8f3bffd55
MD5 8d37a101c5761d638bd57906b6914140
BLAKE2b-256 3c69d75f4addf5c8da5805e819e0f19d46a899b92e62eb786ea9b32ffee89fba

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_talk_ex-2.0.0-py3-none-any.whl:

Publisher: ci.yaml on BlindMaster24/pytalk

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