Skip to main content

Modern and fully asynchronous framework for Bale Bot API

Project description

pybalebot
Bale API Framework for Python
Homepage Documentation Releases News

PyBaleBot

Modern and fully asynchronous framework for Bale Bot API

Using Async

from pybalebot import Client, filters
from pybalebot.types import Message

bot_token = "123456789:**********************"

app = Client("my_bot", bot_token=bot_token)

@app.on_message(filters.text)
async def hello(client, message: Message):
    await message.reply("Hello from PyBaleBot!")

app.run()

PyBaleBot is a modern, elegant and asynchronous framework. It enables you to easily interact with the main Bale API through a user account (custom client) or a bot identity (bot API alternative) using Python.

Key Features

  • Ready: Install PyBaleBot with pip and start building your applications right away.
  • Easy: Makes the Bale API simple and intuitive, while still allowing advanced usages.
  • Elegant: Low-level details are abstracted and re-presented in a more convenient way.
  • Fast: Boosted up by aiohttp, a high-performance http library written in C.
  • Async: Fully asynchronous (also usable synchronously if wanted, for convenience).
  • Powerful: Full access to Bale's API to execute any official client action and more.

Installing

pip3 install -U pybalebot

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

pybalebot-0.0.2.tar.gz (13.3 kB view details)

Uploaded Source

File details

Details for the file pybalebot-0.0.2.tar.gz.

File metadata

  • Download URL: pybalebot-0.0.2.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for pybalebot-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9316b6302925322ed0d6cba67196762c81ca6b340057cb28f69b7b531418ee96
MD5 90e8b1d921917784c689efb8e2feca96
BLAKE2b-256 b2554caeb875c90a80ae005f2ea1a0b4db48890ea3bfb27a83e05fad50ce9643

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page