Name | aiogram3-calendar JSON |
Version |
0.1.2
JSON |
| download |
home_page | |
Summary | Simple Inline Calendar & Date Selection tool for Aiogram (version 3.0.0b6 and upper) Telegram bots |
upload_time | 2023-11-08 13:39:53 |
maintainer | |
docs_url | None |
author | Andrew Nikolabay |
requires_python | >=3.9 |
license | |
keywords |
aiogram
aiogram3
telegram
bots
calendar
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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)
Raw data
{
"_id": null,
"home_page": "",
"name": "aiogram3-calendar",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "Aiogram,Aiogram3,Telegram,Bots,Calendar",
"author": "Andrew Nikolabay",
"author_email": "o-murphy <thehelixpg@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/92/ba/890713a33514f90c829f65d35156f2f10a870519ef70b0627ade8ea9c456/aiogram3_calendar-0.1.2.tar.gz",
"platform": null,
"description": "# Date Selection tool for Aiogram Telegram Bots\n\n## Description\nA simple inline calendar, date selection tool for [aiogram](https://github.com/aiogram/aiogram) telegram bots written in Python.\nOffers two types of date pickers:\nNavigation calendar - user can either select a date or move to the next or previous month/year by clicking a singe button.\nDialog calendar - user selects year on first stage, month on next stage, day on last stage\n\n## Usage\nInstall package\n\n pip install aiogram3_calendar\n\nA full working example on how to use aiogram-calendar is provided in *bot_example.py*. \nYou 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.\n\n## Gif demo:\n\n![aiogram_calendar](https://j.gifs.com/nRQlqW.gif)\n",
"bugtrack_url": null,
"license": "",
"summary": "Simple Inline Calendar & Date Selection tool for Aiogram (version 3.0.0b6 and upper) Telegram bots",
"version": "0.1.2",
"project_urls": {
"Bug Reports": "https://github.com/o-murphy/aiogram3_calendar/issues",
"Homepage": "https://github.com/o-murphy/aiogram3_calendar",
"Source": "https://github.com/o-murphy/aiogram3_calendar"
},
"split_keywords": [
"aiogram",
"aiogram3",
"telegram",
"bots",
"calendar"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b49162193510e6aa85e5d1a98c5c18bbeaeabb1e0e7b2bea9594034c22a4311c",
"md5": "84c1d8819e80fcb329720fddeea79fb8",
"sha256": "e9b5b814dbd94156beb2f59278d1db9f6339ed2ae58f333064935bc385b295c0"
},
"downloads": -1,
"filename": "aiogram3_calendar-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "84c1d8819e80fcb329720fddeea79fb8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 9252,
"upload_time": "2023-11-08T13:39:52",
"upload_time_iso_8601": "2023-11-08T13:39:52.496256Z",
"url": "https://files.pythonhosted.org/packages/b4/91/62193510e6aa85e5d1a98c5c18bbeaeabb1e0e7b2bea9594034c22a4311c/aiogram3_calendar-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "92ba890713a33514f90c829f65d35156f2f10a870519ef70b0627ade8ea9c456",
"md5": "e2b3348489008a2e36b36698f435b78c",
"sha256": "36cb9a9a452fb7a689ad7ada9666680af3170284c1654cc01f2a0b81f0186e79"
},
"downloads": -1,
"filename": "aiogram3_calendar-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "e2b3348489008a2e36b36698f435b78c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7481,
"upload_time": "2023-11-08T13:39:53",
"upload_time_iso_8601": "2023-11-08T13:39:53.900241Z",
"url": "https://files.pythonhosted.org/packages/92/ba/890713a33514f90c829f65d35156f2f10a870519ef70b0627ade8ea9c456/aiogram3_calendar-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-08 13:39:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "o-murphy",
"github_project": "aiogram3_calendar",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "aiogram3-calendar"
}