Asynchronous feature-rich Telegram bot framework for building great bots
Project description
Wonda ✨
Why
Wonda can help you build bots using simple tools with exceptional performance. All batteries are included: there are text formatting, file uploading, blueprints, middleware and FSM.
Flavors
Regular
To install regular 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 speed from it. To do so, install it with some extras:
pip install --force wonda[power-ups]
To see the full list of extra 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.
Source Distribution
Built Distribution
File details
Details for the file wonda-0.5.5.tar.gz
.
File metadata
- Download URL: wonda-0.5.5.tar.gz
- Upload date:
- Size: 52.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc011eb82c1c8bc5bde9199c763671e9663c80157b2ab57eba61e0ab23eb653 |
|
MD5 | b5d9b42fb8f0083a2f82d0d2e845e6c8 |
|
BLAKE2b-256 | c56f9bbc9a5f871a9a28c8b9d2f84dc1f682c7d08ddb68f5bc816edeb4e8ad5d |
Provenance
File details
Details for the file wonda-0.5.5-py3-none-any.whl
.
File metadata
- Download URL: wonda-0.5.5-py3-none-any.whl
- Upload date:
- Size: 73.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b4bb47a2d1a516cdb5962eb9f3419de22169a531d15fe700e01cf67a23740f |
|
MD5 | ec6b8d881e25b0f179a3de7ad9e33861 |
|
BLAKE2b-256 | 8c7478ea84bc0b00515555938b0fe406cad7fcc8bbbf18e31569fb00f52409f2 |