{"id":37078424,"url":"https://github.com/o-murphy/aiogram3_calendar","last_synced_at":"2026-01-14T09:10:45.466Z","repository":{"id":64264335,"uuid":"574450682","full_name":"o-murphy/aiogram3_calendar","owner":"o-murphy","description":"Date Selection tool \u0026 Inline calendar for Aiogram telegram bots (aiogram 3.x.x fork) ","archived":false,"fork":true,"pushed_at":"2025-01-02T22:07:32.000Z","size":94,"stargazers_count":20,"open_issues_count":0,"forks_count":8,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-22T01:27:50.091Z","etag":null,"topics":["aiogram","aiogram-calendar","aiogram3","python","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/aiogram3-calendar/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"noXplode/aiogram_calendar","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/o-murphy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-05T10:43:54.000Z","updated_at":"2025-10-17T12:16:03.000Z","dependencies_parsed_at":"2023-01-25T14:50:13.761Z","dependency_job_id":null,"html_url":"https://github.com/o-murphy/aiogram3_calendar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/o-murphy/aiogram3_calendar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-murphy%2Faiogram3_calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-murphy%2Faiogram3_calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-murphy%2Faiogram3_calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-murphy%2Faiogram3_calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/o-murphy","download_url":"https://codeload.github.com/o-murphy/aiogram3_calendar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-murphy%2Faiogram3_calendar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aiogram","aiogram-calendar","aiogram3","python","telegram","telegram-bot"],"created_at":"2026-01-14T09:10:44.788Z","updated_at":"2026-01-14T09:10:45.458Z","avatar_url":"https://github.com/o-murphy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n  \n\n# Date Selection tool for Aiogram Telegram Bots\n\n  \n\n  \n\n## Description\n\n  \n\nA simple inline calendar, date selection tool for [aiogram](https://github.com/aiogram/aiogram) telegram bots written in Python.\n\n  \n\nOffers two types of date pickers:\n\n  \n\nNavigation calendar - user can either select a date or move to the next or previous month/year by clicking a singe button.\n\n  \n\nDialog calendar - user selects year on first stage, month on next stage, day on last stage.\n\n  \n\n  \n\n**From version 0.2 supports aiogram 3, use version 0.1.1 with aiogram 2.**\n**From version 0.6 supports aiogram 3.7, use version 0.5 with aiogram \u003c3.7 **\n\n  \n## Main features\n- Two calendars with abilities to navigate years, months, days altogether or in dialog\n- Ability to set specified locale (language of captions) or inherit from user`s locale\n- Limiting the range of dates to select from\n- Highlighting todays date \n  \n\n## Usage\n\n  \n\nInstall package\n\n  \n\n  \n\npip install aiogram_calendar\n\n  \n\n  \n\nA full working example on how to use aiogram-calendar is provided in `*bot_example.py*`.\n\n  \n\n  \n\nIn example keyboard with buttons is created.\n\n  \n\nEach button triggers a calendar in a different way by adding it to a message with a *reply_markup*.\n\n  \n\nreply_markup=await SimpleCalendar().start_calendar()\n\n^^ will reply with a calendar created using English localization (months and days of week captions). Locale can be overridden by passing locale argument:\n\n  \n\nreply_markup=await SimpleCalendar(locale='uk_UA').start_calendar()\n\nor by getting locale from User data provided by telegram API using get_user_locale method by passing `message.from_user` to it\n\n  \n\nreply_markup=await SimpleCalendar(locale=await get_user_locale(message.from_user)).start_calendar()\n\n  \n\nDepending on what button of calendar user will press callback is precessed using the *process_selection* method.\n\n  \n\nselected, date = await SimpleCalendar(locale=await get_user_locale(callback_query.from_user)).process_selection(callback_query, callback_data)\n\nHere locale is specified from `callback_query.from_user`\n\n  \n\n  \n\n## Gif demo:\n\n  \n\n  \n\n![aiogram_calendar](https://j.gifs.com/nRQlqW.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-murphy%2Faiogram3_calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fo-murphy%2Faiogram3_calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-murphy%2Faiogram3_calendar/lists"}