aiogram/pyproject.toml
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

97 lines
2.2 KiB
TOML

[tool.poetry]
name = "aiogram"
version = "3.0.0-alpha.3"
description = "Modern and fully asynchronous framework for Telegram Bot API"
authors = ["Alex Root Junior <jroot.junior@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://aiogram.dev/"
documentation = "https://docs.aiogram.dev/"
repository = "https://github.com/aiogram/aiogram/"
keywords = [
"telegram",
"bot",
"api",
"framework",
"wrapper",
"asyncio",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Framework :: AsyncIO",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.7"
aiohttp = "^3.6"
pydantic = "^1.5"
Babel = "^2.7"
aiofiles = "^0.4.0"
uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'", optional = true}
async_lru = "^1.0"
aiohttp-socks = {version = "^0.3.8", optional = true}
[tool.poetry.dev-dependencies]
uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'"}
pytest = "^5.3"
pytest-html = "^2.0"
pytest-asyncio = "^0.10.0"
pytest-mypy = "^0.4.2"
pytest-mock = "^2.0"
pytest-cov = "^2.8"
aresponses = "^1.1"
asynctest = {version = "^0.13.0", python = "<3.8"}
black = {version = "^19.0", allow-prereleases = true}
isort = "^4.3"
flake8 = "^3.7"
flake8-html = "^0.4.0"
mypy = "^0.770"
mkdocs = "^1.0"
mkdocs-material = "^4.6"
mkautodoc = "^0.1.0"
pygments = "^2.4"
pymdown-extensions = "^6.1"
lxml = "^4.4"
ipython = "^7.10"
markdown-include = "^0.5.1"
aiohttp-socks = "^0.3.4"
[tool.poetry.extras]
fast = ["uvloop"]
proxy = ["aiohttp-socks"]
[tool.black]
line-length = 99
target-version = ['py37', 'py38']
exclude = '''
(
\.eggs
| \.git
| \.tox
| build
| dist
| venv
| docs
)
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 99
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"