diff options
Diffstat (limited to 'third_party/python/aiohttp/aiohttp.egg-info')
6 files changed, 555 insertions, 0 deletions
diff --git a/third_party/python/aiohttp/aiohttp.egg-info/PKG-INFO b/third_party/python/aiohttp/aiohttp.egg-info/PKG-INFO new file mode 100644 index 0000000000..3793ae23d1 --- /dev/null +++ b/third_party/python/aiohttp/aiohttp.egg-info/PKG-INFO @@ -0,0 +1,241 @@ +Metadata-Version: 2.1 +Name: aiohttp +Version: 3.8.5 +Summary: Async http client/server framework (asyncio) +Home-page: https://github.com/aio-libs/aiohttp +Maintainer: aiohttp team <team@aiohttp.org> +Maintainer-email: team@aiohttp.org +License: Apache 2 +Project-URL: Chat: Matrix, https://matrix.to/#/#aio-libs:matrix.org +Project-URL: Chat: Matrix Space, https://matrix.to/#/#aio-libs-space:matrix.org +Project-URL: CI: GitHub Actions, https://github.com/aio-libs/aiohttp/actions?query=workflow%3ACI +Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/aiohttp +Project-URL: Docs: Changelog, https://docs.aiohttp.org/en/stable/changes.html +Project-URL: Docs: RTD, https://docs.aiohttp.org +Project-URL: GitHub: issues, https://github.com/aio-libs/aiohttp/issues +Project-URL: GitHub: repo, https://github.com/aio-libs/aiohttp +Classifier: Development Status :: 5 - Production/Stable +Classifier: Framework :: AsyncIO +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: POSIX +Classifier: Operating System :: MacOS :: MacOS X +Classifier: Operating System :: Microsoft :: Windows +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Topic :: Internet :: WWW/HTTP +Requires-Python: >=3.6 +Description-Content-Type: text/x-rst +Provides-Extra: speedups +License-File: LICENSE.txt + +================================== +Async http client/server framework +================================== + +.. image:: https://raw.githubusercontent.com/aio-libs/aiohttp/master/docs/aiohttp-plain.svg + :height: 64px + :width: 64px + :alt: aiohttp logo + +| + +.. image:: https://github.com/aio-libs/aiohttp/workflows/CI/badge.svg + :target: https://github.com/aio-libs/aiohttp/actions?query=workflow%3ACI + :alt: GitHub Actions status for master branch + +.. image:: https://codecov.io/gh/aio-libs/aiohttp/branch/master/graph/badge.svg + :target: https://codecov.io/gh/aio-libs/aiohttp + :alt: codecov.io status for master branch + +.. image:: https://badge.fury.io/py/aiohttp.svg + :target: https://pypi.org/project/aiohttp + :alt: Latest PyPI package version + +.. image:: https://readthedocs.org/projects/aiohttp/badge/?version=latest + :target: https://docs.aiohttp.org/ + :alt: Latest Read The Docs + +.. image:: https://img.shields.io/matrix/aio-libs:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat + :target: https://matrix.to/#/%23aio-libs:matrix.org + :alt: Matrix Room — #aio-libs:matrix.org + +.. image:: https://img.shields.io/matrix/aio-libs-space:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs-space%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat + :target: https://matrix.to/#/%23aio-libs-space:matrix.org + :alt: Matrix Space — #aio-libs-space:matrix.org + + +Key Features +============ + +- Supports both client and server side of HTTP protocol. +- Supports both client and server Web-Sockets out-of-the-box and avoids + Callback Hell. +- Provides Web-server with middlewares and plugable routing. + + +Getting started +=============== + +Client +------ + +To get something from the web: + +.. code-block:: python + + import aiohttp + import asyncio + + async def main(): + + async with aiohttp.ClientSession() as session: + async with session.get('http://python.org') as response: + + print("Status:", response.status) + print("Content-type:", response.headers['content-type']) + + html = await response.text() + print("Body:", html[:15], "...") + + asyncio.run(main()) + +This prints: + +.. code-block:: + + Status: 200 + Content-type: text/html; charset=utf-8 + Body: <!doctype html> ... + +Coming from `requests <https://requests.readthedocs.io/>`_ ? Read `why we need so many lines <https://aiohttp.readthedocs.io/en/latest/http_request_lifecycle.html>`_. + +Server +------ + +An example using a simple server: + +.. code-block:: python + + # examples/server_simple.py + from aiohttp import web + + async def handle(request): + name = request.match_info.get('name', "Anonymous") + text = "Hello, " + name + return web.Response(text=text) + + async def wshandle(request): + ws = web.WebSocketResponse() + await ws.prepare(request) + + async for msg in ws: + if msg.type == web.WSMsgType.text: + await ws.send_str("Hello, {}".format(msg.data)) + elif msg.type == web.WSMsgType.binary: + await ws.send_bytes(msg.data) + elif msg.type == web.WSMsgType.close: + break + + return ws + + + app = web.Application() + app.add_routes([web.get('/', handle), + web.get('/echo', wshandle), + web.get('/{name}', handle)]) + + if __name__ == '__main__': + web.run_app(app) + + +Documentation +============= + +https://aiohttp.readthedocs.io/ + + +Demos +===== + +https://github.com/aio-libs/aiohttp-demos + + +External links +============== + +* `Third party libraries + <http://aiohttp.readthedocs.io/en/latest/third_party.html>`_ +* `Built with aiohttp + <http://aiohttp.readthedocs.io/en/latest/built_with.html>`_ +* `Powered by aiohttp + <http://aiohttp.readthedocs.io/en/latest/powered_by.html>`_ + +Feel free to make a Pull Request for adding your link to these pages! + + +Communication channels +====================== + +*aio-libs discourse group*: https://aio-libs.discourse.group + +*gitter chat* https://gitter.im/aio-libs/Lobby + +We support `Stack Overflow +<https://stackoverflow.com/questions/tagged/aiohttp>`_. +Please add *aiohttp* tag to your question there. + +Requirements +============ + +- Python >= 3.6 +- async-timeout_ +- attrs_ +- charset-normalizer_ +- multidict_ +- yarl_ +- frozenlist_ + +Optionally you may install the cChardet_ and aiodns_ libraries (highly +recommended for sake of speed). + +.. _charset-normalizer: https://pypi.org/project/charset-normalizer +.. _aiodns: https://pypi.python.org/pypi/aiodns +.. _attrs: https://github.com/python-attrs/attrs +.. _multidict: https://pypi.python.org/pypi/multidict +.. _frozenlist: https://pypi.org/project/frozenlist/ +.. _yarl: https://pypi.python.org/pypi/yarl +.. _async-timeout: https://pypi.python.org/pypi/async_timeout +.. _cChardet: https://pypi.python.org/pypi/cchardet + +License +======= + +``aiohttp`` is offered under the Apache 2 license. + + +Keepsafe +======== + +The aiohttp community would like to thank Keepsafe +(https://www.getkeepsafe.com) for its support in the early days of +the project. + + +Source code +=========== + +The latest developer version is available in a GitHub repository: +https://github.com/aio-libs/aiohttp + +Benchmarks +========== + +If you are interested in efficiency, the AsyncIO community maintains a +list of benchmarks on the official wiki: +https://github.com/python/asyncio/wiki/Benchmarks diff --git a/third_party/python/aiohttp/aiohttp.egg-info/SOURCES.txt b/third_party/python/aiohttp/aiohttp.egg-info/SOURCES.txt new file mode 100644 index 0000000000..2ec53fcad1 --- /dev/null +++ b/third_party/python/aiohttp/aiohttp.egg-info/SOURCES.txt @@ -0,0 +1,290 @@ +CHANGES.rst +CONTRIBUTORS.txt +LICENSE.txt +MANIFEST.in +Makefile +README.rst +pyproject.toml +setup.cfg +setup.py +aiohttp/__init__.py +aiohttp/_cparser.pxd +aiohttp/_find_header.c +aiohttp/_find_header.h +aiohttp/_find_header.pxd +aiohttp/_headers.pxi +aiohttp/_helpers.c +aiohttp/_helpers.pyi +aiohttp/_helpers.pyx +aiohttp/_http_parser.c +aiohttp/_http_parser.pyx +aiohttp/_http_writer.c +aiohttp/_http_writer.pyx +aiohttp/_websocket.c +aiohttp/_websocket.pyx +aiohttp/abc.py +aiohttp/base_protocol.py +aiohttp/client.py +aiohttp/client_exceptions.py +aiohttp/client_proto.py +aiohttp/client_reqrep.py +aiohttp/client_ws.py +aiohttp/connector.py +aiohttp/cookiejar.py +aiohttp/formdata.py +aiohttp/hdrs.py +aiohttp/helpers.py +aiohttp/http.py +aiohttp/http_exceptions.py +aiohttp/http_parser.py +aiohttp/http_websocket.py +aiohttp/http_writer.py +aiohttp/locks.py +aiohttp/log.py +aiohttp/multipart.py +aiohttp/payload.py +aiohttp/payload_streamer.py +aiohttp/py.typed +aiohttp/pytest_plugin.py +aiohttp/resolver.py +aiohttp/streams.py +aiohttp/tcp_helpers.py +aiohttp/test_utils.py +aiohttp/tracing.py +aiohttp/typedefs.py +aiohttp/web.py +aiohttp/web_app.py +aiohttp/web_exceptions.py +aiohttp/web_fileresponse.py +aiohttp/web_log.py +aiohttp/web_middlewares.py +aiohttp/web_protocol.py +aiohttp/web_request.py +aiohttp/web_response.py +aiohttp/web_routedef.py +aiohttp/web_runner.py +aiohttp/web_server.py +aiohttp/web_urldispatcher.py +aiohttp/web_ws.py +aiohttp/worker.py +aiohttp.egg-info/PKG-INFO +aiohttp.egg-info/SOURCES.txt +aiohttp.egg-info/dependency_links.txt +aiohttp.egg-info/not-zip-safe +aiohttp.egg-info/requires.txt +aiohttp.egg-info/top_level.txt +aiohttp/.hash/_cparser.pxd.hash +aiohttp/.hash/_find_header.pxd.hash +aiohttp/.hash/_helpers.pyi.hash +aiohttp/.hash/_helpers.pyx.hash +aiohttp/.hash/_http_parser.pyx.hash +aiohttp/.hash/_http_writer.pyx.hash +aiohttp/.hash/_websocket.pyx.hash +aiohttp/.hash/hdrs.py.hash +docs/Makefile +docs/abc.rst +docs/aiohttp-icon.svg +docs/aiohttp-plain.svg +docs/built_with.rst +docs/changes.rst +docs/client.rst +docs/client_advanced.rst +docs/client_quickstart.rst +docs/client_reference.rst +docs/conf.py +docs/contributing.rst +docs/deployment.rst +docs/essays.rst +docs/external.rst +docs/faq.rst +docs/favicon.ico +docs/glossary.rst +docs/http_request_lifecycle.rst +docs/index.rst +docs/logging.rst +docs/make.bat +docs/migration_to_2xx.rst +docs/misc.rst +docs/multipart.rst +docs/multipart_reference.rst +docs/new_router.rst +docs/old-logo.png +docs/old-logo.svg +docs/powered_by.rst +docs/spelling_wordlist.txt +docs/streams.rst +docs/structures.rst +docs/testing.rst +docs/third_party.rst +docs/tracing_reference.rst +docs/utilities.rst +docs/web.rst +docs/web_advanced.rst +docs/web_lowlevel.rst +docs/web_quickstart.rst +docs/web_reference.rst +docs/websocket_utilities.rst +docs/whats_new_1_1.rst +docs/whats_new_3_0.rst +docs/_snippets/cchardet-unmaintained-admonition.rst +docs/_static/css/logo-adjustments.css +examples/__init__.py +examples/background_tasks.py +examples/cli_app.py +examples/client_auth.py +examples/client_json.py +examples/client_ws.py +examples/curl.py +examples/fake_server.py +examples/lowlevel_srv.py +examples/server.crt +examples/server.csr +examples/server.key +examples/server_simple.py +examples/static_files.py +examples/web_classview.py +examples/web_cookies.py +examples/web_rewrite_headers_middleware.py +examples/web_srv.py +examples/web_srv_route_deco.py +examples/web_srv_route_table.py +examples/web_ws.py +examples/websocket.html +tests/aiohttp.jpg +tests/aiohttp.png +tests/conftest.py +tests/data.unknown_mime_type +tests/data.zero_bytes +tests/hello.txt.gz +tests/sample.txt +tests/test___all__.py +tests/test_base_protocol.py +tests/test_circular_imports.py +tests/test_classbasedview.py +tests/test_client_connection.py +tests/test_client_exceptions.py +tests/test_client_fingerprint.py +tests/test_client_functional.py +tests/test_client_proto.py +tests/test_client_request.py +tests/test_client_response.py +tests/test_client_session.py +tests/test_client_ws.py +tests/test_client_ws_functional.py +tests/test_connector.py +tests/test_cookiejar.py +tests/test_flowcontrol_streams.py +tests/test_formdata.py +tests/test_helpers.py +tests/test_http_exceptions.py +tests/test_http_parser.py +tests/test_http_writer.py +tests/test_locks.py +tests/test_loop.py +tests/test_multipart.py +tests/test_multipart_helpers.py +tests/test_payload.py +tests/test_proxy.py +tests/test_proxy_functional.py +tests/test_pytest_plugin.py +tests/test_resolver.py +tests/test_route_def.py +tests/test_run_app.py +tests/test_streams.py +tests/test_tcp_helpers.py +tests/test_test_utils.py +tests/test_tracing.py +tests/test_urldispatch.py +tests/test_web_app.py +tests/test_web_cli.py +tests/test_web_exceptions.py +tests/test_web_functional.py +tests/test_web_log.py +tests/test_web_middleware.py +tests/test_web_request.py +tests/test_web_request_handler.py +tests/test_web_response.py +tests/test_web_runner.py +tests/test_web_sendfile.py +tests/test_web_sendfile_functional.py +tests/test_web_server.py +tests/test_web_urldispatcher.py +tests/test_web_websocket.py +tests/test_web_websocket_functional.py +tests/test_websocket_handshake.py +tests/test_websocket_parser.py +tests/test_websocket_writer.py +tests/test_worker.py +tests/autobahn/Dockerfile.aiohttp +tests/autobahn/Dockerfile.autobahn +tests/autobahn/test_autobahn.py +tests/autobahn/client/client.py +tests/autobahn/client/fuzzingserver.json +tests/autobahn/server/fuzzingclient.json +tests/autobahn/server/server.py +vendor/README.rst +vendor/llhttp/.dockerignore +vendor/llhttp/.eslintrc.js +vendor/llhttp/.git +vendor/llhttp/.gitignore +vendor/llhttp/.npmrc +vendor/llhttp/CMakeLists.txt +vendor/llhttp/CNAME +vendor/llhttp/CODE_OF_CONDUCT.md +vendor/llhttp/Dockerfile +vendor/llhttp/LICENSE-MIT +vendor/llhttp/Makefile +vendor/llhttp/README.md +vendor/llhttp/_config.yml +vendor/llhttp/libllhttp.pc.in +vendor/llhttp/package-lock.json +vendor/llhttp/package.json +vendor/llhttp/tsconfig.json +vendor/llhttp/tslint.json +vendor/llhttp/.github/workflows/ci.yaml +vendor/llhttp/bench/index.ts +vendor/llhttp/bin/build_wasm.ts +vendor/llhttp/bin/generate.ts +vendor/llhttp/build/llhttp.h +vendor/llhttp/build/c/llhttp.c +vendor/llhttp/docs/releasing.md +vendor/llhttp/examples/wasm.ts +vendor/llhttp/images/http-loose-none.png +vendor/llhttp/images/http-strict-none.png +vendor/llhttp/src/common.gypi +vendor/llhttp/src/llhttp.gyp +vendor/llhttp/src/llhttp.ts +vendor/llhttp/src/llhttp/c-headers.ts +vendor/llhttp/src/llhttp/constants.ts +vendor/llhttp/src/llhttp/http.ts +vendor/llhttp/src/llhttp/url.ts +vendor/llhttp/src/llhttp/utils.ts +vendor/llhttp/src/native/api.c +vendor/llhttp/src/native/api.h +vendor/llhttp/src/native/http.c +vendor/llhttp/test/md-test.ts +vendor/llhttp/test/url.md +vendor/llhttp/test/fixtures/extra.c +vendor/llhttp/test/fixtures/index.ts +vendor/llhttp/test/fuzzers/fuzz_parser.c +vendor/llhttp/test/request/connection.md +vendor/llhttp/test/request/content-length.md +vendor/llhttp/test/request/finish.md +vendor/llhttp/test/request/invalid.md +vendor/llhttp/test/request/lenient-headers.md +vendor/llhttp/test/request/lenient-version.md +vendor/llhttp/test/request/method.md +vendor/llhttp/test/request/pausing.md +vendor/llhttp/test/request/pipelining.md +vendor/llhttp/test/request/sample.md +vendor/llhttp/test/request/transfer-encoding.md +vendor/llhttp/test/request/uri.md +vendor/llhttp/test/response/connection.md +vendor/llhttp/test/response/content-length.md +vendor/llhttp/test/response/finish.md +vendor/llhttp/test/response/invalid.md +vendor/llhttp/test/response/lenient-version.md +vendor/llhttp/test/response/pausing.md +vendor/llhttp/test/response/pipelining.md +vendor/llhttp/test/response/sample.md +vendor/llhttp/test/response/transfer-encoding.md
\ No newline at end of file diff --git a/third_party/python/aiohttp/aiohttp.egg-info/dependency_links.txt b/third_party/python/aiohttp/aiohttp.egg-info/dependency_links.txt new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/third_party/python/aiohttp/aiohttp.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/third_party/python/aiohttp/aiohttp.egg-info/not-zip-safe b/third_party/python/aiohttp/aiohttp.egg-info/not-zip-safe new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/third_party/python/aiohttp/aiohttp.egg-info/not-zip-safe @@ -0,0 +1 @@ + diff --git a/third_party/python/aiohttp/aiohttp.egg-info/requires.txt b/third_party/python/aiohttp/aiohttp.egg-info/requires.txt new file mode 100644 index 0000000000..7c8bd86824 --- /dev/null +++ b/third_party/python/aiohttp/aiohttp.egg-info/requires.txt @@ -0,0 +1,21 @@ +attrs>=17.3.0 +charset-normalizer<4.0,>=2.0 +multidict<7.0,>=4.5 +async_timeout<5.0,>=4.0.0a3 +yarl<2.0,>=1.0 +frozenlist>=1.1.1 +aiosignal>=1.1.2 + +[:python_version < "3.7"] +idna-ssl>=1.0 + +[:python_version < "3.8"] +asynctest==0.13.0 +typing_extensions>=3.7.4 + +[speedups] +aiodns +Brotli + +[speedups:python_version < "3.10"] +cchardet diff --git a/third_party/python/aiohttp/aiohttp.egg-info/top_level.txt b/third_party/python/aiohttp/aiohttp.egg-info/top_level.txt new file mode 100644 index 0000000000..ee4ba4f3d7 --- /dev/null +++ b/third_party/python/aiohttp/aiohttp.egg-info/top_level.txt @@ -0,0 +1 @@ +aiohttp |