Skip to main content

Asynchronous, feature-rich, high performant Telegram Bot API framework for building stunning bots

Project description

Wonda ✨

Version Package downloads Supported Python versions

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wonda-0.5.0.tar.gz (51.6 kB view hashes)

Uploaded Source

Built Distribution

wonda-0.5.0-py3-none-any.whl (72.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page