Upload 3395 files
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+67
- New folder/Seed-VC/.gitattributesAdded+47
- New folder/Seed-VC/.gitignoreAdded+28
- New folder/Seed-VC/.venv/.gitignoreAdded+2
- New folder/Seed-VC/.venv/Lib/site-packages/__pycache__/typing_extensions.cpython-313.pycAdded+3
- New folder/Seed-VC/.venv/Lib/site-packages/_cbor2.cp313-win_amd64.pydAdded+3
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/INSTALLERAdded+1
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/LICENSEAdded+279
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/METADATAAdded+123
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/RECORDAdded+16
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/WHEELAdded+4
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__init__.pyAdded+14
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/__init__.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/_staggered.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/impl.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/types.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/utils.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/_staggered.pyAdded+207
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/impl.pyAdded+259
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/py.typedAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/types.pyAdded+17
- New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/utils.pyAdded+97
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/INSTALLERAdded+1
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/METADATAAdded+262
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/RECORDAdded+138
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/WHEELAdded+5
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/licenses/LICENSE.txtAdded+13
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/licenses/vendor/llhttp/LICENSEAdded+22
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/top_level.txtAdded+1
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/_cparser.pxd.hashAdded+1
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/_find_header.pxd.hashAdded+1
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/_http_parser.pyx.hashAdded+1
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/_http_writer.pyx.hashAdded+1
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/hdrs.py.hashAdded+1
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__init__.pyAdded+278
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/__init__.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/_cookie_helpers.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/abc.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/base_protocol.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_exceptions.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_middleware_digest_auth.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_middlewares.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_proto.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_reqrep.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_ws.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/compression_utils.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/connector.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/cookiejar.cpython-313.pycAdded
- New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/formdata.cpython-313.pycAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110232 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/__pycache__/typing_extensions.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/_cbor2.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/aiohttp/_http_parser.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/aiohttp/_websocket/reader_c.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/anyio/_backends/__pycache__/_asyncio.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/attr/__pycache__/_make.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/click/__pycache__/core.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/google/_upb/_message.pyd filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/google/protobuf/__pycache__/descriptor_pb2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/hpack/__pycache__/huffman_table.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/idna/__pycache__/idnadata.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/idna/__pycache__/uts46data.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/modal_proto/__pycache__/api_grpc.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/modal_proto/__pycache__/api_pb2_grpc.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/modal_proto/__pycache__/api_pb2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/modal/__pycache__/image.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pip/_vendor/distlib/t64.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pip/_vendor/distlib/w64.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/pygments/lexers/__pycache__/lisp.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/rich/__pycache__/_emoji_codes.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/rich/__pycache__/console.cpython-313.pyc filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Lib/site-packages/watchfiles/_rust_notify.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/cbor2.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/markdown-it.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/modal.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/pip.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/pip3.13.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/pip3.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/protoc-gen-grpclib_python.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/protoc-gen-python_grpc.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/pygmentize.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/python.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/pythonw.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/typer.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/.venv/Scripts/watchfiles.exe filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/azuma_0.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/dingzhen_0.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/kobe_0.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/s1p1.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/s1p2.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/s2p1.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/s2p2.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/s3p1.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/s3p2.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/s4p1.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/s4p2.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/teio_0.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/reference/trump_0.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/glados_0.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/jay_0.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/source_s1.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/source_s2.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/source_s3.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/source_s4.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/TECHNOPOLIS[[:space:]]-[[:space:]]2085[[:space:]]\[vocals\]_\[cut_14sec\].wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/Wiz[[:space:]]Khalifa,Charlie[[:space:]]Puth[[:space:]]-[[:space:]]See[[:space:]]You[[:space:]]Again[[:space:]]\[vocals\]_\[cut_28sec\].wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/examples/source/yae_0.wav filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/modules/bigvgan/alias_free_activation/cuda/build/.ninja_deps filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/modules/bigvgan/alias_free_activation/cuda/build/anti_alias_activation_cuda.cuda.o filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/modules/bigvgan/alias_free_activation/cuda/build/anti_alias_activation_cuda.pyd filter=lfs diff=lfs merge=lfs -textNew[[:space:]]folder/Seed-VC/modules/bigvgan/alias_free_activation/cuda/build/anti_alias_activation.o filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
examples/reference/dingzhen_0.wav filter=lfs diff=lfs merge=lfs -text
examples/reference/s3p2.wav filter=lfs diff=lfs merge=lfs -text
examples/source/source_s3.wav filter=lfs diff=lfs merge=lfs -text
examples/source/source_s4.wav filter=lfs diff=lfs merge=lfs -text
examples/source/Wiz[[:space:]]Khalifa,Charlie[[:space:]]Puth[[:space:]]-[[:space:]]See[[:space:]]You[[:space:]]Again[[:space:]]\[vocals\]_\[cut_28sec\].wav filter=lfs diff=lfs merge=lfs -text
examples/reference/trump_0.wav filter=lfs diff=lfs merge=lfs -text
examples/source/jay_0.wav filter=lfs diff=lfs merge=lfs -text
examples/source/TECHNOPOLIS[[:space:]]-[[:space:]]2085[[:space:]]\[vocals\]_\[cut_14sec\].wav filter=lfs diff=lfs merge=lfs -text
modules/bigvgan/alias_free_activation/cuda/build/.ninja_deps filter=lfs diff=lfs merge=lfs -textmodules/bigvgan/alias_free_activation/cuda/build/anti_alias_activation_cuda.cuda.o filter=lfs diff=lfs merge=lfs -textmodules/bigvgan/alias_free_activation/cuda/build/anti_alias_activation_cuda.pyd filter=lfs diff=lfs merge=lfs -textmodules/bigvgan/alias_free_activation/cuda/build/anti_alias_activation.o filter=lfs diff=lfs merge=lfs -text12345678910111213141516171819202122232425262728# general things to ignore
.DS_Store
build/
build_contrib/
dist/
.cache/
*.egg-info/
*.egg
*.py[cod]
__pycache__/
*.so
*~
# IDE
.vscode/
.idea/
# misc
checkpoints/
test_waves/
reconstructed/
.python-version
ruff.log
/configs/inuse/
runs/
/garbages/
/flagged/
/experimental/12# Created by venv; see https://docs.python.org/3/library/venv.html
*123version https://git-lfs.github.com/spec/v1oid sha256:1a9f1904dd38fae69e0b6b897a2b7e4d7dc9ea4bebb8b16f8664a0162b945044size 162875123version https://git-lfs.github.com/spec/v1oid sha256:5e3819b10698d349ee27e2cf19ff72865a19e1feaccbab552c8e80e98a08aeaasize 1070081pip123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279A. HISTORY OF THE SOFTWARE==========================
Python was created in the early 1990s by Guido van Rossum at StichtingMathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlandsas a successor of a language called ABC. Guido remains Python'sprincipal author, although it includes many contributions from others.
In 1995, Guido continued his work on Python at the Corporation forNational Research Initiatives (CNRI, see https://www.cnri.reston.va.us)in Reston, Virginia where he released several versions of thesoftware.
In May 2000, Guido and the Python core development team moved toBeOpen.com to form the BeOpen PythonLabs team. In October of the sameyear, the PythonLabs team moved to Digital Creations, which becameZope Corporation. In 2001, the Python Software Foundation (PSF, seehttps://www.python.org/psf/) was formed, a non-profit organizationcreated specifically to own Python-related Intellectual Property.Zope Corporation was a sponsoring member of the PSF.
All Python releases are Open Source (see https://opensource.org forthe Open Source Definition). Historically, most, but not all, Pythonreleases have also been GPL-compatible; the table below summarizesthe various releases.
Release Derived Year Owner GPL- from compatible? (1)
0.9.0 thru 1.2 1991-1995 CWI yes 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes 1.6 1.5.2 2000 CNRI no 2.0 1.6 2000 BeOpen.com no 1.6.1 1.6 2001 CNRI yes (2) 2.1 2.0+1.6.1 2001 PSF no 2.0.1 2.0+1.6.1 2001 PSF yes 2.1.1 2.1+2.0.1 2001 PSF yes 2.1.2 2.1.1 2002 PSF yes 2.1.3 2.1.2 2002 PSF yes 2.2 and above 2.1.1 2001-now PSF yes
Footnotes:
(1) GPL-compatible doesn't mean that we're distributing Python under the GPL. All Python licenses, unlike the GPL, let you distribute a modified version without making your changes open source. The GPL-compatible licenses make it possible to combine Python with other software that is released under the GPL; the others don't.
(2) According to Richard Stallman, 1.6.1 is not GPL-compatible, because its license has a choice of law clause. According to CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 is "not incompatible" with the GPL.
Thanks to the many outside volunteers who have worked under Guido'sdirection to make these releases possible.
B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON===============================================================
Python software and documentation are licensed under thePython Software Foundation License Version 2.
Starting with Python 3.8.6, examples, recipes, and other code inthe documentation are dual licensed under the PSF License Version 2and the Zero-Clause BSD license.
Some software incorporated into Python is under different licenses.The licenses are listed with code falling under that license.
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2--------------------------------------------
1. This LICENSE AGREEMENT is between the Python Software Foundation("PSF"), and the Individual or Organization ("Licensee") accessing andotherwise using this software ("Python") in source or binary form andits associated documentation.
2. Subject to the terms and conditions of this License Agreement, PSF herebygrants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,analyze, test, perform and/or display publicly, prepare derivative works,distribute, and otherwise use Python alone or in any derivative version,provided, however, that PSF's License Agreement and PSF's notice of copyright,i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation;All Rights Reserved" are retained in Python alone or in any derivative versionprepared by Licensee.
3. In the event Licensee prepares a derivative work that is based onor incorporates Python or any part thereof, and wants to makethe derivative work available to others as provided herein, thenLicensee hereby agrees to include in any such work a brief summary ofthe changes made to Python.
4. PSF is making Python available to Licensee on an "AS IS"basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS ORIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO ANDDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESSFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOTINFRINGE ANY THIRD PARTY RIGHTS.
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHONFOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS ASA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a materialbreach of its terms and conditions.
7. Nothing in this License Agreement shall be deemed to create anyrelationship of agency, partnership, or joint venture between PSF andLicensee. This License Agreement does not grant permission to use PSFtrademarks or trade name in a trademark sense to endorse or promoteproducts or services of Licensee, or any third party.
8. By copying, installing or otherwise using Python, Licenseeagrees to be bound by the terms and conditions of this LicenseAgreement.
BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0-------------------------------------------
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having anoffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and theIndividual or Organization ("Licensee") accessing and otherwise usingthis software in source or binary form and its associateddocumentation ("the Software").
2. Subject to the terms and conditions of this BeOpen Python LicenseAgreement, BeOpen hereby grants Licensee a non-exclusive,royalty-free, world-wide license to reproduce, analyze, test, performand/or display publicly, prepare derivative works, distribute, andotherwise use the Software alone or in any derivative version,provided, however, that the BeOpen Python License is retained in theSoftware, alone or in any derivative version prepared by Licensee.
3. BeOpen is making the Software available to Licensee on an "AS IS"basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS ORIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO ANDDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESSFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOTINFRINGE ANY THIRD PARTY RIGHTS.
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THESOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSSAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANYDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
5. This License Agreement will automatically terminate upon a materialbreach of its terms and conditions.
6. This License Agreement shall be governed by and interpreted in allrespects by the law of the State of California, excluding conflict oflaw provisions. Nothing in this License Agreement shall be deemed tocreate any relationship of agency, partnership, or joint venturebetween BeOpen and Licensee. This License Agreement does not grantpermission to use BeOpen trademarks or trade names in a trademarksense to endorse or promote products or services of Licensee, or anythird party. As an exception, the "BeOpen Python" logos available athttp://www.pythonlabs.com/logos.html may be used according to thepermissions granted on that web page.
7. By copying, installing or otherwise using the software, Licenseeagrees to be bound by the terms and conditions of this LicenseAgreement.
CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1---------------------------------------
1. This LICENSE AGREEMENT is between the Corporation for NationalResearch Initiatives, having an office at 1895 Preston White Drive,Reston, VA 20191 ("CNRI"), and the Individual or Organization("Licensee") accessing and otherwise using Python 1.6.1 software insource or binary form and its associated documentation.
2. Subject to the terms and conditions of this License Agreement, CNRIhereby grants Licensee a nonexclusive, royalty-free, world-widelicense to reproduce, analyze, test, perform and/or display publicly,prepare derivative works, distribute, and otherwise use Python 1.6.1alone or in any derivative version, provided, however, that CNRI'sLicense Agreement and CNRI's notice of copyright, i.e., "Copyright (c)1995-2001 Corporation for National Research Initiatives; All RightsReserved" are retained in Python 1.6.1 alone or in any derivativeversion prepared by Licensee. Alternately, in lieu of CNRI's LicenseAgreement, Licensee may substitute the following text (omitting thequotes): "Python 1.6.1 is made available subject to the terms andconditions in CNRI's License Agreement. This Agreement together withPython 1.6.1 may be located on the internet using the followingunique, persistent identifier (known as a handle): 1895.22/1013. ThisAgreement may also be obtained from a proxy server on the internetusing the following URL: http://hdl.handle.net/1895.22/1013".
3. In the event Licensee prepares a derivative work that is based onor incorporates Python 1.6.1 or any part thereof, and wants to makethe derivative work available to others as provided herein, thenLicensee hereby agrees to include in any such work a brief summary ofthe changes made to Python 1.6.1.
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS ORIMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO ANDDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESSFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOTINFRINGE ANY THIRD PARTY RIGHTS.
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS ASA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a materialbreach of its terms and conditions.
7. This License Agreement shall be governed by the federalintellectual property law of the United States, including withoutlimitation the federal copyright law, and, to the extent suchU.S. federal law does not apply, by the law of the Commonwealth ofVirginia, excluding Virginia's conflict of law provisions.Notwithstanding the foregoing, with regard to derivative works basedon Python 1.6.1 that incorporate non-separable material that waspreviously distributed under the GNU General Public License (GPL), thelaw of the Commonwealth of Virginia shall govern this LicenseAgreement only as to issues arising under or with respect toParagraphs 4, 5, and 7 of this License Agreement. Nothing in thisLicense Agreement shall be deemed to create any relationship ofagency, partnership, or joint venture between CNRI and Licensee. ThisLicense Agreement does not grant permission to use CNRI trademarks ortrade name in a trademark sense to endorse or promote products orservices of Licensee, or any third party.
8. By clicking on the "ACCEPT" button where indicated, or by copying,installing or otherwise using Python 1.6.1, Licensee agrees to bebound by the terms and conditions of this License Agreement.
ACCEPT
CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2--------------------------------------------------
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,The Netherlands. All rights reserved.
Permission to use, copy, modify, and distribute this software and itsdocumentation for any purpose and without fee is hereby granted,provided that the above copyright notice appear in all copies and thatboth that copyright notice and this permission notice appear insupporting documentation, and that the name of Stichting MathematischCentrum or CWI not be used in advertising or publicity pertaining todistribution of the software without specific, written priorpermission.
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TOTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ANDFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLEFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGESWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ANACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUTOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION----------------------------------------------------------------------
Permission to use, copy, modify, and/or distribute this software for anypurpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITHREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITYAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROMLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OROTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE ORPERFORMANCE OF THIS SOFTWARE.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123Metadata-Version: 2.3Name: aiohappyeyeballsVersion: 2.6.1Summary: Happy Eyeballs for asyncioLicense: PSF-2.0Author: J. Nick KostonAuthor-email: nick@koston.orgRequires-Python: >=3.9Classifier: Development Status :: 5 - Production/StableClassifier: Intended Audience :: DevelopersClassifier: Natural Language :: EnglishClassifier: Operating System :: OS IndependentClassifier: Topic :: Software Development :: LibrariesClassifier: Programming Language :: Python :: 3Classifier: Programming Language :: Python :: 3.9Classifier: Programming Language :: Python :: 3.10Classifier: Programming Language :: Python :: 3.11Classifier: Programming Language :: Python :: 3.12Classifier: Programming Language :: Python :: 3.13Classifier: License :: OSI Approved :: Python Software Foundation LicenseProject-URL: Bug Tracker, https://github.com/aio-libs/aiohappyeyeballs/issuesProject-URL: Changelog, https://github.com/aio-libs/aiohappyeyeballs/blob/main/CHANGELOG.mdProject-URL: Documentation, https://aiohappyeyeballs.readthedocs.ioProject-URL: Repository, https://github.com/aio-libs/aiohappyeyeballsDescription-Content-Type: text/markdown
# aiohappyeyeballs
<p align="center"> <a href="https://github.com/aio-libs/aiohappyeyeballs/actions/workflows/ci.yml?query=branch%3Amain"> <img src="https://img.shields.io/github/actions/workflow/status/aio-libs/aiohappyeyeballs/ci-cd.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" > </a> <a href="https://aiohappyeyeballs.readthedocs.io"> <img src="https://img.shields.io/readthedocs/aiohappyeyeballs.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status"> </a> <a href="https://codecov.io/gh/aio-libs/aiohappyeyeballs"> <img src="https://img.shields.io/codecov/c/github/aio-libs/aiohappyeyeballs.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage"> </a></p><p align="center"> <a href="https://python-poetry.org/"> <img src="https://img.shields.io/badge/packaging-poetry-299bd7?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAASCAYAAABrXO8xAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJJSURBVHgBfZLPa1NBEMe/s7tNXoxW1KJQKaUHkXhQvHgW6UHQQ09CBS/6V3hKc/AP8CqCrUcpmop3Cx48eDB4yEECjVQrlZb80CRN8t6OM/teagVxYZi38+Yz853dJbzoMV3MM8cJUcLMSUKIE8AzQ2PieZzFxEJOHMOgMQQ+dUgSAckNXhapU/NMhDSWLs1B24A8sO1xrN4NECkcAC9ASkiIJc6k5TRiUDPhnyMMdhKc+Zx19l6SgyeW76BEONY9exVQMzKExGKwwPsCzza7KGSSWRWEQhyEaDXp6ZHEr416ygbiKYOd7TEWvvcQIeusHYMJGhTwF9y7sGnSwaWyFAiyoxzqW0PM/RjghPxF2pWReAowTEXnDh0xgcLs8l2YQmOrj3N7ByiqEoH0cARs4u78WgAVkoEDIDoOi3AkcLOHU60RIg5wC4ZuTC7FaHKQm8Hq1fQuSOBvX/sodmNJSB5geaF5CPIkUeecdMxieoRO5jz9bheL6/tXjrwCyX/UYBUcjCaWHljx1xiX6z9xEjkYAzbGVnB8pvLmyXm9ep+W8CmsSHQQY77Zx1zboxAV0w7ybMhQmfqdmmw3nEp1I0Z+FGO6M8LZdoyZnuzzBdjISicKRnpxzI9fPb+0oYXsNdyi+d3h9bm9MWYHFtPeIZfLwzmFDKy1ai3p+PDls1Llz4yyFpferxjnyjJDSEy9CaCx5m2cJPerq6Xm34eTrZt3PqxYO1XOwDYZrFlH1fWnpU38Y9HRze3lj0vOujZcXKuuXm3jP+s3KbZVra7y2EAAAAAASUVORK5CYII=" alt="Poetry"> </a> <a href="https://github.com/astral-sh/ruff"> <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff"> </a> <a href="https://github.com/pre-commit/pre-commit"> <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit"> </a></p><p align="center"> <a href="https://pypi.org/project/aiohappyeyeballs/"> <img src="https://img.shields.io/pypi/v/aiohappyeyeballs.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version"> </a> <img src="https://img.shields.io/pypi/pyversions/aiohappyeyeballs.svg?style=flat-square&logo=python&logoColor=fff" alt="Supported Python versions"> <img src="https://img.shields.io/pypi/l/aiohappyeyeballs.svg?style=flat-square" alt="License"></p>
---
**Documentation**: <a href="https://aiohappyeyeballs.readthedocs.io" target="_blank">https://aiohappyeyeballs.readthedocs.io </a>
**Source Code**: <a href="https://github.com/aio-libs/aiohappyeyeballs" target="_blank">https://github.com/aio-libs/aiohappyeyeballs </a>
---
[Happy Eyeballs](https://en.wikipedia.org/wiki/Happy_Eyeballs)([RFC 8305](https://www.rfc-editor.org/rfc/rfc8305.html))
## Use case
This library exists to allow connecting with[Happy Eyeballs](https://en.wikipedia.org/wiki/Happy_Eyeballs)([RFC 8305](https://www.rfc-editor.org/rfc/rfc8305.html))when youalready have a list of addrinfo and not a DNS name.
The stdlib version of `loop.create_connection()`will only work when you pass in an unresolved name whichis not a good fit when using DNS caching or resolvingnames via another method such as `zeroconf`.
## Installation
Install this via pip (or your favourite package manager):
`pip install aiohappyeyeballs`
## License
[aiohappyeyeballs is licensed under the same terms as cpython itself.](https://github.com/python/cpython/blob/main/LICENSE)
## Example usage
```python
addr_infos = await loop.getaddrinfo("example.org", 80)
socket = await start_connection(addr_infos)socket = await start_connection(addr_infos, local_addr_infos=local_addr_infos, happy_eyeballs_delay=0.2)
transport, protocol = await loop.create_connection( MyProtocol, sock=socket, ...)
# Remove the first address for each family from addr_infopop_addr_infos_interleave(addr_info, 1)
# Remove all matching address from addr_inforemove_addr_infos(addr_info, "dead::beef::")
# Convert a local_addr to local_addr_infoslocal_addr_infos = addr_to_addr_infos(("127.0.0.1",0))```
## Credits
This package contains code from cpython and is licensed under the same terms as cpython itself.
This package was created with[Copier](https://copier.readthedocs.io/) and the[browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)project template.
12345678910111213141516aiohappyeyeballs-2.6.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
aiohappyeyeballs-2.6.1.dist-info/LICENSE,sha256=Oy-B_iHRgcSZxZolbI4ZaEVdZonSaaqFNzv7avQdo78,13936
aiohappyeyeballs-2.6.1.dist-info/METADATA,sha256=NSXlhJwAfi380eEjAo7BQ4P_TVal9xi0qkyZWibMsVM,5915
aiohappyeyeballs-2.6.1.dist-info/RECORD,,
aiohappyeyeballs-2.6.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
aiohappyeyeballs/__init__.py,sha256=x7kktHEtaD9quBcWDJPuLeKyjuVAI-Jj14S9B_5hcTs,361
aiohappyeyeballs/__pycache__/__init__.cpython-313.pyc,,
aiohappyeyeballs/__pycache__/_staggered.cpython-313.pyc,,
aiohappyeyeballs/__pycache__/impl.cpython-313.pyc,,
aiohappyeyeballs/__pycache__/types.cpython-313.pyc,,
aiohappyeyeballs/__pycache__/utils.cpython-313.pyc,,
aiohappyeyeballs/_staggered.py,sha256=edfVowFx-P-ywJjIEF3MdPtEMVODujV6CeMYr65otac,6900
aiohappyeyeballs/impl.py,sha256=Dlcm2mTJ28ucrGnxkb_fo9CZzLAkOOBizOt7dreBbXE,9681
aiohappyeyeballs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
aiohappyeyeballs/types.py,sha256=YZJIAnyoV4Dz0WFtlaf_OyE4EW7Xus1z7aIfNI6tDDQ,425
aiohappyeyeballs/utils.py,sha256=on9GxIR0LhEfZu8P6Twi9hepX9zDanuZM20MWsb3xlQ,30281234Wheel-Version: 1.0Generator: poetry-core 2.1.1Root-Is-Purelib: trueTag: py3-none-any1234567891011121314__version__ = "2.6.1"
from .impl import start_connectionfrom .types import AddrInfoType, SocketFactoryTypefrom .utils import addr_to_addr_infos, pop_addr_infos_interleave, remove_addr_infos
__all__ = ( "AddrInfoType", "SocketFactoryType", "addr_to_addr_infos", "pop_addr_infos_interleave", "remove_addr_infos", "start_connection",)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207import asyncioimport contextlib
# PY3.9: Import Callable from typing until we drop Python 3.9 support# https://github.com/python/cpython/issues/87131from typing import ( TYPE_CHECKING, Any, Awaitable, Callable, Iterable, List, Optional, Set, Tuple, TypeVar, Union,)
_T = TypeVar("_T")
RE_RAISE_EXCEPTIONS = (SystemExit, KeyboardInterrupt)
def _set_result(wait_next: "asyncio.Future[None]") -> None: """Set the result of a future if it is not already done.""" if not wait_next.done(): wait_next.set_result(None)
async def _wait_one( futures: "Iterable[asyncio.Future[Any]]", loop: asyncio.AbstractEventLoop,) -> _T: """Wait for the first future to complete.""" wait_next = loop.create_future()
def _on_completion(fut: "asyncio.Future[Any]") -> None: if not wait_next.done(): wait_next.set_result(fut)
for f in futures: f.add_done_callback(_on_completion)
try: return await wait_next finally: for f in futures: f.remove_done_callback(_on_completion)
async def staggered_race( coro_fns: Iterable[Callable[[], Awaitable[_T]]], delay: Optional[float], *, loop: Optional[asyncio.AbstractEventLoop] = None,) -> Tuple[Optional[_T], Optional[int], List[Optional[BaseException]]]: """ Run coroutines with staggered start times and take the first to finish.
This method takes an iterable of coroutine functions. The first one is started immediately. From then on, whenever the immediately preceding one fails (raises an exception), or when *delay* seconds has passed, the next coroutine is started. This continues until one of the coroutines complete successfully, in which case all others are cancelled, or until all coroutines fail.
The coroutines provided should be well-behaved in the following way:
* They should only ``return`` if completed successfully.
* They should always raise an exception if they did not complete successfully. In particular, if they handle cancellation, they should probably reraise, like this::
try: # do work except asyncio.CancelledError: # undo partially completed work raise
Args: ---- coro_fns: an iterable of coroutine functions, i.e. callables that return a coroutine object when called. Use ``functools.partial`` or lambdas to pass arguments.
delay: amount of time, in seconds, between starting coroutines. If ``None``, the coroutines will run sequentially.
loop: the event loop to use. If ``None``, the running loop is used.
Returns: ------- tuple *(winner_result, winner_index, exceptions)* where
- *winner_result*: the result of the winning coroutine, or ``None`` if no coroutines won.
- *winner_index*: the index of the winning coroutine in ``coro_fns``, or ``None`` if no coroutines won. If the winning coroutine may return None on success, *winner_index* can be used to definitively determine whether any coroutine won.
- *exceptions*: list of exceptions returned by the coroutines. ``len(exceptions)`` is equal to the number of coroutines actually started, and the order is the same as in ``coro_fns``. The winning coroutine's entry is ``None``.
""" loop = loop or asyncio.get_running_loop() exceptions: List[Optional[BaseException]] = [] tasks: Set[asyncio.Task[Optional[Tuple[_T, int]]]] = set()
async def run_one_coro( coro_fn: Callable[[], Awaitable[_T]], this_index: int, start_next: "asyncio.Future[None]", ) -> Optional[Tuple[_T, int]]: """ Run a single coroutine.
If the coroutine fails, set the exception in the exceptions list and start the next coroutine by setting the result of the start_next.
If the coroutine succeeds, return the result and the index of the coroutine in the coro_fns list.
If SystemExit or KeyboardInterrupt is raised, re-raise it. """ try: result = await coro_fn() except RE_RAISE_EXCEPTIONS: raise except BaseException as e: exceptions[this_index] = e _set_result(start_next) # Kickstart the next coroutine return None
return result, this_index
start_next_timer: Optional[asyncio.TimerHandle] = None start_next: Optional[asyncio.Future[None]] task: asyncio.Task[Optional[Tuple[_T, int]]] done: Union[asyncio.Future[None], asyncio.Task[Optional[Tuple[_T, int]]]] coro_iter = iter(coro_fns) this_index = -1 try: while True: if coro_fn := next(coro_iter, None): this_index += 1 exceptions.append(None) start_next = loop.create_future() task = loop.create_task(run_one_coro(coro_fn, this_index, start_next)) tasks.add(task) start_next_timer = ( loop.call_later(delay, _set_result, start_next) if delay else None ) elif not tasks: # We exhausted the coro_fns list and no tasks are running # so we have no winner and all coroutines failed. break
while tasks or start_next: done = await _wait_one( (*tasks, start_next) if start_next else tasks, loop ) if done is start_next: # The current task has failed or the timer has expired # so we need to start the next task. start_next = None if start_next_timer: start_next_timer.cancel() start_next_timer = None
# Break out of the task waiting loop to start the next # task. break
if TYPE_CHECKING: assert isinstance(done, asyncio.Task)
tasks.remove(done) if winner := done.result(): return *winner, exceptions finally: # We either have: # - a winner # - all tasks failed # - a KeyboardInterrupt or SystemExit.
# # If the timer is still running, cancel it. # if start_next_timer: start_next_timer.cancel()
# # If there are any tasks left, cancel them and than # wait them so they fill the exceptions list. # for task in tasks: task.cancel() with contextlib.suppress(asyncio.CancelledError): await task
return None, None, exceptions123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259"""Base implementation."""
import asyncioimport collectionsimport contextlibimport functoolsimport itertoolsimport socketfrom typing import List, Optional, Sequence, Set, Union
from . import _staggeredfrom .types import AddrInfoType, SocketFactoryType
async def start_connection( addr_infos: Sequence[AddrInfoType], *, local_addr_infos: Optional[Sequence[AddrInfoType]] = None, happy_eyeballs_delay: Optional[float] = None, interleave: Optional[int] = None, loop: Optional[asyncio.AbstractEventLoop] = None, socket_factory: Optional[SocketFactoryType] = None,) -> socket.socket: """ Connect to a TCP server.
Create a socket connection to a specified destination. The destination is specified as a list of AddrInfoType tuples as returned from getaddrinfo().
The arguments are, in order:
* ``family``: the address family, e.g. ``socket.AF_INET`` or ``socket.AF_INET6``. * ``type``: the socket type, e.g. ``socket.SOCK_STREAM`` or ``socket.SOCK_DGRAM``. * ``proto``: the protocol, e.g. ``socket.IPPROTO_TCP`` or ``socket.IPPROTO_UDP``. * ``canonname``: the canonical name of the address, e.g. ``"www.python.org"``. * ``sockaddr``: the socket address
This method is a coroutine which will try to establish the connection in the background. When successful, the coroutine returns a socket.
The expected use case is to use this method in conjunction with loop.create_connection() to establish a connection to a server::
socket = await start_connection(addr_infos) transport, protocol = await loop.create_connection( MyProtocol, sock=socket, ...) """ if not (current_loop := loop): current_loop = asyncio.get_running_loop()
single_addr_info = len(addr_infos) == 1
if happy_eyeballs_delay is not None and interleave is None: # If using happy eyeballs, default to interleave addresses by family interleave = 1
if interleave and not single_addr_info: addr_infos = _interleave_addrinfos(addr_infos, interleave)
sock: Optional[socket.socket] = None # uvloop can raise RuntimeError instead of OSError exceptions: List[List[Union[OSError, RuntimeError]]] = [] if happy_eyeballs_delay is None or single_addr_info: # not using happy eyeballs for addrinfo in addr_infos: try: sock = await _connect_sock( current_loop, exceptions, addrinfo, local_addr_infos, None, socket_factory, ) break except (RuntimeError, OSError): continue else: # using happy eyeballs open_sockets: Set[socket.socket] = set() try: sock, _, _ = await _staggered.staggered_race( ( functools.partial( _connect_sock, current_loop, exceptions, addrinfo, local_addr_infos, open_sockets, socket_factory, ) for addrinfo in addr_infos ), happy_eyeballs_delay, ) finally: # If we have a winner, staggered_race will # cancel the other tasks, however there is a # small race window where any of the other tasks # can be done before they are cancelled which # will leave the socket open. To avoid this problem # we pass a set to _connect_sock to keep track of # the open sockets and close them here if there # are any "runner up" sockets. for s in open_sockets: if s is not sock: with contextlib.suppress(OSError): s.close() open_sockets = None # type: ignore[assignment]
if sock is None: all_exceptions = [exc for sub in exceptions for exc in sub] try: first_exception = all_exceptions[0] if len(all_exceptions) == 1: raise first_exception else: # If they all have the same str(), raise one. model = str(first_exception) if all(str(exc) == model for exc in all_exceptions): raise first_exception # Raise a combined exception so the user can see all # the various error messages. msg = "Multiple exceptions: {}".format( ", ".join(str(exc) for exc in all_exceptions) ) # If the errno is the same for all exceptions, raise # an OSError with that errno. if isinstance(first_exception, OSError): first_errno = first_exception.errno if all( isinstance(exc, OSError) and exc.errno == first_errno for exc in all_exceptions ): raise OSError(first_errno, msg) elif isinstance(first_exception, RuntimeError) and all( isinstance(exc, RuntimeError) for exc in all_exceptions ): raise RuntimeError(msg) # We have a mix of OSError and RuntimeError # so we have to pick which one to raise. # and we raise OSError for compatibility raise OSError(msg) finally: all_exceptions = None # type: ignore[assignment] exceptions = None # type: ignore[assignment]
return sock
async def _connect_sock( loop: asyncio.AbstractEventLoop, exceptions: List[List[Union[OSError, RuntimeError]]], addr_info: AddrInfoType, local_addr_infos: Optional[Sequence[AddrInfoType]] = None, open_sockets: Optional[Set[socket.socket]] = None, socket_factory: Optional[SocketFactoryType] = None,) -> socket.socket: """ Create, bind and connect one socket.
If open_sockets is passed, add the socket to the set of open sockets. Any failure caught here will remove the socket from the set and close it.
Callers can use this set to close any sockets that are not the winner of all staggered tasks in the result there are runner up sockets aka multiple winners. """ my_exceptions: List[Union[OSError, RuntimeError]] = [] exceptions.append(my_exceptions) family, type_, proto, _, address = addr_info sock = None try: if socket_factory is not None: sock = socket_factory(addr_info) else: sock = socket.socket(family=family, type=type_, proto=proto) if open_sockets is not None: open_sockets.add(sock) sock.setblocking(False) if local_addr_infos is not None: for lfamily, _, _, _, laddr in local_addr_infos: # skip local addresses of different family if lfamily != family: continue try: sock.bind(laddr) break except OSError as exc: msg = ( f"error while attempting to bind on " f"address {laddr!r}: " f"{(exc.strerror or '').lower()}" ) exc = OSError(exc.errno, msg) my_exceptions.append(exc) else: # all bind attempts failed if my_exceptions: raise my_exceptions.pop() else: raise OSError(f"no matching local address with {family=} found") await loop.sock_connect(sock, address) return sock except (RuntimeError, OSError) as exc: my_exceptions.append(exc) if sock is not None: if open_sockets is not None: open_sockets.remove(sock) try: sock.close() except OSError as e: my_exceptions.append(e) raise raise except: if sock is not None: if open_sockets is not None: open_sockets.remove(sock) try: sock.close() except OSError as e: my_exceptions.append(e) raise raise finally: exceptions = my_exceptions = None # type: ignore[assignment]
def _interleave_addrinfos( addrinfos: Sequence[AddrInfoType], first_address_family_count: int = 1) -> List[AddrInfoType]: """Interleave list of addrinfo tuples by family.""" # Group addresses by family addrinfos_by_family: collections.OrderedDict[int, List[AddrInfoType]] = ( collections.OrderedDict() ) for addr in addrinfos: family = addr[0] if family not in addrinfos_by_family: addrinfos_by_family[family] = [] addrinfos_by_family[family].append(addr) addrinfos_lists = list(addrinfos_by_family.values())
reordered: List[AddrInfoType] = [] if first_address_family_count > 1: reordered.extend(addrinfos_lists[0][: first_address_family_count - 1]) del addrinfos_lists[0][: first_address_family_count - 1] reordered.extend( a for a in itertools.chain.from_iterable(itertools.zip_longest(*addrinfos_lists)) if a is not None ) return reordered1234567891011121314151617"""Types for aiohappyeyeballs."""
import socket
# PY3.9: Import Callable from typing until we drop Python 3.9 support# https://github.com/python/cpython/issues/87131from typing import Callable, Tuple, Union
AddrInfoType = Tuple[ Union[int, socket.AddressFamily], Union[int, socket.SocketKind], int, str, Tuple, # type: ignore[type-arg]]
SocketFactoryType = Callable[[AddrInfoType], socket.socket]12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697"""Utility functions for aiohappyeyeballs."""
import ipaddressimport socketfrom typing import Dict, List, Optional, Tuple, Union
from .types import AddrInfoType
def addr_to_addr_infos( addr: Optional[ Union[Tuple[str, int, int, int], Tuple[str, int, int], Tuple[str, int]] ],) -> Optional[List[AddrInfoType]]: """Convert an address tuple to a list of addr_info tuples.""" if addr is None: return None host = addr[0] port = addr[1] is_ipv6 = ":" in host if is_ipv6: flowinfo = 0 scopeid = 0 addr_len = len(addr) if addr_len >= 4: scopeid = addr[3] # type: ignore[misc] if addr_len >= 3: flowinfo = addr[2] # type: ignore[misc] addr = (host, port, flowinfo, scopeid) family = socket.AF_INET6 else: addr = (host, port) family = socket.AF_INET return [(family, socket.SOCK_STREAM, socket.IPPROTO_TCP, "", addr)]
def pop_addr_infos_interleave( addr_infos: List[AddrInfoType], interleave: Optional[int] = None) -> None: """ Pop addr_info from the list of addr_infos by family up to interleave times.
The interleave parameter is used to know how many addr_infos for each family should be popped of the top of the list. """ seen: Dict[int, int] = {} if interleave is None: interleave = 1 to_remove: List[AddrInfoType] = [] for addr_info in addr_infos: family = addr_info[0] if family not in seen: seen[family] = 0 if seen[family] < interleave: to_remove.append(addr_info) seen[family] += 1 for addr_info in to_remove: addr_infos.remove(addr_info)
def _addr_tuple_to_ip_address( addr: Union[Tuple[str, int], Tuple[str, int, int, int]],) -> Union[ Tuple[ipaddress.IPv4Address, int], Tuple[ipaddress.IPv6Address, int, int, int]]: """Convert an address tuple to an IPv4Address.""" return (ipaddress.ip_address(addr[0]), *addr[1:])
def remove_addr_infos( addr_infos: List[AddrInfoType], addr: Union[Tuple[str, int], Tuple[str, int, int, int]],) -> None: """ Remove an address from the list of addr_infos.
The addr value is typically the return value of sock.getpeername(). """ bad_addrs_infos: List[AddrInfoType] = [] for addr_info in addr_infos: if addr_info[-1] == addr: bad_addrs_infos.append(addr_info) if bad_addrs_infos: for bad_addr_info in bad_addrs_infos: addr_infos.remove(bad_addr_info) return # Slow path in case addr is formatted differently match_addr = _addr_tuple_to_ip_address(addr) for addr_info in addr_infos: if match_addr == _addr_tuple_to_ip_address(addr_info[-1]): bad_addrs_infos.append(addr_info) if bad_addrs_infos: for bad_addr_info in bad_addrs_infos: addr_infos.remove(bad_addr_info) return raise ValueError(f"Address {addr} not found in addr_infos")1pip123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262Metadata-Version: 2.4
Name: aiohttp
Version: 3.13.2
Summary: Async http client/server framework (asyncio)
Maintainer-email: aiohttp team <team@aiohttp.org>
License: Apache-2.0 AND MIT
Project-URL: Homepage, https://github.com/aio-libs/aiohttp
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: 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.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
License-File: vendor/llhttp/LICENSE
Requires-Dist: aiohappyeyeballs>=2.5.0
Requires-Dist: aiosignal>=1.4.0
Requires-Dist: async-timeout<6.0,>=4.0; python_version < "3.11"
Requires-Dist: attrs>=17.3.0
Requires-Dist: frozenlist>=1.1.1
Requires-Dist: multidict<7.0,>=4.5
Requires-Dist: propcache>=0.2.0
Requires-Dist: yarl<2.0,>=1.17.0
Provides-Extra: speedups
Requires-Dist: aiodns>=3.3.0; extra == "speedups"
Requires-Dist: Brotli; platform_python_implementation == "CPython" and extra == "speedups"
Requires-Dist: brotlicffi; platform_python_implementation != "CPython" and extra == "speedups"
Requires-Dist: backports.zstd; (platform_python_implementation == "CPython" and python_version < "3.14") and extra == "speedups"
Dynamic: license-file
==================================
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://img.shields.io/pypi/dm/aiohttp
:target: https://pypistats.org/packages/aiohttp
:alt: Downloads count
.. image:: https://readthedocs.org/projects/aiohttp/badge/?version=latest
:target: https://docs.aiohttp.org/
:alt: Latest Read The Docs
.. image:: https://img.shields.io/endpoint?url=https://codspeed.io/badge.json
:target: https://codspeed.io/aio-libs/aiohttp
:alt: Codspeed.io status for aiohttp
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 middleware and pluggable 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 Discussions*: https://github.com/aio-libs/aiohttp/discussions
*Matrix*: `#aio-libs:matrix.org <https://matrix.to/#/#aio-libs:matrix.org>`_
We support `Stack Overflow
<https://stackoverflow.com/questions/tagged/aiohttp>`_.
Please add *aiohttp* tag to your question there.
Requirements
============
- attrs_
- multidict_
- yarl_
- frozenlist_
Optionally you may install the aiodns_ library (highly recommended for sake of speed).
.. _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
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
--------
.. 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
.. image:: https://insights.linuxfoundation.org/api/badge/health-score?project=aiohttp
:target: https://insights.linuxfoundation.org/project/aiohttp
:alt: LFX Health Score123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138aiohttp-3.13.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
aiohttp-3.13.2.dist-info/METADATA,sha256=flt-3p-G8uXxZCgZFnQWbI0ZAje1vtWPCow_zhnxTlM,8397
aiohttp-3.13.2.dist-info/RECORD,,
aiohttp-3.13.2.dist-info/WHEEL,sha256=qV0EIPljj1XC_vuSatRWjn02nZIz3N1t8jsZz7HBr2U,101
aiohttp-3.13.2.dist-info/licenses/LICENSE.txt,sha256=wUk-nxDVnR-6n53ygAjhVX4zz5-6yM4SY6ozk5goA94,601
aiohttp-3.13.2.dist-info/licenses/vendor/llhttp/LICENSE,sha256=bd-mKNt20th7iWi6-61g9RxOyIEA3Xu5b5chbYivCAg,1127
aiohttp-3.13.2.dist-info/top_level.txt,sha256=iv-JIaacmTl-hSho3QmphcKnbRRYx1st47yjz_178Ro,8
aiohttp/.hash/_cparser.pxd.hash,sha256=eJQ2z7M7WoAng7D5ukCXzE3Yx22bLgv1PyOe0YbbQTM,108
aiohttp/.hash/_find_header.pxd.hash,sha256=TxG5w4etbVd6sfm5JWbdf5PW6LnuXRQnlMoFBVGKN2E,112
aiohttp/.hash/_http_parser.pyx.hash,sha256=BVW1BysER_d70F5EtN7j5WVXpDiUW6HwqGhUupTLmXo,112
aiohttp/.hash/_http_writer.pyx.hash,sha256=J4W44iDZQwIyZ0rGO5v-_sKIfPtAwqn99EwgaevQmo8,112
aiohttp/.hash/hdrs.py.hash,sha256=c2N-IMHz4dvAGL36CUyEw15noHE2AkJTeSBy3IxcCec,103
aiohttp/__init__.py,sha256=mqCMyCNrnQNqEkm2Jq20FpFNko5-5v4g2nUyIiM33WM,8580
aiohttp/__pycache__/__init__.cpython-313.pyc,,
aiohttp/__pycache__/_cookie_helpers.cpython-313.pyc,,
aiohttp/__pycache__/abc.cpython-313.pyc,,
aiohttp/__pycache__/base_protocol.cpython-313.pyc,,
aiohttp/__pycache__/client.cpython-313.pyc,,
aiohttp/__pycache__/client_exceptions.cpython-313.pyc,,
aiohttp/__pycache__/client_middleware_digest_auth.cpython-313.pyc,,
aiohttp/__pycache__/client_middlewares.cpython-313.pyc,,
aiohttp/__pycache__/client_proto.cpython-313.pyc,,
aiohttp/__pycache__/client_reqrep.cpython-313.pyc,,
aiohttp/__pycache__/client_ws.cpython-313.pyc,,
aiohttp/__pycache__/compression_utils.cpython-313.pyc,,
aiohttp/__pycache__/connector.cpython-313.pyc,,
aiohttp/__pycache__/cookiejar.cpython-313.pyc,,
aiohttp/__pycache__/formdata.cpython-313.pyc,,
aiohttp/__pycache__/hdrs.cpython-313.pyc,,
aiohttp/__pycache__/helpers.cpython-313.pyc,,
aiohttp/__pycache__/http.cpython-313.pyc,,
aiohttp/__pycache__/http_exceptions.cpython-313.pyc,,
aiohttp/__pycache__/http_parser.cpython-313.pyc,,
aiohttp/__pycache__/http_websocket.cpython-313.pyc,,
aiohttp/__pycache__/http_writer.cpython-313.pyc,,
aiohttp/__pycache__/log.cpython-313.pyc,,
aiohttp/__pycache__/multipart.cpython-313.pyc,,
aiohttp/__pycache__/payload.cpython-313.pyc,,
aiohttp/__pycache__/payload_streamer.cpython-313.pyc,,
aiohttp/__pycache__/pytest_plugin.cpython-313.pyc,,
aiohttp/__pycache__/resolver.cpython-313.pyc,,
aiohttp/__pycache__/streams.cpython-313.pyc,,
aiohttp/__pycache__/tcp_helpers.cpython-313.pyc,,
aiohttp/__pycache__/test_utils.cpython-313.pyc,,
aiohttp/__pycache__/tracing.cpython-313.pyc,,
aiohttp/__pycache__/typedefs.cpython-313.pyc,,
aiohttp/__pycache__/web.cpython-313.pyc,,
aiohttp/__pycache__/web_app.cpython-313.pyc,,
aiohttp/__pycache__/web_exceptions.cpython-313.pyc,,
aiohttp/__pycache__/web_fileresponse.cpython-313.pyc,,
aiohttp/__pycache__/web_log.cpython-313.pyc,,
aiohttp/__pycache__/web_middlewares.cpython-313.pyc,,
aiohttp/__pycache__/web_protocol.cpython-313.pyc,,
aiohttp/__pycache__/web_request.cpython-313.pyc,,
aiohttp/__pycache__/web_response.cpython-313.pyc,,
aiohttp/__pycache__/web_routedef.cpython-313.pyc,,
aiohttp/__pycache__/web_runner.cpython-313.pyc,,
aiohttp/__pycache__/web_server.cpython-313.pyc,,
aiohttp/__pycache__/web_urldispatcher.cpython-313.pyc,,
aiohttp/__pycache__/web_ws.cpython-313.pyc,,
aiohttp/__pycache__/worker.cpython-313.pyc,,
aiohttp/_cookie_helpers.py,sha256=H5JxXas7sTRXtgsAyJ4Gejs5Ta6UhFz6_vJrc0lCBdU,13981
aiohttp/_cparser.pxd,sha256=GP0Y9NqZYQGkJtS81XDzU70e7rRMb34TR7yGMmx5_zs,4453
aiohttp/_find_header.pxd,sha256=BFUSmxhemBtblqxzjzH3x03FfxaWlTyuAIOz8YZ5_nM,70
aiohttp/_headers.pxi,sha256=1MhCe6Un_KI1tpO85HnDfzVO94BhcirLanAOys5FIHA,2090
aiohttp/_http_parser.cp313-win_amd64.pyd,sha256=ebprCiRggzlmZgcrqnvdIE7RgXAgHKRFof3LFF3zLTE,248832
aiohttp/_http_parser.pyx,sha256=520dVfHLOy-bKE4pek_-ljlZFqqalTS4h3OlxVDFoSQ,29054
aiohttp/_http_writer.cp313-win_amd64.pyd,sha256=CgUTXDKScmfT4Bmud_kE0bvZLBYT7GS2Ry4c1mg39oo,46080
aiohttp/_http_writer.pyx,sha256=WWdOf19QPqScBkifDhJynqPPOAmwB9sKJAO0Kkor4tE,4826
aiohttp/_websocket/.hash/mask.pxd.hash,sha256=TL0gGYyJWxqG8dWwa08B74WGg6-0M6_Breqrff-AiZg,115
aiohttp/_websocket/.hash/mask.pyx.hash,sha256=7xo6f01JaOQmaUNij3dQlOgxkEC1edkAIhwpeOvimLI,115
aiohttp/_websocket/.hash/reader_c.pxd.hash,sha256=RzhqjHN1HadWDeMHVQvaf-XLlGxF6nm5u-HJHGsx2aE,119
aiohttp/_websocket/__init__.py,sha256=R51KWH5kkdtDLb7T-ilztksbfweKCy3t22SgxGtiY-4,45
aiohttp/_websocket/__pycache__/__init__.cpython-313.pyc,,
aiohttp/_websocket/__pycache__/helpers.cpython-313.pyc,,
aiohttp/_websocket/__pycache__/models.cpython-313.pyc,,
aiohttp/_websocket/__pycache__/reader.cpython-313.pyc,,
aiohttp/_websocket/__pycache__/reader_c.cpython-313.pyc,,
aiohttp/_websocket/__pycache__/reader_py.cpython-313.pyc,,
aiohttp/_websocket/__pycache__/writer.cpython-313.pyc,,
aiohttp/_websocket/helpers.py,sha256=amqvDhoAKAi8ptB4qUNuQhkaOn-4JxSh_VLAqytmEfw,5185
aiohttp/_websocket/mask.cp313-win_amd64.pyd,sha256=bSYJDoSm1ORqExZSkWYVI_OIW4ESqKLl6qDuvqdRCe8,35840
aiohttp/_websocket/mask.pxd,sha256=41TdSZvhcbYSW_Vrw7bF4r_yoor2njtdaZ3bmvK6-jw,115
aiohttp/_websocket/mask.pyx,sha256=Ro7dOOv43HAAqNMz3xyCA11ppcn-vARIvjycStTEYww,1445
aiohttp/_websocket/models.py,sha256=Pz8qvnU43VUCNZcY4g03VwTsHOsb_jSN8iG69xMAc_A,2205
aiohttp/_websocket/reader.py,sha256=1r0cJ-jdFgbSrC6-jI0zjEA1CppzoUn8u_wiebrVVO0,1061
aiohttp/_websocket/reader_c.cp313-win_amd64.pyd,sha256=WsSFtpNfnyITiyMzoUfR5T5Si-j7-hvG24cXOQsO1l8,147456
aiohttp/_websocket/reader_c.pxd,sha256=HNOl4gRWtNBNEYNbK9PGOfFEQwUqJGexBbDKB_20sl0,2735
aiohttp/_websocket/reader_c.py,sha256=aC2X9wkXxZqKCbonWdJQTE8SofT_0JGlhKjy8L2kt_A,19267
aiohttp/_websocket/reader_py.py,sha256=aC2X9wkXxZqKCbonWdJQTE8SofT_0JGlhKjy8L2kt_A,19267
aiohttp/_websocket/writer.py,sha256=MpuNvG_t34CaDTAzW5FZJaRME8sL19rZotxSbXz2aas,11523
aiohttp/abc.py,sha256=01N6Y63o2bBC8Vi0ZjO6Jw0V9kXZfy3egwzKFW-tv9c,7417
aiohttp/base_protocol.py,sha256=8vNIv6QV_SDCW-8tfhlyxSwiBD7dAiMTqJI1GI8RG5s,3125
aiohttp/client.py,sha256=KlWhIZt935YpOZcXOOZl3eIRkuO-l0z2BH7arfhGg-A,59992
aiohttp/client_exceptions.py,sha256=sJcuvYKaB2nwuSdP7k18y3wc74aU0xAzdJikzzesrPE,11788
aiohttp/client_middleware_digest_auth.py,sha256=aaScQeENLhdqCtLuKjBXcbA49hlU_o0cFmA93kncWo8,17564
aiohttp/client_middlewares.py,sha256=FEVIXFkQ58n5bhK4BGEqqDCWnDh-GNJmWq20I5Yt6SU,1973
aiohttp/client_proto.py,sha256=rfbg8nUsfpCMM_zGpQygiFn8nzSdBI-731rmXVGHwLc,12469
aiohttp/client_reqrep.py,sha256=BUrqo2BJbrNazrIJr-ZgMLRTvE2fSON3zPQSq1dfgfU,54927
aiohttp/client_ws.py,sha256=9DraHuupuJcT7NOgyeGml8SBr7V5D5ID5-piY1fQMdA,15537
aiohttp/compression_utils.py,sha256=1Lhzr33O5p8Zxmgw_zoP-Q_w91i8iGq8hcWDCxDH9lM,10727
aiohttp/connector.py,sha256=S8kEYSd4Dg0IsGSKGXAn8oYTlhbxy6GIkh3VURh0JgY,70290
aiohttp/cookiejar.py,sha256=C2fVzQGFieFP9mFDTOvfEc6fb5kPS2ijL2tFKAUW7Sw,19444
aiohttp/formdata.py,sha256=sz3VaTHVk11z_5G1LaDhUwrONJ8zRAGlZGg3hcCApzA,6563
aiohttp/hdrs.py,sha256=7htmhgZyE9HqWbPpxHU0r7kAIdT2kpOXQa1AadDh2W8,5232
aiohttp/helpers.py,sha256=1tXIvGSRWJD9wsS7GUVHLfJEsDM_XigurpgjxajkH0g,31615
aiohttp/http.py,sha256=DGKcwDbgIMpasv7s2jeKCRuixyj7W-RIrihRFjj0xcY,1914
aiohttp/http_exceptions.py,sha256=V6NpG-RTeEKetaZBW4OUP2-BUVgj8vvx4ueP6VpEfTs,3072
aiohttp/http_parser.py,sha256=36BWMNVMO3z0e6WFMHEBmJIIX6KxoEdzrhERrNJKXZc,38442
aiohttp/http_websocket.py,sha256=b9kBmxPLPFQP_nu_sMhIMIeqDOm0ug8G4prbrhEMHZ0,878
aiohttp/http_writer.py,sha256=jA_aJW7JdH1mihrIYdJcLOHVKQ4Agg3g993v50eITBs,12824
aiohttp/log.py,sha256=zYUTvXsMQ9Sz1yNN8kXwd5Qxu49a1FzjZ_wQqriEc8M,333
aiohttp/multipart.py,sha256=7FwaRjjjoJBtT557k6S7PgIemPeVM2xOqreH3Aramoo,41185
aiohttp/payload.py,sha256=Xbs_2l0wDaThFG-ehNlvzQUkHuBPpc5FxpJnJa3ZPcs,41994
aiohttp/payload_streamer.py,sha256=K0iV85iW0vEG3rDkcopruidspynzQvrwW8mJvgPHisg,2289
aiohttp/py.typed,sha256=3VVwXUAWVEVX7sDwyYDnW5ZdBC9_Z9AJAFfLCleUW0k,8
aiohttp/pytest_plugin.py,sha256=ymhjbYHz2Kf0ZU_4Ly0hAp73dhsgrQIzJDo4Aot3_TI,13345
aiohttp/resolver.py,sha256=ePJgZAN5EQY4YuFiuZmVZM6p3UuzJ4qMWM1fu8DJ2Fc,10305
aiohttp/streams.py,sha256=I47CKcX97ibo0cUW4wc3Wee47HI7Gs1U7VcV4loPli0,23336
aiohttp/tcp_helpers.py,sha256=K-hhGh3jd6qCEnHJo8LvFyfJwBjh99UKI7A0aSRVhj4,998
aiohttp/test_utils.py,sha256=zFWAb-rPz1fWRUHnrjnfUH7ORlfIgZ2UZbEGe4YTa9I,23790
aiohttp/tracing.py,sha256=Kb-N32aMmYqC2Yc82NV6l0mIcavSQst1BHSFj94Apl0,15013
aiohttp/typedefs.py,sha256=Sx5v2yUyLu8nbabqtJRWj1M1_uW0IZACu78uYD7LBy0,1726
aiohttp/web.py,sha256=BQ96NEuTWikKGN5NnnTHjFLt07GUMWvvn42iFuIS3Mg,18444
aiohttp/web_app.py,sha256=WwEEzUg34j81kK2dPFnhlqx_z6nGjnHZDweZJF65pKc,20072
aiohttp/web_exceptions.py,sha256=itNRhCMDJFhnMWftr5SyTsoqh-i0n9rzTj0sjcAEUjo,10812
aiohttp/web_fileresponse.py,sha256=QIIbcIruCgfYrc8ZDvOgNlZzLbAagwXA9FrNI7NKNPY,16780
aiohttp/web_log.py,sha256=G5ugloW9noUxPft0SmVWOXw30MviL6rqZc3XrKN_T1U,8081
aiohttp/web_middlewares.py,sha256=mM2-R8eaV2r6Mi9Zc2bDG8QnhE9h0IzPvtDX_fkKR5s,4286
aiohttp/web_protocol.py,sha256=x1GlB6jqPou3QZyMKpKVLdyETwUTIJ-AbesXDEWxKKY,27807
aiohttp/web_request.py,sha256=0oHeOBD0KgXEKhNDLGs1-hDUwgpdPe7mP97mKqSgclU,30749
aiohttp/web_response.py,sha256=WJVumt-P0uMaFSbef_owvOXpq90E4VMl3RvSOWh0nJE,30197
aiohttp/web_routedef.py,sha256=XC10f57Q36JmYaaQqrecsyfIxHMepCKaKkBEB7hLzJI,6324
aiohttp/web_runner.py,sha256=zyVYVzCgnopiGwnIhKlNZHtLV_IYQ9aC-Vm43j_HRoA,12185
aiohttp/web_server.py,sha256=RZSWt_Mj-Lu89bFYsr_T3rjxW2VNN7PHNJ2mvv2qELs,2972
aiohttp/web_urldispatcher.py,sha256=Y5hoJvDuq7MS2NrWboCrx3zgfyLsLK4HyDpZDDq49vM,45508
aiohttp/web_ws.py,sha256=VXHGDtfy_jrBByLvuhnL-A_PmpcoT_ZLyYdj_EcL3Hw,23370
aiohttp/worker.py,sha256=N_9iyS_tR9U0pf3BRaIH2nzA1pjN1Xfi2gGmRrMhnho,840712345Wheel-Version: 1.0Generator: setuptools (80.9.0)Root-Is-Purelib: falseTag: cp313-cp313-win_amd64
12345678910111213 Copyright aio-libs contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.12345678910111213141516171819202122This software is licensed under the MIT License.
Copyright Fedor Indutny, 2018.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.1aiohttp118fd18f4da996101a426d4bcd570f353bd1eeeb44c6f7e1347bc86326c79ff3b *D:/a/aiohttp/aiohttp/aiohttp/_cparser.pxd10455129b185e981b5b96ac738f31f7c74dc57f1696953cae0083b3f18679fe73 *D:/a/aiohttp/aiohttp/aiohttp/_find_header.pxd1e76d1d55f1cb3b2f9b284e297a4ffe96395916aa9a9534b88773a5c550c5a124 *D:/a/aiohttp/aiohttp/aiohttp/_http_parser.pyx159674e7f5f503ea49c06489f0e12729ea3cf3809b007db0a2403b42a4a2be2d1 *D:/a/aiohttp/aiohttp/aiohttp/_http_writer.pyx1ee1b6686067213d1ea59b3e9c47534afb90021d4f692939741ad4069d0e1d96f *D:/a/aiohttp/aiohttp/aiohttp/hdrs.py123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278__version__ = "3.13.2"
from typing import TYPE_CHECKING, Tuple
from . import hdrs as hdrs
from .client import (
BaseConnector,
ClientConnectionError,
ClientConnectionResetError,
ClientConnectorCertificateError,
ClientConnectorDNSError,
ClientConnectorError,
ClientConnectorSSLError,
ClientError,
ClientHttpProxyError,
ClientOSError,
ClientPayloadError,
ClientProxyConnectionError,
ClientRequest,
ClientResponse,
ClientResponseError,
ClientSession,
ClientSSLError,
ClientTimeout,
ClientWebSocketResponse,
ClientWSTimeout,
ConnectionTimeoutError,
ContentTypeError,
Fingerprint,
InvalidURL,
InvalidUrlClientError,
InvalidUrlRedirectClientError,
NamedPipeConnector,
NonHttpUrlClientError,
NonHttpUrlRedirectClientError,
RedirectClientError,
RequestInfo,
ServerConnectionError,
ServerDisconnectedError,
ServerFingerprintMismatch,
ServerTimeoutError,
SocketTimeoutError,
TCPConnector,
TooManyRedirects,
UnixConnector,
WSMessageTypeError,
WSServerHandshakeError,
request,
)
from .client_middleware_digest_auth import DigestAuthMiddleware
from .client_middlewares import ClientHandlerType, ClientMiddlewareType
from .compression_utils import set_zlib_backend
from .connector import (
AddrInfoType as AddrInfoType,
SocketFactoryType as SocketFactoryType,
)
from .cookiejar import CookieJar as CookieJar, DummyCookieJar as DummyCookieJar
from .formdata import FormData as FormData
from .helpers import BasicAuth, ChainMapProxy, ETag
from .http import (
HttpVersion as HttpVersion,
HttpVersion10 as HttpVersion10,
HttpVersion11 as HttpVersion11,
WebSocketError as WebSocketError,
WSCloseCode as WSCloseCode,
WSMessage as WSMessage,
WSMsgType as WSMsgType,
)
from .multipart import (
BadContentDispositionHeader as BadContentDispositionHeader,
BadContentDispositionParam as BadContentDispositionParam,
BodyPartReader as BodyPartReader,
MultipartReader as MultipartReader,
MultipartWriter as MultipartWriter,
content_disposition_filename as content_disposition_filename,
parse_content_disposition as parse_content_disposition,
)
from .payload import (
PAYLOAD_REGISTRY as PAYLOAD_REGISTRY,
AsyncIterablePayload as AsyncIterablePayload,
BufferedReaderPayload as BufferedReaderPayload,
BytesIOPayload as BytesIOPayload,
BytesPayload as BytesPayload,
IOBasePayload as IOBasePayload,
JsonPayload as JsonPayload,
Payload as Payload,
StringIOPayload as StringIOPayload,
StringPayload as StringPayload,
TextIOPayload as TextIOPayload,
get_payload as get_payload,
payload_type as payload_type,
)
from .payload_streamer import streamer as streamer
from .resolver import (
AsyncResolver as AsyncResolver,
DefaultResolver as DefaultResolver,
ThreadedResolver as ThreadedResolver,
)
from .streams import (
EMPTY_PAYLOAD as EMPTY_PAYLOAD,
DataQueue as DataQueue,
EofStream as EofStream,
FlowControlDataQueue as FlowControlDataQueue,
StreamReader as StreamReader,
)
from .tracing import (
TraceConfig as TraceConfig,
TraceConnectionCreateEndParams as TraceConnectionCreateEndParams,
TraceConnectionCreateStartParams as TraceConnectionCreateStartParams,
TraceConnectionQueuedEndParams as TraceConnectionQueuedEndParams,
TraceConnectionQueuedStartParams as TraceConnectionQueuedStartParams,
TraceConnectionReuseconnParams as TraceConnectionReuseconnParams,
TraceDnsCacheHitParams as TraceDnsCacheHitParams,
TraceDnsCacheMissParams as TraceDnsCacheMissParams,
TraceDnsResolveHostEndParams as TraceDnsResolveHostEndParams,
TraceDnsResolveHostStartParams as TraceDnsResolveHostStartParams,
TraceRequestChunkSentParams as TraceRequestChunkSentParams,
TraceRequestEndParams as TraceRequestEndParams,
TraceRequestExceptionParams as TraceRequestExceptionParams,
TraceRequestHeadersSentParams as TraceRequestHeadersSentParams,
TraceRequestRedirectParams as TraceRequestRedirectParams,
TraceRequestStartParams as TraceRequestStartParams,
TraceResponseChunkReceivedParams as TraceResponseChunkReceivedParams,
)
if TYPE_CHECKING:
# At runtime these are lazy-loaded at the bottom of the file.
from .worker import (
GunicornUVLoopWebWorker as GunicornUVLoopWebWorker,
GunicornWebWorker as GunicornWebWorker,
)
__all__: Tuple[str, ...] = (
"hdrs",
# client
"AddrInfoType",
"BaseConnector",
"ClientConnectionError",
"ClientConnectionResetError",
"ClientConnectorCertificateError",
"ClientConnectorDNSError",
"ClientConnectorError",
"ClientConnectorSSLError",
"ClientError",
"ClientHttpProxyError",
"ClientOSError",
"ClientPayloadError",
"ClientProxyConnectionError",
"ClientResponse",
"ClientRequest",
"ClientResponseError",
"ClientSSLError",
"ClientSession",
"ClientTimeout",
"ClientWebSocketResponse",
"ClientWSTimeout",
"ConnectionTimeoutError",
"ContentTypeError",
"Fingerprint",
"FlowControlDataQueue",
"InvalidURL",
"InvalidUrlClientError",
"InvalidUrlRedirectClientError",
"NonHttpUrlClientError",
"NonHttpUrlRedirectClientError",
"RedirectClientError",
"RequestInfo",
"ServerConnectionError",
"ServerDisconnectedError",
"ServerFingerprintMismatch",
"ServerTimeoutError",
"SocketFactoryType",
"SocketTimeoutError",
"TCPConnector",
"TooManyRedirects",
"UnixConnector",
"NamedPipeConnector",
"WSServerHandshakeError",
"request",
# client_middleware
"ClientMiddlewareType",
"ClientHandlerType",
# cookiejar
"CookieJar",
"DummyCookieJar",
# formdata
"FormData",
# helpers
"BasicAuth",
"ChainMapProxy",
"DigestAuthMiddleware",
"ETag",
"set_zlib_backend",
# http
"HttpVersion",
"HttpVersion10",
"HttpVersion11",
"WSMsgType",
"WSCloseCode",
"WSMessage",
"WebSocketError",
# multipart
"BadContentDispositionHeader",
"BadContentDispositionParam",
"BodyPartReader",
"MultipartReader",
"MultipartWriter",
"content_disposition_filename",
"parse_content_disposition",
# payload
"AsyncIterablePayload",
"BufferedReaderPayload",
"BytesIOPayload",
"BytesPayload",
"IOBasePayload",
"JsonPayload",
"PAYLOAD_REGISTRY",
"Payload",
"StringIOPayload",
"StringPayload",
"TextIOPayload",
"get_payload",
"payload_type",
# payload_streamer
"streamer",
# resolver
"AsyncResolver",
"DefaultResolver",
"ThreadedResolver",
# streams
"DataQueue",
"EMPTY_PAYLOAD",
"EofStream",
"StreamReader",
# tracing
"TraceConfig",
"TraceConnectionCreateEndParams",
"TraceConnectionCreateStartParams",
"TraceConnectionQueuedEndParams",
"TraceConnectionQueuedStartParams",
"TraceConnectionReuseconnParams",
"TraceDnsCacheHitParams",
"TraceDnsCacheMissParams",
"TraceDnsResolveHostEndParams",
"TraceDnsResolveHostStartParams",
"TraceRequestChunkSentParams",
"TraceRequestEndParams",
"TraceRequestExceptionParams",
"TraceRequestHeadersSentParams",
"TraceRequestRedirectParams",
"TraceRequestStartParams",
"TraceResponseChunkReceivedParams",
# workers (imported lazily with __getattr__)
"GunicornUVLoopWebWorker",
"GunicornWebWorker",
"WSMessageTypeError",
)
def __dir__() -> Tuple[str, ...]:
return __all__ + ("__doc__",)
def __getattr__(name: str) -> object:
global GunicornUVLoopWebWorker, GunicornWebWorker
# Importing gunicorn takes a long time (>100ms), so only import if actually needed.
if name in ("GunicornUVLoopWebWorker", "GunicornWebWorker"):
try:
from .worker import GunicornUVLoopWebWorker as guv, GunicornWebWorker as gw
except ImportError:
return None
GunicornUVLoopWebWorker = guv # type: ignore[misc]
GunicornWebWorker = gw # type: ignore[misc]
return guv if name == "GunicornUVLoopWebWorker" else gw
raise AttributeError(f"module {__name__} has no attribute {name}").gitattributes+67
New folder/Seed-VC/.gitattributesAdded+47
New folder/Seed-VC/.gitignoreAdded+28
New folder/Seed-VC/.venv/.gitignoreAdded+2
New folder/Seed-VC/.venv/Lib/site-packages/__pycache__/typing_extensions.cpython-313.pycAdded+3
New folder/Seed-VC/.venv/Lib/site-packages/_cbor2.cp313-win_amd64.pydAdded+3
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/INSTALLERAdded+1
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/LICENSEAdded+279
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/METADATAAdded+123
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/RECORDAdded+16
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/WHEELAdded+4
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__init__.pyAdded+14
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/__init__.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/_staggered.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/impl.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/types.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/__pycache__/utils.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/_staggered.pyAdded+207
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/impl.pyAdded+259
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/py.typedAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/types.pyAdded+17
New folder/Seed-VC/.venv/Lib/site-packages/aiohappyeyeballs/utils.pyAdded+97
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/INSTALLERAdded+1
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/METADATAAdded+262
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/RECORDAdded+138
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/WHEELAdded+5
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/licenses/LICENSE.txtAdded+13
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/licenses/vendor/llhttp/LICENSEAdded+22
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp-3.13.2.dist-info/top_level.txtAdded+1
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/_cparser.pxd.hashAdded+1
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/_find_header.pxd.hashAdded+1
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/_http_parser.pyx.hashAdded+1
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/_http_writer.pyx.hashAdded+1
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/.hash/hdrs.py.hashAdded+1
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__init__.pyAdded+278
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/__init__.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/_cookie_helpers.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/abc.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/base_protocol.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_exceptions.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_middleware_digest_auth.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_middlewares.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_proto.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_reqrep.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/client_ws.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/compression_utils.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/connector.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/cookiejar.cpython-313.pycAdded
New folder/Seed-VC/.venv/Lib/site-packages/aiohttp/__pycache__/formdata.cpython-313.pycAdded