Source code
Revision control
Copy as Markdown
Other Tools
[metadata]
name = aiohttp
version = attr: aiohttp.__version__
project_urls =
description = Async http client/server framework (asyncio)
long_description = file: README.rst
long_description_content_type = text/x-rst
maintainer = aiohttp team <team@aiohttp.org>
maintainer_email = team@aiohttp.org
license = Apache 2
license_files = LICENSE.txt
classifiers =
Development Status :: 5 - Production/Stable
Framework :: AsyncIO
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: POSIX
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Internet :: WWW/HTTP
[options]
python_requires = >=3.6
packages = find:
zip_safe = False
include_package_data = True
install_requires =
attrs >= 17.3.0
charset-normalizer >=2.0, < 4.0
multidict >=4.5, < 7.0
async_timeout >= 4.0.0a3, < 5.0
asynctest == 0.13.0; python_version<"3.8"
yarl >= 1.0, < 2.0
idna-ssl >= 1.0; python_version<"3.7"
typing_extensions >= 3.7.4; python_version<"3.8"
frozenlist >= 1.1.1
aiosignal >= 1.1.2
[options.exclude_package_data]
* =
*.c
*.h
[options.extras_require]
speedups =
aiodns
Brotli
cchardet; python_version < "3.10"
[options.packages.find]
exclude =
examples
[options.package_data]
* =
*.so
[pep8]
max-line-length = 79
[easy_install]
zip_ok = false
[flake8]
ignore = N801,N802,N803,E203,E226,E305,W504,E252,E301,E302,E704,W503,W504,F811,D1,D4
max-line-length = 88
[isort]
line_length = 88
include_trailing_comma = True
multi_line_output = 3
force_grid_wrap = 0
combine_as_imports = True
known_third_party = jinja2,pytest,multidict,yarl,gunicorn,freezegun,async_generator
known_first_party = aiohttp,aiohttp_jinja2,aiopg
[report]
exclude_lines =
@abc.abstractmethod
@abstractmethod
[coverage:run]
branch = True
source = aiohttp, tests
omit = site-packages
[tool:pytest]
addopts =
--durations=10
-v
-ra
--showlocals
--cov=aiohttp
--cov=tests/
filterwarnings =
error
ignore:module 'ssl' has no attribute 'OP_NO_COMPRESSION'. The Python interpreter is compiled against OpenSSL < 1.0.0. Ref. https.//docs.python.org/3/library/ssl.html#ssl.OP_NO_COMPRESSION:UserWarning
ignore:unclosed transport <asyncio.sslproto._SSLProtocolTransport object.*:ResourceWarning
ignore:unclosed transport <_ProactorSocketTransport closing fd=-1>:ResourceWarning
ignore:Unclosed client session <aiohttp.client.ClientSession object at 0x:ResourceWarning
ignore:The loop argument is deprecated:DeprecationWarning:asyncio
ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning::
ignore:module 'sre_constants' is deprecated:DeprecationWarning:pkg_resources._vendor.pyparsing
ignore:path is deprecated. Use files.. instead. Refer to https.//importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.:DeprecationWarning:certifi.core
junit_suite_name = aiohttp_test_suite
norecursedirs = dist docs build .tox .eggs
minversion = 3.8.2
testpaths = tests/
junit_family = xunit2
xfail_strict = true
[egg_info]
tag_build =
tag_date = 0