2023-08-26 22:38:22 +03:00
|
|
|
#######
|
|
|
|
|
aiogram
|
|
|
|
|
#######
|
2021-10-11 01:29:06 +03:00
|
|
|
|
2023-02-12 03:18:53 +02:00
|
|
|
.. image:: https://img.shields.io/pypi/l/aiogram.svg?style=flat-square
|
2021-10-11 01:29:06 +03:00
|
|
|
:target: https://opensource.org/licenses/MIT
|
|
|
|
|
:alt: MIT License
|
|
|
|
|
|
2023-02-12 03:18:53 +02:00
|
|
|
.. image:: https://img.shields.io/pypi/status/aiogram.svg?style=flat-square
|
2021-10-11 01:29:06 +03:00
|
|
|
:target: https://pypi.python.org/pypi/aiogram
|
2023-02-12 03:18:53 +02:00
|
|
|
:alt: PyPi status
|
2021-10-11 01:29:06 +03:00
|
|
|
|
2023-02-12 03:18:53 +02:00
|
|
|
.. image:: https://img.shields.io/pypi/v/aiogram.svg?style=flat-square
|
2021-10-11 01:29:06 +03:00
|
|
|
:target: https://pypi.python.org/pypi/aiogram
|
|
|
|
|
:alt: PyPi Package Version
|
|
|
|
|
|
2023-02-12 03:18:53 +02:00
|
|
|
.. image:: https://img.shields.io/pypi/dm/aiogram.svg?style=flat-square
|
2021-10-11 01:29:06 +03:00
|
|
|
:target: https://pypi.python.org/pypi/aiogram
|
2023-02-12 03:18:53 +02:00
|
|
|
:alt: Downloads
|
2021-10-11 01:29:06 +03:00
|
|
|
|
2023-02-12 03:18:53 +02:00
|
|
|
.. image:: https://img.shields.io/pypi/pyversions/aiogram.svg?style=flat-square
|
2021-10-11 01:29:06 +03:00
|
|
|
:target: https://pypi.python.org/pypi/aiogram
|
2023-02-12 03:18:53 +02:00
|
|
|
:alt: Supported python versions
|
2021-10-11 01:29:06 +03:00
|
|
|
|
2023-02-12 03:18:53 +02:00
|
|
|
.. image:: https://img.shields.io/badge/dynamic/json?color=blue&logo=telegram&label=Telegram%20Bot%20API&query=%24.api.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Faiogram%2Faiogram%2Fdev-3.x%2F.butcher%2Fschema%2Fschema.json&style=flat-square
|
|
|
|
|
:target: https://core.telegram.org/bots/api
|
|
|
|
|
:alt: Telegram Bot API
|
|
|
|
|
|
|
|
|
|
.. image:: https://img.shields.io/github/actions/workflow/status/aiogram/aiogram/tests.yml?branch=dev-3.x&style=flat-square
|
|
|
|
|
:target: https://github.com/aiogram/aiogram/actions
|
|
|
|
|
:alt: Tests
|
2021-10-11 01:29:06 +03:00
|
|
|
|
|
|
|
|
.. image:: https://img.shields.io/codecov/c/github/aiogram/aiogram?style=flat-square
|
|
|
|
|
:target: https://app.codecov.io/gh/aiogram/aiogram
|
|
|
|
|
:alt: Codecov
|
|
|
|
|
|
2022-02-19 03:50:17 +05:00
|
|
|
**aiogram** is a modern and fully asynchronous framework for
|
2024-05-31 20:22:51 +03:00
|
|
|
`Telegram Bot API <https://core.telegram.org/bots/api>`_ written in Python 3.8+ using
|
2021-10-11 01:29:06 +03:00
|
|
|
`asyncio <https://docs.python.org/3/library/asyncio.html>`_ and
|
|
|
|
|
`aiohttp <https://github.com/aio-libs/aiohttp>`_.
|
|
|
|
|
|
2022-02-19 03:50:17 +05:00
|
|
|
Make your bots faster and more powerful!
|
2021-10-11 01:29:06 +03:00
|
|
|
|
2022-10-02 00:49:27 +03:00
|
|
|
Documentation:
|
|
|
|
|
- 🇺🇸 `English <https://docs.aiogram.dev/en/dev-3.x/>`_
|
|
|
|
|
- 🇺🇦 `Ukrainian <https://docs.aiogram.dev/uk_UA/dev-3.x/>`_
|
|
|
|
|
|
|
|
|
|
|
2021-10-11 01:29:06 +03:00
|
|
|
Features
|
|
|
|
|
========
|
|
|
|
|
|
|
|
|
|
- Asynchronous (`asyncio docs <https://docs.python.org/3/library/asyncio.html>`_, :pep:`492`)
|
|
|
|
|
- Has type hints (:pep:`484`) and can be used with `mypy <http://mypy-lang.org/>`_
|
2022-08-30 03:23:43 +05:00
|
|
|
- Supports `PyPy <https://www.pypy.org/>`_
|
2025-07-05 03:02:44 +03:00
|
|
|
- Supports `Telegram Bot API 9.1 <https://core.telegram.org/bots/api>`_ and gets fast updates to the latest versions of the Bot API
|
2022-02-19 03:50:17 +05:00
|
|
|
- Telegram Bot API integration code was `autogenerated <https://github.com/aiogram/tg-codegen>`_ and can be easily re-generated when API gets updated
|
2021-10-11 01:29:06 +03:00
|
|
|
- Updates router (Blueprints)
|
2022-02-19 03:50:17 +05:00
|
|
|
- Has Finite State Machine
|
2023-08-26 23:18:20 +03:00
|
|
|
- Uses powerful `magic filters <https://docs.aiogram.dev/en/latest/dispatcher/filters/magic_filters.html#magic-filters>`_
|
2021-10-11 01:29:06 +03:00
|
|
|
- Middlewares (incoming updates and API calls)
|
|
|
|
|
- Provides `Replies into Webhook <https://core.telegram.org/bots/faq#how-can-i-make-requests-in-response-to-updates>`_
|
|
|
|
|
- Integrated I18n/L10n support with GNU Gettext (or Fluent)
|
|
|
|
|
|
2022-10-02 00:04:31 +03:00
|
|
|
|
2021-10-11 01:29:06 +03:00
|
|
|
.. warning::
|
|
|
|
|
|
2022-04-19 22:09:43 +03:00
|
|
|
It is strongly advised that you have prior experience working
|
|
|
|
|
with `asyncio <https://docs.python.org/3/library/asyncio.html>`_
|
2022-02-19 03:50:17 +05:00
|
|
|
before beginning to use **aiogram**.
|
2021-10-11 01:29:06 +03:00
|
|
|
|
2022-02-19 03:50:17 +05:00
|
|
|
If you have any questions, you can visit our community chats on Telegram:
|
2021-10-11 01:29:06 +03:00
|
|
|
|
2022-08-24 00:43:36 +03:00
|
|
|
- 🇺🇸 `@aiogram <https://t.me/aiogram>`_
|
|
|
|
|
- 🇺🇦 `@aiogramua <https://t.me/aiogramua>`_
|
|
|
|
|
- 🇺🇿 `@aiogram_uz <https://t.me/aiogram_uz>`_
|
|
|
|
|
- 🇰🇿 `@aiogram_kz <https://t.me/aiogram_kz>`_
|
|
|
|
|
- 🇷🇺 `@aiogram_ru <https://t.me/aiogram_ru>`_
|
|
|
|
|
- 🇮🇷 `@aiogram_fa <https://t.me/aiogram_fa>`_
|
|
|
|
|
- 🇮🇹 `@aiogram_it <https://t.me/aiogram_it>`_
|
|
|
|
|
- 🇧🇷 `@aiogram_br <https://t.me/aiogram_br>`_
|