Skip to content

pybalebot is a modern and fully asynchronous framework for Bale Bot API written in Python using asyncio

License

Notifications You must be signed in to change notification settings

shayanheidari01/pybalebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

pybalebot is a modern and fully asynchronous framework for Bale Bot API written in Python using asyncio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages