aiogram-calendar-0.1.1
توضیحات
Simple Inline Calendar & Date Selection tool for Aiogram Telegram bots
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aiogram-calendar-0.1.1 |
| نام | aiogram-calendar |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Andrew Nikolabay |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/noXplode/aiogram_calendar |
| آدرس اینترنتی | https://pypi.org/project/aiogram-calendar/ |
| مجوز | MIT |
# Date Selection tool for Aiogram Telegram Bots
## Description
A simple inline calendar, date selection tool for [aiogram](https://github.com/aiogram/aiogram) telegram bots written in Python.
Offers two types of date pickers:
Navigation calendar - user can either select a date or move to the next or previous month/year by clicking a singe button.
Dialog calendar - user selects year on first stage, month on next stage, day on last stage
## Usage
Install package
pip install aiogram_calendar
A full working example on how to use aiogram-calendar is provided in *bot_example.py*.
You create a calendar and add it to a message with a *reply_markup* parameter and then you can process it in a callbackqueyhandler method using the *process_selection* method.
نحوه نصب
نصب پکیج whl aiogram-calendar-0.1.1:
pip install aiogram-calendar-0.1.1.whl
نصب پکیج tar.gz aiogram-calendar-0.1.1:
pip install aiogram-calendar-0.1.1.tar.gz