Simple Inline Calendar & Date Selection tool for Aiogram (version 3.0.0a12 and upper) Telegram bots
Project description
# 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 aiogram3_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.
## Gif demo:
![aiogram_calendar](https://j.gifs.com/nRQlqW.gif)
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
File details
Details for the file aiogram3_calendar-0.1.2b0.tar.gz
.
File metadata
- Download URL: aiogram3_calendar-0.1.2b0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94aa1231bf8da080e3641c3134b5fbd46434f4165e3ddddb12418dfad3414cd3 |
|
MD5 | e062b9493e9296e734252291930123fb |
|
BLAKE2b-256 | 3aacf8c1a0ade6e2f7cb5096cdec9cbcfec05c40441a25c5aa1396b2a86c2b71 |