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 empowers you to build powerful bots using simple extensible tools while not sacrifing any performance. It has all batteries included: text formatting, file uploading, blueprints, middleware and FSM are all built-in.

Install

To install stable version, use

pip install -U wonda

If you decide to go beta, use the same command with --pre option or update from dev branch .zip archive.

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.

Usage

It's easy to build an echo bot with Wonda — it's ready in six lines of code. And expanding it further is a piece of cake too.

from wonda import Bot

bot = Bot("your-token")


@bot.on.message()
async def handler(_) -> str:
    return "Hello world!"

bot.run_forever()

Isn't it beautiful how little code is needed to achieve something this big? To get started on Wonda, check out our awesome examples.

License

This project is MIT licensed. Big thanks to maintainers and contributors of vkbottle upon which it is built!

© timoniq (2019-2021), feeeek (2022), exthrempty (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.1.2.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

wonda-0.1.2-py3-none-any.whl (70.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wonda-0.1.2.tar.gz
  • Upload date:
  • Size: 48.3 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.1.2.tar.gz
Algorithm Hash digest
SHA256 d97ac6f287cb2a8cdd207c68e28a4171deedfcda4cd78d94b7b9aa6978cafae0
MD5 987a6adf6f57e76d848a171ac782aa68
BLAKE2b-256 fdcd1fa4f9e31f740e63415d7eb4a48fa088087782f01a069aedb0ee84aa5795

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: wonda-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 70.2 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.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e041382f7b68bd20e529cf2c4be0d31cf0b1bef5f7a27f031f208e2813f9a0c2
MD5 cc0031524306a8cd1ee74e71d40732a9
BLAKE2b-256 ae97c2fda2fed3cf85dbe4f06edd5e39920b1520d47682e255aaed3b3216b225

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