Skip to main content

Teamly API wrapper for bots and automation

Project description

Teamly.py

Teamly.py is a modern asynchronous Python wrapper for the Teamly API. The library is still under heavy development and many features are in progress.

Current Progress

The following pieces are already implemented:

  • HTTP client covering most Teamly endpoints such as channels, messages, roles, todos and more.
  • WebSocket gateway for real-time events with a keep-alive handler.
  • Event system using the Client.event decorator and dispatch method.
  • Connection state parser that maps gateway events to your callbacks.
  • Basic context manager support on the Client class.

Planned Work

Work is ongoing on these areas:

  • Expanding event parsing and improving the gateway.
  • Automatic reconnection and error handling.
  • HTTP rate limit management.
  • Command framework for building bots.
  • Stronger type hints and data models.
  • More examples and tests.

Quick Example

from teamly import Client

client = Client()

@client.event
async def on_ready():
    print("Bot ready!")

client.run("YOUR_TOKEN_HERE")

Installation

Although not feature complete, the package can be installed with pip:

pip install teamly.py

License

This project is licensed under the MIT License.

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

teamly_py-0.1.0a1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

teamly_py-0.1.0a1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file teamly_py-0.1.0a1.tar.gz.

File metadata

  • Download URL: teamly_py-0.1.0a1.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for teamly_py-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 5cb4fa2f57a6bab0bc9aec81757da836dd9bbf4ae6f034c1fab16ffdc4a3f488
MD5 a2c4885784d0aa60b102f178abcf3b0f
BLAKE2b-256 2714863a5d2eb423735c01407f583b0d03d5236811e3bd738a68fe93b82ad676

See more details on using hashes here.

File details

Details for the file teamly_py-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: teamly_py-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for teamly_py-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c7949c5f784b8c6779e021de7b16292f1936223b44befec8fb655be74d86d90
MD5 fda02aa723edb639705cff8ba4036a15
BLAKE2b-256 6bbaf77e5d3ce0a549412c4fbfa62b9ad1755ab5be583caeb29c3917042044fd

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