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
Metadata
Release files for pybalebot 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pybalebot-0.0.4.tar.gz | 23.5 kB | Without provenance | Details for pybalebot-0.0.4.tar.gz |
Release files / pybalebot-0.0.4.tar.gz
| Download URL | pybalebot-0.0.4.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aab27c2df7928c0fea39d2c454ab57d979704b70ac19598b7c257c29f3277161
|
|
BLAKE2b-256 checksum How to use checksums |
bfeddfad9f1258e47f478ea0778e8abfd2825bcef874c2b16e11c116ce14f48e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.9
|
Security for pybalebot 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.