Metadata-Version: 2.4
Name: balebale
Version: 0.2.0
Summary: A simple and modern framework for building Bale bots
Author-email: Ali Heydari <imrrobat@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/imrrobat/balebale
Project-URL: Repository, https://github.com/imrrobat/balebale
Keywords: bale,bot,framework,messenger,bale-bot
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: requests

# BaleBale

A simple and modern framework for building bots for Bale messenger.

Inspired by aiogram and pyTelegramBotAPI.

if you enjoy this, buy me a coffee :)
https://www.coffeebede.com/mrrobat

![Downloads](https://static.pepy.tech/personalized-badge/balebale?period=total&units=international_system&left_color=black&right_color=green&left_text=Downloads)


---

## Installation

```bash
pip install balebale
```

---

## Simple Echo Bot

```python
from balebale import Bot, Dispatcher
from balebale.Filters import Command

bot = Bot("YOUR_TOKEN")
dp = Dispatcher(bot)


@dp.message(Command("start"))
def start(message):
    message.answer("سلام 👋")


@dp.message()
def echo(message):
    message.answer(message.text)


bot.start_polling(dp)
```

---

## Features

- Simple API
- Decorator-based handlers
- Command filters
- Keyboards
- Message objects
- Polling support
- Lightweight

---

## Example

```python
@dp.message(Command("start"))
def start(message):

    message.answer("Hello!")
```

---

## Roadmap

- Routers
- FSM
- Middleware
- Async support
- Inline keyboards
- Webhook support

---

## License
MIT
