mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio
Resolves #302. We decided to use sentinel pattern (https://python-patterns.guide/python/sentinel-object/) as a solution, but got a few problems with plain `object()`, so instead we use unittest.mock.sentinel and we hope it won't cause side effects. Most of work done via tg-codegen (https://github.com/aiogram/tg-codegen/pull/1), so it's good to review only implementation of sentinel, processing sentinel in `prepare_parse_mode`, changes in base method model and little test fixes. |
||
|---|---|---|
| .github | ||
| aiogram | ||
| docs | ||
| examples/data | ||
| tests | ||
| .coveragerc | ||
| .flake8 | ||
| .gitignore | ||
| codecov.yaml | ||
| LICENSE | ||
| Makefile | ||
| mkdocs.yml | ||
| mypy.ini | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
aiogram 3.0 [WIP]
aiogram modern and fully asynchronous framework for Telegram Bot API written in Python 3.7 with asyncio and aiohttp. It helps you to make your bots faster and simpler.