aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio
Find a file
Martin Winks 15bcc0ba9f
feat(proxy): proxy for aiohttp,base sessions (#284)
* feat(proxy): proxy for aiohttp,base sessions

Add support for proxies in aiohttp session with aiohttp_socks library,
edit BaseSession class to support proxies for other sessions in future.

* fix(annotation): missing underscore before "private" typevar

* chore: remove redundant of proxy_url schema for socks version

* test: add missing test

Add missing test, remove BaseSession.cfg and switch to
implementing class' "private" traits, add aiohttp_socks in dependency list as
optional and extra.

* feat(session):

Implement asyncio session for requests [wip]

* feat(proxy chain): Chained proxy support in aiohttp session

Add ChainProxyConnector support, !pin pydantic to "1.4", add
documentation on aiohttp connector.

* style(mypy): apply linter changes

* tests(mock): remove await for magic mock

* fix dangling dependency

* refactor(generic):

get rid of generic behaviour for base session
2020-05-02 16:12:53 +03:00
.github Turn off mypy on tests folder 2020-03-25 16:19:48 +03:00
aiogram feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
docs feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
examples/data Clean obsolete code and change configs 2019-11-15 12:44:24 +02:00
tests feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
.coveragerc Clean obsolete code and change configs 2019-11-15 12:44:24 +02:00
.flake8 Clean project 2019-11-15 12:17:57 +02:00
.gitignore Exclude dir with development experiments 2020-01-25 19:05:58 +02:00
codecov.yaml Change codecov.yaml 2020-01-22 13:29:46 +02:00
LICENSE Update license years 2019-11-15 12:18:21 +02:00
Makefile Fix compatibility with pydantic 1.5 (temporary) 2020-04-28 12:07:01 +03:00
mkdocs.yml feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
mypy.ini Turn off mypy on tests folder 2020-03-25 16:19:48 +03:00
poetry.lock feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
pyproject.toml feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
README.md Bump versions 2020-01-25 18:32:47 +02:00

aiogram 3.0 [WIP]

MIT License Supported python versions Telegram Bot API PyPi Package Version PyPi status Downloads [Telegram] aiogram live

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.