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 without losing performance. It has all batteries included: text formatting, file uploading, blueprints, middleware and FSM are usable right away.

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

You can make Wonda perform even better by installing power-ups. They're optional, but highly recommended.

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)

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.4.0.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

wonda-0.4.0-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

Details for the file wonda-0.4.0.tar.gz.

File metadata

  • Download URL: wonda-0.4.0.tar.gz
  • Upload date:
  • Size: 51.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

Hashes for wonda-0.4.0.tar.gz
Algorithm Hash digest
SHA256 390941c1b5ed1238864ca8398cc9f05c79a50943f4d6ac1a2651fd5e8c96a85f
MD5 86583ec112d2fd5737cce8f675bc7496
BLAKE2b-256 285c3c5f4c38417f235b1109cd57656b1e690f91857c096d2fc4e4cca46f631a

See more details on using hashes here.

Provenance

File details

Details for the file wonda-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: wonda-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 73.4 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

Hashes for wonda-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39d48578f317f72df374e425ce991d85049a2fef97c0249714c826294b8086f6
MD5 2c4cbbddf077a3260dfa2f519694dd79
BLAKE2b-256 61c0e7f8acf99bd73077d17f55e64b899d417a40a155dce3e3ba0c9aa67a1720

See more details on using hashes here.

Provenance

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