aiogram-timepicker-0.2.0
توضیحات
Time Selection tool for Aiogram Telegram Bots
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aiogram-timepicker-0.2.0 |
| نام | aiogram-timepicker |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Marat Ashrafzianov <maratashdev@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/aiogram-timepicker/ |
| مجوز | - |
# Time Selection tool for Aiogram Telegram Bots
## Description
A simple inline time selection tool for [aiogram](https://github.com/aiogram/aiogram) telegram bots written in Python.
Offers 9 types of panel time picker:
* Panel Pickers (`aiogram_timepicker.panel` and `aiogram_timepicker.panel.single`):
* * Full Time Picker - user can select a time with hours, minutes and seconds.
* * Minute & Second Picker - user can select a time with minutes and seconds.
* * Single Hour Picker - user can select a hour.
* * Single Minute Picker - user can select a minute.
* * Single Second Picker - user can select a second.
* Carousel Pickers (`aiogram_timepicker.carousel`):
* * Full Time Picker - user can select a time with hours, minutes and seconds with carousel.
* Clock Pickers (`aiogram_timepicker.single`):
* * c24 - user can select a hour between 0 and 24.
* * c24_ts3 - user can select a minute/second between 0 and 21 with 3 timestamp.
* * c60_ts5 - user can select a minute/second between 0 and 55 with 5 timestamp.
## Usage
Install package with pip
pip install aiogram_timepicker
A full working example on how to use aiogram-timepicker is provided in *bot_example.py*.
You create a timepicker panel 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.
## Demo
Demonstration of this tool with [**bot_example.py**](./bot_example.py).

## Licence
Read more about licence [here](./LICENSE.txt).
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl aiogram-timepicker-0.2.0:
pip install aiogram-timepicker-0.2.0.whl
نصب پکیج tar.gz aiogram-timepicker-0.2.0:
pip install aiogram-timepicker-0.2.0.tar.gz