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.4.tar.gz (31.6 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.4-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py_talk_ex-1.4.4.tar.gz
Algorithm Hash digest
SHA256 e04e4bbed0bc276c23ff079ddb7fa50386e06b3c867a954eaf2dc59cc39b70bf
MD5 363d68e1f745095e0091897533121f09
BLAKE2b-256 a6d0657cc5c45b4304b1bbd584f3934393cd96f516ab63ea70db16ccc4ac270b

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for py_talk_ex-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8ede6dabf5a6a017feddca1e4c918f8c8b5e331f74059a241e5682b7a2e32224
MD5 cb11cb759bd1c67579a9719427354c85
BLAKE2b-256 ffb646815cc711a52663233020c2f071e55fc11584b078f763e7287c9d83a58d

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_talk_ex-1.4.4-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