Asynchronous Telegram Bot Framework.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for teev-0.0.1.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0b6724eb03a750e8a6662054907f1b36ee8eb10e587b06635e7855f5cf726e7 |
|
MD5 | e17f902a7bb8140f18776fc4d95653ce |
|
BLAKE2b-256 | bc9d3aed7ff2b7242f69ad0a7af96920cdd7ee98702863e1dbc78d1acfffa5c1 |