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.
  • 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.0a2.tar.gz (26.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.0a2-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: teamly_py-0.1.0a2.tar.gz
  • Upload date:
  • Size: 26.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.0a2.tar.gz
Algorithm Hash digest
SHA256 1449d62d8abd826b7e0e2352ad313cf9c5d5a07d9ab3fd37467cc34422d73201
MD5 248b8ad9295d4eaac293344353e2f007
BLAKE2b-256 ec1efc56ea0279143e10eef1f9281dfe6745bf28b68866485de107c433f654bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: teamly_py-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 55.5 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.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 d353adb0a420fd8b7a2fc7e0a0cc657b3edf0ffc11cae2111e09f31032231fc8
MD5 a39087376b844e99329b9da71ce9dfff
BLAKE2b-256 a5c6d3a7c2f40e6566b62a9068900246a8483daf3ce2acd140ec2ce189f994c2

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