Time Selection tool for Aiogram Telegram Bots
Description
A simple inline time selection tool for aiogram telegram bots written in Python. Demo: @aiogram_timepicker_bot.
Offers 9 types of panel time picker:
- Panel Pickers (
aiogram_timepicker.panelandaiogram_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.clock): -
- c24 - user can select a hour between 0 and 24.
-
- c24_ts3 - user can select a minute/second between 0 and 57 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
Code example is examples/simple_aiogram_2.12_bot.py and demo use @aiogram_timepicker_bot.
Licence
Read more about licence here.
Metadata
Release files for aiogram-timepicker 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiogram_timepicker-0.2.1.tar.gz | 17.8 kB | Without provenance | Details for aiogram_timepicker-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiogram_timepicker-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for aiogram_timepicker-0.2.1-py3-none-any.whl |
Total release size: 58.5 kB
Release files / aiogram_timepicker-0.2.1.tar.gz
| Download URL | aiogram_timepicker-0.2.1.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1931111d67c3a97a4523a3213ad8865845e17a687eca63b4d24713fd963df485
|
|
BLAKE2b-256 checksum How to use checksums |
0f054930a92f3bce946c772cf2a75713c2474c8c02849c68f3f2768ddc853f74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / aiogram_timepicker-0.2.1-py3-none-any.whl
| Download URL | aiogram_timepicker-0.2.1-py3-none-any.whl |
|---|---|
| Size | 40.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d31013769ecb5b07f8c322f9a071363540cb1890689a44bd998cf376e16da59e
|
|
BLAKE2b-256 checksum How to use checksums |
58472de99abedabc8bda835330fed190d6a9e98924cd42c7813fe4f0c838fa1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for aiogram-timepicker 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.