AdityK2409 commited on
Commit
297c497
·
verified ·
1 Parent(s): 3b920dd

Delete hfenv

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. hfenv/Lib/site-packages/__pycache__/six.cpython-311.pyc +0 -0
  2. hfenv/Lib/site-packages/__pycache__/typing_extensions.cpython-311.pyc +0 -3
  3. hfenv/Lib/site-packages/_distutils_hack/__init__.py +0 -239
  4. hfenv/Lib/site-packages/_distutils_hack/__pycache__/__init__.cpython-311.pyc +0 -0
  5. hfenv/Lib/site-packages/_distutils_hack/__pycache__/override.cpython-311.pyc +0 -0
  6. hfenv/Lib/site-packages/_distutils_hack/override.py +0 -1
  7. hfenv/Lib/site-packages/_multiprocess/__init__.py +0 -8
  8. hfenv/Lib/site-packages/_multiprocess/__pycache__/__init__.cpython-311.pyc +0 -0
  9. hfenv/Lib/site-packages/_yaml/__init__.py +0 -33
  10. hfenv/Lib/site-packages/_yaml/__pycache__/__init__.cpython-311.pyc +0 -0
  11. hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/INSTALLER +0 -1
  12. hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/LICENSE +0 -279
  13. hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/METADATA +0 -123
  14. hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/RECORD +0 -16
  15. hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/WHEEL +0 -4
  16. hfenv/Lib/site-packages/aiohappyeyeballs/__init__.py +0 -14
  17. hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/__init__.cpython-311.pyc +0 -0
  18. hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/_staggered.cpython-311.pyc +0 -0
  19. hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/impl.cpython-311.pyc +0 -0
  20. hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/types.cpython-311.pyc +0 -0
  21. hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/utils.cpython-311.pyc +0 -0
  22. hfenv/Lib/site-packages/aiohappyeyeballs/_staggered.py +0 -207
  23. hfenv/Lib/site-packages/aiohappyeyeballs/impl.py +0 -259
  24. hfenv/Lib/site-packages/aiohappyeyeballs/py.typed +0 -0
  25. hfenv/Lib/site-packages/aiohappyeyeballs/types.py +0 -17
  26. hfenv/Lib/site-packages/aiohappyeyeballs/utils.py +0 -97
  27. hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/INSTALLER +0 -1
  28. hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/METADATA +0 -262
  29. hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/RECORD +0 -138
  30. hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/WHEEL +0 -5
  31. hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/licenses/LICENSE.txt +0 -13
  32. hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/licenses/vendor/llhttp/LICENSE +0 -22
  33. hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/top_level.txt +0 -1
  34. hfenv/Lib/site-packages/aiohttp/.hash/_cparser.pxd.hash +0 -1
  35. hfenv/Lib/site-packages/aiohttp/.hash/_find_header.pxd.hash +0 -1
  36. hfenv/Lib/site-packages/aiohttp/.hash/_http_parser.pyx.hash +0 -1
  37. hfenv/Lib/site-packages/aiohttp/.hash/_http_writer.pyx.hash +0 -1
  38. hfenv/Lib/site-packages/aiohttp/.hash/hdrs.py.hash +0 -1
  39. hfenv/Lib/site-packages/aiohttp/__init__.py +0 -278
  40. hfenv/Lib/site-packages/aiohttp/__pycache__/__init__.cpython-311.pyc +0 -0
  41. hfenv/Lib/site-packages/aiohttp/__pycache__/_cookie_helpers.cpython-311.pyc +0 -0
  42. hfenv/Lib/site-packages/aiohttp/__pycache__/abc.cpython-311.pyc +0 -0
  43. hfenv/Lib/site-packages/aiohttp/__pycache__/base_protocol.cpython-311.pyc +0 -0
  44. hfenv/Lib/site-packages/aiohttp/__pycache__/client.cpython-311.pyc +0 -0
  45. hfenv/Lib/site-packages/aiohttp/__pycache__/client_exceptions.cpython-311.pyc +0 -0
  46. hfenv/Lib/site-packages/aiohttp/__pycache__/client_middleware_digest_auth.cpython-311.pyc +0 -0
  47. hfenv/Lib/site-packages/aiohttp/__pycache__/client_middlewares.cpython-311.pyc +0 -0
  48. hfenv/Lib/site-packages/aiohttp/__pycache__/client_proto.cpython-311.pyc +0 -0
  49. hfenv/Lib/site-packages/aiohttp/__pycache__/client_reqrep.cpython-311.pyc +0 -0
  50. hfenv/Lib/site-packages/aiohttp/__pycache__/client_ws.cpython-311.pyc +0 -0
hfenv/Lib/site-packages/__pycache__/six.cpython-311.pyc DELETED
Binary file (46.6 kB)
 
hfenv/Lib/site-packages/__pycache__/typing_extensions.cpython-311.pyc DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:556ba0b5ca2b9db1a1eabb763f1b89161ed163f794ec292f31da148daed1a33d
3
- size 179506
 
 
 
 
hfenv/Lib/site-packages/_distutils_hack/__init__.py DELETED
@@ -1,239 +0,0 @@
1
- # don't import any costly modules
2
- import os
3
- import sys
4
-
5
- report_url = (
6
- "https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml"
7
- )
8
-
9
-
10
- def warn_distutils_present():
11
- if 'distutils' not in sys.modules:
12
- return
13
- import warnings
14
-
15
- warnings.warn(
16
- "Distutils was imported before Setuptools, but importing Setuptools "
17
- "also replaces the `distutils` module in `sys.modules`. This may lead "
18
- "to undesirable behaviors or errors. To avoid these issues, avoid "
19
- "using distutils directly, ensure that setuptools is installed in the "
20
- "traditional way (e.g. not an editable install), and/or make sure "
21
- "that setuptools is always imported before distutils."
22
- )
23
-
24
-
25
- def clear_distutils():
26
- if 'distutils' not in sys.modules:
27
- return
28
- import warnings
29
-
30
- warnings.warn(
31
- "Setuptools is replacing distutils. Support for replacing "
32
- "an already imported distutils is deprecated. In the future, "
33
- "this condition will fail. "
34
- f"Register concerns at {report_url}"
35
- )
36
- mods = [
37
- name
38
- for name in sys.modules
39
- if name == "distutils" or name.startswith("distutils.")
40
- ]
41
- for name in mods:
42
- del sys.modules[name]
43
-
44
-
45
- def enabled():
46
- """
47
- Allow selection of distutils by environment variable.
48
- """
49
- which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'local')
50
- if which == 'stdlib':
51
- import warnings
52
-
53
- warnings.warn(
54
- "Reliance on distutils from stdlib is deprecated. Users "
55
- "must rely on setuptools to provide the distutils module. "
56
- "Avoid importing distutils or import setuptools first, "
57
- "and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. "
58
- f"Register concerns at {report_url}"
59
- )
60
- return which == 'local'
61
-
62
-
63
- def ensure_local_distutils():
64
- import importlib
65
-
66
- clear_distutils()
67
-
68
- # With the DistutilsMetaFinder in place,
69
- # perform an import to cause distutils to be
70
- # loaded from setuptools._distutils. Ref #2906.
71
- with shim():
72
- importlib.import_module('distutils')
73
-
74
- # check that submodules load as expected
75
- core = importlib.import_module('distutils.core')
76
- assert '_distutils' in core.__file__, core.__file__
77
- assert 'setuptools._distutils.log' not in sys.modules
78
-
79
-
80
- def do_override():
81
- """
82
- Ensure that the local copy of distutils is preferred over stdlib.
83
-
84
- See https://github.com/pypa/setuptools/issues/417#issuecomment-392298401
85
- for more motivation.
86
- """
87
- if enabled():
88
- warn_distutils_present()
89
- ensure_local_distutils()
90
-
91
-
92
- class _TrivialRe:
93
- def __init__(self, *patterns) -> None:
94
- self._patterns = patterns
95
-
96
- def match(self, string):
97
- return all(pat in string for pat in self._patterns)
98
-
99
-
100
- class DistutilsMetaFinder:
101
- def find_spec(self, fullname, path, target=None):
102
- # optimization: only consider top level modules and those
103
- # found in the CPython test suite.
104
- if path is not None and not fullname.startswith('test.'):
105
- return None
106
-
107
- method_name = 'spec_for_{fullname}'.format(**locals())
108
- method = getattr(self, method_name, lambda: None)
109
- return method()
110
-
111
- def spec_for_distutils(self):
112
- if self.is_cpython():
113
- return None
114
-
115
- import importlib
116
- import importlib.abc
117
- import importlib.util
118
-
119
- try:
120
- mod = importlib.import_module('setuptools._distutils')
121
- except Exception:
122
- # There are a couple of cases where setuptools._distutils
123
- # may not be present:
124
- # - An older Setuptools without a local distutils is
125
- # taking precedence. Ref #2957.
126
- # - Path manipulation during sitecustomize removes
127
- # setuptools from the path but only after the hook
128
- # has been loaded. Ref #2980.
129
- # In either case, fall back to stdlib behavior.
130
- return None
131
-
132
- class DistutilsLoader(importlib.abc.Loader):
133
- def create_module(self, spec):
134
- mod.__name__ = 'distutils'
135
- return mod
136
-
137
- def exec_module(self, module):
138
- pass
139
-
140
- return importlib.util.spec_from_loader(
141
- 'distutils', DistutilsLoader(), origin=mod.__file__
142
- )
143
-
144
- @staticmethod
145
- def is_cpython():
146
- """
147
- Suppress supplying distutils for CPython (build and tests).
148
- Ref #2965 and #3007.
149
- """
150
- return os.path.isfile('pybuilddir.txt')
151
-
152
- def spec_for_pip(self):
153
- """
154
- Ensure stdlib distutils when running under pip.
155
- See pypa/pip#8761 for rationale.
156
- """
157
- if sys.version_info >= (3, 12) or self.pip_imported_during_build():
158
- return
159
- clear_distutils()
160
- self.spec_for_distutils = lambda: None
161
-
162
- @classmethod
163
- def pip_imported_during_build(cls):
164
- """
165
- Detect if pip is being imported in a build script. Ref #2355.
166
- """
167
- import traceback
168
-
169
- return any(
170
- cls.frame_file_is_setup(frame) for frame, line in traceback.walk_stack(None)
171
- )
172
-
173
- @staticmethod
174
- def frame_file_is_setup(frame):
175
- """
176
- Return True if the indicated frame suggests a setup.py file.
177
- """
178
- # some frames may not have __file__ (#2940)
179
- return frame.f_globals.get('__file__', '').endswith('setup.py')
180
-
181
- def spec_for_sensitive_tests(self):
182
- """
183
- Ensure stdlib distutils when running select tests under CPython.
184
-
185
- python/cpython#91169
186
- """
187
- clear_distutils()
188
- self.spec_for_distutils = lambda: None
189
-
190
- sensitive_tests = (
191
- [
192
- 'test.test_distutils',
193
- 'test.test_peg_generator',
194
- 'test.test_importlib',
195
- ]
196
- if sys.version_info < (3, 10)
197
- else [
198
- 'test.test_distutils',
199
- ]
200
- )
201
-
202
-
203
- for name in DistutilsMetaFinder.sensitive_tests:
204
- setattr(
205
- DistutilsMetaFinder,
206
- f'spec_for_{name}',
207
- DistutilsMetaFinder.spec_for_sensitive_tests,
208
- )
209
-
210
-
211
- DISTUTILS_FINDER = DistutilsMetaFinder()
212
-
213
-
214
- def add_shim():
215
- DISTUTILS_FINDER in sys.meta_path or insert_shim()
216
-
217
-
218
- class shim:
219
- def __enter__(self) -> None:
220
- insert_shim()
221
-
222
- def __exit__(self, exc: object, value: object, tb: object) -> None:
223
- _remove_shim()
224
-
225
-
226
- def insert_shim():
227
- sys.meta_path.insert(0, DISTUTILS_FINDER)
228
-
229
-
230
- def _remove_shim():
231
- try:
232
- sys.meta_path.remove(DISTUTILS_FINDER)
233
- except ValueError:
234
- pass
235
-
236
-
237
- if sys.version_info < (3, 12):
238
- # DistutilsMetaFinder can only be disabled in Python < 3.12 (PEP 632)
239
- remove_shim = _remove_shim
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/_distutils_hack/__pycache__/__init__.cpython-311.pyc DELETED
Binary file (12 kB)
 
hfenv/Lib/site-packages/_distutils_hack/__pycache__/override.cpython-311.pyc DELETED
Binary file (361 Bytes)
 
hfenv/Lib/site-packages/_distutils_hack/override.py DELETED
@@ -1 +0,0 @@
1
- __import__('_distutils_hack').do_override()
 
 
hfenv/Lib/site-packages/_multiprocess/__init__.py DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env python
2
- #
3
- # Author: Mike McKerns (mmckerns @caltech and @uqfoundation)
4
- # Copyright (c) 2022-2024 The Uncertainty Quantification Foundation.
5
- # License: 3-clause BSD. The full license text is available at:
6
- # - https://github.com/uqfoundation/multiprocess/blob/master/LICENSE
7
-
8
- from _multiprocessing import *
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/_multiprocess/__pycache__/__init__.cpython-311.pyc DELETED
Binary file (280 Bytes)
 
hfenv/Lib/site-packages/_yaml/__init__.py DELETED
@@ -1,33 +0,0 @@
1
- # This is a stub package designed to roughly emulate the _yaml
2
- # extension module, which previously existed as a standalone module
3
- # and has been moved into the `yaml` package namespace.
4
- # It does not perfectly mimic its old counterpart, but should get
5
- # close enough for anyone who's relying on it even when they shouldn't.
6
- import yaml
7
-
8
- # in some circumstances, the yaml module we imoprted may be from a different version, so we need
9
- # to tread carefully when poking at it here (it may not have the attributes we expect)
10
- if not getattr(yaml, '__with_libyaml__', False):
11
- from sys import version_info
12
-
13
- exc = ModuleNotFoundError if version_info >= (3, 6) else ImportError
14
- raise exc("No module named '_yaml'")
15
- else:
16
- from yaml._yaml import *
17
- import warnings
18
- warnings.warn(
19
- 'The _yaml extension module is now located at yaml._yaml'
20
- ' and its location is subject to change. To use the'
21
- ' LibYAML-based parser and emitter, import from `yaml`:'
22
- ' `from yaml import CLoader as Loader, CDumper as Dumper`.',
23
- DeprecationWarning
24
- )
25
- del warnings
26
- # Don't `del yaml` here because yaml is actually an existing
27
- # namespace member of _yaml.
28
-
29
- __name__ = '_yaml'
30
- # If the module is top-level (i.e. not a part of any specific package)
31
- # then the attribute should be set to ''.
32
- # https://docs.python.org/3.8/library/types.html
33
- __package__ = ''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/_yaml/__pycache__/__init__.cpython-311.pyc DELETED
Binary file (978 Bytes)
 
hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/INSTALLER DELETED
@@ -1 +0,0 @@
1
- pip
 
 
hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/LICENSE DELETED
@@ -1,279 +0,0 @@
1
- A. HISTORY OF THE SOFTWARE
2
- ==========================
3
-
4
- Python was created in the early 1990s by Guido van Rossum at Stichting
5
- Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands
6
- as a successor of a language called ABC. Guido remains Python's
7
- principal author, although it includes many contributions from others.
8
-
9
- In 1995, Guido continued his work on Python at the Corporation for
10
- National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)
11
- in Reston, Virginia where he released several versions of the
12
- software.
13
-
14
- In May 2000, Guido and the Python core development team moved to
15
- BeOpen.com to form the BeOpen PythonLabs team. In October of the same
16
- year, the PythonLabs team moved to Digital Creations, which became
17
- Zope Corporation. In 2001, the Python Software Foundation (PSF, see
18
- https://www.python.org/psf/) was formed, a non-profit organization
19
- created specifically to own Python-related Intellectual Property.
20
- Zope Corporation was a sponsoring member of the PSF.
21
-
22
- All Python releases are Open Source (see https://opensource.org for
23
- the Open Source Definition). Historically, most, but not all, Python
24
- releases have also been GPL-compatible; the table below summarizes
25
- the various releases.
26
-
27
- Release Derived Year Owner GPL-
28
- from compatible? (1)
29
-
30
- 0.9.0 thru 1.2 1991-1995 CWI yes
31
- 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
32
- 1.6 1.5.2 2000 CNRI no
33
- 2.0 1.6 2000 BeOpen.com no
34
- 1.6.1 1.6 2001 CNRI yes (2)
35
- 2.1 2.0+1.6.1 2001 PSF no
36
- 2.0.1 2.0+1.6.1 2001 PSF yes
37
- 2.1.1 2.1+2.0.1 2001 PSF yes
38
- 2.1.2 2.1.1 2002 PSF yes
39
- 2.1.3 2.1.2 2002 PSF yes
40
- 2.2 and above 2.1.1 2001-now PSF yes
41
-
42
- Footnotes:
43
-
44
- (1) GPL-compatible doesn't mean that we're distributing Python under
45
- the GPL. All Python licenses, unlike the GPL, let you distribute
46
- a modified version without making your changes open source. The
47
- GPL-compatible licenses make it possible to combine Python with
48
- other software that is released under the GPL; the others don't.
49
-
50
- (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
51
- because its license has a choice of law clause. According to
52
- CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
53
- is "not incompatible" with the GPL.
54
-
55
- Thanks to the many outside volunteers who have worked under Guido's
56
- direction to make these releases possible.
57
-
58
-
59
- B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
60
- ===============================================================
61
-
62
- Python software and documentation are licensed under the
63
- Python Software Foundation License Version 2.
64
-
65
- Starting with Python 3.8.6, examples, recipes, and other code in
66
- the documentation are dual licensed under the PSF License Version 2
67
- and the Zero-Clause BSD license.
68
-
69
- Some software incorporated into Python is under different licenses.
70
- The licenses are listed with code falling under that license.
71
-
72
-
73
- PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
74
- --------------------------------------------
75
-
76
- 1. This LICENSE AGREEMENT is between the Python Software Foundation
77
- ("PSF"), and the Individual or Organization ("Licensee") accessing and
78
- otherwise using this software ("Python") in source or binary form and
79
- its associated documentation.
80
-
81
- 2. Subject to the terms and conditions of this License Agreement, PSF hereby
82
- grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
83
- analyze, test, perform and/or display publicly, prepare derivative works,
84
- distribute, and otherwise use Python alone or in any derivative version,
85
- provided, however, that PSF's License Agreement and PSF's notice of copyright,
86
- i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
87
- 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation;
88
- All Rights Reserved" are retained in Python alone or in any derivative version
89
- prepared by Licensee.
90
-
91
- 3. In the event Licensee prepares a derivative work that is based on
92
- or incorporates Python or any part thereof, and wants to make
93
- the derivative work available to others as provided herein, then
94
- Licensee hereby agrees to include in any such work a brief summary of
95
- the changes made to Python.
96
-
97
- 4. PSF is making Python available to Licensee on an "AS IS"
98
- basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
99
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
100
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
101
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
102
- INFRINGE ANY THIRD PARTY RIGHTS.
103
-
104
- 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
105
- FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
106
- A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
107
- OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
108
-
109
- 6. This License Agreement will automatically terminate upon a material
110
- breach of its terms and conditions.
111
-
112
- 7. Nothing in this License Agreement shall be deemed to create any
113
- relationship of agency, partnership, or joint venture between PSF and
114
- Licensee. This License Agreement does not grant permission to use PSF
115
- trademarks or trade name in a trademark sense to endorse or promote
116
- products or services of Licensee, or any third party.
117
-
118
- 8. By copying, installing or otherwise using Python, Licensee
119
- agrees to be bound by the terms and conditions of this License
120
- Agreement.
121
-
122
-
123
- BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
124
- -------------------------------------------
125
-
126
- BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
127
-
128
- 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
129
- office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
130
- Individual or Organization ("Licensee") accessing and otherwise using
131
- this software in source or binary form and its associated
132
- documentation ("the Software").
133
-
134
- 2. Subject to the terms and conditions of this BeOpen Python License
135
- Agreement, BeOpen hereby grants Licensee a non-exclusive,
136
- royalty-free, world-wide license to reproduce, analyze, test, perform
137
- and/or display publicly, prepare derivative works, distribute, and
138
- otherwise use the Software alone or in any derivative version,
139
- provided, however, that the BeOpen Python License is retained in the
140
- Software, alone or in any derivative version prepared by Licensee.
141
-
142
- 3. BeOpen is making the Software available to Licensee on an "AS IS"
143
- basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
144
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
145
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
146
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
147
- INFRINGE ANY THIRD PARTY RIGHTS.
148
-
149
- 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
150
- SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
151
- AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
152
- DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
153
-
154
- 5. This License Agreement will automatically terminate upon a material
155
- breach of its terms and conditions.
156
-
157
- 6. This License Agreement shall be governed by and interpreted in all
158
- respects by the law of the State of California, excluding conflict of
159
- law provisions. Nothing in this License Agreement shall be deemed to
160
- create any relationship of agency, partnership, or joint venture
161
- between BeOpen and Licensee. This License Agreement does not grant
162
- permission to use BeOpen trademarks or trade names in a trademark
163
- sense to endorse or promote products or services of Licensee, or any
164
- third party. As an exception, the "BeOpen Python" logos available at
165
- http://www.pythonlabs.com/logos.html may be used according to the
166
- permissions granted on that web page.
167
-
168
- 7. By copying, installing or otherwise using the software, Licensee
169
- agrees to be bound by the terms and conditions of this License
170
- Agreement.
171
-
172
-
173
- CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
174
- ---------------------------------------
175
-
176
- 1. This LICENSE AGREEMENT is between the Corporation for National
177
- Research Initiatives, having an office at 1895 Preston White Drive,
178
- Reston, VA 20191 ("CNRI"), and the Individual or Organization
179
- ("Licensee") accessing and otherwise using Python 1.6.1 software in
180
- source or binary form and its associated documentation.
181
-
182
- 2. Subject to the terms and conditions of this License Agreement, CNRI
183
- hereby grants Licensee a nonexclusive, royalty-free, world-wide
184
- license to reproduce, analyze, test, perform and/or display publicly,
185
- prepare derivative works, distribute, and otherwise use Python 1.6.1
186
- alone or in any derivative version, provided, however, that CNRI's
187
- License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
188
- 1995-2001 Corporation for National Research Initiatives; All Rights
189
- Reserved" are retained in Python 1.6.1 alone or in any derivative
190
- version prepared by Licensee. Alternately, in lieu of CNRI's License
191
- Agreement, Licensee may substitute the following text (omitting the
192
- quotes): "Python 1.6.1 is made available subject to the terms and
193
- conditions in CNRI's License Agreement. This Agreement together with
194
- Python 1.6.1 may be located on the internet using the following
195
- unique, persistent identifier (known as a handle): 1895.22/1013. This
196
- Agreement may also be obtained from a proxy server on the internet
197
- using the following URL: http://hdl.handle.net/1895.22/1013".
198
-
199
- 3. In the event Licensee prepares a derivative work that is based on
200
- or incorporates Python 1.6.1 or any part thereof, and wants to make
201
- the derivative work available to others as provided herein, then
202
- Licensee hereby agrees to include in any such work a brief summary of
203
- the changes made to Python 1.6.1.
204
-
205
- 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
206
- basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
207
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
208
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
209
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
210
- INFRINGE ANY THIRD PARTY RIGHTS.
211
-
212
- 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
213
- 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
214
- A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
215
- OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
216
-
217
- 6. This License Agreement will automatically terminate upon a material
218
- breach of its terms and conditions.
219
-
220
- 7. This License Agreement shall be governed by the federal
221
- intellectual property law of the United States, including without
222
- limitation the federal copyright law, and, to the extent such
223
- U.S. federal law does not apply, by the law of the Commonwealth of
224
- Virginia, excluding Virginia's conflict of law provisions.
225
- Notwithstanding the foregoing, with regard to derivative works based
226
- on Python 1.6.1 that incorporate non-separable material that was
227
- previously distributed under the GNU General Public License (GPL), the
228
- law of the Commonwealth of Virginia shall govern this License
229
- Agreement only as to issues arising under or with respect to
230
- Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
231
- License Agreement shall be deemed to create any relationship of
232
- agency, partnership, or joint venture between CNRI and Licensee. This
233
- License Agreement does not grant permission to use CNRI trademarks or
234
- trade name in a trademark sense to endorse or promote products or
235
- services of Licensee, or any third party.
236
-
237
- 8. By clicking on the "ACCEPT" button where indicated, or by copying,
238
- installing or otherwise using Python 1.6.1, Licensee agrees to be
239
- bound by the terms and conditions of this License Agreement.
240
-
241
- ACCEPT
242
-
243
-
244
- CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
245
- --------------------------------------------------
246
-
247
- Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
248
- The Netherlands. All rights reserved.
249
-
250
- Permission to use, copy, modify, and distribute this software and its
251
- documentation for any purpose and without fee is hereby granted,
252
- provided that the above copyright notice appear in all copies and that
253
- both that copyright notice and this permission notice appear in
254
- supporting documentation, and that the name of Stichting Mathematisch
255
- Centrum or CWI not be used in advertising or publicity pertaining to
256
- distribution of the software without specific, written prior
257
- permission.
258
-
259
- STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
260
- THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
261
- FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
262
- FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
263
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
264
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
265
- OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
266
-
267
- ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
268
- ----------------------------------------------------------------------
269
-
270
- Permission to use, copy, modify, and/or distribute this software for any
271
- purpose with or without fee is hereby granted.
272
-
273
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
274
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
275
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
276
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
277
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
278
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
279
- PERFORMANCE OF THIS SOFTWARE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/METADATA DELETED
@@ -1,123 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: aiohappyeyeballs
3
- Version: 2.6.1
4
- Summary: Happy Eyeballs for asyncio
5
- License: PSF-2.0
6
- Author: J. Nick Koston
7
- Author-email: [email protected]
8
- Requires-Python: >=3.9
9
- Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Natural Language :: English
12
- Classifier: Operating System :: OS Independent
13
- Classifier: Topic :: Software Development :: Libraries
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Programming Language :: Python :: 3.10
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Programming Language :: Python :: 3.13
20
- Classifier: License :: OSI Approved :: Python Software Foundation License
21
- Project-URL: Bug Tracker, https://github.com/aio-libs/aiohappyeyeballs/issues
22
- Project-URL: Changelog, https://github.com/aio-libs/aiohappyeyeballs/blob/main/CHANGELOG.md
23
- Project-URL: Documentation, https://aiohappyeyeballs.readthedocs.io
24
- Project-URL: Repository, https://github.com/aio-libs/aiohappyeyeballs
25
- Description-Content-Type: text/markdown
26
-
27
- # aiohappyeyeballs
28
-
29
- <p align="center">
30
- <a href="https://github.com/aio-libs/aiohappyeyeballs/actions/workflows/ci.yml?query=branch%3Amain">
31
- <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" >
32
- </a>
33
- <a href="https://aiohappyeyeballs.readthedocs.io">
34
- <img src="https://img.shields.io/readthedocs/aiohappyeyeballs.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
35
- </a>
36
- <a href="https://codecov.io/gh/aio-libs/aiohappyeyeballs">
37
- <img src="https://img.shields.io/codecov/c/github/aio-libs/aiohappyeyeballs.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
38
- </a>
39
- </p>
40
- <p align="center">
41
- <a href="https://python-poetry.org/">
42
- <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">
43
- </a>
44
- <a href="https://github.com/astral-sh/ruff">
45
- <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
46
- </a>
47
- <a href="https://github.com/pre-commit/pre-commit">
48
- <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
49
- </a>
50
- </p>
51
- <p align="center">
52
- <a href="https://pypi.org/project/aiohappyeyeballs/">
53
- <img src="https://img.shields.io/pypi/v/aiohappyeyeballs.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
54
- </a>
55
- <img src="https://img.shields.io/pypi/pyversions/aiohappyeyeballs.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
56
- <img src="https://img.shields.io/pypi/l/aiohappyeyeballs.svg?style=flat-square" alt="License">
57
- </p>
58
-
59
- ---
60
-
61
- **Documentation**: <a href="https://aiohappyeyeballs.readthedocs.io" target="_blank">https://aiohappyeyeballs.readthedocs.io </a>
62
-
63
- **Source Code**: <a href="https://github.com/aio-libs/aiohappyeyeballs" target="_blank">https://github.com/aio-libs/aiohappyeyeballs </a>
64
-
65
- ---
66
-
67
- [Happy Eyeballs](https://en.wikipedia.org/wiki/Happy_Eyeballs)
68
- ([RFC 8305](https://www.rfc-editor.org/rfc/rfc8305.html))
69
-
70
- ## Use case
71
-
72
- This library exists to allow connecting with
73
- [Happy Eyeballs](https://en.wikipedia.org/wiki/Happy_Eyeballs)
74
- ([RFC 8305](https://www.rfc-editor.org/rfc/rfc8305.html))
75
- when you
76
- already have a list of addrinfo and not a DNS name.
77
-
78
- The stdlib version of `loop.create_connection()`
79
- will only work when you pass in an unresolved name which
80
- is not a good fit when using DNS caching or resolving
81
- names via another method such as `zeroconf`.
82
-
83
- ## Installation
84
-
85
- Install this via pip (or your favourite package manager):
86
-
87
- `pip install aiohappyeyeballs`
88
-
89
- ## License
90
-
91
- [aiohappyeyeballs is licensed under the same terms as cpython itself.](https://github.com/python/cpython/blob/main/LICENSE)
92
-
93
- ## Example usage
94
-
95
- ```python
96
-
97
- addr_infos = await loop.getaddrinfo("example.org", 80)
98
-
99
- socket = await start_connection(addr_infos)
100
- socket = await start_connection(addr_infos, local_addr_infos=local_addr_infos, happy_eyeballs_delay=0.2)
101
-
102
- transport, protocol = await loop.create_connection(
103
- MyProtocol, sock=socket, ...)
104
-
105
- # Remove the first address for each family from addr_info
106
- pop_addr_infos_interleave(addr_info, 1)
107
-
108
- # Remove all matching address from addr_info
109
- remove_addr_infos(addr_info, "dead::beef::")
110
-
111
- # Convert a local_addr to local_addr_infos
112
- local_addr_infos = addr_to_addr_infos(("127.0.0.1",0))
113
- ```
114
-
115
- ## Credits
116
-
117
- This package contains code from cpython and is licensed under the same terms as cpython itself.
118
-
119
- This package was created with
120
- [Copier](https://copier.readthedocs.io/) and the
121
- [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)
122
- project template.
123
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/RECORD DELETED
@@ -1,16 +0,0 @@
1
- aiohappyeyeballs-2.6.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
- aiohappyeyeballs-2.6.1.dist-info/LICENSE,sha256=Oy-B_iHRgcSZxZolbI4ZaEVdZonSaaqFNzv7avQdo78,13936
3
- aiohappyeyeballs-2.6.1.dist-info/METADATA,sha256=NSXlhJwAfi380eEjAo7BQ4P_TVal9xi0qkyZWibMsVM,5915
4
- aiohappyeyeballs-2.6.1.dist-info/RECORD,,
5
- aiohappyeyeballs-2.6.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
6
- aiohappyeyeballs/__init__.py,sha256=x7kktHEtaD9quBcWDJPuLeKyjuVAI-Jj14S9B_5hcTs,361
7
- aiohappyeyeballs/__pycache__/__init__.cpython-311.pyc,,
8
- aiohappyeyeballs/__pycache__/_staggered.cpython-311.pyc,,
9
- aiohappyeyeballs/__pycache__/impl.cpython-311.pyc,,
10
- aiohappyeyeballs/__pycache__/types.cpython-311.pyc,,
11
- aiohappyeyeballs/__pycache__/utils.cpython-311.pyc,,
12
- aiohappyeyeballs/_staggered.py,sha256=edfVowFx-P-ywJjIEF3MdPtEMVODujV6CeMYr65otac,6900
13
- aiohappyeyeballs/impl.py,sha256=Dlcm2mTJ28ucrGnxkb_fo9CZzLAkOOBizOt7dreBbXE,9681
14
- aiohappyeyeballs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- aiohappyeyeballs/types.py,sha256=YZJIAnyoV4Dz0WFtlaf_OyE4EW7Xus1z7aIfNI6tDDQ,425
16
- aiohappyeyeballs/utils.py,sha256=on9GxIR0LhEfZu8P6Twi9hepX9zDanuZM20MWsb3xlQ,3028
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohappyeyeballs-2.6.1.dist-info/WHEEL DELETED
@@ -1,4 +0,0 @@
1
- Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.1
3
- Root-Is-Purelib: true
4
- Tag: py3-none-any
 
 
 
 
 
hfenv/Lib/site-packages/aiohappyeyeballs/__init__.py DELETED
@@ -1,14 +0,0 @@
1
- __version__ = "2.6.1"
2
-
3
- from .impl import start_connection
4
- from .types import AddrInfoType, SocketFactoryType
5
- from .utils import addr_to_addr_infos, pop_addr_infos_interleave, remove_addr_infos
6
-
7
- __all__ = (
8
- "AddrInfoType",
9
- "SocketFactoryType",
10
- "addr_to_addr_infos",
11
- "pop_addr_infos_interleave",
12
- "remove_addr_infos",
13
- "start_connection",
14
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/__init__.cpython-311.pyc DELETED
Binary file (610 Bytes)
 
hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/_staggered.cpython-311.pyc DELETED
Binary file (8.95 kB)
 
hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/impl.cpython-311.pyc DELETED
Binary file (11.5 kB)
 
hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/types.cpython-311.pyc DELETED
Binary file (667 Bytes)
 
hfenv/Lib/site-packages/aiohappyeyeballs/__pycache__/utils.cpython-311.pyc DELETED
Binary file (4.21 kB)
 
hfenv/Lib/site-packages/aiohappyeyeballs/_staggered.py DELETED
@@ -1,207 +0,0 @@
1
- import asyncio
2
- import contextlib
3
-
4
- # PY3.9: Import Callable from typing until we drop Python 3.9 support
5
- # https://github.com/python/cpython/issues/87131
6
- from typing import (
7
- TYPE_CHECKING,
8
- Any,
9
- Awaitable,
10
- Callable,
11
- Iterable,
12
- List,
13
- Optional,
14
- Set,
15
- Tuple,
16
- TypeVar,
17
- Union,
18
- )
19
-
20
- _T = TypeVar("_T")
21
-
22
- RE_RAISE_EXCEPTIONS = (SystemExit, KeyboardInterrupt)
23
-
24
-
25
- def _set_result(wait_next: "asyncio.Future[None]") -> None:
26
- """Set the result of a future if it is not already done."""
27
- if not wait_next.done():
28
- wait_next.set_result(None)
29
-
30
-
31
- async def _wait_one(
32
- futures: "Iterable[asyncio.Future[Any]]",
33
- loop: asyncio.AbstractEventLoop,
34
- ) -> _T:
35
- """Wait for the first future to complete."""
36
- wait_next = loop.create_future()
37
-
38
- def _on_completion(fut: "asyncio.Future[Any]") -> None:
39
- if not wait_next.done():
40
- wait_next.set_result(fut)
41
-
42
- for f in futures:
43
- f.add_done_callback(_on_completion)
44
-
45
- try:
46
- return await wait_next
47
- finally:
48
- for f in futures:
49
- f.remove_done_callback(_on_completion)
50
-
51
-
52
- async def staggered_race(
53
- coro_fns: Iterable[Callable[[], Awaitable[_T]]],
54
- delay: Optional[float],
55
- *,
56
- loop: Optional[asyncio.AbstractEventLoop] = None,
57
- ) -> Tuple[Optional[_T], Optional[int], List[Optional[BaseException]]]:
58
- """
59
- Run coroutines with staggered start times and take the first to finish.
60
-
61
- This method takes an iterable of coroutine functions. The first one is
62
- started immediately. From then on, whenever the immediately preceding one
63
- fails (raises an exception), or when *delay* seconds has passed, the next
64
- coroutine is started. This continues until one of the coroutines complete
65
- successfully, in which case all others are cancelled, or until all
66
- coroutines fail.
67
-
68
- The coroutines provided should be well-behaved in the following way:
69
-
70
- * They should only ``return`` if completed successfully.
71
-
72
- * They should always raise an exception if they did not complete
73
- successfully. In particular, if they handle cancellation, they should
74
- probably reraise, like this::
75
-
76
- try:
77
- # do work
78
- except asyncio.CancelledError:
79
- # undo partially completed work
80
- raise
81
-
82
- Args:
83
- ----
84
- coro_fns: an iterable of coroutine functions, i.e. callables that
85
- return a coroutine object when called. Use ``functools.partial`` or
86
- lambdas to pass arguments.
87
-
88
- delay: amount of time, in seconds, between starting coroutines. If
89
- ``None``, the coroutines will run sequentially.
90
-
91
- loop: the event loop to use. If ``None``, the running loop is used.
92
-
93
- Returns:
94
- -------
95
- tuple *(winner_result, winner_index, exceptions)* where
96
-
97
- - *winner_result*: the result of the winning coroutine, or ``None``
98
- if no coroutines won.
99
-
100
- - *winner_index*: the index of the winning coroutine in
101
- ``coro_fns``, or ``None`` if no coroutines won. If the winning
102
- coroutine may return None on success, *winner_index* can be used
103
- to definitively determine whether any coroutine won.
104
-
105
- - *exceptions*: list of exceptions returned by the coroutines.
106
- ``len(exceptions)`` is equal to the number of coroutines actually
107
- started, and the order is the same as in ``coro_fns``. The winning
108
- coroutine's entry is ``None``.
109
-
110
- """
111
- loop = loop or asyncio.get_running_loop()
112
- exceptions: List[Optional[BaseException]] = []
113
- tasks: Set[asyncio.Task[Optional[Tuple[_T, int]]]] = set()
114
-
115
- async def run_one_coro(
116
- coro_fn: Callable[[], Awaitable[_T]],
117
- this_index: int,
118
- start_next: "asyncio.Future[None]",
119
- ) -> Optional[Tuple[_T, int]]:
120
- """
121
- Run a single coroutine.
122
-
123
- If the coroutine fails, set the exception in the exceptions list and
124
- start the next coroutine by setting the result of the start_next.
125
-
126
- If the coroutine succeeds, return the result and the index of the
127
- coroutine in the coro_fns list.
128
-
129
- If SystemExit or KeyboardInterrupt is raised, re-raise it.
130
- """
131
- try:
132
- result = await coro_fn()
133
- except RE_RAISE_EXCEPTIONS:
134
- raise
135
- except BaseException as e:
136
- exceptions[this_index] = e
137
- _set_result(start_next) # Kickstart the next coroutine
138
- return None
139
-
140
- return result, this_index
141
-
142
- start_next_timer: Optional[asyncio.TimerHandle] = None
143
- start_next: Optional[asyncio.Future[None]]
144
- task: asyncio.Task[Optional[Tuple[_T, int]]]
145
- done: Union[asyncio.Future[None], asyncio.Task[Optional[Tuple[_T, int]]]]
146
- coro_iter = iter(coro_fns)
147
- this_index = -1
148
- try:
149
- while True:
150
- if coro_fn := next(coro_iter, None):
151
- this_index += 1
152
- exceptions.append(None)
153
- start_next = loop.create_future()
154
- task = loop.create_task(run_one_coro(coro_fn, this_index, start_next))
155
- tasks.add(task)
156
- start_next_timer = (
157
- loop.call_later(delay, _set_result, start_next) if delay else None
158
- )
159
- elif not tasks:
160
- # We exhausted the coro_fns list and no tasks are running
161
- # so we have no winner and all coroutines failed.
162
- break
163
-
164
- while tasks or start_next:
165
- done = await _wait_one(
166
- (*tasks, start_next) if start_next else tasks, loop
167
- )
168
- if done is start_next:
169
- # The current task has failed or the timer has expired
170
- # so we need to start the next task.
171
- start_next = None
172
- if start_next_timer:
173
- start_next_timer.cancel()
174
- start_next_timer = None
175
-
176
- # Break out of the task waiting loop to start the next
177
- # task.
178
- break
179
-
180
- if TYPE_CHECKING:
181
- assert isinstance(done, asyncio.Task)
182
-
183
- tasks.remove(done)
184
- if winner := done.result():
185
- return *winner, exceptions
186
- finally:
187
- # We either have:
188
- # - a winner
189
- # - all tasks failed
190
- # - a KeyboardInterrupt or SystemExit.
191
-
192
- #
193
- # If the timer is still running, cancel it.
194
- #
195
- if start_next_timer:
196
- start_next_timer.cancel()
197
-
198
- #
199
- # If there are any tasks left, cancel them and than
200
- # wait them so they fill the exceptions list.
201
- #
202
- for task in tasks:
203
- task.cancel()
204
- with contextlib.suppress(asyncio.CancelledError):
205
- await task
206
-
207
- return None, None, exceptions
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohappyeyeballs/impl.py DELETED
@@ -1,259 +0,0 @@
1
- """Base implementation."""
2
-
3
- import asyncio
4
- import collections
5
- import contextlib
6
- import functools
7
- import itertools
8
- import socket
9
- from typing import List, Optional, Sequence, Set, Union
10
-
11
- from . import _staggered
12
- from .types import AddrInfoType, SocketFactoryType
13
-
14
-
15
- async def start_connection(
16
- addr_infos: Sequence[AddrInfoType],
17
- *,
18
- local_addr_infos: Optional[Sequence[AddrInfoType]] = None,
19
- happy_eyeballs_delay: Optional[float] = None,
20
- interleave: Optional[int] = None,
21
- loop: Optional[asyncio.AbstractEventLoop] = None,
22
- socket_factory: Optional[SocketFactoryType] = None,
23
- ) -> socket.socket:
24
- """
25
- Connect to a TCP server.
26
-
27
- Create a socket connection to a specified destination. The
28
- destination is specified as a list of AddrInfoType tuples as
29
- returned from getaddrinfo().
30
-
31
- The arguments are, in order:
32
-
33
- * ``family``: the address family, e.g. ``socket.AF_INET`` or
34
- ``socket.AF_INET6``.
35
- * ``type``: the socket type, e.g. ``socket.SOCK_STREAM`` or
36
- ``socket.SOCK_DGRAM``.
37
- * ``proto``: the protocol, e.g. ``socket.IPPROTO_TCP`` or
38
- ``socket.IPPROTO_UDP``.
39
- * ``canonname``: the canonical name of the address, e.g.
40
- ``"www.python.org"``.
41
- * ``sockaddr``: the socket address
42
-
43
- This method is a coroutine which will try to establish the connection
44
- in the background. When successful, the coroutine returns a
45
- socket.
46
-
47
- The expected use case is to use this method in conjunction with
48
- loop.create_connection() to establish a connection to a server::
49
-
50
- socket = await start_connection(addr_infos)
51
- transport, protocol = await loop.create_connection(
52
- MyProtocol, sock=socket, ...)
53
- """
54
- if not (current_loop := loop):
55
- current_loop = asyncio.get_running_loop()
56
-
57
- single_addr_info = len(addr_infos) == 1
58
-
59
- if happy_eyeballs_delay is not None and interleave is None:
60
- # If using happy eyeballs, default to interleave addresses by family
61
- interleave = 1
62
-
63
- if interleave and not single_addr_info:
64
- addr_infos = _interleave_addrinfos(addr_infos, interleave)
65
-
66
- sock: Optional[socket.socket] = None
67
- # uvloop can raise RuntimeError instead of OSError
68
- exceptions: List[List[Union[OSError, RuntimeError]]] = []
69
- if happy_eyeballs_delay is None or single_addr_info:
70
- # not using happy eyeballs
71
- for addrinfo in addr_infos:
72
- try:
73
- sock = await _connect_sock(
74
- current_loop,
75
- exceptions,
76
- addrinfo,
77
- local_addr_infos,
78
- None,
79
- socket_factory,
80
- )
81
- break
82
- except (RuntimeError, OSError):
83
- continue
84
- else: # using happy eyeballs
85
- open_sockets: Set[socket.socket] = set()
86
- try:
87
- sock, _, _ = await _staggered.staggered_race(
88
- (
89
- functools.partial(
90
- _connect_sock,
91
- current_loop,
92
- exceptions,
93
- addrinfo,
94
- local_addr_infos,
95
- open_sockets,
96
- socket_factory,
97
- )
98
- for addrinfo in addr_infos
99
- ),
100
- happy_eyeballs_delay,
101
- )
102
- finally:
103
- # If we have a winner, staggered_race will
104
- # cancel the other tasks, however there is a
105
- # small race window where any of the other tasks
106
- # can be done before they are cancelled which
107
- # will leave the socket open. To avoid this problem
108
- # we pass a set to _connect_sock to keep track of
109
- # the open sockets and close them here if there
110
- # are any "runner up" sockets.
111
- for s in open_sockets:
112
- if s is not sock:
113
- with contextlib.suppress(OSError):
114
- s.close()
115
- open_sockets = None # type: ignore[assignment]
116
-
117
- if sock is None:
118
- all_exceptions = [exc for sub in exceptions for exc in sub]
119
- try:
120
- first_exception = all_exceptions[0]
121
- if len(all_exceptions) == 1:
122
- raise first_exception
123
- else:
124
- # If they all have the same str(), raise one.
125
- model = str(first_exception)
126
- if all(str(exc) == model for exc in all_exceptions):
127
- raise first_exception
128
- # Raise a combined exception so the user can see all
129
- # the various error messages.
130
- msg = "Multiple exceptions: {}".format(
131
- ", ".join(str(exc) for exc in all_exceptions)
132
- )
133
- # If the errno is the same for all exceptions, raise
134
- # an OSError with that errno.
135
- if isinstance(first_exception, OSError):
136
- first_errno = first_exception.errno
137
- if all(
138
- isinstance(exc, OSError) and exc.errno == first_errno
139
- for exc in all_exceptions
140
- ):
141
- raise OSError(first_errno, msg)
142
- elif isinstance(first_exception, RuntimeError) and all(
143
- isinstance(exc, RuntimeError) for exc in all_exceptions
144
- ):
145
- raise RuntimeError(msg)
146
- # We have a mix of OSError and RuntimeError
147
- # so we have to pick which one to raise.
148
- # and we raise OSError for compatibility
149
- raise OSError(msg)
150
- finally:
151
- all_exceptions = None # type: ignore[assignment]
152
- exceptions = None # type: ignore[assignment]
153
-
154
- return sock
155
-
156
-
157
- async def _connect_sock(
158
- loop: asyncio.AbstractEventLoop,
159
- exceptions: List[List[Union[OSError, RuntimeError]]],
160
- addr_info: AddrInfoType,
161
- local_addr_infos: Optional[Sequence[AddrInfoType]] = None,
162
- open_sockets: Optional[Set[socket.socket]] = None,
163
- socket_factory: Optional[SocketFactoryType] = None,
164
- ) -> socket.socket:
165
- """
166
- Create, bind and connect one socket.
167
-
168
- If open_sockets is passed, add the socket to the set of open sockets.
169
- Any failure caught here will remove the socket from the set and close it.
170
-
171
- Callers can use this set to close any sockets that are not the winner
172
- of all staggered tasks in the result there are runner up sockets aka
173
- multiple winners.
174
- """
175
- my_exceptions: List[Union[OSError, RuntimeError]] = []
176
- exceptions.append(my_exceptions)
177
- family, type_, proto, _, address = addr_info
178
- sock = None
179
- try:
180
- if socket_factory is not None:
181
- sock = socket_factory(addr_info)
182
- else:
183
- sock = socket.socket(family=family, type=type_, proto=proto)
184
- if open_sockets is not None:
185
- open_sockets.add(sock)
186
- sock.setblocking(False)
187
- if local_addr_infos is not None:
188
- for lfamily, _, _, _, laddr in local_addr_infos:
189
- # skip local addresses of different family
190
- if lfamily != family:
191
- continue
192
- try:
193
- sock.bind(laddr)
194
- break
195
- except OSError as exc:
196
- msg = (
197
- f"error while attempting to bind on "
198
- f"address {laddr!r}: "
199
- f"{(exc.strerror or '').lower()}"
200
- )
201
- exc = OSError(exc.errno, msg)
202
- my_exceptions.append(exc)
203
- else: # all bind attempts failed
204
- if my_exceptions:
205
- raise my_exceptions.pop()
206
- else:
207
- raise OSError(f"no matching local address with {family=} found")
208
- await loop.sock_connect(sock, address)
209
- return sock
210
- except (RuntimeError, OSError) as exc:
211
- my_exceptions.append(exc)
212
- if sock is not None:
213
- if open_sockets is not None:
214
- open_sockets.remove(sock)
215
- try:
216
- sock.close()
217
- except OSError as e:
218
- my_exceptions.append(e)
219
- raise
220
- raise
221
- except:
222
- if sock is not None:
223
- if open_sockets is not None:
224
- open_sockets.remove(sock)
225
- try:
226
- sock.close()
227
- except OSError as e:
228
- my_exceptions.append(e)
229
- raise
230
- raise
231
- finally:
232
- exceptions = my_exceptions = None # type: ignore[assignment]
233
-
234
-
235
- def _interleave_addrinfos(
236
- addrinfos: Sequence[AddrInfoType], first_address_family_count: int = 1
237
- ) -> List[AddrInfoType]:
238
- """Interleave list of addrinfo tuples by family."""
239
- # Group addresses by family
240
- addrinfos_by_family: collections.OrderedDict[int, List[AddrInfoType]] = (
241
- collections.OrderedDict()
242
- )
243
- for addr in addrinfos:
244
- family = addr[0]
245
- if family not in addrinfos_by_family:
246
- addrinfos_by_family[family] = []
247
- addrinfos_by_family[family].append(addr)
248
- addrinfos_lists = list(addrinfos_by_family.values())
249
-
250
- reordered: List[AddrInfoType] = []
251
- if first_address_family_count > 1:
252
- reordered.extend(addrinfos_lists[0][: first_address_family_count - 1])
253
- del addrinfos_lists[0][: first_address_family_count - 1]
254
- reordered.extend(
255
- a
256
- for a in itertools.chain.from_iterable(itertools.zip_longest(*addrinfos_lists))
257
- if a is not None
258
- )
259
- return reordered
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohappyeyeballs/py.typed DELETED
File without changes
hfenv/Lib/site-packages/aiohappyeyeballs/types.py DELETED
@@ -1,17 +0,0 @@
1
- """Types for aiohappyeyeballs."""
2
-
3
- import socket
4
-
5
- # PY3.9: Import Callable from typing until we drop Python 3.9 support
6
- # https://github.com/python/cpython/issues/87131
7
- from typing import Callable, Tuple, Union
8
-
9
- AddrInfoType = Tuple[
10
- Union[int, socket.AddressFamily],
11
- Union[int, socket.SocketKind],
12
- int,
13
- str,
14
- Tuple, # type: ignore[type-arg]
15
- ]
16
-
17
- SocketFactoryType = Callable[[AddrInfoType], socket.socket]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohappyeyeballs/utils.py DELETED
@@ -1,97 +0,0 @@
1
- """Utility functions for aiohappyeyeballs."""
2
-
3
- import ipaddress
4
- import socket
5
- from typing import Dict, List, Optional, Tuple, Union
6
-
7
- from .types import AddrInfoType
8
-
9
-
10
- def addr_to_addr_infos(
11
- addr: Optional[
12
- Union[Tuple[str, int, int, int], Tuple[str, int, int], Tuple[str, int]]
13
- ],
14
- ) -> Optional[List[AddrInfoType]]:
15
- """Convert an address tuple to a list of addr_info tuples."""
16
- if addr is None:
17
- return None
18
- host = addr[0]
19
- port = addr[1]
20
- is_ipv6 = ":" in host
21
- if is_ipv6:
22
- flowinfo = 0
23
- scopeid = 0
24
- addr_len = len(addr)
25
- if addr_len >= 4:
26
- scopeid = addr[3] # type: ignore[misc]
27
- if addr_len >= 3:
28
- flowinfo = addr[2] # type: ignore[misc]
29
- addr = (host, port, flowinfo, scopeid)
30
- family = socket.AF_INET6
31
- else:
32
- addr = (host, port)
33
- family = socket.AF_INET
34
- return [(family, socket.SOCK_STREAM, socket.IPPROTO_TCP, "", addr)]
35
-
36
-
37
- def pop_addr_infos_interleave(
38
- addr_infos: List[AddrInfoType], interleave: Optional[int] = None
39
- ) -> None:
40
- """
41
- Pop addr_info from the list of addr_infos by family up to interleave times.
42
-
43
- The interleave parameter is used to know how many addr_infos for
44
- each family should be popped of the top of the list.
45
- """
46
- seen: Dict[int, int] = {}
47
- if interleave is None:
48
- interleave = 1
49
- to_remove: List[AddrInfoType] = []
50
- for addr_info in addr_infos:
51
- family = addr_info[0]
52
- if family not in seen:
53
- seen[family] = 0
54
- if seen[family] < interleave:
55
- to_remove.append(addr_info)
56
- seen[family] += 1
57
- for addr_info in to_remove:
58
- addr_infos.remove(addr_info)
59
-
60
-
61
- def _addr_tuple_to_ip_address(
62
- addr: Union[Tuple[str, int], Tuple[str, int, int, int]],
63
- ) -> Union[
64
- Tuple[ipaddress.IPv4Address, int], Tuple[ipaddress.IPv6Address, int, int, int]
65
- ]:
66
- """Convert an address tuple to an IPv4Address."""
67
- return (ipaddress.ip_address(addr[0]), *addr[1:])
68
-
69
-
70
- def remove_addr_infos(
71
- addr_infos: List[AddrInfoType],
72
- addr: Union[Tuple[str, int], Tuple[str, int, int, int]],
73
- ) -> None:
74
- """
75
- Remove an address from the list of addr_infos.
76
-
77
- The addr value is typically the return value of
78
- sock.getpeername().
79
- """
80
- bad_addrs_infos: List[AddrInfoType] = []
81
- for addr_info in addr_infos:
82
- if addr_info[-1] == addr:
83
- bad_addrs_infos.append(addr_info)
84
- if bad_addrs_infos:
85
- for bad_addr_info in bad_addrs_infos:
86
- addr_infos.remove(bad_addr_info)
87
- return
88
- # Slow path in case addr is formatted differently
89
- match_addr = _addr_tuple_to_ip_address(addr)
90
- for addr_info in addr_infos:
91
- if match_addr == _addr_tuple_to_ip_address(addr_info[-1]):
92
- bad_addrs_infos.append(addr_info)
93
- if bad_addrs_infos:
94
- for bad_addr_info in bad_addrs_infos:
95
- addr_infos.remove(bad_addr_info)
96
- return
97
- raise ValueError(f"Address {addr} not found in addr_infos")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/INSTALLER DELETED
@@ -1 +0,0 @@
1
- pip
 
 
hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/METADATA DELETED
@@ -1,262 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: aiohttp
3
- Version: 3.13.1
4
- Summary: Async http client/server framework (asyncio)
5
- Maintainer-email: aiohttp team <[email protected]>
6
- License: Apache-2.0 AND MIT
7
- Project-URL: Homepage, https://github.com/aio-libs/aiohttp
8
- Project-URL: Chat: Matrix, https://matrix.to/#/#aio-libs:matrix.org
9
- Project-URL: Chat: Matrix Space, https://matrix.to/#/#aio-libs-space:matrix.org
10
- Project-URL: CI: GitHub Actions, https://github.com/aio-libs/aiohttp/actions?query=workflow%3ACI
11
- Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/aiohttp
12
- Project-URL: Docs: Changelog, https://docs.aiohttp.org/en/stable/changes.html
13
- Project-URL: Docs: RTD, https://docs.aiohttp.org
14
- Project-URL: GitHub: issues, https://github.com/aio-libs/aiohttp/issues
15
- Project-URL: GitHub: repo, https://github.com/aio-libs/aiohttp
16
- Classifier: Development Status :: 5 - Production/Stable
17
- Classifier: Framework :: AsyncIO
18
- Classifier: Intended Audience :: Developers
19
- Classifier: Operating System :: POSIX
20
- Classifier: Operating System :: MacOS :: MacOS X
21
- Classifier: Operating System :: Microsoft :: Windows
22
- Classifier: Programming Language :: Python
23
- Classifier: Programming Language :: Python :: 3
24
- Classifier: Programming Language :: Python :: 3.9
25
- Classifier: Programming Language :: Python :: 3.10
26
- Classifier: Programming Language :: Python :: 3.11
27
- Classifier: Programming Language :: Python :: 3.12
28
- Classifier: Programming Language :: Python :: 3.13
29
- Classifier: Programming Language :: Python :: 3.14
30
- Classifier: Topic :: Internet :: WWW/HTTP
31
- Requires-Python: >=3.9
32
- Description-Content-Type: text/x-rst
33
- License-File: LICENSE.txt
34
- License-File: vendor/llhttp/LICENSE
35
- Requires-Dist: aiohappyeyeballs>=2.5.0
36
- Requires-Dist: aiosignal>=1.4.0
37
- Requires-Dist: async-timeout<6.0,>=4.0; python_version < "3.11"
38
- Requires-Dist: attrs>=17.3.0
39
- Requires-Dist: frozenlist>=1.1.1
40
- Requires-Dist: multidict<7.0,>=4.5
41
- Requires-Dist: propcache>=0.2.0
42
- Requires-Dist: yarl<2.0,>=1.17.0
43
- Provides-Extra: speedups
44
- Requires-Dist: aiodns>=3.3.0; extra == "speedups"
45
- Requires-Dist: Brotli; platform_python_implementation == "CPython" and extra == "speedups"
46
- Requires-Dist: brotlicffi; platform_python_implementation != "CPython" and extra == "speedups"
47
- Requires-Dist: backports.zstd; (platform_python_implementation == "CPython" and python_version < "3.14") and extra == "speedups"
48
- Dynamic: license-file
49
-
50
- ==================================
51
- Async http client/server framework
52
- ==================================
53
-
54
- .. image:: https://raw.githubusercontent.com/aio-libs/aiohttp/master/docs/aiohttp-plain.svg
55
- :height: 64px
56
- :width: 64px
57
- :alt: aiohttp logo
58
-
59
- |
60
-
61
- .. image:: https://github.com/aio-libs/aiohttp/workflows/CI/badge.svg
62
- :target: https://github.com/aio-libs/aiohttp/actions?query=workflow%3ACI
63
- :alt: GitHub Actions status for master branch
64
-
65
- .. image:: https://codecov.io/gh/aio-libs/aiohttp/branch/master/graph/badge.svg
66
- :target: https://codecov.io/gh/aio-libs/aiohttp
67
- :alt: codecov.io status for master branch
68
-
69
- .. image:: https://badge.fury.io/py/aiohttp.svg
70
- :target: https://pypi.org/project/aiohttp
71
- :alt: Latest PyPI package version
72
-
73
- .. image:: https://img.shields.io/pypi/dm/aiohttp
74
- :target: https://pypistats.org/packages/aiohttp
75
- :alt: Downloads count
76
-
77
- .. image:: https://readthedocs.org/projects/aiohttp/badge/?version=latest
78
- :target: https://docs.aiohttp.org/
79
- :alt: Latest Read The Docs
80
-
81
- .. image:: https://img.shields.io/endpoint?url=https://codspeed.io/badge.json
82
- :target: https://codspeed.io/aio-libs/aiohttp
83
- :alt: Codspeed.io status for aiohttp
84
-
85
-
86
- Key Features
87
- ============
88
-
89
- - Supports both client and server side of HTTP protocol.
90
- - Supports both client and server Web-Sockets out-of-the-box and avoids
91
- Callback Hell.
92
- - Provides Web-server with middleware and pluggable routing.
93
-
94
-
95
- Getting started
96
- ===============
97
-
98
- Client
99
- ------
100
-
101
- To get something from the web:
102
-
103
- .. code-block:: python
104
-
105
- import aiohttp
106
- import asyncio
107
-
108
- async def main():
109
-
110
- async with aiohttp.ClientSession() as session:
111
- async with session.get('http://python.org') as response:
112
-
113
- print("Status:", response.status)
114
- print("Content-type:", response.headers['content-type'])
115
-
116
- html = await response.text()
117
- print("Body:", html[:15], "...")
118
-
119
- asyncio.run(main())
120
-
121
- This prints:
122
-
123
- .. code-block::
124
-
125
- Status: 200
126
- Content-type: text/html; charset=utf-8
127
- Body: <!doctype html> ...
128
-
129
- Coming from `requests <https://requests.readthedocs.io/>`_ ? Read `why we need so many lines <https://aiohttp.readthedocs.io/en/latest/http_request_lifecycle.html>`_.
130
-
131
- Server
132
- ------
133
-
134
- An example using a simple server:
135
-
136
- .. code-block:: python
137
-
138
- # examples/server_simple.py
139
- from aiohttp import web
140
-
141
- async def handle(request):
142
- name = request.match_info.get('name', "Anonymous")
143
- text = "Hello, " + name
144
- return web.Response(text=text)
145
-
146
- async def wshandle(request):
147
- ws = web.WebSocketResponse()
148
- await ws.prepare(request)
149
-
150
- async for msg in ws:
151
- if msg.type == web.WSMsgType.text:
152
- await ws.send_str("Hello, {}".format(msg.data))
153
- elif msg.type == web.WSMsgType.binary:
154
- await ws.send_bytes(msg.data)
155
- elif msg.type == web.WSMsgType.close:
156
- break
157
-
158
- return ws
159
-
160
-
161
- app = web.Application()
162
- app.add_routes([web.get('/', handle),
163
- web.get('/echo', wshandle),
164
- web.get('/{name}', handle)])
165
-
166
- if __name__ == '__main__':
167
- web.run_app(app)
168
-
169
-
170
- Documentation
171
- =============
172
-
173
- https://aiohttp.readthedocs.io/
174
-
175
-
176
- Demos
177
- =====
178
-
179
- https://github.com/aio-libs/aiohttp-demos
180
-
181
-
182
- External links
183
- ==============
184
-
185
- * `Third party libraries
186
- <http://aiohttp.readthedocs.io/en/latest/third_party.html>`_
187
- * `Built with aiohttp
188
- <http://aiohttp.readthedocs.io/en/latest/built_with.html>`_
189
- * `Powered by aiohttp
190
- <http://aiohttp.readthedocs.io/en/latest/powered_by.html>`_
191
-
192
- Feel free to make a Pull Request for adding your link to these pages!
193
-
194
-
195
- Communication channels
196
- ======================
197
-
198
- *aio-libs Discussions*: https://github.com/aio-libs/aiohttp/discussions
199
-
200
- *Matrix*: `#aio-libs:matrix.org <https://matrix.to/#/#aio-libs:matrix.org>`_
201
-
202
- We support `Stack Overflow
203
- <https://stackoverflow.com/questions/tagged/aiohttp>`_.
204
- Please add *aiohttp* tag to your question there.
205
-
206
- Requirements
207
- ============
208
-
209
- - attrs_
210
- - multidict_
211
- - yarl_
212
- - frozenlist_
213
-
214
- Optionally you may install the aiodns_ library (highly recommended for sake of speed).
215
-
216
- .. _aiodns: https://pypi.python.org/pypi/aiodns
217
- .. _attrs: https://github.com/python-attrs/attrs
218
- .. _multidict: https://pypi.python.org/pypi/multidict
219
- .. _frozenlist: https://pypi.org/project/frozenlist/
220
- .. _yarl: https://pypi.python.org/pypi/yarl
221
- .. _async-timeout: https://pypi.python.org/pypi/async_timeout
222
-
223
- License
224
- =======
225
-
226
- ``aiohttp`` is offered under the Apache 2 license.
227
-
228
-
229
- Keepsafe
230
- ========
231
-
232
- The aiohttp community would like to thank Keepsafe
233
- (https://www.getkeepsafe.com) for its support in the early days of
234
- the project.
235
-
236
-
237
- Source code
238
- ===========
239
-
240
- The latest developer version is available in a GitHub repository:
241
- https://github.com/aio-libs/aiohttp
242
-
243
- Benchmarks
244
- ==========
245
-
246
- If you are interested in efficiency, the AsyncIO community maintains a
247
- list of benchmarks on the official wiki:
248
- https://github.com/python/asyncio/wiki/Benchmarks
249
-
250
- --------
251
-
252
- .. 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
253
- :target: https://matrix.to/#/%23aio-libs:matrix.org
254
- :alt: Matrix Room — #aio-libs:matrix.org
255
-
256
- .. 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
257
- :target: https://matrix.to/#/%23aio-libs-space:matrix.org
258
- :alt: Matrix Space — #aio-libs-space:matrix.org
259
-
260
- .. image:: https://insights.linuxfoundation.org/api/badge/health-score?project=aiohttp
261
- :target: https://insights.linuxfoundation.org/project/aiohttp
262
- :alt: LFX Health Score
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/RECORD DELETED
@@ -1,138 +0,0 @@
1
- aiohttp-3.13.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
- aiohttp-3.13.1.dist-info/METADATA,sha256=O7Wr155E150dP8JrIT2pL5yoPj0igHcEy6q-ib1LZQw,8397
3
- aiohttp-3.13.1.dist-info/RECORD,,
4
- aiohttp-3.13.1.dist-info/WHEEL,sha256=JLOMsP7F5qtkAkINx5UnzbFguf8CqZeraV8o04b0I8I,101
5
- aiohttp-3.13.1.dist-info/licenses/LICENSE.txt,sha256=wUk-nxDVnR-6n53ygAjhVX4zz5-6yM4SY6ozk5goA94,601
6
- aiohttp-3.13.1.dist-info/licenses/vendor/llhttp/LICENSE,sha256=bd-mKNt20th7iWi6-61g9RxOyIEA3Xu5b5chbYivCAg,1127
7
- aiohttp-3.13.1.dist-info/top_level.txt,sha256=iv-JIaacmTl-hSho3QmphcKnbRRYx1st47yjz_178Ro,8
8
- aiohttp/.hash/_cparser.pxd.hash,sha256=eJQ2z7M7WoAng7D5ukCXzE3Yx22bLgv1PyOe0YbbQTM,108
9
- aiohttp/.hash/_find_header.pxd.hash,sha256=TxG5w4etbVd6sfm5JWbdf5PW6LnuXRQnlMoFBVGKN2E,112
10
- aiohttp/.hash/_http_parser.pyx.hash,sha256=BVW1BysER_d70F5EtN7j5WVXpDiUW6HwqGhUupTLmXo,112
11
- aiohttp/.hash/_http_writer.pyx.hash,sha256=J4W44iDZQwIyZ0rGO5v-_sKIfPtAwqn99EwgaevQmo8,112
12
- aiohttp/.hash/hdrs.py.hash,sha256=c2N-IMHz4dvAGL36CUyEw15noHE2AkJTeSBy3IxcCec,103
13
- aiohttp/__init__.py,sha256=96LwhY5CJm1AoKm4qD6qr9FPXb0P9nGUNTkHsJaWEP4,8580
14
- aiohttp/__pycache__/__init__.cpython-311.pyc,,
15
- aiohttp/__pycache__/_cookie_helpers.cpython-311.pyc,,
16
- aiohttp/__pycache__/abc.cpython-311.pyc,,
17
- aiohttp/__pycache__/base_protocol.cpython-311.pyc,,
18
- aiohttp/__pycache__/client.cpython-311.pyc,,
19
- aiohttp/__pycache__/client_exceptions.cpython-311.pyc,,
20
- aiohttp/__pycache__/client_middleware_digest_auth.cpython-311.pyc,,
21
- aiohttp/__pycache__/client_middlewares.cpython-311.pyc,,
22
- aiohttp/__pycache__/client_proto.cpython-311.pyc,,
23
- aiohttp/__pycache__/client_reqrep.cpython-311.pyc,,
24
- aiohttp/__pycache__/client_ws.cpython-311.pyc,,
25
- aiohttp/__pycache__/compression_utils.cpython-311.pyc,,
26
- aiohttp/__pycache__/connector.cpython-311.pyc,,
27
- aiohttp/__pycache__/cookiejar.cpython-311.pyc,,
28
- aiohttp/__pycache__/formdata.cpython-311.pyc,,
29
- aiohttp/__pycache__/hdrs.cpython-311.pyc,,
30
- aiohttp/__pycache__/helpers.cpython-311.pyc,,
31
- aiohttp/__pycache__/http.cpython-311.pyc,,
32
- aiohttp/__pycache__/http_exceptions.cpython-311.pyc,,
33
- aiohttp/__pycache__/http_parser.cpython-311.pyc,,
34
- aiohttp/__pycache__/http_websocket.cpython-311.pyc,,
35
- aiohttp/__pycache__/http_writer.cpython-311.pyc,,
36
- aiohttp/__pycache__/log.cpython-311.pyc,,
37
- aiohttp/__pycache__/multipart.cpython-311.pyc,,
38
- aiohttp/__pycache__/payload.cpython-311.pyc,,
39
- aiohttp/__pycache__/payload_streamer.cpython-311.pyc,,
40
- aiohttp/__pycache__/pytest_plugin.cpython-311.pyc,,
41
- aiohttp/__pycache__/resolver.cpython-311.pyc,,
42
- aiohttp/__pycache__/streams.cpython-311.pyc,,
43
- aiohttp/__pycache__/tcp_helpers.cpython-311.pyc,,
44
- aiohttp/__pycache__/test_utils.cpython-311.pyc,,
45
- aiohttp/__pycache__/tracing.cpython-311.pyc,,
46
- aiohttp/__pycache__/typedefs.cpython-311.pyc,,
47
- aiohttp/__pycache__/web.cpython-311.pyc,,
48
- aiohttp/__pycache__/web_app.cpython-311.pyc,,
49
- aiohttp/__pycache__/web_exceptions.cpython-311.pyc,,
50
- aiohttp/__pycache__/web_fileresponse.cpython-311.pyc,,
51
- aiohttp/__pycache__/web_log.cpython-311.pyc,,
52
- aiohttp/__pycache__/web_middlewares.cpython-311.pyc,,
53
- aiohttp/__pycache__/web_protocol.cpython-311.pyc,,
54
- aiohttp/__pycache__/web_request.cpython-311.pyc,,
55
- aiohttp/__pycache__/web_response.cpython-311.pyc,,
56
- aiohttp/__pycache__/web_routedef.cpython-311.pyc,,
57
- aiohttp/__pycache__/web_runner.cpython-311.pyc,,
58
- aiohttp/__pycache__/web_server.cpython-311.pyc,,
59
- aiohttp/__pycache__/web_urldispatcher.cpython-311.pyc,,
60
- aiohttp/__pycache__/web_ws.cpython-311.pyc,,
61
- aiohttp/__pycache__/worker.cpython-311.pyc,,
62
- aiohttp/_cookie_helpers.py,sha256=m-swrbJz7XOs7QNtbc1F_hA9CrlSzQ87GkYe1mn0Pnc,12552
63
- aiohttp/_cparser.pxd,sha256=GP0Y9NqZYQGkJtS81XDzU70e7rRMb34TR7yGMmx5_zs,4453
64
- aiohttp/_find_header.pxd,sha256=BFUSmxhemBtblqxzjzH3x03FfxaWlTyuAIOz8YZ5_nM,70
65
- aiohttp/_headers.pxi,sha256=1MhCe6Un_KI1tpO85HnDfzVO94BhcirLanAOys5FIHA,2090
66
- aiohttp/_http_parser.cp311-win_amd64.pyd,sha256=I_q_Z105jkq-6hYbf-4kYxjEsljBBj_YUB087RGrz-E,246272
67
- aiohttp/_http_parser.pyx,sha256=520dVfHLOy-bKE4pek_-ljlZFqqalTS4h3OlxVDFoSQ,29054
68
- aiohttp/_http_writer.cp311-win_amd64.pyd,sha256=IppnWbZUGwdD1vFhU-zYfvmc4h-CngyMLnnbR3O9xw8,46080
69
- aiohttp/_http_writer.pyx,sha256=WWdOf19QPqScBkifDhJynqPPOAmwB9sKJAO0Kkor4tE,4826
70
- aiohttp/_websocket/.hash/mask.pxd.hash,sha256=TL0gGYyJWxqG8dWwa08B74WGg6-0M6_Breqrff-AiZg,115
71
- aiohttp/_websocket/.hash/mask.pyx.hash,sha256=7xo6f01JaOQmaUNij3dQlOgxkEC1edkAIhwpeOvimLI,115
72
- aiohttp/_websocket/.hash/reader_c.pxd.hash,sha256=RzhqjHN1HadWDeMHVQvaf-XLlGxF6nm5u-HJHGsx2aE,119
73
- aiohttp/_websocket/__init__.py,sha256=R51KWH5kkdtDLb7T-ilztksbfweKCy3t22SgxGtiY-4,45
74
- aiohttp/_websocket/__pycache__/__init__.cpython-311.pyc,,
75
- aiohttp/_websocket/__pycache__/helpers.cpython-311.pyc,,
76
- aiohttp/_websocket/__pycache__/models.cpython-311.pyc,,
77
- aiohttp/_websocket/__pycache__/reader.cpython-311.pyc,,
78
- aiohttp/_websocket/__pycache__/reader_c.cpython-311.pyc,,
79
- aiohttp/_websocket/__pycache__/reader_py.cpython-311.pyc,,
80
- aiohttp/_websocket/__pycache__/writer.cpython-311.pyc,,
81
- aiohttp/_websocket/helpers.py,sha256=amqvDhoAKAi8ptB4qUNuQhkaOn-4JxSh_VLAqytmEfw,5185
82
- aiohttp/_websocket/mask.cp311-win_amd64.pyd,sha256=Oo-QBwTm1VSN-qDogX4R2CCSlNRhvZbdOZTdCaAo6Gs,36352
83
- aiohttp/_websocket/mask.pxd,sha256=41TdSZvhcbYSW_Vrw7bF4r_yoor2njtdaZ3bmvK6-jw,115
84
- aiohttp/_websocket/mask.pyx,sha256=Ro7dOOv43HAAqNMz3xyCA11ppcn-vARIvjycStTEYww,1445
85
- aiohttp/_websocket/models.py,sha256=Pz8qvnU43VUCNZcY4g03VwTsHOsb_jSN8iG69xMAc_A,2205
86
- aiohttp/_websocket/reader.py,sha256=1r0cJ-jdFgbSrC6-jI0zjEA1CppzoUn8u_wiebrVVO0,1061
87
- aiohttp/_websocket/reader_c.cp311-win_amd64.pyd,sha256=-TH6Q1xJua0B6rwOYp74EMfygEM2HSMR3t08r713S7c,146432
88
- aiohttp/_websocket/reader_c.pxd,sha256=HNOl4gRWtNBNEYNbK9PGOfFEQwUqJGexBbDKB_20sl0,2735
89
- aiohttp/_websocket/reader_c.py,sha256=aC2X9wkXxZqKCbonWdJQTE8SofT_0JGlhKjy8L2kt_A,19267
90
- aiohttp/_websocket/reader_py.py,sha256=aC2X9wkXxZqKCbonWdJQTE8SofT_0JGlhKjy8L2kt_A,19267
91
- aiohttp/_websocket/writer.py,sha256=Y14_nUYf01ZUkLM1F0-bpMVuVnL0pPAxlOXkzt0jmnk,7317
92
- aiohttp/abc.py,sha256=01N6Y63o2bBC8Vi0ZjO6Jw0V9kXZfy3egwzKFW-tv9c,7417
93
- aiohttp/base_protocol.py,sha256=8vNIv6QV_SDCW-8tfhlyxSwiBD7dAiMTqJI1GI8RG5s,3125
94
- aiohttp/client.py,sha256=qc2GNgT2eQGIHjK1uz0jtEjgh7gcgfYCZonWUr39zGI,60298
95
- aiohttp/client_exceptions.py,sha256=sJcuvYKaB2nwuSdP7k18y3wc74aU0xAzdJikzzesrPE,11788
96
- aiohttp/client_middleware_digest_auth.py,sha256=aaScQeENLhdqCtLuKjBXcbA49hlU_o0cFmA93kncWo8,17564
97
- aiohttp/client_middlewares.py,sha256=FEVIXFkQ58n5bhK4BGEqqDCWnDh-GNJmWq20I5Yt6SU,1973
98
- aiohttp/client_proto.py,sha256=rfbg8nUsfpCMM_zGpQygiFn8nzSdBI-731rmXVGHwLc,12469
99
- aiohttp/client_reqrep.py,sha256=BUrqo2BJbrNazrIJr-ZgMLRTvE2fSON3zPQSq1dfgfU,54927
100
- aiohttp/client_ws.py,sha256=9DraHuupuJcT7NOgyeGml8SBr7V5D5ID5-piY1fQMdA,15537
101
- aiohttp/compression_utils.py,sha256=HQ23vooB07ltsbBif9GJg8mk353YG4II1AHJku1kfME,9905
102
- aiohttp/connector.py,sha256=S8kEYSd4Dg0IsGSKGXAn8oYTlhbxy6GIkh3VURh0JgY,70290
103
- aiohttp/cookiejar.py,sha256=C2fVzQGFieFP9mFDTOvfEc6fb5kPS2ijL2tFKAUW7Sw,19444
104
- aiohttp/formdata.py,sha256=sz3VaTHVk11z_5G1LaDhUwrONJ8zRAGlZGg3hcCApzA,6563
105
- aiohttp/hdrs.py,sha256=7htmhgZyE9HqWbPpxHU0r7kAIdT2kpOXQa1AadDh2W8,5232
106
- aiohttp/helpers.py,sha256=1tXIvGSRWJD9wsS7GUVHLfJEsDM_XigurpgjxajkH0g,31615
107
- aiohttp/http.py,sha256=DGKcwDbgIMpasv7s2jeKCRuixyj7W-RIrihRFjj0xcY,1914
108
- aiohttp/http_exceptions.py,sha256=V6NpG-RTeEKetaZBW4OUP2-BUVgj8vvx4ueP6VpEfTs,3072
109
- aiohttp/http_parser.py,sha256=36BWMNVMO3z0e6WFMHEBmJIIX6KxoEdzrhERrNJKXZc,38442
110
- aiohttp/http_websocket.py,sha256=b9kBmxPLPFQP_nu_sMhIMIeqDOm0ug8G4prbrhEMHZ0,878
111
- aiohttp/http_writer.py,sha256=jA_aJW7JdH1mihrIYdJcLOHVKQ4Agg3g993v50eITBs,12824
112
- aiohttp/log.py,sha256=zYUTvXsMQ9Sz1yNN8kXwd5Qxu49a1FzjZ_wQqriEc8M,333
113
- aiohttp/multipart.py,sha256=7FwaRjjjoJBtT557k6S7PgIemPeVM2xOqreH3Aramoo,41185
114
- aiohttp/payload.py,sha256=Xbs_2l0wDaThFG-ehNlvzQUkHuBPpc5FxpJnJa3ZPcs,41994
115
- aiohttp/payload_streamer.py,sha256=K0iV85iW0vEG3rDkcopruidspynzQvrwW8mJvgPHisg,2289
116
- aiohttp/py.typed,sha256=3VVwXUAWVEVX7sDwyYDnW5ZdBC9_Z9AJAFfLCleUW0k,8
117
- aiohttp/pytest_plugin.py,sha256=ymhjbYHz2Kf0ZU_4Ly0hAp73dhsgrQIzJDo4Aot3_TI,13345
118
- aiohttp/resolver.py,sha256=ePJgZAN5EQY4YuFiuZmVZM6p3UuzJ4qMWM1fu8DJ2Fc,10305
119
- aiohttp/streams.py,sha256=I47CKcX97ibo0cUW4wc3Wee47HI7Gs1U7VcV4loPli0,23336
120
- aiohttp/tcp_helpers.py,sha256=K-hhGh3jd6qCEnHJo8LvFyfJwBjh99UKI7A0aSRVhj4,998
121
- aiohttp/test_utils.py,sha256=zFWAb-rPz1fWRUHnrjnfUH7ORlfIgZ2UZbEGe4YTa9I,23790
122
- aiohttp/tracing.py,sha256=Kb-N32aMmYqC2Yc82NV6l0mIcavSQst1BHSFj94Apl0,15013
123
- aiohttp/typedefs.py,sha256=Sx5v2yUyLu8nbabqtJRWj1M1_uW0IZACu78uYD7LBy0,1726
124
- aiohttp/web.py,sha256=BQ96NEuTWikKGN5NnnTHjFLt07GUMWvvn42iFuIS3Mg,18444
125
- aiohttp/web_app.py,sha256=WwEEzUg34j81kK2dPFnhlqx_z6nGjnHZDweZJF65pKc,20072
126
- aiohttp/web_exceptions.py,sha256=itNRhCMDJFhnMWftr5SyTsoqh-i0n9rzTj0sjcAEUjo,10812
127
- aiohttp/web_fileresponse.py,sha256=QIIbcIruCgfYrc8ZDvOgNlZzLbAagwXA9FrNI7NKNPY,16780
128
- aiohttp/web_log.py,sha256=G5ugloW9noUxPft0SmVWOXw30MviL6rqZc3XrKN_T1U,8081
129
- aiohttp/web_middlewares.py,sha256=mM2-R8eaV2r6Mi9Zc2bDG8QnhE9h0IzPvtDX_fkKR5s,4286
130
- aiohttp/web_protocol.py,sha256=x1GlB6jqPou3QZyMKpKVLdyETwUTIJ-AbesXDEWxKKY,27807
131
- aiohttp/web_request.py,sha256=0oHeOBD0KgXEKhNDLGs1-hDUwgpdPe7mP97mKqSgclU,30749
132
- aiohttp/web_response.py,sha256=WJVumt-P0uMaFSbef_owvOXpq90E4VMl3RvSOWh0nJE,30197
133
- aiohttp/web_routedef.py,sha256=XC10f57Q36JmYaaQqrecsyfIxHMepCKaKkBEB7hLzJI,6324
134
- aiohttp/web_runner.py,sha256=zyVYVzCgnopiGwnIhKlNZHtLV_IYQ9aC-Vm43j_HRoA,12185
135
- aiohttp/web_server.py,sha256=RZSWt_Mj-Lu89bFYsr_T3rjxW2VNN7PHNJ2mvv2qELs,2972
136
- aiohttp/web_urldispatcher.py,sha256=Y5hoJvDuq7MS2NrWboCrx3zgfyLsLK4HyDpZDDq49vM,45508
137
- aiohttp/web_ws.py,sha256=VXHGDtfy_jrBByLvuhnL-A_PmpcoT_ZLyYdj_EcL3Hw,23370
138
- aiohttp/worker.py,sha256=N_9iyS_tR9U0pf3BRaIH2nzA1pjN1Xfi2gGmRrMhnho,8407
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/WHEEL DELETED
@@ -1,5 +0,0 @@
1
- Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
3
- Root-Is-Purelib: false
4
- Tag: cp311-cp311-win_amd64
5
-
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/licenses/LICENSE.txt DELETED
@@ -1,13 +0,0 @@
1
- Copyright aio-libs contributors.
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
6
-
7
- http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/licenses/vendor/llhttp/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- This software is licensed under the MIT License.
2
-
3
- Copyright Fedor Indutny, 2018.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a
6
- copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to permit
10
- persons to whom the Software is furnished to do so, subject to the
11
- following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included
14
- in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
19
- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
20
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
21
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
22
- USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohttp-3.13.1.dist-info/top_level.txt DELETED
@@ -1 +0,0 @@
1
- aiohttp
 
 
hfenv/Lib/site-packages/aiohttp/.hash/_cparser.pxd.hash DELETED
@@ -1 +0,0 @@
1
- 18fd18f4da996101a426d4bcd570f353bd1eeeb44c6f7e1347bc86326c79ff3b *D:/a/aiohttp/aiohttp/aiohttp/_cparser.pxd
 
 
hfenv/Lib/site-packages/aiohttp/.hash/_find_header.pxd.hash DELETED
@@ -1 +0,0 @@
1
- 0455129b185e981b5b96ac738f31f7c74dc57f1696953cae0083b3f18679fe73 *D:/a/aiohttp/aiohttp/aiohttp/_find_header.pxd
 
 
hfenv/Lib/site-packages/aiohttp/.hash/_http_parser.pyx.hash DELETED
@@ -1 +0,0 @@
1
- e76d1d55f1cb3b2f9b284e297a4ffe96395916aa9a9534b88773a5c550c5a124 *D:/a/aiohttp/aiohttp/aiohttp/_http_parser.pyx
 
 
hfenv/Lib/site-packages/aiohttp/.hash/_http_writer.pyx.hash DELETED
@@ -1 +0,0 @@
1
- 59674e7f5f503ea49c06489f0e12729ea3cf3809b007db0a2403b42a4a2be2d1 *D:/a/aiohttp/aiohttp/aiohttp/_http_writer.pyx
 
 
hfenv/Lib/site-packages/aiohttp/.hash/hdrs.py.hash DELETED
@@ -1 +0,0 @@
1
- ee1b6686067213d1ea59b3e9c47534afb90021d4f692939741ad4069d0e1d96f *D:/a/aiohttp/aiohttp/aiohttp/hdrs.py
 
 
hfenv/Lib/site-packages/aiohttp/__init__.py DELETED
@@ -1,278 +0,0 @@
1
- __version__ = "3.13.1"
2
-
3
- from typing import TYPE_CHECKING, Tuple
4
-
5
- from . import hdrs as hdrs
6
- from .client import (
7
- BaseConnector,
8
- ClientConnectionError,
9
- ClientConnectionResetError,
10
- ClientConnectorCertificateError,
11
- ClientConnectorDNSError,
12
- ClientConnectorError,
13
- ClientConnectorSSLError,
14
- ClientError,
15
- ClientHttpProxyError,
16
- ClientOSError,
17
- ClientPayloadError,
18
- ClientProxyConnectionError,
19
- ClientRequest,
20
- ClientResponse,
21
- ClientResponseError,
22
- ClientSession,
23
- ClientSSLError,
24
- ClientTimeout,
25
- ClientWebSocketResponse,
26
- ClientWSTimeout,
27
- ConnectionTimeoutError,
28
- ContentTypeError,
29
- Fingerprint,
30
- InvalidURL,
31
- InvalidUrlClientError,
32
- InvalidUrlRedirectClientError,
33
- NamedPipeConnector,
34
- NonHttpUrlClientError,
35
- NonHttpUrlRedirectClientError,
36
- RedirectClientError,
37
- RequestInfo,
38
- ServerConnectionError,
39
- ServerDisconnectedError,
40
- ServerFingerprintMismatch,
41
- ServerTimeoutError,
42
- SocketTimeoutError,
43
- TCPConnector,
44
- TooManyRedirects,
45
- UnixConnector,
46
- WSMessageTypeError,
47
- WSServerHandshakeError,
48
- request,
49
- )
50
- from .client_middleware_digest_auth import DigestAuthMiddleware
51
- from .client_middlewares import ClientHandlerType, ClientMiddlewareType
52
- from .compression_utils import set_zlib_backend
53
- from .connector import (
54
- AddrInfoType as AddrInfoType,
55
- SocketFactoryType as SocketFactoryType,
56
- )
57
- from .cookiejar import CookieJar as CookieJar, DummyCookieJar as DummyCookieJar
58
- from .formdata import FormData as FormData
59
- from .helpers import BasicAuth, ChainMapProxy, ETag
60
- from .http import (
61
- HttpVersion as HttpVersion,
62
- HttpVersion10 as HttpVersion10,
63
- HttpVersion11 as HttpVersion11,
64
- WebSocketError as WebSocketError,
65
- WSCloseCode as WSCloseCode,
66
- WSMessage as WSMessage,
67
- WSMsgType as WSMsgType,
68
- )
69
- from .multipart import (
70
- BadContentDispositionHeader as BadContentDispositionHeader,
71
- BadContentDispositionParam as BadContentDispositionParam,
72
- BodyPartReader as BodyPartReader,
73
- MultipartReader as MultipartReader,
74
- MultipartWriter as MultipartWriter,
75
- content_disposition_filename as content_disposition_filename,
76
- parse_content_disposition as parse_content_disposition,
77
- )
78
- from .payload import (
79
- PAYLOAD_REGISTRY as PAYLOAD_REGISTRY,
80
- AsyncIterablePayload as AsyncIterablePayload,
81
- BufferedReaderPayload as BufferedReaderPayload,
82
- BytesIOPayload as BytesIOPayload,
83
- BytesPayload as BytesPayload,
84
- IOBasePayload as IOBasePayload,
85
- JsonPayload as JsonPayload,
86
- Payload as Payload,
87
- StringIOPayload as StringIOPayload,
88
- StringPayload as StringPayload,
89
- TextIOPayload as TextIOPayload,
90
- get_payload as get_payload,
91
- payload_type as payload_type,
92
- )
93
- from .payload_streamer import streamer as streamer
94
- from .resolver import (
95
- AsyncResolver as AsyncResolver,
96
- DefaultResolver as DefaultResolver,
97
- ThreadedResolver as ThreadedResolver,
98
- )
99
- from .streams import (
100
- EMPTY_PAYLOAD as EMPTY_PAYLOAD,
101
- DataQueue as DataQueue,
102
- EofStream as EofStream,
103
- FlowControlDataQueue as FlowControlDataQueue,
104
- StreamReader as StreamReader,
105
- )
106
- from .tracing import (
107
- TraceConfig as TraceConfig,
108
- TraceConnectionCreateEndParams as TraceConnectionCreateEndParams,
109
- TraceConnectionCreateStartParams as TraceConnectionCreateStartParams,
110
- TraceConnectionQueuedEndParams as TraceConnectionQueuedEndParams,
111
- TraceConnectionQueuedStartParams as TraceConnectionQueuedStartParams,
112
- TraceConnectionReuseconnParams as TraceConnectionReuseconnParams,
113
- TraceDnsCacheHitParams as TraceDnsCacheHitParams,
114
- TraceDnsCacheMissParams as TraceDnsCacheMissParams,
115
- TraceDnsResolveHostEndParams as TraceDnsResolveHostEndParams,
116
- TraceDnsResolveHostStartParams as TraceDnsResolveHostStartParams,
117
- TraceRequestChunkSentParams as TraceRequestChunkSentParams,
118
- TraceRequestEndParams as TraceRequestEndParams,
119
- TraceRequestExceptionParams as TraceRequestExceptionParams,
120
- TraceRequestHeadersSentParams as TraceRequestHeadersSentParams,
121
- TraceRequestRedirectParams as TraceRequestRedirectParams,
122
- TraceRequestStartParams as TraceRequestStartParams,
123
- TraceResponseChunkReceivedParams as TraceResponseChunkReceivedParams,
124
- )
125
-
126
- if TYPE_CHECKING:
127
- # At runtime these are lazy-loaded at the bottom of the file.
128
- from .worker import (
129
- GunicornUVLoopWebWorker as GunicornUVLoopWebWorker,
130
- GunicornWebWorker as GunicornWebWorker,
131
- )
132
-
133
- __all__: Tuple[str, ...] = (
134
- "hdrs",
135
- # client
136
- "AddrInfoType",
137
- "BaseConnector",
138
- "ClientConnectionError",
139
- "ClientConnectionResetError",
140
- "ClientConnectorCertificateError",
141
- "ClientConnectorDNSError",
142
- "ClientConnectorError",
143
- "ClientConnectorSSLError",
144
- "ClientError",
145
- "ClientHttpProxyError",
146
- "ClientOSError",
147
- "ClientPayloadError",
148
- "ClientProxyConnectionError",
149
- "ClientResponse",
150
- "ClientRequest",
151
- "ClientResponseError",
152
- "ClientSSLError",
153
- "ClientSession",
154
- "ClientTimeout",
155
- "ClientWebSocketResponse",
156
- "ClientWSTimeout",
157
- "ConnectionTimeoutError",
158
- "ContentTypeError",
159
- "Fingerprint",
160
- "FlowControlDataQueue",
161
- "InvalidURL",
162
- "InvalidUrlClientError",
163
- "InvalidUrlRedirectClientError",
164
- "NonHttpUrlClientError",
165
- "NonHttpUrlRedirectClientError",
166
- "RedirectClientError",
167
- "RequestInfo",
168
- "ServerConnectionError",
169
- "ServerDisconnectedError",
170
- "ServerFingerprintMismatch",
171
- "ServerTimeoutError",
172
- "SocketFactoryType",
173
- "SocketTimeoutError",
174
- "TCPConnector",
175
- "TooManyRedirects",
176
- "UnixConnector",
177
- "NamedPipeConnector",
178
- "WSServerHandshakeError",
179
- "request",
180
- # client_middleware
181
- "ClientMiddlewareType",
182
- "ClientHandlerType",
183
- # cookiejar
184
- "CookieJar",
185
- "DummyCookieJar",
186
- # formdata
187
- "FormData",
188
- # helpers
189
- "BasicAuth",
190
- "ChainMapProxy",
191
- "DigestAuthMiddleware",
192
- "ETag",
193
- "set_zlib_backend",
194
- # http
195
- "HttpVersion",
196
- "HttpVersion10",
197
- "HttpVersion11",
198
- "WSMsgType",
199
- "WSCloseCode",
200
- "WSMessage",
201
- "WebSocketError",
202
- # multipart
203
- "BadContentDispositionHeader",
204
- "BadContentDispositionParam",
205
- "BodyPartReader",
206
- "MultipartReader",
207
- "MultipartWriter",
208
- "content_disposition_filename",
209
- "parse_content_disposition",
210
- # payload
211
- "AsyncIterablePayload",
212
- "BufferedReaderPayload",
213
- "BytesIOPayload",
214
- "BytesPayload",
215
- "IOBasePayload",
216
- "JsonPayload",
217
- "PAYLOAD_REGISTRY",
218
- "Payload",
219
- "StringIOPayload",
220
- "StringPayload",
221
- "TextIOPayload",
222
- "get_payload",
223
- "payload_type",
224
- # payload_streamer
225
- "streamer",
226
- # resolver
227
- "AsyncResolver",
228
- "DefaultResolver",
229
- "ThreadedResolver",
230
- # streams
231
- "DataQueue",
232
- "EMPTY_PAYLOAD",
233
- "EofStream",
234
- "StreamReader",
235
- # tracing
236
- "TraceConfig",
237
- "TraceConnectionCreateEndParams",
238
- "TraceConnectionCreateStartParams",
239
- "TraceConnectionQueuedEndParams",
240
- "TraceConnectionQueuedStartParams",
241
- "TraceConnectionReuseconnParams",
242
- "TraceDnsCacheHitParams",
243
- "TraceDnsCacheMissParams",
244
- "TraceDnsResolveHostEndParams",
245
- "TraceDnsResolveHostStartParams",
246
- "TraceRequestChunkSentParams",
247
- "TraceRequestEndParams",
248
- "TraceRequestExceptionParams",
249
- "TraceRequestHeadersSentParams",
250
- "TraceRequestRedirectParams",
251
- "TraceRequestStartParams",
252
- "TraceResponseChunkReceivedParams",
253
- # workers (imported lazily with __getattr__)
254
- "GunicornUVLoopWebWorker",
255
- "GunicornWebWorker",
256
- "WSMessageTypeError",
257
- )
258
-
259
-
260
- def __dir__() -> Tuple[str, ...]:
261
- return __all__ + ("__doc__",)
262
-
263
-
264
- def __getattr__(name: str) -> object:
265
- global GunicornUVLoopWebWorker, GunicornWebWorker
266
-
267
- # Importing gunicorn takes a long time (>100ms), so only import if actually needed.
268
- if name in ("GunicornUVLoopWebWorker", "GunicornWebWorker"):
269
- try:
270
- from .worker import GunicornUVLoopWebWorker as guv, GunicornWebWorker as gw
271
- except ImportError:
272
- return None
273
-
274
- GunicornUVLoopWebWorker = guv # type: ignore[misc]
275
- GunicornWebWorker = gw # type: ignore[misc]
276
- return guv if name == "GunicornUVLoopWebWorker" else gw
277
-
278
- raise AttributeError(f"module {__name__} has no attribute {name}")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hfenv/Lib/site-packages/aiohttp/__pycache__/__init__.cpython-311.pyc DELETED
Binary file (6.66 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/_cookie_helpers.cpython-311.pyc DELETED
Binary file (10.7 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/abc.cpython-311.pyc DELETED
Binary file (14.2 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/base_protocol.cpython-311.pyc DELETED
Binary file (4.95 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/client.cpython-311.pyc DELETED
Binary file (61.3 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/client_exceptions.cpython-311.pyc DELETED
Binary file (20 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/client_middleware_digest_auth.cpython-311.pyc DELETED
Binary file (18.2 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/client_middlewares.cpython-311.pyc DELETED
Binary file (2.56 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/client_proto.cpython-311.pyc DELETED
Binary file (14.8 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/client_reqrep.cpython-311.pyc DELETED
Binary file (67.9 kB)
 
hfenv/Lib/site-packages/aiohttp/__pycache__/client_ws.cpython-311.pyc DELETED
Binary file (23.6 kB)