# 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
Project was forked for aiogram version 3.0.0b8 (3.0.0b7)
## Usage
Install package
pip install aiogram3b8_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": "https://github.com/yoworu/aiogram3.0.0b8_calendar/",
"name": "aiogram3b8-calendar",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Aiogram,Telegram,Bots,Calendar",
"author": "Andrew Nikolabay",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/50/40/8d78c40ecac7ca8401079edacd70999f1ba9be19177aa91e216f0fd20ee4/aiogram3b8_calendar-0.0.1.tar.gz",
"platform": null,
"description": "# Date Selection tool for Aiogram Telegram Bots\r\n\r\n## Description\r\n\r\nA simple inline calendar, date selection tool for [aiogram](https://github.com/aiogram/aiogram) telegram bots written in Python.\r\nOffers two types of date pickers:\r\nNavigation calendar - user can either select a date or move to the next or previous month/year by clicking a singe button.\r\nDialog calendar - user selects year on first stage, month on next stage, day on last stage\r\n\r\nProject was forked for aiogram version 3.0.0b8 (3.0.0b7)\r\n\r\n## Usage\r\nInstall package\r\n\r\n pip install aiogram3b8_calendar\r\n\r\nA full working example on how to use aiogram-calendar is provided in *bot_example.py*. \r\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.\r\n\r\n## Gif demo:\r\n\r\n![aiogram_calendar](https://j.gifs.com/nRQlqW.gif)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Simple Inline Calendar & Date Selection tool for Aiogram Telegram bots",
"version": "0.0.1",
"project_urls": {
"Download": "https://github.com/yoworu/aiogram3.0.0b8_calendar.git",
"Homepage": "https://github.com/yoworu/aiogram3.0.0b8_calendar/"
},
"split_keywords": [
"aiogram",
"telegram",
"bots",
"calendar"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "61ff4d3f9030ff98227bc00f92372c090b265f0234f1c5611c3bb535ca420d4c",
"md5": "660f7e3b85b9bba7c0249232c9fb790f",
"sha256": "e3a51f92652adf3d52d11293915fb3c3538f05abfcf499748b040782ff02f72c"
},
"downloads": -1,
"filename": "aiogram3b8_calendar-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "660f7e3b85b9bba7c0249232c9fb790f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6062,
"upload_time": "2023-06-19T12:35:55",
"upload_time_iso_8601": "2023-06-19T12:35:55.216410Z",
"url": "https://files.pythonhosted.org/packages/61/ff/4d3f9030ff98227bc00f92372c090b265f0234f1c5611c3bb535ca420d4c/aiogram3b8_calendar-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "50408d78c40ecac7ca8401079edacd70999f1ba9be19177aa91e216f0fd20ee4",
"md5": "65bfd2fc5945edebecfbe37ceed97a5e",
"sha256": "d0882465c980aa6591c0bb2c44788ff82b2144c3dc41e17458c2243d01c0ed4b"
},
"downloads": -1,
"filename": "aiogram3b8_calendar-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "65bfd2fc5945edebecfbe37ceed97a5e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4742,
"upload_time": "2023-06-19T12:35:57",
"upload_time_iso_8601": "2023-06-19T12:35:57.387320Z",
"url": "https://files.pythonhosted.org/packages/50/40/8d78c40ecac7ca8401079edacd70999f1ba9be19177aa91e216f0fd20ee4/aiogram3b8_calendar-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-19 12:35:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yoworu",
"github_project": "aiogram3.0.0b8_calendar",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "aiogram3b8-calendar"
}