Skip to main content

Asynchronous Telegram Bot Framework.

Project description

https://img.shields.io/badge/test-pass-00d200.svg https://img.shields.io/badge/build-pass-00d200.svg https://img.shields.io/badge/license-BSD-blue.svg?style=flat-square https://img.shields.io/badge/code%20style-black-000000.svg

Teev is an open source asynchronous Python telegram bots module designed for humans mainly inspired by Eve and made as a wrapper around aiogram module. It allows setting up telegram bot using settings file, making its logic more readable and easy to upgrade.

Teev is Simple

from teev import Teev

app = Teev()
app.run()

Bot is now alive and ready to process messages. You need to provide proper telegram token in settings.py file.

TOKEN = ""

COMMANDS = [
    ["/start", "Say Love"]
]

SCHEME = {
    "/start": {
        "text": "I love Teev!"
    }
}

You can see examples to find out more.

Check out the teev Website (Not yet available)

Features

  • Full support of all aiogram methods.

  • Keyboard made in one instruction.

  • Text logic made simple in scheme.

  • Statuses logic to handle user answers.

To Do

  • Native Mongodb support.

  • Buffer responses.

  • Different message send types.

License

teev is a Stepan Starovoitov open source project, distributed under the BSD license.

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

teev-0.0.1.dev1.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

teev-0.0.1.dev1-py2.py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 2 Python 3

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