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

Uploaded Source

Built Distribution

wonda-0.4.1-py3-none-any.whl (73.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wonda-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 eae2d488b292ee7e0726545973f7faa997d1eb50271d65c9ff79ec69fb16d471
MD5 5c09d41cd3ca121edb18eb57167b3127
BLAKE2b-256 62e0e2baf9748a1e5b1e33f0699f52b6fbcf16b710ef596c3cf4a8287fe57689

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: wonda-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 73.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4589b97638a974745d22738ca20f01fc1abffdc8d3fff34310a3e7d492b0e48
MD5 be34de6c4ab6f8cfa45ceee11335638a
BLAKE2b-256 9ae9bc0df9b2049f678e91ead3bed70923f5624cff8105ff2a0a331cf4fd9b30

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