A Python framework for Telegram bots
Project description
botogram is a Python framework, which allows you to focus just on creating your Telegram bots, without worrying about the underlying Bots API.
While most of the libraries for Telegram out there just wrap the Bots API, botogram focuses heavily on the development experience, aiming to provide you the best API possible. Most of the Telegram implementation details are managed by botogram, so you can just focus on your bot.
import botogram
bot = botogram.create("API-KEY")
@bot.command("hello")
def hello_command(chat, message, args):
"""Say hello to the world!"""
chat.send("Hello world")
if __name__ == "__main__":
bot.run()
Want to get started? Go to the documentation
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file botogram2-0.6.1.tar.gz.
File metadata
- Download URL: botogram2-0.6.1.tar.gz
- Upload date:
- Size: 111.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7d58c8df5dd6a5cc6d3164a9f8c0f45969253aada10bbf17b191e6cb5b84ca9
|
|
| MD5 |
2a3b2ad9a68f2ffe8d21c1ac190e75ab
|
|
| BLAKE2b-256 |
58089dba27f1b4b14fa7a315b17d1917e8b638681562ceb874d8e2ee336b5459
|
File details
Details for the file botogram2-0.6.1-py3-none-any.whl.
File metadata
- Download URL: botogram2-0.6.1-py3-none-any.whl
- Upload date:
- Size: 83.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42834167d178fa85eb5ccd130ee7b371ca2da5d8320d05823848192f4a6e8767
|
|
| MD5 |
fdc7b661bd1e60a3ea36e59771bd2c73
|
|
| BLAKE2b-256 |
707ece4d660c7ed948054d29d59453d15e713c680933166db77ca48ffb2d2219
|