SkillAgentSearch skills...

Aiobale

⚑ A modern, fully-asynchronous Python client for Bale Messenger β€” fast, reliable, and developer-friendly πŸš€

Install / Use

/learn @Enalite/Aiobale
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src="https://i.postimg.cc/Ssg1Tfhr/banner.png" alt="Aiobale Banner"> </p> <h1 align="center">Aiobale</h1> <h3 align="center">Async Python Client for Bale Messenger β€” Simplified, Modern, Pythonic</h3> <p align="center"> <strong>Aiobale</strong> is an asynchronous Python library that unlocks Bale Messenger's internal API, making it effortless to build bots, automation, and tools without diving into gRPC or Protobuf complexity. </p> <p align="center"> <img src="https://img.shields.io/pypi/v/aiobale?color=brightgreen&logo=pypi" alt="PyPI version"> <img src="https://pepy.tech/badge/aiobale" alt="Downloads"> <img src="https://img.shields.io/badge/Python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-brightgreen?logo=python"> <img src="https://img.shields.io/badge/License-MIT-blue?logo=open-source-initiative" alt="License"> </p>

πŸš€ Why Aiobale?

Bale Messenger's API can be a maze of encrypted gRPC calls. Aiobale cuts through the noise:

  • Async-first, fully non-blocking, built on aiohttp.
  • Type-safe Python classes for messages, users, groups, and more.
  • Event-driven Dispatcher for clean, modular bot code.
  • Handles connections, reconnections, and multi-client setups effortlessly.
  • Reverse-engineered, continuously updated, zero reliance on .proto files.

In short: Build bots, automation, or monitoring tools without wrestling with low-level network details.


✨ Features

  • Async & High Performance: Responsive bots and automation.
  • Complete API Coverage: Messaging, files, presence, bots, groups, channels.
  • Pythonic Interface: Type hints, dataclasses, clean methods.
  • Smart Dispatcher: Decorator-based event routing, multiple clients support.
  • Robust Connections: Auto-reconnects, handles disconnects gracefully.
  • Extensible & Modular: Easy to adapt and extend for custom workflows.

⚠️ Important Notes

  • Bale’s API is sensitive to excessive POST gRPC calls, especially outside authentication. Overuse may trigger rate limits or temporary account bans.
  • Use Aiobale responsibly β€” no spamming, scraping, or TOS violations.
  • Aiobale is unofficial and provided as-is for educational and ethical purposes.

πŸ“¦ Installation

# Stable release
pip install aiobale

# Latest development version
pip install git+https://github.com/Enalite/aiobale.git

πŸ’‘ Quick Start β€” Echo Bot

from aiobale import Client, Dispatcher
from aiobale.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)
    elif text := msg.text:
        await msg.answer(text)
    else:
        await msg.answer("Nothing to echo!")

client.run()

πŸ§‘β€πŸ’» Contributing

We welcome contributions of all kinds:

  • ⭐ Star the repo
  • 🐞 Report bugs or request features
  • 🧩 Submit pull requests (code, docs, tests)
  • ✍️ Help document unknown methods or structures

Every contribution counts β€” even small fixes make a difference.


πŸ“„ License

Aiobale is released under the MIT License. Use freely and responsibly.


πŸ”— Links


πŸ’¬ Final Thoughts

Aiobale isn’t just a library β€” it’s a gateway to Bale Messenger’s inner workings. Build bots, explore features, and automate with confidence and simplicity.

Welcome to the unofficial Bale ecosystem. Let’s innovate together!

Related Skills

View on GitHub
GitHub Stars35
CategoryDevelopment
Updated3d ago
Forks9

Languages

Python

Security Score

95/100

Audited on Apr 4, 2026

No findings