Modern async client for Bale.
Project description
Autobale
Async Python client for Bale Messenger — forked from aiobale.
⚠️ The original aiobale library is no longer maintained and has known bugs. Autobale aims to fix those issues, add new features, and keep the project alive.
Goals
- 🐛 Fix existing bugs in aiobale
- ✨ Support new Bale Messenger API methods
- 📚 Provide clear, up-to-date documentation
- 🔧 Refactor and modernize where needed
Installation
# Stable release
pip install autobale
# Latest development version
pip install git+https://github.com/AliEmadii/autobale.git
Quick Example
from autobale import Client, Dispatcher
from autobale.types import Message
dp = Dispatcher()
client = Client(dp)
@dp.message()
async def echo(msg: Message):
if content := msg.document:
await msg.answer_document(content, use_own_content=True)
if text := msg.text:
await msg.answer(text)
else:
await msg.answer("Nothing to echo!")
client.run()
License
MIT — see the LICENSE file.
Links
- PyPI: pypi.org/project/autobale
- GitHub: github.com/AliEmadii/autobale
- Bale Channel: ble.ir/autobale
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
autobale-1.0.0.tar.gz
(109.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
autobale-1.0.0-py3-none-any.whl
(212.9 kB
view details)
File details
Details for the file autobale-1.0.0.tar.gz.
File metadata
- Download URL: autobale-1.0.0.tar.gz
- Upload date:
- Size: 109.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
417c492c822331506711a1ae20ca73e3dbda8f2d53b1455865d4a1d220d99bf5
|
|
| MD5 |
beb8bfac65856870a6a08e0816221163
|
|
| BLAKE2b-256 |
32438518920b3df382b07316c74d30684db09fc06416af08f192618782aa80ab
|
File details
Details for the file autobale-1.0.0-py3-none-any.whl.
File metadata
- Download URL: autobale-1.0.0-py3-none-any.whl
- Upload date:
- Size: 212.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87f28a5bb88e88f9698a30987e774727fcea196cacb6a83fc4dbc45078c4df29
|
|
| MD5 |
67e4869e5efb954a53f0614ea1713ff0
|
|
| BLAKE2b-256 |
5aed7518ed899c609d4cd07f286e0eba28902ef734ed18dd36348176969a15fd
|