Skip to main content

Simple Inline Calendar & Date Selection tool for Aiogram (version 3.0.0b6 and upper) Telegram bots

Project description

Date Selection tool for Aiogram Telegram Bots

Description

A simple inline calendar, date selection tool for 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiogram3_calendar-0.1.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

aiogram3_calendar-0.1.2-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file aiogram3_calendar-0.1.2.tar.gz.

File metadata

  • Download URL: aiogram3_calendar-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for aiogram3_calendar-0.1.2.tar.gz
Algorithm Hash digest
SHA256 36cb9a9a452fb7a689ad7ada9666680af3170284c1654cc01f2a0b81f0186e79
MD5 e2b3348489008a2e36b36698f435b78c
BLAKE2b-256 92ba890713a33514f90c829f65d35156f2f10a870519ef70b0627ade8ea9c456

See more details on using hashes here.

File details

Details for the file aiogram3_calendar-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aiogram3_calendar-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b5b814dbd94156beb2f59278d1db9f6339ed2ae58f333064935bc385b295c0
MD5 84c1d8819e80fcb329720fddeea79fb8
BLAKE2b-256 b49162193510e6aa85e5d1a98c5c18bbeaeabb1e0e7b2bea9594034c22a4311c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page