Asynchronous, feature-rich, high performant Telegram Bot API framework for building stunning bots
Project description
Wonda ✨
Why
Wonda can help you build bots using simple tools with exceptional performance. All batteries are included: text formatting, file uploading, blueprints, middleware and FSM.
Versions
Stable or pre-release
To install a stable version of Wonda, enter this command in your terminal:
pip install -U wonda
If you decide to go beta, use the same command with --pre
option or update from dev branch .zip archive.
Performance
Wonda is built with customizations in mind, so you can squeeze out the most performance from it. To do so, install Wonda with some extras:
pip install --force wonda[power-ups]
To see the full list of packages, refer to our project file.
Guide
It's easy to build a bot with Wonda — it's ready in six lines of code. Extending it is no problem too.
from wonda import Bot
bot = Bot("your-token")
@bot.on.message()
async def handler(_) -> str:
return "Hello world!"
bot.run_forever()
With Wonda, it's possible to achieve this much with so little code. To get started, check out our examples.
Contributing
Wonda is a work in progress and a lot of stuff is expected to change! It's the right time for your input.
If you want to report a bug or suggest a feature, create an issue. To ask a question, please use discussions. Big thanks!
License
This project is MIT licensed. Based upon hard work of maintainers and contributors of VKBottle.
Copyright © timoniq (2019-2021), feeeek (2022), geo-madness (2022-2023)
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.