botogram2-0.6.1
توضیحات
A Python framework for Telegram bots
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | botogram2-0.6.1 |
| نام | botogram2 |
| نسخه کتابخانه | 0.6.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | The botogram authors |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://botogram.dev |
| آدرس اینترنتی | https://pypi.org/project/botogram2/ |
| مجوز | MIT |
========
botogram
========
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`_
.. _Telegram bots: https://core.telegram.org/bots
.. _Go to the documentation: https://botogram.dev/docs
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | logbook |
نحوه نصب
نصب پکیج whl botogram2-0.6.1:
pip install botogram2-0.6.1.whl
نصب پکیج tar.gz botogram2-0.6.1:
pip install botogram2-0.6.1.tar.gz