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

Uploaded Source

Built Distribution

wonda-0.3.1-py3-none-any.whl (72.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wonda-0.3.1.tar.gz
  • Upload date:
  • Size: 50.7 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.3.1.tar.gz
Algorithm Hash digest
SHA256 f0efb0f3ec46fc311c0816d6f131c52e37a5e4c45344d6e8c90fc64425d0ef18
MD5 8bf9557b61927eb38f840962a017e11c
BLAKE2b-256 3f791589aae2ebdc0919bc7076c1c91de163f147c2e1e3d51d602653d5bb173e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: wonda-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 72.5 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 836b44da8907f86ac2064fddbe93ea1a915ba1429d28e8a9c7ed583ce7412460
MD5 856bcb74dcdee41f18eea7f4fb9bad40
BLAKE2b-256 ab3e727d85266f87233660130659ac7951d459546827f364d76b85ea09b74c2f

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