mygitphase commited on
Commit
b5c2964
·
verified ·
1 Parent(s): 432f678

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. venv/lib/python3.12/site-packages/annotated_types-0.7.0.dist-info/INSTALLER +1 -0
  2. venv/lib/python3.12/site-packages/annotated_types-0.7.0.dist-info/METADATA +295 -0
  3. venv/lib/python3.12/site-packages/annotated_types-0.7.0.dist-info/RECORD +10 -0
  4. venv/lib/python3.12/site-packages/annotated_types-0.7.0.dist-info/WHEEL +4 -0
  5. venv/lib/python3.12/site-packages/annotated_types/__init__.py +432 -0
  6. venv/lib/python3.12/site-packages/annotated_types/py.typed +0 -0
  7. venv/lib/python3.12/site-packages/annotated_types/test_cases.py +151 -0
  8. venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/INSTALLER +1 -0
  9. venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/METADATA +105 -0
  10. venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/RECORD +92 -0
  11. venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/WHEEL +5 -0
  12. venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/entry_points.txt +2 -0
  13. venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/top_level.txt +1 -0
  14. venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/INSTALLER +1 -0
  15. venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/METADATA +78 -0
  16. venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/RECORD +14 -0
  17. venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/WHEEL +5 -0
  18. venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/top_level.txt +1 -0
  19. venv/lib/python3.12/site-packages/certifi/__init__.py +4 -0
  20. venv/lib/python3.12/site-packages/certifi/__main__.py +12 -0
  21. venv/lib/python3.12/site-packages/certifi/cacert.pem +0 -0
  22. venv/lib/python3.12/site-packages/certifi/core.py +83 -0
  23. venv/lib/python3.12/site-packages/certifi/py.typed +0 -0
  24. venv/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/INSTALLER +1 -0
  25. venv/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/METADATA +625 -0
  26. venv/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/RECORD +68 -0
  27. venv/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/WHEEL +4 -0
  28. venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/INSTALLER +1 -0
  29. venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/METADATA +203 -0
  30. venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/RECORD +54 -0
  31. venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/WHEEL +4 -0
  32. venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/entry_points.txt +2 -0
  33. venv/lib/python3.12/site-packages/httpx/__init__.py +105 -0
  34. venv/lib/python3.12/site-packages/httpx/__version__.py +3 -0
  35. venv/lib/python3.12/site-packages/httpx/_config.py +248 -0
  36. venv/lib/python3.12/site-packages/httpx/_models.py +1277 -0
  37. venv/lib/python3.12/site-packages/httpx/_utils.py +242 -0
  38. venv/lib/python3.12/site-packages/httpx/py.typed +0 -0
  39. venv/lib/python3.12/site-packages/pip-24.0.dist-info/AUTHORS.txt +760 -0
  40. venv/lib/python3.12/site-packages/pip-24.0.dist-info/INSTALLER +1 -0
  41. venv/lib/python3.12/site-packages/pip-24.0.dist-info/LICENSE.txt +20 -0
  42. venv/lib/python3.12/site-packages/pip-24.0.dist-info/METADATA +88 -0
  43. venv/lib/python3.12/site-packages/pip-24.0.dist-info/RECORD +1005 -0
  44. venv/lib/python3.12/site-packages/pip-24.0.dist-info/REQUESTED +0 -0
  45. venv/lib/python3.12/site-packages/pip-24.0.dist-info/WHEEL +5 -0
  46. venv/lib/python3.12/site-packages/pip-24.0.dist-info/entry_points.txt +4 -0
  47. venv/lib/python3.12/site-packages/pip-24.0.dist-info/top_level.txt +1 -0
  48. venv/lib/python3.12/site-packages/pydantic/_migration.py +316 -0
  49. venv/lib/python3.12/site-packages/pydantic/aliases.py +135 -0
  50. venv/lib/python3.12/site-packages/pydantic/config.py +1296 -0
venv/lib/python3.12/site-packages/annotated_types-0.7.0.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
venv/lib/python3.12/site-packages/annotated_types-0.7.0.dist-info/METADATA ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.3
2
+ Name: annotated-types
3
+ Version: 0.7.0
4
+ Summary: Reusable constraint types to use with typing.Annotated
5
+ Project-URL: Homepage, https://github.com/annotated-types/annotated-types
6
+ Project-URL: Source, https://github.com/annotated-types/annotated-types
7
+ Project-URL: Changelog, https://github.com/annotated-types/annotated-types/releases
8
+ Author-email: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>, Samuel Colvin <s@muelcolvin.com>, Zac Hatfield-Dodds <zac@zhd.dev>
9
+ License-File: LICENSE
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Environment :: MacOS X
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Information Technology
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Operating System :: Unix
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.8
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
+ Classifier: Typing :: Typed
26
+ Requires-Python: >=3.8
27
+ Requires-Dist: typing-extensions>=4.0.0; python_version < '3.9'
28
+ Description-Content-Type: text/markdown
29
+
30
+ # annotated-types
31
+
32
+ [![CI](https://github.com/annotated-types/annotated-types/workflows/CI/badge.svg?event=push)](https://github.com/annotated-types/annotated-types/actions?query=event%3Apush+branch%3Amain+workflow%3ACI)
33
+ [![pypi](https://img.shields.io/pypi/v/annotated-types.svg)](https://pypi.python.org/pypi/annotated-types)
34
+ [![versions](https://img.shields.io/pypi/pyversions/annotated-types.svg)](https://github.com/annotated-types/annotated-types)
35
+ [![license](https://img.shields.io/github/license/annotated-types/annotated-types.svg)](https://github.com/annotated-types/annotated-types/blob/main/LICENSE)
36
+
37
+ [PEP-593](https://peps.python.org/pep-0593/) added `typing.Annotated` as a way of
38
+ adding context-specific metadata to existing types, and specifies that
39
+ `Annotated[T, x]` _should_ be treated as `T` by any tool or library without special
40
+ logic for `x`.
41
+
42
+ This package provides metadata objects which can be used to represent common
43
+ constraints such as upper and lower bounds on scalar values and collection sizes,
44
+ a `Predicate` marker for runtime checks, and
45
+ descriptions of how we intend these metadata to be interpreted. In some cases,
46
+ we also note alternative representations which do not require this package.
47
+
48
+ ## Install
49
+
50
+ ```bash
51
+ pip install annotated-types
52
+ ```
53
+
54
+ ## Examples
55
+
56
+ ```python
57
+ from typing import Annotated
58
+ from annotated_types import Gt, Len, Predicate
59
+
60
+ class MyClass:
61
+ age: Annotated[int, Gt(18)] # Valid: 19, 20, ...
62
+ # Invalid: 17, 18, "19", 19.0, ...
63
+ factors: list[Annotated[int, Predicate(is_prime)]] # Valid: 2, 3, 5, 7, 11, ...
64
+ # Invalid: 4, 8, -2, 5.0, "prime", ...
65
+
66
+ my_list: Annotated[list[int], Len(0, 10)] # Valid: [], [10, 20, 30, 40, 50]
67
+ # Invalid: (1, 2), ["abc"], [0] * 20
68
+ ```
69
+
70
+ ## Documentation
71
+
72
+ _While `annotated-types` avoids runtime checks for performance, users should not
73
+ construct invalid combinations such as `MultipleOf("non-numeric")` or `Annotated[int, Len(3)]`.
74
+ Downstream implementors may choose to raise an error, emit a warning, silently ignore
75
+ a metadata item, etc., if the metadata objects described below are used with an
76
+ incompatible type - or for any other reason!_
77
+
78
+ ### Gt, Ge, Lt, Le
79
+
80
+ Express inclusive and/or exclusive bounds on orderable values - which may be numbers,
81
+ dates, times, strings, sets, etc. Note that the boundary value need not be of the
82
+ same type that was annotated, so long as they can be compared: `Annotated[int, Gt(1.5)]`
83
+ is fine, for example, and implies that the value is an integer x such that `x > 1.5`.
84
+
85
+ We suggest that implementors may also interpret `functools.partial(operator.le, 1.5)`
86
+ as being equivalent to `Gt(1.5)`, for users who wish to avoid a runtime dependency on
87
+ the `annotated-types` package.
88
+
89
+ To be explicit, these types have the following meanings:
90
+
91
+ * `Gt(x)` - value must be "Greater Than" `x` - equivalent to exclusive minimum
92
+ * `Ge(x)` - value must be "Greater than or Equal" to `x` - equivalent to inclusive minimum
93
+ * `Lt(x)` - value must be "Less Than" `x` - equivalent to exclusive maximum
94
+ * `Le(x)` - value must be "Less than or Equal" to `x` - equivalent to inclusive maximum
95
+
96
+ ### Interval
97
+
98
+ `Interval(gt, ge, lt, le)` allows you to specify an upper and lower bound with a single
99
+ metadata object. `None` attributes should be ignored, and non-`None` attributes
100
+ treated as per the single bounds above.
101
+
102
+ ### MultipleOf
103
+
104
+ `MultipleOf(multiple_of=x)` might be interpreted in two ways:
105
+
106
+ 1. Python semantics, implying `value % multiple_of == 0`, or
107
+ 2. [JSONschema semantics](https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.2.1),
108
+ where `int(value / multiple_of) == value / multiple_of`.
109
+
110
+ We encourage users to be aware of these two common interpretations and their
111
+ distinct behaviours, especially since very large or non-integer numbers make
112
+ it easy to cause silent data corruption due to floating-point imprecision.
113
+
114
+ We encourage libraries to carefully document which interpretation they implement.
115
+
116
+ ### MinLen, MaxLen, Len
117
+
118
+ `Len()` implies that `min_length <= len(value) <= max_length` - lower and upper bounds are inclusive.
119
+
120
+ As well as `Len()` which can optionally include upper and lower bounds, we also
121
+ provide `MinLen(x)` and `MaxLen(y)` which are equivalent to `Len(min_length=x)`
122
+ and `Len(max_length=y)` respectively.
123
+
124
+ `Len`, `MinLen`, and `MaxLen` may be used with any type which supports `len(value)`.
125
+
126
+ Examples of usage:
127
+
128
+ * `Annotated[list, MaxLen(10)]` (or `Annotated[list, Len(max_length=10))`) - list must have a length of 10 or less
129
+ * `Annotated[str, MaxLen(10)]` - string must have a length of 10 or less
130
+ * `Annotated[list, MinLen(3))` (or `Annotated[list, Len(min_length=3))`) - list must have a length of 3 or more
131
+ * `Annotated[list, Len(4, 6)]` - list must have a length of 4, 5, or 6
132
+ * `Annotated[list, Len(8, 8)]` - list must have a length of exactly 8
133
+
134
+ #### Changed in v0.4.0
135
+
136
+ * `min_inclusive` has been renamed to `min_length`, no change in meaning
137
+ * `max_exclusive` has been renamed to `max_length`, upper bound is now **inclusive** instead of **exclusive**
138
+ * The recommendation that slices are interpreted as `Len` has been removed due to ambiguity and different semantic
139
+ meaning of the upper bound in slices vs. `Len`
140
+
141
+ See [issue #23](https://github.com/annotated-types/annotated-types/issues/23) for discussion.
142
+
143
+ ### Timezone
144
+
145
+ `Timezone` can be used with a `datetime` or a `time` to express which timezones
146
+ are allowed. `Annotated[datetime, Timezone(None)]` must be a naive datetime.
147
+ `Timezone[...]` ([literal ellipsis](https://docs.python.org/3/library/constants.html#Ellipsis))
148
+ expresses that any timezone-aware datetime is allowed. You may also pass a specific
149
+ timezone string or [`tzinfo`](https://docs.python.org/3/library/datetime.html#tzinfo-objects)
150
+ object such as `Timezone(timezone.utc)` or `Timezone("Africa/Abidjan")` to express that you only
151
+ allow a specific timezone, though we note that this is often a symptom of fragile design.
152
+
153
+ #### Changed in v0.x.x
154
+
155
+ * `Timezone` accepts [`tzinfo`](https://docs.python.org/3/library/datetime.html#tzinfo-objects) objects instead of
156
+ `timezone`, extending compatibility to [`zoneinfo`](https://docs.python.org/3/library/zoneinfo.html) and third party libraries.
157
+
158
+ ### Unit
159
+
160
+ `Unit(unit: str)` expresses that the annotated numeric value is the magnitude of
161
+ a quantity with the specified unit. For example, `Annotated[float, Unit("m/s")]`
162
+ would be a float representing a velocity in meters per second.
163
+
164
+ Please note that `annotated_types` itself makes no attempt to parse or validate
165
+ the unit string in any way. That is left entirely to downstream libraries,
166
+ such as [`pint`](https://pint.readthedocs.io) or
167
+ [`astropy.units`](https://docs.astropy.org/en/stable/units/).
168
+
169
+ An example of how a library might use this metadata:
170
+
171
+ ```python
172
+ from annotated_types import Unit
173
+ from typing import Annotated, TypeVar, Callable, Any, get_origin, get_args
174
+
175
+ # given a type annotated with a unit:
176
+ Meters = Annotated[float, Unit("m")]
177
+
178
+
179
+ # you can cast the annotation to a specific unit type with any
180
+ # callable that accepts a string and returns the desired type
181
+ T = TypeVar("T")
182
+ def cast_unit(tp: Any, unit_cls: Callable[[str], T]) -> T | None:
183
+ if get_origin(tp) is Annotated:
184
+ for arg in get_args(tp):
185
+ if isinstance(arg, Unit):
186
+ return unit_cls(arg.unit)
187
+ return None
188
+
189
+
190
+ # using `pint`
191
+ import pint
192
+ pint_unit = cast_unit(Meters, pint.Unit)
193
+
194
+
195
+ # using `astropy.units`
196
+ import astropy.units as u
197
+ astropy_unit = cast_unit(Meters, u.Unit)
198
+ ```
199
+
200
+ ### Predicate
201
+
202
+ `Predicate(func: Callable)` expresses that `func(value)` is truthy for valid values.
203
+ Users should prefer the statically inspectable metadata above, but if you need
204
+ the full power and flexibility of arbitrary runtime predicates... here it is.
205
+
206
+ For some common constraints, we provide generic types:
207
+
208
+ * `IsLower = Annotated[T, Predicate(str.islower)]`
209
+ * `IsUpper = Annotated[T, Predicate(str.isupper)]`
210
+ * `IsDigit = Annotated[T, Predicate(str.isdigit)]`
211
+ * `IsFinite = Annotated[T, Predicate(math.isfinite)]`
212
+ * `IsNotFinite = Annotated[T, Predicate(Not(math.isfinite))]`
213
+ * `IsNan = Annotated[T, Predicate(math.isnan)]`
214
+ * `IsNotNan = Annotated[T, Predicate(Not(math.isnan))]`
215
+ * `IsInfinite = Annotated[T, Predicate(math.isinf)]`
216
+ * `IsNotInfinite = Annotated[T, Predicate(Not(math.isinf))]`
217
+
218
+ so that you can write e.g. `x: IsFinite[float] = 2.0` instead of the longer
219
+ (but exactly equivalent) `x: Annotated[float, Predicate(math.isfinite)] = 2.0`.
220
+
221
+ Some libraries might have special logic to handle known or understandable predicates,
222
+ for example by checking for `str.isdigit` and using its presence to both call custom
223
+ logic to enforce digit-only strings, and customise some generated external schema.
224
+ Users are therefore encouraged to avoid indirection like `lambda s: s.lower()`, in
225
+ favor of introspectable methods such as `str.lower` or `re.compile("pattern").search`.
226
+
227
+ To enable basic negation of commonly used predicates like `math.isnan` without introducing introspection that makes it impossible for implementers to introspect the predicate we provide a `Not` wrapper that simply negates the predicate in an introspectable manner. Several of the predicates listed above are created in this manner.
228
+
229
+ We do not specify what behaviour should be expected for predicates that raise
230
+ an exception. For example `Annotated[int, Predicate(str.isdigit)]` might silently
231
+ skip invalid constraints, or statically raise an error; or it might try calling it
232
+ and then propagate or discard the resulting
233
+ `TypeError: descriptor 'isdigit' for 'str' objects doesn't apply to a 'int' object`
234
+ exception. We encourage libraries to document the behaviour they choose.
235
+
236
+ ### Doc
237
+
238
+ `doc()` can be used to add documentation information in `Annotated`, for function and method parameters, variables, class attributes, return types, and any place where `Annotated` can be used.
239
+
240
+ It expects a value that can be statically analyzed, as the main use case is for static analysis, editors, documentation generators, and similar tools.
241
+
242
+ It returns a `DocInfo` class with a single attribute `documentation` containing the value passed to `doc()`.
243
+
244
+ This is the early adopter's alternative form of the [`typing-doc` proposal](https://github.com/tiangolo/fastapi/blob/typing-doc/typing_doc.md).
245
+
246
+ ### Integrating downstream types with `GroupedMetadata`
247
+
248
+ Implementers may choose to provide a convenience wrapper that groups multiple pieces of metadata.
249
+ This can help reduce verbosity and cognitive overhead for users.
250
+ For example, an implementer like Pydantic might provide a `Field` or `Meta` type that accepts keyword arguments and transforms these into low-level metadata:
251
+
252
+ ```python
253
+ from dataclasses import dataclass
254
+ from typing import Iterator
255
+ from annotated_types import GroupedMetadata, Ge
256
+
257
+ @dataclass
258
+ class Field(GroupedMetadata):
259
+ ge: int | None = None
260
+ description: str | None = None
261
+
262
+ def __iter__(self) -> Iterator[object]:
263
+ # Iterating over a GroupedMetadata object should yield annotated-types
264
+ # constraint metadata objects which describe it as fully as possible,
265
+ # and may include other unknown objects too.
266
+ if self.ge is not None:
267
+ yield Ge(self.ge)
268
+ if self.description is not None:
269
+ yield Description(self.description)
270
+ ```
271
+
272
+ Libraries consuming annotated-types constraints should check for `GroupedMetadata` and unpack it by iterating over the object and treating the results as if they had been "unpacked" in the `Annotated` type. The same logic should be applied to the [PEP 646 `Unpack` type](https://peps.python.org/pep-0646/), so that `Annotated[T, Field(...)]`, `Annotated[T, Unpack[Field(...)]]` and `Annotated[T, *Field(...)]` are all treated consistently.
273
+
274
+ Libraries consuming annotated-types should also ignore any metadata they do not recongize that came from unpacking a `GroupedMetadata`, just like they ignore unrecognized metadata in `Annotated` itself.
275
+
276
+ Our own `annotated_types.Interval` class is a `GroupedMetadata` which unpacks itself into `Gt`, `Lt`, etc., so this is not an abstract concern. Similarly, `annotated_types.Len` is a `GroupedMetadata` which unpacks itself into `MinLen` (optionally) and `MaxLen`.
277
+
278
+ ### Consuming metadata
279
+
280
+ We intend to not be prescriptive as to _how_ the metadata and constraints are used, but as an example of how one might parse constraints from types annotations see our [implementation in `test_main.py`](https://github.com/annotated-types/annotated-types/blob/f59cf6d1b5255a0fe359b93896759a180bec30ae/tests/test_main.py#L94-L103).
281
+
282
+ It is up to the implementer to determine how this metadata is used.
283
+ You could use the metadata for runtime type checking, for generating schemas or to generate example data, amongst other use cases.
284
+
285
+ ## Design & History
286
+
287
+ This package was designed at the PyCon 2022 sprints by the maintainers of Pydantic
288
+ and Hypothesis, with the goal of making it as easy as possible for end-users to
289
+ provide more informative annotations for use by runtime libraries.
290
+
291
+ It is deliberately minimal, and following PEP-593 allows considerable downstream
292
+ discretion in what (if anything!) they choose to support. Nonetheless, we expect
293
+ that staying simple and covering _only_ the most common use-cases will give users
294
+ and maintainers the best experience we can. If you'd like more constraints for your
295
+ types - follow our lead, by defining them and documenting them downstream!
venv/lib/python3.12/site-packages/annotated_types-0.7.0.dist-info/RECORD ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ annotated_types-0.7.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ annotated_types-0.7.0.dist-info/METADATA,sha256=7ltqxksJJ0wCYFGBNIQCWTlWQGeAH0hRFdnK3CB895E,15046
3
+ annotated_types-0.7.0.dist-info/RECORD,,
4
+ annotated_types-0.7.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
5
+ annotated_types-0.7.0.dist-info/licenses/LICENSE,sha256=_hBJiEsaDZNCkB6I4H8ykl0ksxIdmXK2poBfuYJLCV0,1083
6
+ annotated_types/__init__.py,sha256=RynLsRKUEGI0KimXydlD1fZEfEzWwDo0Uon3zOKhG1Q,13819
7
+ annotated_types/__pycache__/__init__.cpython-312.pyc,,
8
+ annotated_types/__pycache__/test_cases.cpython-312.pyc,,
9
+ annotated_types/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ annotated_types/test_cases.py,sha256=zHFX6EpcMbGJ8FzBYDbO56bPwx_DYIVSKbZM-4B3_lg,6421
venv/lib/python3.12/site-packages/annotated_types-0.7.0.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.24.2
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
venv/lib/python3.12/site-packages/annotated_types/__init__.py ADDED
@@ -0,0 +1,432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import math
2
+ import sys
3
+ import types
4
+ from dataclasses import dataclass
5
+ from datetime import tzinfo
6
+ from typing import TYPE_CHECKING, Any, Callable, Iterator, Optional, SupportsFloat, SupportsIndex, TypeVar, Union
7
+
8
+ if sys.version_info < (3, 8):
9
+ from typing_extensions import Protocol, runtime_checkable
10
+ else:
11
+ from typing import Protocol, runtime_checkable
12
+
13
+ if sys.version_info < (3, 9):
14
+ from typing_extensions import Annotated, Literal
15
+ else:
16
+ from typing import Annotated, Literal
17
+
18
+ if sys.version_info < (3, 10):
19
+ EllipsisType = type(Ellipsis)
20
+ KW_ONLY = {}
21
+ SLOTS = {}
22
+ else:
23
+ from types import EllipsisType
24
+
25
+ KW_ONLY = {"kw_only": True}
26
+ SLOTS = {"slots": True}
27
+
28
+
29
+ __all__ = (
30
+ 'BaseMetadata',
31
+ 'GroupedMetadata',
32
+ 'Gt',
33
+ 'Ge',
34
+ 'Lt',
35
+ 'Le',
36
+ 'Interval',
37
+ 'MultipleOf',
38
+ 'MinLen',
39
+ 'MaxLen',
40
+ 'Len',
41
+ 'Timezone',
42
+ 'Predicate',
43
+ 'LowerCase',
44
+ 'UpperCase',
45
+ 'IsDigits',
46
+ 'IsFinite',
47
+ 'IsNotFinite',
48
+ 'IsNan',
49
+ 'IsNotNan',
50
+ 'IsInfinite',
51
+ 'IsNotInfinite',
52
+ 'doc',
53
+ 'DocInfo',
54
+ '__version__',
55
+ )
56
+
57
+ __version__ = '0.7.0'
58
+
59
+
60
+ T = TypeVar('T')
61
+
62
+
63
+ # arguments that start with __ are considered
64
+ # positional only
65
+ # see https://peps.python.org/pep-0484/#positional-only-arguments
66
+
67
+
68
+ class SupportsGt(Protocol):
69
+ def __gt__(self: T, __other: T) -> bool:
70
+ ...
71
+
72
+
73
+ class SupportsGe(Protocol):
74
+ def __ge__(self: T, __other: T) -> bool:
75
+ ...
76
+
77
+
78
+ class SupportsLt(Protocol):
79
+ def __lt__(self: T, __other: T) -> bool:
80
+ ...
81
+
82
+
83
+ class SupportsLe(Protocol):
84
+ def __le__(self: T, __other: T) -> bool:
85
+ ...
86
+
87
+
88
+ class SupportsMod(Protocol):
89
+ def __mod__(self: T, __other: T) -> T:
90
+ ...
91
+
92
+
93
+ class SupportsDiv(Protocol):
94
+ def __div__(self: T, __other: T) -> T:
95
+ ...
96
+
97
+
98
+ class BaseMetadata:
99
+ """Base class for all metadata.
100
+
101
+ This exists mainly so that implementers
102
+ can do `isinstance(..., BaseMetadata)` while traversing field annotations.
103
+ """
104
+
105
+ __slots__ = ()
106
+
107
+
108
+ @dataclass(frozen=True, **SLOTS)
109
+ class Gt(BaseMetadata):
110
+ """Gt(gt=x) implies that the value must be greater than x.
111
+
112
+ It can be used with any type that supports the ``>`` operator,
113
+ including numbers, dates and times, strings, sets, and so on.
114
+ """
115
+
116
+ gt: SupportsGt
117
+
118
+
119
+ @dataclass(frozen=True, **SLOTS)
120
+ class Ge(BaseMetadata):
121
+ """Ge(ge=x) implies that the value must be greater than or equal to x.
122
+
123
+ It can be used with any type that supports the ``>=`` operator,
124
+ including numbers, dates and times, strings, sets, and so on.
125
+ """
126
+
127
+ ge: SupportsGe
128
+
129
+
130
+ @dataclass(frozen=True, **SLOTS)
131
+ class Lt(BaseMetadata):
132
+ """Lt(lt=x) implies that the value must be less than x.
133
+
134
+ It can be used with any type that supports the ``<`` operator,
135
+ including numbers, dates and times, strings, sets, and so on.
136
+ """
137
+
138
+ lt: SupportsLt
139
+
140
+
141
+ @dataclass(frozen=True, **SLOTS)
142
+ class Le(BaseMetadata):
143
+ """Le(le=x) implies that the value must be less than or equal to x.
144
+
145
+ It can be used with any type that supports the ``<=`` operator,
146
+ including numbers, dates and times, strings, sets, and so on.
147
+ """
148
+
149
+ le: SupportsLe
150
+
151
+
152
+ @runtime_checkable
153
+ class GroupedMetadata(Protocol):
154
+ """A grouping of multiple objects, like typing.Unpack.
155
+
156
+ `GroupedMetadata` on its own is not metadata and has no meaning.
157
+ All of the constraints and metadata should be fully expressable
158
+ in terms of the `BaseMetadata`'s returned by `GroupedMetadata.__iter__()`.
159
+
160
+ Concrete implementations should override `GroupedMetadata.__iter__()`
161
+ to add their own metadata.
162
+ For example:
163
+
164
+ >>> @dataclass
165
+ >>> class Field(GroupedMetadata):
166
+ >>> gt: float | None = None
167
+ >>> description: str | None = None
168
+ ...
169
+ >>> def __iter__(self) -> Iterable[object]:
170
+ >>> if self.gt is not None:
171
+ >>> yield Gt(self.gt)
172
+ >>> if self.description is not None:
173
+ >>> yield Description(self.gt)
174
+
175
+ Also see the implementation of `Interval` below for an example.
176
+
177
+ Parsers should recognize this and unpack it so that it can be used
178
+ both with and without unpacking:
179
+
180
+ - `Annotated[int, Field(...)]` (parser must unpack Field)
181
+ - `Annotated[int, *Field(...)]` (PEP-646)
182
+ """ # noqa: trailing-whitespace
183
+
184
+ @property
185
+ def __is_annotated_types_grouped_metadata__(self) -> Literal[True]:
186
+ return True
187
+
188
+ def __iter__(self) -> Iterator[object]:
189
+ ...
190
+
191
+ if not TYPE_CHECKING:
192
+ __slots__ = () # allow subclasses to use slots
193
+
194
+ def __init_subclass__(cls, *args: Any, **kwargs: Any) -> None:
195
+ # Basic ABC like functionality without the complexity of an ABC
196
+ super().__init_subclass__(*args, **kwargs)
197
+ if cls.__iter__ is GroupedMetadata.__iter__:
198
+ raise TypeError("Can't subclass GroupedMetadata without implementing __iter__")
199
+
200
+ def __iter__(self) -> Iterator[object]: # noqa: F811
201
+ raise NotImplementedError # more helpful than "None has no attribute..." type errors
202
+
203
+
204
+ @dataclass(frozen=True, **KW_ONLY, **SLOTS)
205
+ class Interval(GroupedMetadata):
206
+ """Interval can express inclusive or exclusive bounds with a single object.
207
+
208
+ It accepts keyword arguments ``gt``, ``ge``, ``lt``, and/or ``le``, which
209
+ are interpreted the same way as the single-bound constraints.
210
+ """
211
+
212
+ gt: Union[SupportsGt, None] = None
213
+ ge: Union[SupportsGe, None] = None
214
+ lt: Union[SupportsLt, None] = None
215
+ le: Union[SupportsLe, None] = None
216
+
217
+ def __iter__(self) -> Iterator[BaseMetadata]:
218
+ """Unpack an Interval into zero or more single-bounds."""
219
+ if self.gt is not None:
220
+ yield Gt(self.gt)
221
+ if self.ge is not None:
222
+ yield Ge(self.ge)
223
+ if self.lt is not None:
224
+ yield Lt(self.lt)
225
+ if self.le is not None:
226
+ yield Le(self.le)
227
+
228
+
229
+ @dataclass(frozen=True, **SLOTS)
230
+ class MultipleOf(BaseMetadata):
231
+ """MultipleOf(multiple_of=x) might be interpreted in two ways:
232
+
233
+ 1. Python semantics, implying ``value % multiple_of == 0``, or
234
+ 2. JSONschema semantics, where ``int(value / multiple_of) == value / multiple_of``
235
+
236
+ We encourage users to be aware of these two common interpretations,
237
+ and libraries to carefully document which they implement.
238
+ """
239
+
240
+ multiple_of: Union[SupportsDiv, SupportsMod]
241
+
242
+
243
+ @dataclass(frozen=True, **SLOTS)
244
+ class MinLen(BaseMetadata):
245
+ """
246
+ MinLen() implies minimum inclusive length,
247
+ e.g. ``len(value) >= min_length``.
248
+ """
249
+
250
+ min_length: Annotated[int, Ge(0)]
251
+
252
+
253
+ @dataclass(frozen=True, **SLOTS)
254
+ class MaxLen(BaseMetadata):
255
+ """
256
+ MaxLen() implies maximum inclusive length,
257
+ e.g. ``len(value) <= max_length``.
258
+ """
259
+
260
+ max_length: Annotated[int, Ge(0)]
261
+
262
+
263
+ @dataclass(frozen=True, **SLOTS)
264
+ class Len(GroupedMetadata):
265
+ """
266
+ Len() implies that ``min_length <= len(value) <= max_length``.
267
+
268
+ Upper bound may be omitted or ``None`` to indicate no upper length bound.
269
+ """
270
+
271
+ min_length: Annotated[int, Ge(0)] = 0
272
+ max_length: Optional[Annotated[int, Ge(0)]] = None
273
+
274
+ def __iter__(self) -> Iterator[BaseMetadata]:
275
+ """Unpack a Len into zone or more single-bounds."""
276
+ if self.min_length > 0:
277
+ yield MinLen(self.min_length)
278
+ if self.max_length is not None:
279
+ yield MaxLen(self.max_length)
280
+
281
+
282
+ @dataclass(frozen=True, **SLOTS)
283
+ class Timezone(BaseMetadata):
284
+ """Timezone(tz=...) requires a datetime to be aware (or ``tz=None``, naive).
285
+
286
+ ``Annotated[datetime, Timezone(None)]`` must be a naive datetime.
287
+ ``Timezone[...]`` (the ellipsis literal) expresses that the datetime must be
288
+ tz-aware but any timezone is allowed.
289
+
290
+ You may also pass a specific timezone string or tzinfo object such as
291
+ ``Timezone(timezone.utc)`` or ``Timezone("Africa/Abidjan")`` to express that
292
+ you only allow a specific timezone, though we note that this is often
293
+ a symptom of poor design.
294
+ """
295
+
296
+ tz: Union[str, tzinfo, EllipsisType, None]
297
+
298
+
299
+ @dataclass(frozen=True, **SLOTS)
300
+ class Unit(BaseMetadata):
301
+ """Indicates that the value is a physical quantity with the specified unit.
302
+
303
+ It is intended for usage with numeric types, where the value represents the
304
+ magnitude of the quantity. For example, ``distance: Annotated[float, Unit('m')]``
305
+ or ``speed: Annotated[float, Unit('m/s')]``.
306
+
307
+ Interpretation of the unit string is left to the discretion of the consumer.
308
+ It is suggested to follow conventions established by python libraries that work
309
+ with physical quantities, such as
310
+
311
+ - ``pint`` : <https://pint.readthedocs.io/en/stable/>
312
+ - ``astropy.units``: <https://docs.astropy.org/en/stable/units/>
313
+
314
+ For indicating a quantity with a certain dimensionality but without a specific unit
315
+ it is recommended to use square brackets, e.g. `Annotated[float, Unit('[time]')]`.
316
+ Note, however, ``annotated_types`` itself makes no use of the unit string.
317
+ """
318
+
319
+ unit: str
320
+
321
+
322
+ @dataclass(frozen=True, **SLOTS)
323
+ class Predicate(BaseMetadata):
324
+ """``Predicate(func: Callable)`` implies `func(value)` is truthy for valid values.
325
+
326
+ Users should prefer statically inspectable metadata, but if you need the full
327
+ power and flexibility of arbitrary runtime predicates... here it is.
328
+
329
+ We provide a few predefined predicates for common string constraints:
330
+ ``IsLower = Predicate(str.islower)``, ``IsUpper = Predicate(str.isupper)``, and
331
+ ``IsDigits = Predicate(str.isdigit)``. Users are encouraged to use methods which
332
+ can be given special handling, and avoid indirection like ``lambda s: s.lower()``.
333
+
334
+ Some libraries might have special logic to handle certain predicates, e.g. by
335
+ checking for `str.isdigit` and using its presence to both call custom logic to
336
+ enforce digit-only strings, and customise some generated external schema.
337
+
338
+ We do not specify what behaviour should be expected for predicates that raise
339
+ an exception. For example `Annotated[int, Predicate(str.isdigit)]` might silently
340
+ skip invalid constraints, or statically raise an error; or it might try calling it
341
+ and then propagate or discard the resulting exception.
342
+ """
343
+
344
+ func: Callable[[Any], bool]
345
+
346
+ def __repr__(self) -> str:
347
+ if getattr(self.func, "__name__", "<lambda>") == "<lambda>":
348
+ return f"{self.__class__.__name__}({self.func!r})"
349
+ if isinstance(self.func, (types.MethodType, types.BuiltinMethodType)) and (
350
+ namespace := getattr(self.func.__self__, "__name__", None)
351
+ ):
352
+ return f"{self.__class__.__name__}({namespace}.{self.func.__name__})"
353
+ if isinstance(self.func, type(str.isascii)): # method descriptor
354
+ return f"{self.__class__.__name__}({self.func.__qualname__})"
355
+ return f"{self.__class__.__name__}({self.func.__name__})"
356
+
357
+
358
+ @dataclass
359
+ class Not:
360
+ func: Callable[[Any], bool]
361
+
362
+ def __call__(self, __v: Any) -> bool:
363
+ return not self.func(__v)
364
+
365
+
366
+ _StrType = TypeVar("_StrType", bound=str)
367
+
368
+ LowerCase = Annotated[_StrType, Predicate(str.islower)]
369
+ """
370
+ Return True if the string is a lowercase string, False otherwise.
371
+
372
+ A string is lowercase if all cased characters in the string are lowercase and there is at least one cased character in the string.
373
+ """ # noqa: E501
374
+ UpperCase = Annotated[_StrType, Predicate(str.isupper)]
375
+ """
376
+ Return True if the string is an uppercase string, False otherwise.
377
+
378
+ A string is uppercase if all cased characters in the string are uppercase and there is at least one cased character in the string.
379
+ """ # noqa: E501
380
+ IsDigit = Annotated[_StrType, Predicate(str.isdigit)]
381
+ IsDigits = IsDigit # type: ignore # plural for backwards compatibility, see #63
382
+ """
383
+ Return True if the string is a digit string, False otherwise.
384
+
385
+ A string is a digit string if all characters in the string are digits and there is at least one character in the string.
386
+ """ # noqa: E501
387
+ IsAscii = Annotated[_StrType, Predicate(str.isascii)]
388
+ """
389
+ Return True if all characters in the string are ASCII, False otherwise.
390
+
391
+ ASCII characters have code points in the range U+0000-U+007F. Empty string is ASCII too.
392
+ """
393
+
394
+ _NumericType = TypeVar('_NumericType', bound=Union[SupportsFloat, SupportsIndex])
395
+ IsFinite = Annotated[_NumericType, Predicate(math.isfinite)]
396
+ """Return True if x is neither an infinity nor a NaN, and False otherwise."""
397
+ IsNotFinite = Annotated[_NumericType, Predicate(Not(math.isfinite))]
398
+ """Return True if x is one of infinity or NaN, and False otherwise"""
399
+ IsNan = Annotated[_NumericType, Predicate(math.isnan)]
400
+ """Return True if x is a NaN (not a number), and False otherwise."""
401
+ IsNotNan = Annotated[_NumericType, Predicate(Not(math.isnan))]
402
+ """Return True if x is anything but NaN (not a number), and False otherwise."""
403
+ IsInfinite = Annotated[_NumericType, Predicate(math.isinf)]
404
+ """Return True if x is a positive or negative infinity, and False otherwise."""
405
+ IsNotInfinite = Annotated[_NumericType, Predicate(Not(math.isinf))]
406
+ """Return True if x is neither a positive or negative infinity, and False otherwise."""
407
+
408
+ try:
409
+ from typing_extensions import DocInfo, doc # type: ignore [attr-defined]
410
+ except ImportError:
411
+
412
+ @dataclass(frozen=True, **SLOTS)
413
+ class DocInfo: # type: ignore [no-redef]
414
+ """ "
415
+ The return value of doc(), mainly to be used by tools that want to extract the
416
+ Annotated documentation at runtime.
417
+ """
418
+
419
+ documentation: str
420
+ """The documentation string passed to doc()."""
421
+
422
+ def doc(
423
+ documentation: str,
424
+ ) -> DocInfo:
425
+ """
426
+ Add documentation to a type annotation inside of Annotated.
427
+
428
+ For example:
429
+
430
+ >>> def hi(name: Annotated[int, doc("The name of the user")]) -> None: ...
431
+ """
432
+ return DocInfo(documentation)
venv/lib/python3.12/site-packages/annotated_types/py.typed ADDED
File without changes
venv/lib/python3.12/site-packages/annotated_types/test_cases.py ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import math
2
+ import sys
3
+ from datetime import date, datetime, timedelta, timezone
4
+ from decimal import Decimal
5
+ from typing import Any, Dict, Iterable, Iterator, List, NamedTuple, Set, Tuple
6
+
7
+ if sys.version_info < (3, 9):
8
+ from typing_extensions import Annotated
9
+ else:
10
+ from typing import Annotated
11
+
12
+ import annotated_types as at
13
+
14
+
15
+ class Case(NamedTuple):
16
+ """
17
+ A test case for `annotated_types`.
18
+ """
19
+
20
+ annotation: Any
21
+ valid_cases: Iterable[Any]
22
+ invalid_cases: Iterable[Any]
23
+
24
+
25
+ def cases() -> Iterable[Case]:
26
+ # Gt, Ge, Lt, Le
27
+ yield Case(Annotated[int, at.Gt(4)], (5, 6, 1000), (4, 0, -1))
28
+ yield Case(Annotated[float, at.Gt(0.5)], (0.6, 0.7, 0.8, 0.9), (0.5, 0.0, -0.1))
29
+ yield Case(
30
+ Annotated[datetime, at.Gt(datetime(2000, 1, 1))],
31
+ [datetime(2000, 1, 2), datetime(2000, 1, 3)],
32
+ [datetime(2000, 1, 1), datetime(1999, 12, 31)],
33
+ )
34
+ yield Case(
35
+ Annotated[datetime, at.Gt(date(2000, 1, 1))],
36
+ [date(2000, 1, 2), date(2000, 1, 3)],
37
+ [date(2000, 1, 1), date(1999, 12, 31)],
38
+ )
39
+ yield Case(
40
+ Annotated[datetime, at.Gt(Decimal('1.123'))],
41
+ [Decimal('1.1231'), Decimal('123')],
42
+ [Decimal('1.123'), Decimal('0')],
43
+ )
44
+
45
+ yield Case(Annotated[int, at.Ge(4)], (4, 5, 6, 1000, 4), (0, -1))
46
+ yield Case(Annotated[float, at.Ge(0.5)], (0.5, 0.6, 0.7, 0.8, 0.9), (0.4, 0.0, -0.1))
47
+ yield Case(
48
+ Annotated[datetime, at.Ge(datetime(2000, 1, 1))],
49
+ [datetime(2000, 1, 2), datetime(2000, 1, 3)],
50
+ [datetime(1998, 1, 1), datetime(1999, 12, 31)],
51
+ )
52
+
53
+ yield Case(Annotated[int, at.Lt(4)], (0, -1), (4, 5, 6, 1000, 4))
54
+ yield Case(Annotated[float, at.Lt(0.5)], (0.4, 0.0, -0.1), (0.5, 0.6, 0.7, 0.8, 0.9))
55
+ yield Case(
56
+ Annotated[datetime, at.Lt(datetime(2000, 1, 1))],
57
+ [datetime(1999, 12, 31), datetime(1999, 12, 31)],
58
+ [datetime(2000, 1, 2), datetime(2000, 1, 3)],
59
+ )
60
+
61
+ yield Case(Annotated[int, at.Le(4)], (4, 0, -1), (5, 6, 1000))
62
+ yield Case(Annotated[float, at.Le(0.5)], (0.5, 0.0, -0.1), (0.6, 0.7, 0.8, 0.9))
63
+ yield Case(
64
+ Annotated[datetime, at.Le(datetime(2000, 1, 1))],
65
+ [datetime(2000, 1, 1), datetime(1999, 12, 31)],
66
+ [datetime(2000, 1, 2), datetime(2000, 1, 3)],
67
+ )
68
+
69
+ # Interval
70
+ yield Case(Annotated[int, at.Interval(gt=4)], (5, 6, 1000), (4, 0, -1))
71
+ yield Case(Annotated[int, at.Interval(gt=4, lt=10)], (5, 6), (4, 10, 1000, 0, -1))
72
+ yield Case(Annotated[float, at.Interval(ge=0.5, le=1)], (0.5, 0.9, 1), (0.49, 1.1))
73
+ yield Case(
74
+ Annotated[datetime, at.Interval(gt=datetime(2000, 1, 1), le=datetime(2000, 1, 3))],
75
+ [datetime(2000, 1, 2), datetime(2000, 1, 3)],
76
+ [datetime(2000, 1, 1), datetime(2000, 1, 4)],
77
+ )
78
+
79
+ yield Case(Annotated[int, at.MultipleOf(multiple_of=3)], (0, 3, 9), (1, 2, 4))
80
+ yield Case(Annotated[float, at.MultipleOf(multiple_of=0.5)], (0, 0.5, 1, 1.5), (0.4, 1.1))
81
+
82
+ # lengths
83
+
84
+ yield Case(Annotated[str, at.MinLen(3)], ('123', '1234', 'x' * 10), ('', '1', '12'))
85
+ yield Case(Annotated[str, at.Len(3)], ('123', '1234', 'x' * 10), ('', '1', '12'))
86
+ yield Case(Annotated[List[int], at.MinLen(3)], ([1, 2, 3], [1, 2, 3, 4], [1] * 10), ([], [1], [1, 2]))
87
+ yield Case(Annotated[List[int], at.Len(3)], ([1, 2, 3], [1, 2, 3, 4], [1] * 10), ([], [1], [1, 2]))
88
+
89
+ yield Case(Annotated[str, at.MaxLen(4)], ('', '1234'), ('12345', 'x' * 10))
90
+ yield Case(Annotated[str, at.Len(0, 4)], ('', '1234'), ('12345', 'x' * 10))
91
+ yield Case(Annotated[List[str], at.MaxLen(4)], ([], ['a', 'bcdef'], ['a', 'b', 'c']), (['a'] * 5, ['b'] * 10))
92
+ yield Case(Annotated[List[str], at.Len(0, 4)], ([], ['a', 'bcdef'], ['a', 'b', 'c']), (['a'] * 5, ['b'] * 10))
93
+
94
+ yield Case(Annotated[str, at.Len(3, 5)], ('123', '12345'), ('', '1', '12', '123456', 'x' * 10))
95
+ yield Case(Annotated[str, at.Len(3, 3)], ('123',), ('12', '1234'))
96
+
97
+ yield Case(Annotated[Dict[int, int], at.Len(2, 3)], [{1: 1, 2: 2}], [{}, {1: 1}, {1: 1, 2: 2, 3: 3, 4: 4}])
98
+ yield Case(Annotated[Set[int], at.Len(2, 3)], ({1, 2}, {1, 2, 3}), (set(), {1}, {1, 2, 3, 4}))
99
+ yield Case(Annotated[Tuple[int, ...], at.Len(2, 3)], ((1, 2), (1, 2, 3)), ((), (1,), (1, 2, 3, 4)))
100
+
101
+ # Timezone
102
+
103
+ yield Case(
104
+ Annotated[datetime, at.Timezone(None)], [datetime(2000, 1, 1)], [datetime(2000, 1, 1, tzinfo=timezone.utc)]
105
+ )
106
+ yield Case(
107
+ Annotated[datetime, at.Timezone(...)], [datetime(2000, 1, 1, tzinfo=timezone.utc)], [datetime(2000, 1, 1)]
108
+ )
109
+ yield Case(
110
+ Annotated[datetime, at.Timezone(timezone.utc)],
111
+ [datetime(2000, 1, 1, tzinfo=timezone.utc)],
112
+ [datetime(2000, 1, 1), datetime(2000, 1, 1, tzinfo=timezone(timedelta(hours=6)))],
113
+ )
114
+ yield Case(
115
+ Annotated[datetime, at.Timezone('Europe/London')],
116
+ [datetime(2000, 1, 1, tzinfo=timezone(timedelta(0), name='Europe/London'))],
117
+ [datetime(2000, 1, 1), datetime(2000, 1, 1, tzinfo=timezone(timedelta(hours=6)))],
118
+ )
119
+
120
+ # Quantity
121
+
122
+ yield Case(Annotated[float, at.Unit(unit='m')], (5, 4.2), ('5m', '4.2m'))
123
+
124
+ # predicate types
125
+
126
+ yield Case(at.LowerCase[str], ['abc', 'foobar'], ['', 'A', 'Boom'])
127
+ yield Case(at.UpperCase[str], ['ABC', 'DEFO'], ['', 'a', 'abc', 'AbC'])
128
+ yield Case(at.IsDigit[str], ['123'], ['', 'ab', 'a1b2'])
129
+ yield Case(at.IsAscii[str], ['123', 'foo bar'], ['£100', '😊', 'whatever 👀'])
130
+
131
+ yield Case(Annotated[int, at.Predicate(lambda x: x % 2 == 0)], [0, 2, 4], [1, 3, 5])
132
+
133
+ yield Case(at.IsFinite[float], [1.23], [math.nan, math.inf, -math.inf])
134
+ yield Case(at.IsNotFinite[float], [math.nan, math.inf], [1.23])
135
+ yield Case(at.IsNan[float], [math.nan], [1.23, math.inf])
136
+ yield Case(at.IsNotNan[float], [1.23, math.inf], [math.nan])
137
+ yield Case(at.IsInfinite[float], [math.inf], [math.nan, 1.23])
138
+ yield Case(at.IsNotInfinite[float], [math.nan, 1.23], [math.inf])
139
+
140
+ # check stacked predicates
141
+ yield Case(at.IsInfinite[Annotated[float, at.Predicate(lambda x: x > 0)]], [math.inf], [-math.inf, 1.23, math.nan])
142
+
143
+ # doc
144
+ yield Case(Annotated[int, at.doc("A number")], [1, 2], [])
145
+
146
+ # custom GroupedMetadata
147
+ class MyCustomGroupedMetadata(at.GroupedMetadata):
148
+ def __iter__(self) -> Iterator[at.Predicate]:
149
+ yield at.Predicate(lambda x: float(x).is_integer())
150
+
151
+ yield Case(Annotated[float, MyCustomGroupedMetadata()], [0, 2.0], [0.01, 1.5])
venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/METADATA ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: anyio
3
+ Version: 4.13.0
4
+ Summary: High-level concurrency and networking framework on top of asyncio or Trio
5
+ Author-email: Alex Grönholm <alex.gronholm@nextday.fi>
6
+ License-Expression: MIT
7
+ Project-URL: Documentation, https://anyio.readthedocs.io/en/latest/
8
+ Project-URL: Changelog, https://anyio.readthedocs.io/en/stable/versionhistory.html
9
+ Project-URL: Source code, https://github.com/agronholm/anyio
10
+ Project-URL: Issue tracker, https://github.com/agronholm/anyio/issues
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Framework :: AnyIO
14
+ Classifier: Typing :: Typed
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Requires-Python: >=3.10
23
+ Description-Content-Type: text/x-rst
24
+ License-File: LICENSE
25
+ Requires-Dist: exceptiongroup>=1.0.2; python_version < "3.11"
26
+ Requires-Dist: idna>=2.8
27
+ Requires-Dist: typing_extensions>=4.5; python_version < "3.13"
28
+ Provides-Extra: trio
29
+ Requires-Dist: trio>=0.32.0; extra == "trio"
30
+ Dynamic: license-file
31
+
32
+ .. image:: https://github.com/agronholm/anyio/actions/workflows/test.yml/badge.svg
33
+ :target: https://github.com/agronholm/anyio/actions/workflows/test.yml
34
+ :alt: Build Status
35
+ .. image:: https://coveralls.io/repos/github/agronholm/anyio/badge.svg?branch=master
36
+ :target: https://coveralls.io/github/agronholm/anyio?branch=master
37
+ :alt: Code Coverage
38
+ .. image:: https://readthedocs.org/projects/anyio/badge/?version=latest
39
+ :target: https://anyio.readthedocs.io/en/latest/?badge=latest
40
+ :alt: Documentation
41
+ .. image:: https://badges.gitter.im/gitterHQ/gitter.svg
42
+ :target: https://gitter.im/python-trio/AnyIO
43
+ :alt: Gitter chat
44
+ .. image:: https://tidelift.com/badges/package/pypi/anyio
45
+ :target: https://tidelift.com/subscription/pkg/pypi-anyio
46
+ :alt: Tidelift
47
+
48
+ AnyIO is an asynchronous networking and concurrency library that works on top of either asyncio_ or
49
+ Trio_. It implements Trio-like `structured concurrency`_ (SC) on top of asyncio and works in harmony
50
+ with the native SC of Trio itself.
51
+
52
+ Applications and libraries written against AnyIO's API will run unmodified on either asyncio_ or
53
+ Trio_. AnyIO can also be adopted into a library or application incrementally – bit by bit, no full
54
+ refactoring necessary. It will blend in with the native libraries of your chosen backend.
55
+
56
+ To find out why you might want to use AnyIO's APIs instead of asyncio's, you can read about it
57
+ `here <https://anyio.readthedocs.io/en/stable/why.html>`_.
58
+
59
+ Documentation
60
+ -------------
61
+
62
+ View full documentation at: https://anyio.readthedocs.io/
63
+
64
+ Features
65
+ --------
66
+
67
+ AnyIO offers the following functionality:
68
+
69
+ * Task groups (nurseries_ in trio terminology)
70
+ * High-level networking (TCP, UDP and UNIX sockets)
71
+
72
+ * `Happy eyeballs`_ algorithm for TCP connections (more robust than that of asyncio on Python
73
+ 3.8)
74
+ * async/await style UDP sockets (unlike asyncio where you still have to use Transports and
75
+ Protocols)
76
+
77
+ * A versatile API for byte streams and object streams
78
+ * Inter-task synchronization and communication (locks, conditions, events, semaphores, object
79
+ streams)
80
+ * Worker threads
81
+ * Subprocesses
82
+ * Subinterpreter support for code parallelization (on Python 3.13 and later)
83
+ * Asynchronous file I/O (using worker threads)
84
+ * Signal handling
85
+ * Asynchronous version of the functools_ module
86
+
87
+ AnyIO also comes with its own pytest_ plugin which also supports asynchronous fixtures.
88
+ It even works with the popular Hypothesis_ library.
89
+
90
+ .. _asyncio: https://docs.python.org/3/library/asyncio.html
91
+ .. _Trio: https://github.com/python-trio/trio
92
+ .. _structured concurrency: https://en.wikipedia.org/wiki/Structured_concurrency
93
+ .. _nurseries: https://trio.readthedocs.io/en/stable/reference-core.html#nurseries-and-spawning
94
+ .. _Happy eyeballs: https://en.wikipedia.org/wiki/Happy_Eyeballs
95
+ .. _pytest: https://docs.pytest.org/en/latest/
96
+ .. _functools: https://docs.python.org/3/library/functools.html
97
+ .. _Hypothesis: https://hypothesis.works/
98
+
99
+ Security contact information
100
+ ----------------------------
101
+
102
+ To report a security vulnerability, please use the `Tidelift security contact`_.
103
+ Tidelift will coordinate the fix and disclosure.
104
+
105
+ .. _Tidelift security contact: https://tidelift.com/security
venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/RECORD ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ anyio-4.13.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ anyio-4.13.0.dist-info/METADATA,sha256=F0EYfiPlmTRwmJN2JktNxJg1GNnl0wHhzOWmz7pFvjM,4513
3
+ anyio-4.13.0.dist-info/RECORD,,
4
+ anyio-4.13.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
5
+ anyio-4.13.0.dist-info/entry_points.txt,sha256=_d6Yu6uiaZmNe0CydowirE9Cmg7zUL2g08tQpoS3Qvc,39
6
+ anyio-4.13.0.dist-info/licenses/LICENSE,sha256=U2GsncWPLvX9LpsJxoKXwX8ElQkJu8gCO9uC6s8iwrA,1081
7
+ anyio-4.13.0.dist-info/top_level.txt,sha256=QglSMiWX8_5dpoVAEIHdEYzvqFMdSYWmCj6tYw2ITkQ,6
8
+ anyio/__init__.py,sha256=7iDVqMUprUuKNY91FuoKqayAhR-OY136YDPI6P78HHk,6170
9
+ anyio/__pycache__/__init__.cpython-312.pyc,,
10
+ anyio/__pycache__/from_thread.cpython-312.pyc,,
11
+ anyio/__pycache__/functools.cpython-312.pyc,,
12
+ anyio/__pycache__/lowlevel.cpython-312.pyc,,
13
+ anyio/__pycache__/pytest_plugin.cpython-312.pyc,,
14
+ anyio/__pycache__/to_interpreter.cpython-312.pyc,,
15
+ anyio/__pycache__/to_process.cpython-312.pyc,,
16
+ anyio/__pycache__/to_thread.cpython-312.pyc,,
17
+ anyio/_backends/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
+ anyio/_backends/__pycache__/__init__.cpython-312.pyc,,
19
+ anyio/_backends/__pycache__/_asyncio.cpython-312.pyc,,
20
+ anyio/_backends/__pycache__/_trio.cpython-312.pyc,,
21
+ anyio/_backends/_asyncio.py,sha256=kuqlg2sBUsFdgY80xSDAw60Gx_4WNCl9iSL5XlY6lCU,99476
22
+ anyio/_backends/_trio.py,sha256=l9U-TsKRxzmTQxSMvOhn0bNeFn_iRx3Ho30jvR5Bdu0,41366
23
+ anyio/_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
+ anyio/_core/__pycache__/__init__.cpython-312.pyc,,
25
+ anyio/_core/__pycache__/_asyncio_selector_thread.cpython-312.pyc,,
26
+ anyio/_core/__pycache__/_contextmanagers.cpython-312.pyc,,
27
+ anyio/_core/__pycache__/_eventloop.cpython-312.pyc,,
28
+ anyio/_core/__pycache__/_exceptions.cpython-312.pyc,,
29
+ anyio/_core/__pycache__/_fileio.cpython-312.pyc,,
30
+ anyio/_core/__pycache__/_resources.cpython-312.pyc,,
31
+ anyio/_core/__pycache__/_signals.cpython-312.pyc,,
32
+ anyio/_core/__pycache__/_sockets.cpython-312.pyc,,
33
+ anyio/_core/__pycache__/_streams.cpython-312.pyc,,
34
+ anyio/_core/__pycache__/_subprocesses.cpython-312.pyc,,
35
+ anyio/_core/__pycache__/_synchronization.cpython-312.pyc,,
36
+ anyio/_core/__pycache__/_tasks.cpython-312.pyc,,
37
+ anyio/_core/__pycache__/_tempfile.cpython-312.pyc,,
38
+ anyio/_core/__pycache__/_testing.cpython-312.pyc,,
39
+ anyio/_core/__pycache__/_typedattr.cpython-312.pyc,,
40
+ anyio/_core/_asyncio_selector_thread.py,sha256=2PdxFM3cs02Kp6BSppbvmRT7q7asreTW5FgBxEsflBo,5626
41
+ anyio/_core/_contextmanagers.py,sha256=YInBCabiEeS-UaP_Jdxa1CaFC71ETPW8HZTHIM8Rsc8,7215
42
+ anyio/_core/_eventloop.py,sha256=c2EdcBX-xnKwxPcC4Pjn3_qG9I-x4IWFO2R9RqCGjM4,6448
43
+ anyio/_core/_exceptions.py,sha256=Y3aq-Wxd7Q2HqwSg7nZPvRsHEuGazv_qeet6gqEBdPk,4407
44
+ anyio/_core/_fileio.py,sha256=CKi1gFNiW2G4knWeBE7He7-rptQwgYjDUWfG8DSlvLs,25665
45
+ anyio/_core/_resources.py,sha256=NbmU5O5UX3xEyACnkmYX28Fmwdl-f-ny0tHym26e0w0,435
46
+ anyio/_core/_signals.py,sha256=mjTBB2hTKNPRlU0IhnijeQedpWOGERDiMjSlJQsFrug,1016
47
+ anyio/_core/_sockets.py,sha256=RBXHcUqZt5gg_-OOfgHVv8uq2FSKk1uVUzTdpjBoI1o,34977
48
+ anyio/_core/_streams.py,sha256=FczFwIgDpnkK0bODWJXMpsUJYdvAD04kaUaGzJU8DK0,1806
49
+ anyio/_core/_subprocesses.py,sha256=tkmkPKEkEaiMD8C9WRZBlmgjOYRDRbZdte6e-unay2E,7916
50
+ anyio/_core/_synchronization.py,sha256=9G3fvRsPNrrWJ_Z6gD_80wXq8I8qgAyhwM8PvHQnT2c,21061
51
+ anyio/_core/_tasks.py,sha256=pVB7K6AAulzUM8YgXAeqNZG44nSyZ1bYJjH8GznC00I,5435
52
+ anyio/_core/_tempfile.py,sha256=jE2w59FRF3yRo4vjkjfZF2YcqsBZvc66VWRwrJGDYGk,19624
53
+ anyio/_core/_testing.py,sha256=u7MPqGXwpTxqI7hclSdNA30z2GH1Nw258uwKvy_RfBg,2340
54
+ anyio/_core/_typedattr.py,sha256=P4ozZikn3-DbpoYcvyghS_FOYAgbmUxeoU8-L_07pZM,2508
55
+ anyio/abc/__init__.py,sha256=6mWhcl_pGXhrgZVHP_TCfMvIXIOp9mroEFM90fYCU_U,2869
56
+ anyio/abc/__pycache__/__init__.cpython-312.pyc,,
57
+ anyio/abc/__pycache__/_eventloop.cpython-312.pyc,,
58
+ anyio/abc/__pycache__/_resources.cpython-312.pyc,,
59
+ anyio/abc/__pycache__/_sockets.cpython-312.pyc,,
60
+ anyio/abc/__pycache__/_streams.cpython-312.pyc,,
61
+ anyio/abc/__pycache__/_subprocesses.cpython-312.pyc,,
62
+ anyio/abc/__pycache__/_tasks.cpython-312.pyc,,
63
+ anyio/abc/__pycache__/_testing.cpython-312.pyc,,
64
+ anyio/abc/_eventloop.py,sha256=39lYnmtvoHaZw22sWBKOTA_zv7bamOnr8O49PqgDXdw,10629
65
+ anyio/abc/_resources.py,sha256=DrYvkNN1hH6Uvv5_5uKySvDsnknGVDe8FCKfko0VtN8,783
66
+ anyio/abc/_sockets.py,sha256=OmVDrfemVvF9c5K1tpBgQyV6fn5v0XyCExLAqBOGz9o,13124
67
+ anyio/abc/_streams.py,sha256=HYvna1iZbWcwLROTO6IhLX79RTRLPShZMWe0sG1q54I,7481
68
+ anyio/abc/_subprocesses.py,sha256=cumAPJTktOQtw63IqG0lDpyZqu_l1EElvQHMiwJgL08,2067
69
+ anyio/abc/_tasks.py,sha256=KC7wrciE48AINOI-AhPutnFhe1ewfP7QnamFlDzqesQ,3721
70
+ anyio/abc/_testing.py,sha256=tBJUzkSfOXJw23fe8qSJ03kJlShOYjjaEyFB6k6MYT8,1821
71
+ anyio/from_thread.py,sha256=L-0w1HxJ6BSb-KuVi57k5Tkc3yzQrx3QK5tAxMPcY-0,19141
72
+ anyio/functools.py,sha256=5AWM1iYTKkTzptvUhQDdLSh5GvbBW-vcs-SAUfIfA9A,12076
73
+ anyio/lowlevel.py,sha256=AyKLVK3LaWSoK39LkCKxE4_GDMLKZBNqTrLUgk63y80,5158
74
+ anyio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
+ anyio/pytest_plugin.py,sha256=t6h4KJstqIxfxwTZ1YO8vpUVuB99nfCLltn0NHfatHo,12775
76
+ anyio/streams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
77
+ anyio/streams/__pycache__/__init__.cpython-312.pyc,,
78
+ anyio/streams/__pycache__/buffered.cpython-312.pyc,,
79
+ anyio/streams/__pycache__/file.cpython-312.pyc,,
80
+ anyio/streams/__pycache__/memory.cpython-312.pyc,,
81
+ anyio/streams/__pycache__/stapled.cpython-312.pyc,,
82
+ anyio/streams/__pycache__/text.cpython-312.pyc,,
83
+ anyio/streams/__pycache__/tls.cpython-312.pyc,,
84
+ anyio/streams/buffered.py,sha256=2R3PeJhe4EXrdYqz44Y6-Eg9R6DrmlsYrP36Ir43-po,6263
85
+ anyio/streams/file.py,sha256=msnrotVKGMQomUu_Rj2qz9MvIdUp6d3JGr7MOEO8kV4,4428
86
+ anyio/streams/memory.py,sha256=F0zwzvFJKAhX_LRZGoKzzqDC2oMM-f-yyTBrEYEGOaU,10740
87
+ anyio/streams/stapled.py,sha256=T8Xqwf8K6EgURPxbt1N4i7A8BAk-gScv-GRhjLXIf_o,4390
88
+ anyio/streams/text.py,sha256=BcVAGJw1VRvtIqnv-o0Rb0pwH7p8vwlvl21xHq522ag,5765
89
+ anyio/streams/tls.py,sha256=DQVkXUvsTEYKkBO8dlVU7j_5H8QOtLy4sGi1Wrjqevo,15303
90
+ anyio/to_interpreter.py,sha256=_mLngrMy97TMR6VbW4Y6YzDUk9ZuPcQMPlkuyRh3C9k,7100
91
+ anyio/to_process.py,sha256=J7gAA_YOuoHqnpDAf5fm1Qu6kOmTzdFbiDNvnV755vk,9798
92
+ anyio/to_thread.py,sha256=f6h_k2d743GBv9FhAnhM_YpTvWgIrzBy9cOE0eJ1UJw,2693
venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/WHEEL ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/entry_points.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ [pytest11]
2
+ anyio = anyio.pytest_plugin
venv/lib/python3.12/site-packages/anyio-4.13.0.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anyio
venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/METADATA ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: certifi
3
+ Version: 2026.4.22
4
+ Summary: Python package for providing Mozilla's CA Bundle.
5
+ Home-page: https://github.com/certifi/python-certifi
6
+ Author: Kenneth Reitz
7
+ Author-email: me@kennethreitz.com
8
+ License: MPL-2.0
9
+ Project-URL: Source, https://github.com/certifi/python-certifi
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
13
+ Classifier: Natural Language :: English
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3 :: Only
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Requires-Python: >=3.7
26
+ License-File: LICENSE
27
+ Dynamic: author
28
+ Dynamic: author-email
29
+ Dynamic: classifier
30
+ Dynamic: description
31
+ Dynamic: home-page
32
+ Dynamic: license
33
+ Dynamic: license-file
34
+ Dynamic: project-url
35
+ Dynamic: requires-python
36
+ Dynamic: summary
37
+
38
+ Certifi: Python SSL Certificates
39
+ ================================
40
+
41
+ Certifi provides Mozilla's carefully curated collection of Root Certificates for
42
+ validating the trustworthiness of SSL certificates while verifying the identity
43
+ of TLS hosts. It has been extracted from the `Requests`_ project.
44
+
45
+ Installation
46
+ ------------
47
+
48
+ ``certifi`` is available on PyPI. Simply install it with ``pip``::
49
+
50
+ $ pip install certifi
51
+
52
+ Usage
53
+ -----
54
+
55
+ To reference the installed certificate authority (CA) bundle, you can use the
56
+ built-in function::
57
+
58
+ >>> import certifi
59
+
60
+ >>> certifi.where()
61
+ '/usr/local/lib/python3.7/site-packages/certifi/cacert.pem'
62
+
63
+ Or from the command line::
64
+
65
+ $ python -m certifi
66
+ /usr/local/lib/python3.7/site-packages/certifi/cacert.pem
67
+
68
+ Enjoy!
69
+
70
+ .. _`Requests`: https://requests.readthedocs.io/en/master/
71
+
72
+ Addition/Removal of Certificates
73
+ --------------------------------
74
+
75
+ Certifi does not support any addition/removal or other modification of the
76
+ CA trust store content. This project is intended to provide a reliable and
77
+ highly portable root of trust to python deployments. Look to upstream projects
78
+ for methods to use alternate trust.
venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/RECORD ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ certifi-2026.4.22.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ certifi-2026.4.22.dist-info/METADATA,sha256=Ttb_6cy-0FBGq3v_ICTNPKcXKVs2i-0f4gpz42W8QVo,2474
3
+ certifi-2026.4.22.dist-info/RECORD,,
4
+ certifi-2026.4.22.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
5
+ certifi-2026.4.22.dist-info/licenses/LICENSE,sha256=6TcW2mucDVpKHfYP5pWzcPBpVgPSH2-D8FPkLPwQyvc,989
6
+ certifi-2026.4.22.dist-info/top_level.txt,sha256=KMu4vUCfsjLrkPbSNdgdekS-pVJzBAJFO__nI8NF6-U,8
7
+ certifi/__init__.py,sha256=iBJYWtxRGHMaO1S73pWYpFn962WQ4ldof2GkfMSREJM,94
8
+ certifi/__main__.py,sha256=xBBoj905TUWBLRGANOcf7oi6e-3dMP4cEoG9OyMs11g,243
9
+ certifi/__pycache__/__init__.cpython-312.pyc,,
10
+ certifi/__pycache__/__main__.cpython-312.pyc,,
11
+ certifi/__pycache__/core.cpython-312.pyc,,
12
+ certifi/cacert.pem,sha256=Fr4_b-sVQIGV3P46oade-dty9ka5brvv3Gj1YlX3mfg,238641
13
+ certifi/core.py,sha256=XFXycndG5pf37ayeF8N32HUuDafsyhkVMbO4BAPWHa0,3394
14
+ certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/WHEEL ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
venv/lib/python3.12/site-packages/certifi-2026.4.22.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ certifi
venv/lib/python3.12/site-packages/certifi/__init__.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from .core import contents, where
2
+
3
+ __all__ = ["contents", "where"]
4
+ __version__ = "2026.04.22"
venv/lib/python3.12/site-packages/certifi/__main__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+
3
+ from certifi import contents, where
4
+
5
+ parser = argparse.ArgumentParser()
6
+ parser.add_argument("-c", "--contents", action="store_true")
7
+ args = parser.parse_args()
8
+
9
+ if args.contents:
10
+ print(contents())
11
+ else:
12
+ print(where())
venv/lib/python3.12/site-packages/certifi/cacert.pem ADDED
The diff for this file is too large to render. See raw diff
 
venv/lib/python3.12/site-packages/certifi/core.py ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ certifi.py
3
+ ~~~~~~~~~~
4
+
5
+ This module returns the installation location of cacert.pem or its contents.
6
+ """
7
+ import sys
8
+ import atexit
9
+
10
+ def exit_cacert_ctx() -> None:
11
+ _CACERT_CTX.__exit__(None, None, None) # type: ignore[union-attr]
12
+
13
+
14
+ if sys.version_info >= (3, 11):
15
+
16
+ from importlib.resources import as_file, files
17
+
18
+ _CACERT_CTX = None
19
+ _CACERT_PATH = None
20
+
21
+ def where() -> str:
22
+ # This is slightly terrible, but we want to delay extracting the file
23
+ # in cases where we're inside of a zipimport situation until someone
24
+ # actually calls where(), but we don't want to re-extract the file
25
+ # on every call of where(), so we'll do it once then store it in a
26
+ # global variable.
27
+ global _CACERT_CTX
28
+ global _CACERT_PATH
29
+ if _CACERT_PATH is None:
30
+ # This is slightly janky, the importlib.resources API wants you to
31
+ # manage the cleanup of this file, so it doesn't actually return a
32
+ # path, it returns a context manager that will give you the path
33
+ # when you enter it and will do any cleanup when you leave it. In
34
+ # the common case of not needing a temporary file, it will just
35
+ # return the file system location and the __exit__() is a no-op.
36
+ #
37
+ # We also have to hold onto the actual context manager, because
38
+ # it will do the cleanup whenever it gets garbage collected, so
39
+ # we will also store that at the global level as well.
40
+ _CACERT_CTX = as_file(files("certifi").joinpath("cacert.pem"))
41
+ _CACERT_PATH = str(_CACERT_CTX.__enter__())
42
+ atexit.register(exit_cacert_ctx)
43
+
44
+ return _CACERT_PATH
45
+
46
+ def contents() -> str:
47
+ return files("certifi").joinpath("cacert.pem").read_text(encoding="ascii")
48
+
49
+ else:
50
+
51
+ from importlib.resources import path as get_path, read_text
52
+
53
+ _CACERT_CTX = None
54
+ _CACERT_PATH = None
55
+
56
+ def where() -> str:
57
+ # This is slightly terrible, but we want to delay extracting the
58
+ # file in cases where we're inside of a zipimport situation until
59
+ # someone actually calls where(), but we don't want to re-extract
60
+ # the file on every call of where(), so we'll do it once then store
61
+ # it in a global variable.
62
+ global _CACERT_CTX
63
+ global _CACERT_PATH
64
+ if _CACERT_PATH is None:
65
+ # This is slightly janky, the importlib.resources API wants you
66
+ # to manage the cleanup of this file, so it doesn't actually
67
+ # return a path, it returns a context manager that will give
68
+ # you the path when you enter it and will do any cleanup when
69
+ # you leave it. In the common case of not needing a temporary
70
+ # file, it will just return the file system location and the
71
+ # __exit__() is a no-op.
72
+ #
73
+ # We also have to hold onto the actual context manager, because
74
+ # it will do the cleanup whenever it gets garbage collected, so
75
+ # we will also store that at the global level as well.
76
+ _CACERT_CTX = get_path("certifi", "cacert.pem")
77
+ _CACERT_PATH = str(_CACERT_CTX.__enter__())
78
+ atexit.register(exit_cacert_ctx)
79
+
80
+ return _CACERT_PATH
81
+
82
+ def contents() -> str:
83
+ return read_text("certifi", "cacert.pem", encoding="ascii")
venv/lib/python3.12/site-packages/certifi/py.typed ADDED
File without changes
venv/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
venv/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/METADATA ADDED
@@ -0,0 +1,625 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: httpcore
3
+ Version: 1.0.9
4
+ Summary: A minimal low-level HTTP client.
5
+ Project-URL: Documentation, https://www.encode.io/httpcore
6
+ Project-URL: Homepage, https://www.encode.io/httpcore/
7
+ Project-URL: Source, https://github.com/encode/httpcore
8
+ Author-email: Tom Christie <tom@tomchristie.com>
9
+ License-Expression: BSD-3-Clause
10
+ License-File: LICENSE.md
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Web Environment
13
+ Classifier: Framework :: AsyncIO
14
+ Classifier: Framework :: Trio
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: BSD License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Topic :: Internet :: WWW/HTTP
26
+ Requires-Python: >=3.8
27
+ Requires-Dist: certifi
28
+ Requires-Dist: h11>=0.16
29
+ Provides-Extra: asyncio
30
+ Requires-Dist: anyio<5.0,>=4.0; extra == 'asyncio'
31
+ Provides-Extra: http2
32
+ Requires-Dist: h2<5,>=3; extra == 'http2'
33
+ Provides-Extra: socks
34
+ Requires-Dist: socksio==1.*; extra == 'socks'
35
+ Provides-Extra: trio
36
+ Requires-Dist: trio<1.0,>=0.22.0; extra == 'trio'
37
+ Description-Content-Type: text/markdown
38
+
39
+ # HTTP Core
40
+
41
+ [![Test Suite](https://github.com/encode/httpcore/workflows/Test%20Suite/badge.svg)](https://github.com/encode/httpcore/actions)
42
+ [![Package version](https://badge.fury.io/py/httpcore.svg)](https://pypi.org/project/httpcore/)
43
+
44
+ > *Do one thing, and do it well.*
45
+
46
+ The HTTP Core package provides a minimal low-level HTTP client, which does
47
+ one thing only. Sending HTTP requests.
48
+
49
+ It does not provide any high level model abstractions over the API,
50
+ does not handle redirects, multipart uploads, building authentication headers,
51
+ transparent HTTP caching, URL parsing, session cookie handling,
52
+ content or charset decoding, handling JSON, environment based configuration
53
+ defaults, or any of that Jazz.
54
+
55
+ Some things HTTP Core does do:
56
+
57
+ * Sending HTTP requests.
58
+ * Thread-safe / task-safe connection pooling.
59
+ * HTTP(S) proxy & SOCKS proxy support.
60
+ * Supports HTTP/1.1 and HTTP/2.
61
+ * Provides both sync and async interfaces.
62
+ * Async backend support for `asyncio` and `trio`.
63
+
64
+ ## Requirements
65
+
66
+ Python 3.8+
67
+
68
+ ## Installation
69
+
70
+ For HTTP/1.1 only support, install with:
71
+
72
+ ```shell
73
+ $ pip install httpcore
74
+ ```
75
+
76
+ There are also a number of optional extras available...
77
+
78
+ ```shell
79
+ $ pip install httpcore['asyncio,trio,http2,socks']
80
+ ```
81
+
82
+ ## Sending requests
83
+
84
+ Send an HTTP request:
85
+
86
+ ```python
87
+ import httpcore
88
+
89
+ response = httpcore.request("GET", "https://www.example.com/")
90
+
91
+ print(response)
92
+ # <Response [200]>
93
+ print(response.status)
94
+ # 200
95
+ print(response.headers)
96
+ # [(b'Accept-Ranges', b'bytes'), (b'Age', b'557328'), (b'Cache-Control', b'max-age=604800'), ...]
97
+ print(response.content)
98
+ # b'<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>\n\n<meta charset="utf-8"/>\n ...'
99
+ ```
100
+
101
+ The top-level `httpcore.request()` function is provided for convenience. In practice whenever you're working with `httpcore` you'll want to use the connection pooling functionality that it provides.
102
+
103
+ ```python
104
+ import httpcore
105
+
106
+ http = httpcore.ConnectionPool()
107
+ response = http.request("GET", "https://www.example.com/")
108
+ ```
109
+
110
+ Once you're ready to get going, [head over to the documentation](https://www.encode.io/httpcore/).
111
+
112
+ ## Motivation
113
+
114
+ You *probably* don't want to be using HTTP Core directly. It might make sense if
115
+ you're writing something like a proxy service in Python, and you just want
116
+ something at the lowest possible level, but more typically you'll want to use
117
+ a higher level client library, such as `httpx`.
118
+
119
+ The motivation for `httpcore` is:
120
+
121
+ * To provide a reusable low-level client library, that other packages can then build on top of.
122
+ * To provide a *really clear interface split* between the networking code and client logic,
123
+ so that each is easier to understand and reason about in isolation.
124
+
125
+ ## Dependencies
126
+
127
+ The `httpcore` package has the following dependencies...
128
+
129
+ * `h11`
130
+ * `certifi`
131
+
132
+ And the following optional extras...
133
+
134
+ * `anyio` - Required by `pip install httpcore['asyncio']`.
135
+ * `trio` - Required by `pip install httpcore['trio']`.
136
+ * `h2` - Required by `pip install httpcore['http2']`.
137
+ * `socksio` - Required by `pip install httpcore['socks']`.
138
+
139
+ ## Versioning
140
+
141
+ We use [SEMVER for our versioning policy](https://semver.org/).
142
+
143
+ For changes between package versions please see our [project changelog](CHANGELOG.md).
144
+
145
+ We recommend pinning your requirements either the most current major version, or a more specific version range:
146
+
147
+ ```python
148
+ pip install 'httpcore==1.*'
149
+ ```
150
+ # Changelog
151
+
152
+ All notable changes to this project will be documented in this file.
153
+
154
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
155
+
156
+ ## Version 1.0.9 (April 24th, 2025)
157
+
158
+ - Resolve https://github.com/advisories/GHSA-vqfr-h8mv-ghfj with h11 dependency update. (#1008)
159
+
160
+ ## Version 1.0.8 (April 11th, 2025)
161
+
162
+ - Fix `AttributeError` when importing on Python 3.14. (#1005)
163
+
164
+ ## Version 1.0.7 (November 15th, 2024)
165
+
166
+ - Support `proxy=…` configuration on `ConnectionPool()`. (#974)
167
+
168
+ ## Version 1.0.6 (October 1st, 2024)
169
+
170
+ - Relax `trio` dependency pinning. (#956)
171
+ - Handle `trio` raising `NotImplementedError` on unsupported platforms. (#955)
172
+ - Handle mapping `ssl.SSLError` to `httpcore.ConnectError`. (#918)
173
+
174
+ ## 1.0.5 (March 27th, 2024)
175
+
176
+ - Handle `EndOfStream` exception for anyio backend. (#899)
177
+ - Allow trio `0.25.*` series in package dependancies. (#903)
178
+
179
+ ## 1.0.4 (February 21st, 2024)
180
+
181
+ - Add `target` request extension. (#888)
182
+ - Fix support for connection `Upgrade` and `CONNECT` when some data in the stream has been read. (#882)
183
+
184
+ ## 1.0.3 (February 13th, 2024)
185
+
186
+ - Fix support for async cancellations. (#880)
187
+ - Fix trace extension when used with socks proxy. (#849)
188
+ - Fix SSL context for connections using the "wss" scheme (#869)
189
+
190
+ ## 1.0.2 (November 10th, 2023)
191
+
192
+ - Fix `float("inf")` timeouts in `Event.wait` function. (#846)
193
+
194
+ ## 1.0.1 (November 3rd, 2023)
195
+
196
+ - Fix pool timeout to account for the total time spent retrying. (#823)
197
+ - Raise a neater RuntimeError when the correct async deps are not installed. (#826)
198
+ - Add support for synchronous TLS-in-TLS streams. (#840)
199
+
200
+ ## 1.0.0 (October 6th, 2023)
201
+
202
+ From version 1.0 our async support is now optional, as the package has minimal dependencies by default.
203
+
204
+ For async support use either `pip install 'httpcore[asyncio]'` or `pip install 'httpcore[trio]'`.
205
+
206
+ The project versioning policy is now explicitly governed by SEMVER. See https://semver.org/.
207
+
208
+ - Async support becomes fully optional. (#809)
209
+ - Add support for Python 3.12. (#807)
210
+
211
+ ## 0.18.0 (September 8th, 2023)
212
+
213
+ - Add support for HTTPS proxies. (#745, #786)
214
+ - Drop Python 3.7 support. (#727)
215
+ - Handle `sni_hostname` extension with SOCKS proxy. (#774)
216
+ - Handle HTTP/1.1 half-closed connections gracefully. (#641)
217
+ - Change the type of `Extensions` from `Mapping[Str, Any]` to `MutableMapping[Str, Any]`. (#762)
218
+
219
+ ## 0.17.3 (July 5th, 2023)
220
+
221
+ - Support async cancellations, ensuring that the connection pool is left in a clean state when cancellations occur. (#726)
222
+ - The networking backend interface has [been added to the public API](https://www.encode.io/httpcore/network-backends). Some classes which were previously private implementation detail are now part of the top-level public API. (#699)
223
+ - Graceful handling of HTTP/2 GoAway frames, with requests being transparently retried on a new connection. (#730)
224
+ - Add exceptions when a synchronous `trace callback` is passed to an asynchronous request or an asynchronous `trace callback` is passed to a synchronous request. (#717)
225
+ - Drop Python 3.7 support. (#727)
226
+
227
+ ## 0.17.2 (May 23th, 2023)
228
+
229
+ - Add `socket_options` argument to `ConnectionPool` and `HTTProxy` classes. (#668)
230
+ - Improve logging with per-module logger names. (#690)
231
+ - Add `sni_hostname` request extension. (#696)
232
+ - Resolve race condition during import of `anyio` package. (#692)
233
+ - Enable TCP_NODELAY for all synchronous sockets. (#651)
234
+
235
+ ## 0.17.1 (May 17th, 2023)
236
+
237
+ - If 'retries' is set, then allow retries if an SSL handshake error occurs. (#669)
238
+ - Improve correctness of tracebacks on network exceptions, by raising properly chained exceptions. (#678)
239
+ - Prevent connection-hanging behaviour when HTTP/2 connections are closed by a server-sent 'GoAway' frame. (#679)
240
+ - Fix edge-case exception when removing requests from the connection pool. (#680)
241
+ - Fix pool timeout edge-case. (#688)
242
+
243
+ ## 0.17.0 (March 16th, 2023)
244
+
245
+ - Add DEBUG level logging. (#648)
246
+ - Respect HTTP/2 max concurrent streams when settings updates are sent by server. (#652)
247
+ - Increase the allowable HTTP header size to 100kB. (#647)
248
+ - Add `retries` option to SOCKS proxy classes. (#643)
249
+
250
+ ## 0.16.3 (December 20th, 2022)
251
+
252
+ - Allow `ws` and `wss` schemes. Allows us to properly support websocket upgrade connections. (#625)
253
+ - Forwarding HTTP proxies use a connection-per-remote-host. Required by some proxy implementations. (#637)
254
+ - Don't raise `RuntimeError` when closing a connection pool with active connections. Removes some error cases when cancellations are used. (#631)
255
+ - Lazy import `anyio`, so that it's no longer a hard dependancy, and isn't imported if unused. (#639)
256
+
257
+ ## 0.16.2 (November 25th, 2022)
258
+
259
+ - Revert 'Fix async cancellation behaviour', which introduced race conditions. (#627)
260
+ - Raise `RuntimeError` if attempting to us UNIX domain sockets on Windows. (#619)
261
+
262
+ ## 0.16.1 (November 17th, 2022)
263
+
264
+ - Fix HTTP/1.1 interim informational responses, such as "100 Continue". (#605)
265
+
266
+ ## 0.16.0 (October 11th, 2022)
267
+
268
+ - Support HTTP/1.1 informational responses. (#581)
269
+ - Fix async cancellation behaviour. (#580)
270
+ - Support `h11` 0.14. (#579)
271
+
272
+ ## 0.15.0 (May 17th, 2022)
273
+
274
+ - Drop Python 3.6 support (#535)
275
+ - Ensure HTTP proxy CONNECT requests include `timeout` configuration. (#506)
276
+ - Switch to explicit `typing.Optional` for type hints. (#513)
277
+ - For `trio` map OSError exceptions to `ConnectError`. (#543)
278
+
279
+ ## 0.14.7 (February 4th, 2022)
280
+
281
+ - Requests which raise a PoolTimeout need to be removed from the pool queue. (#502)
282
+ - Fix AttributeError that happened when Socks5Connection were terminated. (#501)
283
+
284
+ ## 0.14.6 (February 1st, 2022)
285
+
286
+ - Fix SOCKS support for `http://` URLs. (#492)
287
+ - Resolve race condition around exceptions during streaming a response. (#491)
288
+
289
+ ## 0.14.5 (January 18th, 2022)
290
+
291
+ - SOCKS proxy support. (#478)
292
+ - Add proxy_auth argument to HTTPProxy. (#481)
293
+ - Improve error message on 'RemoteProtocolError' exception when server disconnects without sending a response. (#479)
294
+
295
+ ## 0.14.4 (January 5th, 2022)
296
+
297
+ - Support HTTP/2 on HTTPS tunnelling proxies. (#468)
298
+ - Fix proxy headers missing on HTTP forwarding. (#456)
299
+ - Only instantiate SSL context if required. (#457)
300
+ - More robust HTTP/2 handling. (#253, #439, #440, #441)
301
+
302
+ ## 0.14.3 (November 17th, 2021)
303
+
304
+ - Fix race condition when removing closed connections from the pool. (#437)
305
+
306
+ ## 0.14.2 (November 16th, 2021)
307
+
308
+ - Failed connections no longer remain in the pool. (Pull #433)
309
+
310
+ ## 0.14.1 (November 12th, 2021)
311
+
312
+ - `max_connections` becomes optional. (Pull #429)
313
+ - `certifi` is now included in the install dependancies. (Pull #428)
314
+ - `h2` is now strictly optional. (Pull #428)
315
+
316
+ ## 0.14.0 (November 11th, 2021)
317
+
318
+ The 0.14 release is a complete reworking of `httpcore`, comprehensively addressing some underlying issues in the connection pooling, as well as substantially redesigning the API to be more user friendly.
319
+
320
+ Some of the lower-level API design also makes the components more easily testable in isolation, and the package now has 100% test coverage.
321
+
322
+ See [discussion #419](https://github.com/encode/httpcore/discussions/419) for a little more background.
323
+
324
+ There's some other neat bits in there too, such as the "trace" extension, which gives a hook into inspecting the internal events that occur during the request/response cycle. This extension is needed for the HTTPX cli, in order to...
325
+
326
+ * Log the point at which the connection is established, and the IP/port on which it is made.
327
+ * Determine if the outgoing request should log as HTTP/1.1 or HTTP/2, rather than having to assume it's HTTP/2 if the --http2 flag was passed. (Which may not actually be true.)
328
+ * Log SSL version info / certificate info.
329
+
330
+ Note that `curio` support is not currently available in 0.14.0. If you're using `httpcore` with `curio` please get in touch, so we can assess if we ought to prioritize it as a feature or not.
331
+
332
+ ## 0.13.7 (September 13th, 2021)
333
+
334
+ - Fix broken error messaging when URL scheme is missing, or a non HTTP(S) scheme is used. (Pull #403)
335
+
336
+ ## 0.13.6 (June 15th, 2021)
337
+
338
+ ### Fixed
339
+
340
+ - Close sockets when read or write timeouts occur. (Pull #365)
341
+
342
+ ## 0.13.5 (June 14th, 2021)
343
+
344
+ ### Fixed
345
+
346
+ - Resolved niggles with AnyIO EOF behaviours. (Pull #358, #362)
347
+
348
+ ## 0.13.4 (June 9th, 2021)
349
+
350
+ ### Added
351
+
352
+ - Improved error messaging when URL scheme is missing, or a non HTTP(S) scheme is used. (Pull #354)
353
+
354
+ ### Fixed
355
+
356
+ - Switched to `anyio` as the default backend implementation when running with `asyncio`. Resolves some awkward [TLS timeout issues](https://github.com/encode/httpx/discussions/1511).
357
+
358
+ ## 0.13.3 (May 6th, 2021)
359
+
360
+ ### Added
361
+
362
+ - Support HTTP/2 prior knowledge, using `httpcore.SyncConnectionPool(http1=False)`. (Pull #333)
363
+
364
+ ### Fixed
365
+
366
+ - Handle cases where environment does not provide `select.poll` support. (Pull #331)
367
+
368
+ ## 0.13.2 (April 29th, 2021)
369
+
370
+ ### Added
371
+
372
+ - Improve error message for specific case of `RemoteProtocolError` where server disconnects without sending a response. (Pull #313)
373
+
374
+ ## 0.13.1 (April 28th, 2021)
375
+
376
+ ### Fixed
377
+
378
+ - More resiliant testing for closed connections. (Pull #311)
379
+ - Don't raise exceptions on ungraceful connection closes. (Pull #310)
380
+
381
+ ## 0.13.0 (April 21st, 2021)
382
+
383
+ The 0.13 release updates the core API in order to match the HTTPX Transport API,
384
+ introduced in HTTPX 0.18 onwards.
385
+
386
+ An example of making requests with the new interface is:
387
+
388
+ ```python
389
+ with httpcore.SyncConnectionPool() as http:
390
+ status_code, headers, stream, extensions = http.handle_request(
391
+ method=b'GET',
392
+ url=(b'https', b'example.org', 443, b'/'),
393
+ headers=[(b'host', b'example.org'), (b'user-agent', b'httpcore')]
394
+ stream=httpcore.ByteStream(b''),
395
+ extensions={}
396
+ )
397
+ body = stream.read()
398
+ print(status_code, body)
399
+ ```
400
+
401
+ ### Changed
402
+
403
+ - The `.request()` method is now `handle_request()`. (Pull #296)
404
+ - The `.arequest()` method is now `.handle_async_request()`. (Pull #296)
405
+ - The `headers` argument is no longer optional. (Pull #296)
406
+ - The `stream` argument is no longer optional. (Pull #296)
407
+ - The `ext` argument is now named `extensions`, and is no longer optional. (Pull #296)
408
+ - The `"reason"` extension keyword is now named `"reason_phrase"`. (Pull #296)
409
+ - The `"reason_phrase"` and `"http_version"` extensions now use byte strings for their values. (Pull #296)
410
+ - The `httpcore.PlainByteStream()` class becomes `httpcore.ByteStream()`. (Pull #296)
411
+
412
+ ### Added
413
+
414
+ - Streams now support a `.read()` interface. (Pull #296)
415
+
416
+ ### Fixed
417
+
418
+ - Task cancellation no longer leaks connections from the connection pool. (Pull #305)
419
+
420
+ ## 0.12.3 (December 7th, 2020)
421
+
422
+ ### Fixed
423
+
424
+ - Abort SSL connections on close rather than waiting for remote EOF when using `asyncio`. (Pull #167)
425
+ - Fix exception raised in case of connect timeouts when using the `anyio` backend. (Pull #236)
426
+ - Fix `Host` header precedence for `:authority` in HTTP/2. (Pull #241, #243)
427
+ - Handle extra edge case when detecting for socket readability when using `asyncio`. (Pull #242, #244)
428
+ - Fix `asyncio` SSL warning when using proxy tunneling. (Pull #249)
429
+
430
+ ## 0.12.2 (November 20th, 2020)
431
+
432
+ ### Fixed
433
+
434
+ - Properly wrap connect errors on the asyncio backend. (Pull #235)
435
+ - Fix `ImportError` occurring on Python 3.9 when using the HTTP/1.1 sync client in a multithreaded context. (Pull #237)
436
+
437
+ ## 0.12.1 (November 7th, 2020)
438
+
439
+ ### Added
440
+
441
+ - Add connect retries. (Pull #221)
442
+
443
+ ### Fixed
444
+
445
+ - Tweak detection of dropped connections, resolving an issue with open files limits on Linux. (Pull #185)
446
+ - Avoid leaking connections when establishing an HTTP tunnel to a proxy has failed. (Pull #223)
447
+ - Properly wrap OS errors when using `trio`. (Pull #225)
448
+
449
+ ## 0.12.0 (October 6th, 2020)
450
+
451
+ ### Changed
452
+
453
+ - HTTP header casing is now preserved, rather than always sent in lowercase. (#216 and python-hyper/h11#104)
454
+
455
+ ### Added
456
+
457
+ - Add Python 3.9 to officially supported versions.
458
+
459
+ ### Fixed
460
+
461
+ - Gracefully handle a stdlib asyncio bug when a connection is closed while it is in a paused-for-reading state. (#201)
462
+
463
+ ## 0.11.1 (September 28nd, 2020)
464
+
465
+ ### Fixed
466
+
467
+ - Add await to async semaphore release() coroutine (#197)
468
+ - Drop incorrect curio classifier (#192)
469
+
470
+ ## 0.11.0 (September 22nd, 2020)
471
+
472
+ The Transport API with 0.11.0 has a couple of significant changes.
473
+
474
+ Firstly we've moved changed the request interface in order to allow extensions, which will later enable us to support features
475
+ such as trailing headers, HTTP/2 server push, and CONNECT/Upgrade connections.
476
+
477
+ The interface changes from:
478
+
479
+ ```python
480
+ def request(method, url, headers, stream, timeout):
481
+ return (http_version, status_code, reason, headers, stream)
482
+ ```
483
+
484
+ To instead including an optional dictionary of extensions on the request and response:
485
+
486
+ ```python
487
+ def request(method, url, headers, stream, ext):
488
+ return (status_code, headers, stream, ext)
489
+ ```
490
+
491
+ Having an open-ended extensions point will allow us to add later support for various optional features, that wouldn't otherwise be supported without these API changes.
492
+
493
+ In particular:
494
+
495
+ * Trailing headers support.
496
+ * HTTP/2 Server Push
497
+ * sendfile.
498
+ * Exposing raw connection on CONNECT, Upgrade, HTTP/2 bi-di streaming.
499
+ * Exposing debug information out of the API, including template name, template context.
500
+
501
+ Currently extensions are limited to:
502
+
503
+ * request: `timeout` - Optional. Timeout dictionary.
504
+ * response: `http_version` - Optional. Include the HTTP version used on the response.
505
+ * response: `reason` - Optional. Include the reason phrase used on the response. Only valid with HTTP/1.*.
506
+
507
+ See https://github.com/encode/httpx/issues/1274#issuecomment-694884553 for the history behind this.
508
+
509
+ Secondly, the async version of `request` is now namespaced as `arequest`.
510
+
511
+ This allows concrete transports to support both sync and async implementations on the same class.
512
+
513
+ ### Added
514
+
515
+ - Add curio support. (Pull #168)
516
+ - Add anyio support, with `backend="anyio"`. (Pull #169)
517
+
518
+ ### Changed
519
+
520
+ - Update the Transport API to use 'ext' for optional extensions. (Pull #190)
521
+ - Update the Transport API to use `.request` and `.arequest` so implementations can support both sync and async. (Pull #189)
522
+
523
+ ## 0.10.2 (August 20th, 2020)
524
+
525
+ ### Added
526
+
527
+ - Added Unix Domain Socket support. (Pull #139)
528
+
529
+ ### Fixed
530
+
531
+ - Always include the port on proxy CONNECT requests. (Pull #154)
532
+ - Fix `max_keepalive_connections` configuration. (Pull #153)
533
+ - Fixes behaviour in HTTP/1.1 where server disconnects can be used to signal the end of the response body. (Pull #164)
534
+
535
+ ## 0.10.1 (August 7th, 2020)
536
+
537
+ - Include `max_keepalive_connections` on `AsyncHTTPProxy`/`SyncHTTPProxy` classes.
538
+
539
+ ## 0.10.0 (August 7th, 2020)
540
+
541
+ The most notable change in the 0.10.0 release is that HTTP/2 support is now fully optional.
542
+
543
+ Use either `pip install httpcore` for HTTP/1.1 support only, or `pip install httpcore[http2]` for HTTP/1.1 and HTTP/2 support.
544
+
545
+ ### Added
546
+
547
+ - HTTP/2 support becomes optional. (Pull #121, #130)
548
+ - Add `local_address=...` support. (Pull #100, #134)
549
+ - Add `PlainByteStream`, `IteratorByteStream`, `AsyncIteratorByteStream`. The `AsyncByteSteam` and `SyncByteStream` classes are now pure interface classes. (#133)
550
+ - Add `LocalProtocolError`, `RemoteProtocolError` exceptions. (Pull #129)
551
+ - Add `UnsupportedProtocol` exception. (Pull #128)
552
+ - Add `.get_connection_info()` method. (Pull #102, #137)
553
+ - Add better TRACE logs. (Pull #101)
554
+
555
+ ### Changed
556
+
557
+ - `max_keepalive` is deprecated in favour of `max_keepalive_connections`. (Pull #140)
558
+
559
+ ### Fixed
560
+
561
+ - Improve handling of server disconnects. (Pull #112)
562
+
563
+ ## 0.9.1 (May 27th, 2020)
564
+
565
+ ### Fixed
566
+
567
+ - Proper host resolution for sync case, including IPv6 support. (Pull #97)
568
+ - Close outstanding connections when connection pool is closed. (Pull #98)
569
+
570
+ ## 0.9.0 (May 21th, 2020)
571
+
572
+ ### Changed
573
+
574
+ - URL port becomes an `Optional[int]` instead of `int`. (Pull #92)
575
+
576
+ ### Fixed
577
+
578
+ - Honor HTTP/2 max concurrent streams settings. (Pull #89, #90)
579
+ - Remove incorrect debug log. (Pull #83)
580
+
581
+ ## 0.8.4 (May 11th, 2020)
582
+
583
+ ### Added
584
+
585
+ - Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables
586
+ and TRACE level logging. (Pull #79)
587
+
588
+ ### Fixed
589
+
590
+ - Reuse of connections on HTTP/2 in close concurrency situations. (Pull #81)
591
+
592
+ ## 0.8.3 (May 6rd, 2020)
593
+
594
+ ### Fixed
595
+
596
+ - Include `Host` and `Accept` headers on proxy "CONNECT" requests.
597
+ - De-duplicate any headers also contained in proxy_headers.
598
+ - HTTP/2 flag not being passed down to proxy connections.
599
+
600
+ ## 0.8.2 (May 3rd, 2020)
601
+
602
+ ### Fixed
603
+
604
+ - Fix connections using proxy forwarding requests not being added to the
605
+ connection pool properly. (Pull #70)
606
+
607
+ ## 0.8.1 (April 30th, 2020)
608
+
609
+ ### Changed
610
+
611
+ - Allow inherintance of both `httpcore.AsyncByteStream`, `httpcore.SyncByteStream` without type conflicts.
612
+
613
+ ## 0.8.0 (April 30th, 2020)
614
+
615
+ ### Fixed
616
+
617
+ - Fixed tunnel proxy support.
618
+
619
+ ### Added
620
+
621
+ - New `TimeoutException` base class.
622
+
623
+ ## 0.7.0 (March 5th, 2020)
624
+
625
+ - First integration with HTTPX.
venv/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/RECORD ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ httpcore-1.0.9.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ httpcore-1.0.9.dist-info/METADATA,sha256=_i1P2mGZEol4d54M8n88BFxTGGP83Zh-rMdPOhjUHCE,21529
3
+ httpcore-1.0.9.dist-info/RECORD,,
4
+ httpcore-1.0.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ httpcore-1.0.9.dist-info/licenses/LICENSE.md,sha256=_ctZFUx0y6uhahEkL3dAvqnyPW_rVUeRfYxflKgDkqU,1518
6
+ httpcore/__init__.py,sha256=9kT_kqChCCJUTHww24ZmR_ezcdbpRYWksD-gYNzkZP8,3445
7
+ httpcore/__pycache__/__init__.cpython-312.pyc,,
8
+ httpcore/__pycache__/_api.cpython-312.pyc,,
9
+ httpcore/__pycache__/_exceptions.cpython-312.pyc,,
10
+ httpcore/__pycache__/_models.cpython-312.pyc,,
11
+ httpcore/__pycache__/_ssl.cpython-312.pyc,,
12
+ httpcore/__pycache__/_synchronization.cpython-312.pyc,,
13
+ httpcore/__pycache__/_trace.cpython-312.pyc,,
14
+ httpcore/__pycache__/_utils.cpython-312.pyc,,
15
+ httpcore/_api.py,sha256=unZmeDschBWCGCPCwkS3Wot9euK6bg_kKxLtGTxw214,3146
16
+ httpcore/_async/__init__.py,sha256=EWdl2v4thnAHzJpqjU4h2a8DUiGAvNiWrkii9pfhTf0,1221
17
+ httpcore/_async/__pycache__/__init__.cpython-312.pyc,,
18
+ httpcore/_async/__pycache__/connection.cpython-312.pyc,,
19
+ httpcore/_async/__pycache__/connection_pool.cpython-312.pyc,,
20
+ httpcore/_async/__pycache__/http11.cpython-312.pyc,,
21
+ httpcore/_async/__pycache__/http2.cpython-312.pyc,,
22
+ httpcore/_async/__pycache__/http_proxy.cpython-312.pyc,,
23
+ httpcore/_async/__pycache__/interfaces.cpython-312.pyc,,
24
+ httpcore/_async/__pycache__/socks_proxy.cpython-312.pyc,,
25
+ httpcore/_async/connection.py,sha256=6OcPXqMEfc0BU38_-iHUNDd1vKSTc2UVT09XqNb_BOk,8449
26
+ httpcore/_async/connection_pool.py,sha256=DOIQ2s2ZCf9qfwxhzMprTPLqCL8OxGXiKF6qRHxvVyY,17307
27
+ httpcore/_async/http11.py,sha256=-qM9bV7PjSQF5vxs37-eUXOIFwbIjPcZbNliuX9TtBw,13880
28
+ httpcore/_async/http2.py,sha256=azX1fcmtXaIwjputFlZ4vd92J8xwjGOa9ax9QIv4394,23936
29
+ httpcore/_async/http_proxy.py,sha256=2zVkrlv-Ds-rWGaqaXlrhEJiAQFPo23BT3Gq_sWoBXU,14701
30
+ httpcore/_async/interfaces.py,sha256=jTiaWL83pgpGC9ziv90ZfwaKNMmHwmOalzaKiuTxATo,4455
31
+ httpcore/_async/socks_proxy.py,sha256=lLKgLlggPfhFlqi0ODeBkOWvt9CghBBUyqsnsU1tx6Q,13841
32
+ httpcore/_backends/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
+ httpcore/_backends/__pycache__/__init__.cpython-312.pyc,,
34
+ httpcore/_backends/__pycache__/anyio.cpython-312.pyc,,
35
+ httpcore/_backends/__pycache__/auto.cpython-312.pyc,,
36
+ httpcore/_backends/__pycache__/base.cpython-312.pyc,,
37
+ httpcore/_backends/__pycache__/mock.cpython-312.pyc,,
38
+ httpcore/_backends/__pycache__/sync.cpython-312.pyc,,
39
+ httpcore/_backends/__pycache__/trio.cpython-312.pyc,,
40
+ httpcore/_backends/anyio.py,sha256=x8PgEhXRC8bVqsdzk_YJx8Y6d9Tub06CuUSwnbmtqoY,5252
41
+ httpcore/_backends/auto.py,sha256=zO136PKZmsaTDK-HRk84eA-MUg8_2wJf4NvmK432Aio,1662
42
+ httpcore/_backends/base.py,sha256=aShgRdZnMmRhFWHetjumlM73f8Kz1YOAyCUP_4kHslA,3042
43
+ httpcore/_backends/mock.py,sha256=er9T436uSe7NLrfiLa4x6Nuqg5ivQ693CxWYCWsgbH4,4077
44
+ httpcore/_backends/sync.py,sha256=bhE4d9iK9Umxdsdsgm2EfKnXaBms2WggGYU-7jmUujU,7977
45
+ httpcore/_backends/trio.py,sha256=LHu4_Mr5MswQmmT3yE4oLgf9b_JJfeVS4BjDxeJc7Ro,5996
46
+ httpcore/_exceptions.py,sha256=looCKga3_YVYu3s-d3L9RMPRJyhsY7fiuuGxvkOD0c0,1184
47
+ httpcore/_models.py,sha256=IO2CcXcdpovRcLTdGFGB6RyBZdEm2h_TOmoCc4rEKho,17623
48
+ httpcore/_ssl.py,sha256=srqmSNU4iOUvWF-SrJvb8G_YEbHFELOXQOwdDIBTS9c,187
49
+ httpcore/_sync/__init__.py,sha256=JBDIgXt5la1LCJ1sLQeKhjKFpLnpNr8Svs6z2ni3fgg,1141
50
+ httpcore/_sync/__pycache__/__init__.cpython-312.pyc,,
51
+ httpcore/_sync/__pycache__/connection.cpython-312.pyc,,
52
+ httpcore/_sync/__pycache__/connection_pool.cpython-312.pyc,,
53
+ httpcore/_sync/__pycache__/http11.cpython-312.pyc,,
54
+ httpcore/_sync/__pycache__/http2.cpython-312.pyc,,
55
+ httpcore/_sync/__pycache__/http_proxy.cpython-312.pyc,,
56
+ httpcore/_sync/__pycache__/interfaces.cpython-312.pyc,,
57
+ httpcore/_sync/__pycache__/socks_proxy.cpython-312.pyc,,
58
+ httpcore/_sync/connection.py,sha256=9exGOb3PB-Mp2T1-sckSeL2t-tJ_9-NXomV8ihmWCgU,8238
59
+ httpcore/_sync/connection_pool.py,sha256=a-T8LTsUxc7r0Ww1atfHSDoWPjQ0fA8Ul7S3-F0Mj70,16955
60
+ httpcore/_sync/http11.py,sha256=IFobD1Md5JFlJGKWnh1_Q3epikUryI8qo09v8MiJIEA,13476
61
+ httpcore/_sync/http2.py,sha256=AxU4yhcq68Bn5vqdJYtiXKYUj7nvhYbxz3v4rT4xnvA,23400
62
+ httpcore/_sync/http_proxy.py,sha256=_al_6crKuEZu2wyvu493RZImJdBJnj5oGKNjLOJL2Zo,14463
63
+ httpcore/_sync/interfaces.py,sha256=snXON42vUDHO5JBJvo8D4VWk2Wat44z2OXXHDrjbl94,4344
64
+ httpcore/_sync/socks_proxy.py,sha256=zegZW9Snqj2_992DFJa8_CppOVBkVL4AgwduRkStakQ,13614
65
+ httpcore/_synchronization.py,sha256=zSi13mAColBnknjZBknUC6hKNDQT4C6ijnezZ-r0T2s,9434
66
+ httpcore/_trace.py,sha256=ck6ZoIzYTkdNAIfq5MGeKqBXDtqjOX-qfYwmZFbrGco,3952
67
+ httpcore/_utils.py,sha256=_RLgXYOAYC350ikALV59GZ68IJrdocRZxPs9PjmzdFY,1537
68
+ httpcore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
venv/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/METADATA ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.3
2
+ Name: httpx
3
+ Version: 0.28.1
4
+ Summary: The next generation HTTP client.
5
+ Project-URL: Changelog, https://github.com/encode/httpx/blob/master/CHANGELOG.md
6
+ Project-URL: Documentation, https://www.python-httpx.org
7
+ Project-URL: Homepage, https://github.com/encode/httpx
8
+ Project-URL: Source, https://github.com/encode/httpx
9
+ Author-email: Tom Christie <tom@tomchristie.com>
10
+ License: BSD-3-Clause
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Web Environment
13
+ Classifier: Framework :: AsyncIO
14
+ Classifier: Framework :: Trio
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: BSD License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Topic :: Internet :: WWW/HTTP
26
+ Requires-Python: >=3.8
27
+ Requires-Dist: anyio
28
+ Requires-Dist: certifi
29
+ Requires-Dist: httpcore==1.*
30
+ Requires-Dist: idna
31
+ Provides-Extra: brotli
32
+ Requires-Dist: brotli; (platform_python_implementation == 'CPython') and extra == 'brotli'
33
+ Requires-Dist: brotlicffi; (platform_python_implementation != 'CPython') and extra == 'brotli'
34
+ Provides-Extra: cli
35
+ Requires-Dist: click==8.*; extra == 'cli'
36
+ Requires-Dist: pygments==2.*; extra == 'cli'
37
+ Requires-Dist: rich<14,>=10; extra == 'cli'
38
+ Provides-Extra: http2
39
+ Requires-Dist: h2<5,>=3; extra == 'http2'
40
+ Provides-Extra: socks
41
+ Requires-Dist: socksio==1.*; extra == 'socks'
42
+ Provides-Extra: zstd
43
+ Requires-Dist: zstandard>=0.18.0; extra == 'zstd'
44
+ Description-Content-Type: text/markdown
45
+
46
+ <p align="center">
47
+ <a href="https://www.python-httpx.org/"><img width="350" height="208" src="https://raw.githubusercontent.com/encode/httpx/master/docs/img/butterfly.png" alt='HTTPX'></a>
48
+ </p>
49
+
50
+ <p align="center"><strong>HTTPX</strong> <em>- A next-generation HTTP client for Python.</em></p>
51
+
52
+ <p align="center">
53
+ <a href="https://github.com/encode/httpx/actions">
54
+ <img src="https://github.com/encode/httpx/workflows/Test%20Suite/badge.svg" alt="Test Suite">
55
+ </a>
56
+ <a href="https://pypi.org/project/httpx/">
57
+ <img src="https://badge.fury.io/py/httpx.svg" alt="Package version">
58
+ </a>
59
+ </p>
60
+
61
+ HTTPX is a fully featured HTTP client library for Python 3. It includes **an integrated command line client**, has support for both **HTTP/1.1 and HTTP/2**, and provides both **sync and async APIs**.
62
+
63
+ ---
64
+
65
+ Install HTTPX using pip:
66
+
67
+ ```shell
68
+ $ pip install httpx
69
+ ```
70
+
71
+ Now, let's get started:
72
+
73
+ ```pycon
74
+ >>> import httpx
75
+ >>> r = httpx.get('https://www.example.org/')
76
+ >>> r
77
+ <Response [200 OK]>
78
+ >>> r.status_code
79
+ 200
80
+ >>> r.headers['content-type']
81
+ 'text/html; charset=UTF-8'
82
+ >>> r.text
83
+ '<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'
84
+ ```
85
+
86
+ Or, using the command-line client.
87
+
88
+ ```shell
89
+ $ pip install 'httpx[cli]' # The command line client is an optional dependency.
90
+ ```
91
+
92
+ Which now allows us to use HTTPX directly from the command-line...
93
+
94
+ <p align="center">
95
+ <img width="700" src="https://raw.githubusercontent.com/encode/httpx/master/docs/img/httpx-help.png" alt='httpx --help'>
96
+ </p>
97
+
98
+ Sending a request...
99
+
100
+ <p align="center">
101
+ <img width="700" src="https://raw.githubusercontent.com/encode/httpx/master/docs/img/httpx-request.png" alt='httpx http://httpbin.org/json'>
102
+ </p>
103
+
104
+ ## Features
105
+
106
+ HTTPX builds on the well-established usability of `requests`, and gives you:
107
+
108
+ * A broadly [requests-compatible API](https://www.python-httpx.org/compatibility/).
109
+ * An integrated command-line client.
110
+ * HTTP/1.1 [and HTTP/2 support](https://www.python-httpx.org/http2/).
111
+ * Standard synchronous interface, but with [async support if you need it](https://www.python-httpx.org/async/).
112
+ * Ability to make requests directly to [WSGI applications](https://www.python-httpx.org/advanced/transports/#wsgi-transport) or [ASGI applications](https://www.python-httpx.org/advanced/transports/#asgi-transport).
113
+ * Strict timeouts everywhere.
114
+ * Fully type annotated.
115
+ * 100% test coverage.
116
+
117
+ Plus all the standard features of `requests`...
118
+
119
+ * International Domains and URLs
120
+ * Keep-Alive & Connection Pooling
121
+ * Sessions with Cookie Persistence
122
+ * Browser-style SSL Verification
123
+ * Basic/Digest Authentication
124
+ * Elegant Key/Value Cookies
125
+ * Automatic Decompression
126
+ * Automatic Content Decoding
127
+ * Unicode Response Bodies
128
+ * Multipart File Uploads
129
+ * HTTP(S) Proxy Support
130
+ * Connection Timeouts
131
+ * Streaming Downloads
132
+ * .netrc Support
133
+ * Chunked Requests
134
+
135
+ ## Installation
136
+
137
+ Install with pip:
138
+
139
+ ```shell
140
+ $ pip install httpx
141
+ ```
142
+
143
+ Or, to include the optional HTTP/2 support, use:
144
+
145
+ ```shell
146
+ $ pip install httpx[http2]
147
+ ```
148
+
149
+ HTTPX requires Python 3.8+.
150
+
151
+ ## Documentation
152
+
153
+ Project documentation is available at [https://www.python-httpx.org/](https://www.python-httpx.org/).
154
+
155
+ For a run-through of all the basics, head over to the [QuickStart](https://www.python-httpx.org/quickstart/).
156
+
157
+ For more advanced topics, see the [Advanced Usage](https://www.python-httpx.org/advanced/) section, the [async support](https://www.python-httpx.org/async/) section, or the [HTTP/2](https://www.python-httpx.org/http2/) section.
158
+
159
+ The [Developer Interface](https://www.python-httpx.org/api/) provides a comprehensive API reference.
160
+
161
+ To find out about tools that integrate with HTTPX, see [Third Party Packages](https://www.python-httpx.org/third_party_packages/).
162
+
163
+ ## Contribute
164
+
165
+ If you want to contribute with HTTPX check out the [Contributing Guide](https://www.python-httpx.org/contributing/) to learn how to start.
166
+
167
+ ## Dependencies
168
+
169
+ The HTTPX project relies on these excellent libraries:
170
+
171
+ * `httpcore` - The underlying transport implementation for `httpx`.
172
+ * `h11` - HTTP/1.1 support.
173
+ * `certifi` - SSL certificates.
174
+ * `idna` - Internationalized domain name support.
175
+ * `sniffio` - Async library autodetection.
176
+
177
+ As well as these optional installs:
178
+
179
+ * `h2` - HTTP/2 support. *(Optional, with `httpx[http2]`)*
180
+ * `socksio` - SOCKS proxy support. *(Optional, with `httpx[socks]`)*
181
+ * `rich` - Rich terminal support. *(Optional, with `httpx[cli]`)*
182
+ * `click` - Command line client support. *(Optional, with `httpx[cli]`)*
183
+ * `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional, with `httpx[brotli]`)*
184
+ * `zstandard` - Decoding for "zstd" compressed responses. *(Optional, with `httpx[zstd]`)*
185
+
186
+ A huge amount of credit is due to `requests` for the API layout that
187
+ much of this work follows, as well as to `urllib3` for plenty of design
188
+ inspiration around the lower-level networking details.
189
+
190
+ ---
191
+
192
+ <p align="center"><i>HTTPX is <a href="https://github.com/encode/httpx/blob/master/LICENSE.md">BSD licensed</a> code.<br/>Designed & crafted with care.</i><br/>&mdash; 🦋 &mdash;</p>
193
+
194
+ ## Release Information
195
+
196
+ ### Fixed
197
+
198
+ * Reintroduced supposedly-private `URLTypes` shortcut. (#2673)
199
+
200
+
201
+ ---
202
+
203
+ [Full changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/RECORD ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ../../../bin/httpx,sha256=X7Q58ew5Yofr0TnJlBBbf20dsZKaJHfppZX6oRnOudM,233
2
+ httpx-0.28.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
+ httpx-0.28.1.dist-info/METADATA,sha256=_rubD48-gNV8gZnDBPNcQzboWB0dGNeYPJJ2a4J5OyU,7052
4
+ httpx-0.28.1.dist-info/RECORD,,
5
+ httpx-0.28.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
6
+ httpx-0.28.1.dist-info/entry_points.txt,sha256=2lVkdQmxLA1pNMgSN2eV89o90HCZezhmNwsy6ryKDSA,37
7
+ httpx-0.28.1.dist-info/licenses/LICENSE.md,sha256=TsWdVE8StfU5o6cW_TIaxYzNgDC0ZSIfLIgCAM3yjY0,1508
8
+ httpx/__init__.py,sha256=CsaZe6yZj0rHg6322AWKWHGTMVr9txgEfD5P3_Rrz60,2171
9
+ httpx/__pycache__/__init__.cpython-312.pyc,,
10
+ httpx/__pycache__/__version__.cpython-312.pyc,,
11
+ httpx/__pycache__/_api.cpython-312.pyc,,
12
+ httpx/__pycache__/_auth.cpython-312.pyc,,
13
+ httpx/__pycache__/_client.cpython-312.pyc,,
14
+ httpx/__pycache__/_config.cpython-312.pyc,,
15
+ httpx/__pycache__/_content.cpython-312.pyc,,
16
+ httpx/__pycache__/_decoders.cpython-312.pyc,,
17
+ httpx/__pycache__/_exceptions.cpython-312.pyc,,
18
+ httpx/__pycache__/_main.cpython-312.pyc,,
19
+ httpx/__pycache__/_models.cpython-312.pyc,,
20
+ httpx/__pycache__/_multipart.cpython-312.pyc,,
21
+ httpx/__pycache__/_status_codes.cpython-312.pyc,,
22
+ httpx/__pycache__/_types.cpython-312.pyc,,
23
+ httpx/__pycache__/_urlparse.cpython-312.pyc,,
24
+ httpx/__pycache__/_urls.cpython-312.pyc,,
25
+ httpx/__pycache__/_utils.cpython-312.pyc,,
26
+ httpx/__version__.py,sha256=LoUyYeOXTieGzuP_64UL0wxdtxjuu_QbOvE7NOg-IqU,108
27
+ httpx/_api.py,sha256=r_Zgs4jIpcPJLqK5dbbSayqo_iVMKFaxZCd-oOHxLEs,11743
28
+ httpx/_auth.py,sha256=Yr3QwaUSK17rGYx-7j-FdicFIzz4Y9FFV-1F4-7RXX4,11891
29
+ httpx/_client.py,sha256=xD-UG67-WMkeltAAOeGGj-cZ2RRTAm19sWRxlFY7_40,65714
30
+ httpx/_config.py,sha256=pPp2U-wicfcKsF-KYRE1LYdt3e6ERGeIoXZ8Gjo3LWc,8547
31
+ httpx/_content.py,sha256=LGGzrJTR3OvN4Mb1GVVNLXkXJH-6oKlwAttO9p5w_yg,8161
32
+ httpx/_decoders.py,sha256=p0dX8I0NEHexs3UGp4SsZutiMhsXrrWl6-GnqVb0iKM,12041
33
+ httpx/_exceptions.py,sha256=bxW7fxzgVMAdNTbwT0Vnq04gJDW1_gI_GFiQPuMyjL0,8527
34
+ httpx/_main.py,sha256=Cg9GMabiTT_swaDfUgIRitSwxLRMSwUDOm7LdSGqlA4,15626
35
+ httpx/_models.py,sha256=4__Guyv1gLxuZChwim8kfQNiIOcJ9acreFOSurvZfms,44700
36
+ httpx/_multipart.py,sha256=KOHEZZl6oohg9mPaKyyu345qq1rJLg35TUG3YAzXB3Y,9843
37
+ httpx/_status_codes.py,sha256=DYn-2ufBgMeXy5s8x3_TB7wjAuAAMewTakPrm5rXEsc,5639
38
+ httpx/_transports/__init__.py,sha256=GbUoBSAOp7z-l-9j5YhMhR3DMIcn6FVLhj072O3Nnno,275
39
+ httpx/_transports/__pycache__/__init__.cpython-312.pyc,,
40
+ httpx/_transports/__pycache__/asgi.cpython-312.pyc,,
41
+ httpx/_transports/__pycache__/base.cpython-312.pyc,,
42
+ httpx/_transports/__pycache__/default.cpython-312.pyc,,
43
+ httpx/_transports/__pycache__/mock.cpython-312.pyc,,
44
+ httpx/_transports/__pycache__/wsgi.cpython-312.pyc,,
45
+ httpx/_transports/asgi.py,sha256=HRfiDYMPt4wQH2gFgHZg4c-i3sblo6bL5GTqcET-xz8,5501
46
+ httpx/_transports/base.py,sha256=kZS_VMbViYfF570pogUCJ1bulz-ybfL51Pqs9yktebU,2523
47
+ httpx/_transports/default.py,sha256=AzeaRUyVwCccTyyNJexDf0n1dFfzzydpdIQgvw7PLnk,13983
48
+ httpx/_transports/mock.py,sha256=PTo0d567RITXxGrki6kN7_67wwAxfwiMDcuXJiZCjEo,1232
49
+ httpx/_transports/wsgi.py,sha256=NcPX3Xap_EwCFZWO_OaSyQNuInCYx1QMNbO8GAei6jY,4825
50
+ httpx/_types.py,sha256=Jyh41GQq7AOev8IOWKDAg7zCbvHAfufmW5g_PiTtErY,2965
51
+ httpx/_urlparse.py,sha256=ZAmH47ONfkxrrj-PPYhGeiHjb6AjKCS-ANWIN4OL_KY,18546
52
+ httpx/_urls.py,sha256=dX99VR1DSOHpgo9Aq7PzYO4FKdxqKjwyNp8grf8dHN0,21550
53
+ httpx/_utils.py,sha256=_TVeqAKvxJkKHdz7dFeb4s0LZqQXgeFkXSgfiHBK_1o,8285
54
+ httpx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.26.3
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
venv/lib/python3.12/site-packages/httpx-0.28.1.dist-info/entry_points.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ [console_scripts]
2
+ httpx = httpx:main
venv/lib/python3.12/site-packages/httpx/__init__.py ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from .__version__ import __description__, __title__, __version__
2
+ from ._api import *
3
+ from ._auth import *
4
+ from ._client import *
5
+ from ._config import *
6
+ from ._content import *
7
+ from ._exceptions import *
8
+ from ._models import *
9
+ from ._status_codes import *
10
+ from ._transports import *
11
+ from ._types import *
12
+ from ._urls import *
13
+
14
+ try:
15
+ from ._main import main
16
+ except ImportError: # pragma: no cover
17
+
18
+ def main() -> None: # type: ignore
19
+ import sys
20
+
21
+ print(
22
+ "The httpx command line client could not run because the required "
23
+ "dependencies were not installed.\nMake sure you've installed "
24
+ "everything with: pip install 'httpx[cli]'"
25
+ )
26
+ sys.exit(1)
27
+
28
+
29
+ __all__ = [
30
+ "__description__",
31
+ "__title__",
32
+ "__version__",
33
+ "ASGITransport",
34
+ "AsyncBaseTransport",
35
+ "AsyncByteStream",
36
+ "AsyncClient",
37
+ "AsyncHTTPTransport",
38
+ "Auth",
39
+ "BaseTransport",
40
+ "BasicAuth",
41
+ "ByteStream",
42
+ "Client",
43
+ "CloseError",
44
+ "codes",
45
+ "ConnectError",
46
+ "ConnectTimeout",
47
+ "CookieConflict",
48
+ "Cookies",
49
+ "create_ssl_context",
50
+ "DecodingError",
51
+ "delete",
52
+ "DigestAuth",
53
+ "get",
54
+ "head",
55
+ "Headers",
56
+ "HTTPError",
57
+ "HTTPStatusError",
58
+ "HTTPTransport",
59
+ "InvalidURL",
60
+ "Limits",
61
+ "LocalProtocolError",
62
+ "main",
63
+ "MockTransport",
64
+ "NetRCAuth",
65
+ "NetworkError",
66
+ "options",
67
+ "patch",
68
+ "PoolTimeout",
69
+ "post",
70
+ "ProtocolError",
71
+ "Proxy",
72
+ "ProxyError",
73
+ "put",
74
+ "QueryParams",
75
+ "ReadError",
76
+ "ReadTimeout",
77
+ "RemoteProtocolError",
78
+ "request",
79
+ "Request",
80
+ "RequestError",
81
+ "RequestNotRead",
82
+ "Response",
83
+ "ResponseNotRead",
84
+ "stream",
85
+ "StreamClosed",
86
+ "StreamConsumed",
87
+ "StreamError",
88
+ "SyncByteStream",
89
+ "Timeout",
90
+ "TimeoutException",
91
+ "TooManyRedirects",
92
+ "TransportError",
93
+ "UnsupportedProtocol",
94
+ "URL",
95
+ "USE_CLIENT_DEFAULT",
96
+ "WriteError",
97
+ "WriteTimeout",
98
+ "WSGITransport",
99
+ ]
100
+
101
+
102
+ __locals = locals()
103
+ for __name in __all__:
104
+ if not __name.startswith("__"):
105
+ setattr(__locals[__name], "__module__", "httpx") # noqa
venv/lib/python3.12/site-packages/httpx/__version__.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ __title__ = "httpx"
2
+ __description__ = "A next generation HTTP client, for Python 3."
3
+ __version__ = "0.28.1"
venv/lib/python3.12/site-packages/httpx/_config.py ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import os
4
+ import typing
5
+
6
+ from ._models import Headers
7
+ from ._types import CertTypes, HeaderTypes, TimeoutTypes
8
+ from ._urls import URL
9
+
10
+ if typing.TYPE_CHECKING:
11
+ import ssl # pragma: no cover
12
+
13
+ __all__ = ["Limits", "Proxy", "Timeout", "create_ssl_context"]
14
+
15
+
16
+ class UnsetType:
17
+ pass # pragma: no cover
18
+
19
+
20
+ UNSET = UnsetType()
21
+
22
+
23
+ def create_ssl_context(
24
+ verify: ssl.SSLContext | str | bool = True,
25
+ cert: CertTypes | None = None,
26
+ trust_env: bool = True,
27
+ ) -> ssl.SSLContext:
28
+ import ssl
29
+ import warnings
30
+
31
+ import certifi
32
+
33
+ if verify is True:
34
+ if trust_env and os.environ.get("SSL_CERT_FILE"): # pragma: nocover
35
+ ctx = ssl.create_default_context(cafile=os.environ["SSL_CERT_FILE"])
36
+ elif trust_env and os.environ.get("SSL_CERT_DIR"): # pragma: nocover
37
+ ctx = ssl.create_default_context(capath=os.environ["SSL_CERT_DIR"])
38
+ else:
39
+ # Default case...
40
+ ctx = ssl.create_default_context(cafile=certifi.where())
41
+ elif verify is False:
42
+ ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
43
+ ctx.check_hostname = False
44
+ ctx.verify_mode = ssl.CERT_NONE
45
+ elif isinstance(verify, str): # pragma: nocover
46
+ message = (
47
+ "`verify=<str>` is deprecated. "
48
+ "Use `verify=ssl.create_default_context(cafile=...)` "
49
+ "or `verify=ssl.create_default_context(capath=...)` instead."
50
+ )
51
+ warnings.warn(message, DeprecationWarning)
52
+ if os.path.isdir(verify):
53
+ return ssl.create_default_context(capath=verify)
54
+ return ssl.create_default_context(cafile=verify)
55
+ else:
56
+ ctx = verify
57
+
58
+ if cert: # pragma: nocover
59
+ message = (
60
+ "`cert=...` is deprecated. Use `verify=<ssl_context>` instead,"
61
+ "with `.load_cert_chain()` to configure the certificate chain."
62
+ )
63
+ warnings.warn(message, DeprecationWarning)
64
+ if isinstance(cert, str):
65
+ ctx.load_cert_chain(cert)
66
+ else:
67
+ ctx.load_cert_chain(*cert)
68
+
69
+ return ctx
70
+
71
+
72
+ class Timeout:
73
+ """
74
+ Timeout configuration.
75
+
76
+ **Usage**:
77
+
78
+ Timeout(None) # No timeouts.
79
+ Timeout(5.0) # 5s timeout on all operations.
80
+ Timeout(None, connect=5.0) # 5s timeout on connect, no other timeouts.
81
+ Timeout(5.0, connect=10.0) # 10s timeout on connect. 5s timeout elsewhere.
82
+ Timeout(5.0, pool=None) # No timeout on acquiring connection from pool.
83
+ # 5s timeout elsewhere.
84
+ """
85
+
86
+ def __init__(
87
+ self,
88
+ timeout: TimeoutTypes | UnsetType = UNSET,
89
+ *,
90
+ connect: None | float | UnsetType = UNSET,
91
+ read: None | float | UnsetType = UNSET,
92
+ write: None | float | UnsetType = UNSET,
93
+ pool: None | float | UnsetType = UNSET,
94
+ ) -> None:
95
+ if isinstance(timeout, Timeout):
96
+ # Passed as a single explicit Timeout.
97
+ assert connect is UNSET
98
+ assert read is UNSET
99
+ assert write is UNSET
100
+ assert pool is UNSET
101
+ self.connect = timeout.connect # type: typing.Optional[float]
102
+ self.read = timeout.read # type: typing.Optional[float]
103
+ self.write = timeout.write # type: typing.Optional[float]
104
+ self.pool = timeout.pool # type: typing.Optional[float]
105
+ elif isinstance(timeout, tuple):
106
+ # Passed as a tuple.
107
+ self.connect = timeout[0]
108
+ self.read = timeout[1]
109
+ self.write = None if len(timeout) < 3 else timeout[2]
110
+ self.pool = None if len(timeout) < 4 else timeout[3]
111
+ elif not (
112
+ isinstance(connect, UnsetType)
113
+ or isinstance(read, UnsetType)
114
+ or isinstance(write, UnsetType)
115
+ or isinstance(pool, UnsetType)
116
+ ):
117
+ self.connect = connect
118
+ self.read = read
119
+ self.write = write
120
+ self.pool = pool
121
+ else:
122
+ if isinstance(timeout, UnsetType):
123
+ raise ValueError(
124
+ "httpx.Timeout must either include a default, or set all "
125
+ "four parameters explicitly."
126
+ )
127
+ self.connect = timeout if isinstance(connect, UnsetType) else connect
128
+ self.read = timeout if isinstance(read, UnsetType) else read
129
+ self.write = timeout if isinstance(write, UnsetType) else write
130
+ self.pool = timeout if isinstance(pool, UnsetType) else pool
131
+
132
+ def as_dict(self) -> dict[str, float | None]:
133
+ return {
134
+ "connect": self.connect,
135
+ "read": self.read,
136
+ "write": self.write,
137
+ "pool": self.pool,
138
+ }
139
+
140
+ def __eq__(self, other: typing.Any) -> bool:
141
+ return (
142
+ isinstance(other, self.__class__)
143
+ and self.connect == other.connect
144
+ and self.read == other.read
145
+ and self.write == other.write
146
+ and self.pool == other.pool
147
+ )
148
+
149
+ def __repr__(self) -> str:
150
+ class_name = self.__class__.__name__
151
+ if len({self.connect, self.read, self.write, self.pool}) == 1:
152
+ return f"{class_name}(timeout={self.connect})"
153
+ return (
154
+ f"{class_name}(connect={self.connect}, "
155
+ f"read={self.read}, write={self.write}, pool={self.pool})"
156
+ )
157
+
158
+
159
+ class Limits:
160
+ """
161
+ Configuration for limits to various client behaviors.
162
+
163
+ **Parameters:**
164
+
165
+ * **max_connections** - The maximum number of concurrent connections that may be
166
+ established.
167
+ * **max_keepalive_connections** - Allow the connection pool to maintain
168
+ keep-alive connections below this point. Should be less than or equal
169
+ to `max_connections`.
170
+ * **keepalive_expiry** - Time limit on idle keep-alive connections in seconds.
171
+ """
172
+
173
+ def __init__(
174
+ self,
175
+ *,
176
+ max_connections: int | None = None,
177
+ max_keepalive_connections: int | None = None,
178
+ keepalive_expiry: float | None = 5.0,
179
+ ) -> None:
180
+ self.max_connections = max_connections
181
+ self.max_keepalive_connections = max_keepalive_connections
182
+ self.keepalive_expiry = keepalive_expiry
183
+
184
+ def __eq__(self, other: typing.Any) -> bool:
185
+ return (
186
+ isinstance(other, self.__class__)
187
+ and self.max_connections == other.max_connections
188
+ and self.max_keepalive_connections == other.max_keepalive_connections
189
+ and self.keepalive_expiry == other.keepalive_expiry
190
+ )
191
+
192
+ def __repr__(self) -> str:
193
+ class_name = self.__class__.__name__
194
+ return (
195
+ f"{class_name}(max_connections={self.max_connections}, "
196
+ f"max_keepalive_connections={self.max_keepalive_connections}, "
197
+ f"keepalive_expiry={self.keepalive_expiry})"
198
+ )
199
+
200
+
201
+ class Proxy:
202
+ def __init__(
203
+ self,
204
+ url: URL | str,
205
+ *,
206
+ ssl_context: ssl.SSLContext | None = None,
207
+ auth: tuple[str, str] | None = None,
208
+ headers: HeaderTypes | None = None,
209
+ ) -> None:
210
+ url = URL(url)
211
+ headers = Headers(headers)
212
+
213
+ if url.scheme not in ("http", "https", "socks5", "socks5h"):
214
+ raise ValueError(f"Unknown scheme for proxy URL {url!r}")
215
+
216
+ if url.username or url.password:
217
+ # Remove any auth credentials from the URL.
218
+ auth = (url.username, url.password)
219
+ url = url.copy_with(username=None, password=None)
220
+
221
+ self.url = url
222
+ self.auth = auth
223
+ self.headers = headers
224
+ self.ssl_context = ssl_context
225
+
226
+ @property
227
+ def raw_auth(self) -> tuple[bytes, bytes] | None:
228
+ # The proxy authentication as raw bytes.
229
+ return (
230
+ None
231
+ if self.auth is None
232
+ else (self.auth[0].encode("utf-8"), self.auth[1].encode("utf-8"))
233
+ )
234
+
235
+ def __repr__(self) -> str:
236
+ # The authentication is represented with the password component masked.
237
+ auth = (self.auth[0], "********") if self.auth else None
238
+
239
+ # Build a nice concise representation.
240
+ url_str = f"{str(self.url)!r}"
241
+ auth_str = f", auth={auth!r}" if auth else ""
242
+ headers_str = f", headers={dict(self.headers)!r}" if self.headers else ""
243
+ return f"Proxy({url_str}{auth_str}{headers_str})"
244
+
245
+
246
+ DEFAULT_TIMEOUT_CONFIG = Timeout(timeout=5.0)
247
+ DEFAULT_LIMITS = Limits(max_connections=100, max_keepalive_connections=20)
248
+ DEFAULT_MAX_REDIRECTS = 20
venv/lib/python3.12/site-packages/httpx/_models.py ADDED
@@ -0,0 +1,1277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import codecs
4
+ import datetime
5
+ import email.message
6
+ import json as jsonlib
7
+ import re
8
+ import typing
9
+ import urllib.request
10
+ from collections.abc import Mapping
11
+ from http.cookiejar import Cookie, CookieJar
12
+
13
+ from ._content import ByteStream, UnattachedStream, encode_request, encode_response
14
+ from ._decoders import (
15
+ SUPPORTED_DECODERS,
16
+ ByteChunker,
17
+ ContentDecoder,
18
+ IdentityDecoder,
19
+ LineDecoder,
20
+ MultiDecoder,
21
+ TextChunker,
22
+ TextDecoder,
23
+ )
24
+ from ._exceptions import (
25
+ CookieConflict,
26
+ HTTPStatusError,
27
+ RequestNotRead,
28
+ ResponseNotRead,
29
+ StreamClosed,
30
+ StreamConsumed,
31
+ request_context,
32
+ )
33
+ from ._multipart import get_multipart_boundary_from_content_type
34
+ from ._status_codes import codes
35
+ from ._types import (
36
+ AsyncByteStream,
37
+ CookieTypes,
38
+ HeaderTypes,
39
+ QueryParamTypes,
40
+ RequestContent,
41
+ RequestData,
42
+ RequestExtensions,
43
+ RequestFiles,
44
+ ResponseContent,
45
+ ResponseExtensions,
46
+ SyncByteStream,
47
+ )
48
+ from ._urls import URL
49
+ from ._utils import to_bytes_or_str, to_str
50
+
51
+ __all__ = ["Cookies", "Headers", "Request", "Response"]
52
+
53
+ SENSITIVE_HEADERS = {"authorization", "proxy-authorization"}
54
+
55
+
56
+ def _is_known_encoding(encoding: str) -> bool:
57
+ """
58
+ Return `True` if `encoding` is a known codec.
59
+ """
60
+ try:
61
+ codecs.lookup(encoding)
62
+ except LookupError:
63
+ return False
64
+ return True
65
+
66
+
67
+ def _normalize_header_key(key: str | bytes, encoding: str | None = None) -> bytes:
68
+ """
69
+ Coerce str/bytes into a strictly byte-wise HTTP header key.
70
+ """
71
+ return key if isinstance(key, bytes) else key.encode(encoding or "ascii")
72
+
73
+
74
+ def _normalize_header_value(value: str | bytes, encoding: str | None = None) -> bytes:
75
+ """
76
+ Coerce str/bytes into a strictly byte-wise HTTP header value.
77
+ """
78
+ if isinstance(value, bytes):
79
+ return value
80
+ if not isinstance(value, str):
81
+ raise TypeError(f"Header value must be str or bytes, not {type(value)}")
82
+ return value.encode(encoding or "ascii")
83
+
84
+
85
+ def _parse_content_type_charset(content_type: str) -> str | None:
86
+ # We used to use `cgi.parse_header()` here, but `cgi` became a dead battery.
87
+ # See: https://peps.python.org/pep-0594/#cgi
88
+ msg = email.message.Message()
89
+ msg["content-type"] = content_type
90
+ return msg.get_content_charset(failobj=None)
91
+
92
+
93
+ def _parse_header_links(value: str) -> list[dict[str, str]]:
94
+ """
95
+ Returns a list of parsed link headers, for more info see:
96
+ https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link
97
+ The generic syntax of those is:
98
+ Link: < uri-reference >; param1=value1; param2="value2"
99
+ So for instance:
100
+ Link; '<http:/.../front.jpeg>; type="image/jpeg",<http://.../back.jpeg>;'
101
+ would return
102
+ [
103
+ {"url": "http:/.../front.jpeg", "type": "image/jpeg"},
104
+ {"url": "http://.../back.jpeg"},
105
+ ]
106
+ :param value: HTTP Link entity-header field
107
+ :return: list of parsed link headers
108
+ """
109
+ links: list[dict[str, str]] = []
110
+ replace_chars = " '\""
111
+ value = value.strip(replace_chars)
112
+ if not value:
113
+ return links
114
+ for val in re.split(", *<", value):
115
+ try:
116
+ url, params = val.split(";", 1)
117
+ except ValueError:
118
+ url, params = val, ""
119
+ link = {"url": url.strip("<> '\"")}
120
+ for param in params.split(";"):
121
+ try:
122
+ key, value = param.split("=")
123
+ except ValueError:
124
+ break
125
+ link[key.strip(replace_chars)] = value.strip(replace_chars)
126
+ links.append(link)
127
+ return links
128
+
129
+
130
+ def _obfuscate_sensitive_headers(
131
+ items: typing.Iterable[tuple[typing.AnyStr, typing.AnyStr]],
132
+ ) -> typing.Iterator[tuple[typing.AnyStr, typing.AnyStr]]:
133
+ for k, v in items:
134
+ if to_str(k.lower()) in SENSITIVE_HEADERS:
135
+ v = to_bytes_or_str("[secure]", match_type_of=v)
136
+ yield k, v
137
+
138
+
139
+ class Headers(typing.MutableMapping[str, str]):
140
+ """
141
+ HTTP headers, as a case-insensitive multi-dict.
142
+ """
143
+
144
+ def __init__(
145
+ self,
146
+ headers: HeaderTypes | None = None,
147
+ encoding: str | None = None,
148
+ ) -> None:
149
+ self._list = [] # type: typing.List[typing.Tuple[bytes, bytes, bytes]]
150
+
151
+ if isinstance(headers, Headers):
152
+ self._list = list(headers._list)
153
+ elif isinstance(headers, Mapping):
154
+ for k, v in headers.items():
155
+ bytes_key = _normalize_header_key(k, encoding)
156
+ bytes_value = _normalize_header_value(v, encoding)
157
+ self._list.append((bytes_key, bytes_key.lower(), bytes_value))
158
+ elif headers is not None:
159
+ for k, v in headers:
160
+ bytes_key = _normalize_header_key(k, encoding)
161
+ bytes_value = _normalize_header_value(v, encoding)
162
+ self._list.append((bytes_key, bytes_key.lower(), bytes_value))
163
+
164
+ self._encoding = encoding
165
+
166
+ @property
167
+ def encoding(self) -> str:
168
+ """
169
+ Header encoding is mandated as ascii, but we allow fallbacks to utf-8
170
+ or iso-8859-1.
171
+ """
172
+ if self._encoding is None:
173
+ for encoding in ["ascii", "utf-8"]:
174
+ for key, value in self.raw:
175
+ try:
176
+ key.decode(encoding)
177
+ value.decode(encoding)
178
+ except UnicodeDecodeError:
179
+ break
180
+ else:
181
+ # The else block runs if 'break' did not occur, meaning
182
+ # all values fitted the encoding.
183
+ self._encoding = encoding
184
+ break
185
+ else:
186
+ # The ISO-8859-1 encoding covers all 256 code points in a byte,
187
+ # so will never raise decode errors.
188
+ self._encoding = "iso-8859-1"
189
+ return self._encoding
190
+
191
+ @encoding.setter
192
+ def encoding(self, value: str) -> None:
193
+ self._encoding = value
194
+
195
+ @property
196
+ def raw(self) -> list[tuple[bytes, bytes]]:
197
+ """
198
+ Returns a list of the raw header items, as byte pairs.
199
+ """
200
+ return [(raw_key, value) for raw_key, _, value in self._list]
201
+
202
+ def keys(self) -> typing.KeysView[str]:
203
+ return {key.decode(self.encoding): None for _, key, value in self._list}.keys()
204
+
205
+ def values(self) -> typing.ValuesView[str]:
206
+ values_dict: dict[str, str] = {}
207
+ for _, key, value in self._list:
208
+ str_key = key.decode(self.encoding)
209
+ str_value = value.decode(self.encoding)
210
+ if str_key in values_dict:
211
+ values_dict[str_key] += f", {str_value}"
212
+ else:
213
+ values_dict[str_key] = str_value
214
+ return values_dict.values()
215
+
216
+ def items(self) -> typing.ItemsView[str, str]:
217
+ """
218
+ Return `(key, value)` items of headers. Concatenate headers
219
+ into a single comma separated value when a key occurs multiple times.
220
+ """
221
+ values_dict: dict[str, str] = {}
222
+ for _, key, value in self._list:
223
+ str_key = key.decode(self.encoding)
224
+ str_value = value.decode(self.encoding)
225
+ if str_key in values_dict:
226
+ values_dict[str_key] += f", {str_value}"
227
+ else:
228
+ values_dict[str_key] = str_value
229
+ return values_dict.items()
230
+
231
+ def multi_items(self) -> list[tuple[str, str]]:
232
+ """
233
+ Return a list of `(key, value)` pairs of headers. Allow multiple
234
+ occurrences of the same key without concatenating into a single
235
+ comma separated value.
236
+ """
237
+ return [
238
+ (key.decode(self.encoding), value.decode(self.encoding))
239
+ for _, key, value in self._list
240
+ ]
241
+
242
+ def get(self, key: str, default: typing.Any = None) -> typing.Any:
243
+ """
244
+ Return a header value. If multiple occurrences of the header occur
245
+ then concatenate them together with commas.
246
+ """
247
+ try:
248
+ return self[key]
249
+ except KeyError:
250
+ return default
251
+
252
+ def get_list(self, key: str, split_commas: bool = False) -> list[str]:
253
+ """
254
+ Return a list of all header values for a given key.
255
+ If `split_commas=True` is passed, then any comma separated header
256
+ values are split into multiple return strings.
257
+ """
258
+ get_header_key = key.lower().encode(self.encoding)
259
+
260
+ values = [
261
+ item_value.decode(self.encoding)
262
+ for _, item_key, item_value in self._list
263
+ if item_key.lower() == get_header_key
264
+ ]
265
+
266
+ if not split_commas:
267
+ return values
268
+
269
+ split_values = []
270
+ for value in values:
271
+ split_values.extend([item.strip() for item in value.split(",")])
272
+ return split_values
273
+
274
+ def update(self, headers: HeaderTypes | None = None) -> None: # type: ignore
275
+ headers = Headers(headers)
276
+ for key in headers.keys():
277
+ if key in self:
278
+ self.pop(key)
279
+ self._list.extend(headers._list)
280
+
281
+ def copy(self) -> Headers:
282
+ return Headers(self, encoding=self.encoding)
283
+
284
+ def __getitem__(self, key: str) -> str:
285
+ """
286
+ Return a single header value.
287
+
288
+ If there are multiple headers with the same key, then we concatenate
289
+ them with commas. See: https://tools.ietf.org/html/rfc7230#section-3.2.2
290
+ """
291
+ normalized_key = key.lower().encode(self.encoding)
292
+
293
+ items = [
294
+ header_value.decode(self.encoding)
295
+ for _, header_key, header_value in self._list
296
+ if header_key == normalized_key
297
+ ]
298
+
299
+ if items:
300
+ return ", ".join(items)
301
+
302
+ raise KeyError(key)
303
+
304
+ def __setitem__(self, key: str, value: str) -> None:
305
+ """
306
+ Set the header `key` to `value`, removing any duplicate entries.
307
+ Retains insertion order.
308
+ """
309
+ set_key = key.encode(self._encoding or "utf-8")
310
+ set_value = value.encode(self._encoding or "utf-8")
311
+ lookup_key = set_key.lower()
312
+
313
+ found_indexes = [
314
+ idx
315
+ for idx, (_, item_key, _) in enumerate(self._list)
316
+ if item_key == lookup_key
317
+ ]
318
+
319
+ for idx in reversed(found_indexes[1:]):
320
+ del self._list[idx]
321
+
322
+ if found_indexes:
323
+ idx = found_indexes[0]
324
+ self._list[idx] = (set_key, lookup_key, set_value)
325
+ else:
326
+ self._list.append((set_key, lookup_key, set_value))
327
+
328
+ def __delitem__(self, key: str) -> None:
329
+ """
330
+ Remove the header `key`.
331
+ """
332
+ del_key = key.lower().encode(self.encoding)
333
+
334
+ pop_indexes = [
335
+ idx
336
+ for idx, (_, item_key, _) in enumerate(self._list)
337
+ if item_key.lower() == del_key
338
+ ]
339
+
340
+ if not pop_indexes:
341
+ raise KeyError(key)
342
+
343
+ for idx in reversed(pop_indexes):
344
+ del self._list[idx]
345
+
346
+ def __contains__(self, key: typing.Any) -> bool:
347
+ header_key = key.lower().encode(self.encoding)
348
+ return header_key in [key for _, key, _ in self._list]
349
+
350
+ def __iter__(self) -> typing.Iterator[typing.Any]:
351
+ return iter(self.keys())
352
+
353
+ def __len__(self) -> int:
354
+ return len(self._list)
355
+
356
+ def __eq__(self, other: typing.Any) -> bool:
357
+ try:
358
+ other_headers = Headers(other)
359
+ except ValueError:
360
+ return False
361
+
362
+ self_list = [(key, value) for _, key, value in self._list]
363
+ other_list = [(key, value) for _, key, value in other_headers._list]
364
+ return sorted(self_list) == sorted(other_list)
365
+
366
+ def __repr__(self) -> str:
367
+ class_name = self.__class__.__name__
368
+
369
+ encoding_str = ""
370
+ if self.encoding != "ascii":
371
+ encoding_str = f", encoding={self.encoding!r}"
372
+
373
+ as_list = list(_obfuscate_sensitive_headers(self.multi_items()))
374
+ as_dict = dict(as_list)
375
+
376
+ no_duplicate_keys = len(as_dict) == len(as_list)
377
+ if no_duplicate_keys:
378
+ return f"{class_name}({as_dict!r}{encoding_str})"
379
+ return f"{class_name}({as_list!r}{encoding_str})"
380
+
381
+
382
+ class Request:
383
+ def __init__(
384
+ self,
385
+ method: str,
386
+ url: URL | str,
387
+ *,
388
+ params: QueryParamTypes | None = None,
389
+ headers: HeaderTypes | None = None,
390
+ cookies: CookieTypes | None = None,
391
+ content: RequestContent | None = None,
392
+ data: RequestData | None = None,
393
+ files: RequestFiles | None = None,
394
+ json: typing.Any | None = None,
395
+ stream: SyncByteStream | AsyncByteStream | None = None,
396
+ extensions: RequestExtensions | None = None,
397
+ ) -> None:
398
+ self.method = method.upper()
399
+ self.url = URL(url) if params is None else URL(url, params=params)
400
+ self.headers = Headers(headers)
401
+ self.extensions = {} if extensions is None else dict(extensions)
402
+
403
+ if cookies:
404
+ Cookies(cookies).set_cookie_header(self)
405
+
406
+ if stream is None:
407
+ content_type: str | None = self.headers.get("content-type")
408
+ headers, stream = encode_request(
409
+ content=content,
410
+ data=data,
411
+ files=files,
412
+ json=json,
413
+ boundary=get_multipart_boundary_from_content_type(
414
+ content_type=content_type.encode(self.headers.encoding)
415
+ if content_type
416
+ else None
417
+ ),
418
+ )
419
+ self._prepare(headers)
420
+ self.stream = stream
421
+ # Load the request body, except for streaming content.
422
+ if isinstance(stream, ByteStream):
423
+ self.read()
424
+ else:
425
+ # There's an important distinction between `Request(content=...)`,
426
+ # and `Request(stream=...)`.
427
+ #
428
+ # Using `content=...` implies automatically populated `Host` and content
429
+ # headers, of either `Content-Length: ...` or `Transfer-Encoding: chunked`.
430
+ #
431
+ # Using `stream=...` will not automatically include *any*
432
+ # auto-populated headers.
433
+ #
434
+ # As an end-user you don't really need `stream=...`. It's only
435
+ # useful when:
436
+ #
437
+ # * Preserving the request stream when copying requests, eg for redirects.
438
+ # * Creating request instances on the *server-side* of the transport API.
439
+ self.stream = stream
440
+
441
+ def _prepare(self, default_headers: dict[str, str]) -> None:
442
+ for key, value in default_headers.items():
443
+ # Ignore Transfer-Encoding if the Content-Length has been set explicitly.
444
+ if key.lower() == "transfer-encoding" and "Content-Length" in self.headers:
445
+ continue
446
+ self.headers.setdefault(key, value)
447
+
448
+ auto_headers: list[tuple[bytes, bytes]] = []
449
+
450
+ has_host = "Host" in self.headers
451
+ has_content_length = (
452
+ "Content-Length" in self.headers or "Transfer-Encoding" in self.headers
453
+ )
454
+
455
+ if not has_host and self.url.host:
456
+ auto_headers.append((b"Host", self.url.netloc))
457
+ if not has_content_length and self.method in ("POST", "PUT", "PATCH"):
458
+ auto_headers.append((b"Content-Length", b"0"))
459
+
460
+ self.headers = Headers(auto_headers + self.headers.raw)
461
+
462
+ @property
463
+ def content(self) -> bytes:
464
+ if not hasattr(self, "_content"):
465
+ raise RequestNotRead()
466
+ return self._content
467
+
468
+ def read(self) -> bytes:
469
+ """
470
+ Read and return the request content.
471
+ """
472
+ if not hasattr(self, "_content"):
473
+ assert isinstance(self.stream, typing.Iterable)
474
+ self._content = b"".join(self.stream)
475
+ if not isinstance(self.stream, ByteStream):
476
+ # If a streaming request has been read entirely into memory, then
477
+ # we can replace the stream with a raw bytes implementation,
478
+ # to ensure that any non-replayable streams can still be used.
479
+ self.stream = ByteStream(self._content)
480
+ return self._content
481
+
482
+ async def aread(self) -> bytes:
483
+ """
484
+ Read and return the request content.
485
+ """
486
+ if not hasattr(self, "_content"):
487
+ assert isinstance(self.stream, typing.AsyncIterable)
488
+ self._content = b"".join([part async for part in self.stream])
489
+ if not isinstance(self.stream, ByteStream):
490
+ # If a streaming request has been read entirely into memory, then
491
+ # we can replace the stream with a raw bytes implementation,
492
+ # to ensure that any non-replayable streams can still be used.
493
+ self.stream = ByteStream(self._content)
494
+ return self._content
495
+
496
+ def __repr__(self) -> str:
497
+ class_name = self.__class__.__name__
498
+ url = str(self.url)
499
+ return f"<{class_name}({self.method!r}, {url!r})>"
500
+
501
+ def __getstate__(self) -> dict[str, typing.Any]:
502
+ return {
503
+ name: value
504
+ for name, value in self.__dict__.items()
505
+ if name not in ["extensions", "stream"]
506
+ }
507
+
508
+ def __setstate__(self, state: dict[str, typing.Any]) -> None:
509
+ for name, value in state.items():
510
+ setattr(self, name, value)
511
+ self.extensions = {}
512
+ self.stream = UnattachedStream()
513
+
514
+
515
+ class Response:
516
+ def __init__(
517
+ self,
518
+ status_code: int,
519
+ *,
520
+ headers: HeaderTypes | None = None,
521
+ content: ResponseContent | None = None,
522
+ text: str | None = None,
523
+ html: str | None = None,
524
+ json: typing.Any = None,
525
+ stream: SyncByteStream | AsyncByteStream | None = None,
526
+ request: Request | None = None,
527
+ extensions: ResponseExtensions | None = None,
528
+ history: list[Response] | None = None,
529
+ default_encoding: str | typing.Callable[[bytes], str] = "utf-8",
530
+ ) -> None:
531
+ self.status_code = status_code
532
+ self.headers = Headers(headers)
533
+
534
+ self._request: Request | None = request
535
+
536
+ # When follow_redirects=False and a redirect is received,
537
+ # the client will set `response.next_request`.
538
+ self.next_request: Request | None = None
539
+
540
+ self.extensions = {} if extensions is None else dict(extensions)
541
+ self.history = [] if history is None else list(history)
542
+
543
+ self.is_closed = False
544
+ self.is_stream_consumed = False
545
+
546
+ self.default_encoding = default_encoding
547
+
548
+ if stream is None:
549
+ headers, stream = encode_response(content, text, html, json)
550
+ self._prepare(headers)
551
+ self.stream = stream
552
+ if isinstance(stream, ByteStream):
553
+ # Load the response body, except for streaming content.
554
+ self.read()
555
+ else:
556
+ # There's an important distinction between `Response(content=...)`,
557
+ # and `Response(stream=...)`.
558
+ #
559
+ # Using `content=...` implies automatically populated content headers,
560
+ # of either `Content-Length: ...` or `Transfer-Encoding: chunked`.
561
+ #
562
+ # Using `stream=...` will not automatically include any content headers.
563
+ #
564
+ # As an end-user you don't really need `stream=...`. It's only
565
+ # useful when creating response instances having received a stream
566
+ # from the transport API.
567
+ self.stream = stream
568
+
569
+ self._num_bytes_downloaded = 0
570
+
571
+ def _prepare(self, default_headers: dict[str, str]) -> None:
572
+ for key, value in default_headers.items():
573
+ # Ignore Transfer-Encoding if the Content-Length has been set explicitly.
574
+ if key.lower() == "transfer-encoding" and "content-length" in self.headers:
575
+ continue
576
+ self.headers.setdefault(key, value)
577
+
578
+ @property
579
+ def elapsed(self) -> datetime.timedelta:
580
+ """
581
+ Returns the time taken for the complete request/response
582
+ cycle to complete.
583
+ """
584
+ if not hasattr(self, "_elapsed"):
585
+ raise RuntimeError(
586
+ "'.elapsed' may only be accessed after the response "
587
+ "has been read or closed."
588
+ )
589
+ return self._elapsed
590
+
591
+ @elapsed.setter
592
+ def elapsed(self, elapsed: datetime.timedelta) -> None:
593
+ self._elapsed = elapsed
594
+
595
+ @property
596
+ def request(self) -> Request:
597
+ """
598
+ Returns the request instance associated to the current response.
599
+ """
600
+ if self._request is None:
601
+ raise RuntimeError(
602
+ "The request instance has not been set on this response."
603
+ )
604
+ return self._request
605
+
606
+ @request.setter
607
+ def request(self, value: Request) -> None:
608
+ self._request = value
609
+
610
+ @property
611
+ def http_version(self) -> str:
612
+ try:
613
+ http_version: bytes = self.extensions["http_version"]
614
+ except KeyError:
615
+ return "HTTP/1.1"
616
+ else:
617
+ return http_version.decode("ascii", errors="ignore")
618
+
619
+ @property
620
+ def reason_phrase(self) -> str:
621
+ try:
622
+ reason_phrase: bytes = self.extensions["reason_phrase"]
623
+ except KeyError:
624
+ return codes.get_reason_phrase(self.status_code)
625
+ else:
626
+ return reason_phrase.decode("ascii", errors="ignore")
627
+
628
+ @property
629
+ def url(self) -> URL:
630
+ """
631
+ Returns the URL for which the request was made.
632
+ """
633
+ return self.request.url
634
+
635
+ @property
636
+ def content(self) -> bytes:
637
+ if not hasattr(self, "_content"):
638
+ raise ResponseNotRead()
639
+ return self._content
640
+
641
+ @property
642
+ def text(self) -> str:
643
+ if not hasattr(self, "_text"):
644
+ content = self.content
645
+ if not content:
646
+ self._text = ""
647
+ else:
648
+ decoder = TextDecoder(encoding=self.encoding or "utf-8")
649
+ self._text = "".join([decoder.decode(self.content), decoder.flush()])
650
+ return self._text
651
+
652
+ @property
653
+ def encoding(self) -> str | None:
654
+ """
655
+ Return an encoding to use for decoding the byte content into text.
656
+ The priority for determining this is given by...
657
+
658
+ * `.encoding = <>` has been set explicitly.
659
+ * The encoding as specified by the charset parameter in the Content-Type header.
660
+ * The encoding as determined by `default_encoding`, which may either be
661
+ a string like "utf-8" indicating the encoding to use, or may be a callable
662
+ which enables charset autodetection.
663
+ """
664
+ if not hasattr(self, "_encoding"):
665
+ encoding = self.charset_encoding
666
+ if encoding is None or not _is_known_encoding(encoding):
667
+ if isinstance(self.default_encoding, str):
668
+ encoding = self.default_encoding
669
+ elif hasattr(self, "_content"):
670
+ encoding = self.default_encoding(self._content)
671
+ self._encoding = encoding or "utf-8"
672
+ return self._encoding
673
+
674
+ @encoding.setter
675
+ def encoding(self, value: str) -> None:
676
+ """
677
+ Set the encoding to use for decoding the byte content into text.
678
+
679
+ If the `text` attribute has been accessed, attempting to set the
680
+ encoding will throw a ValueError.
681
+ """
682
+ if hasattr(self, "_text"):
683
+ raise ValueError(
684
+ "Setting encoding after `text` has been accessed is not allowed."
685
+ )
686
+ self._encoding = value
687
+
688
+ @property
689
+ def charset_encoding(self) -> str | None:
690
+ """
691
+ Return the encoding, as specified by the Content-Type header.
692
+ """
693
+ content_type = self.headers.get("Content-Type")
694
+ if content_type is None:
695
+ return None
696
+
697
+ return _parse_content_type_charset(content_type)
698
+
699
+ def _get_content_decoder(self) -> ContentDecoder:
700
+ """
701
+ Returns a decoder instance which can be used to decode the raw byte
702
+ content, depending on the Content-Encoding used in the response.
703
+ """
704
+ if not hasattr(self, "_decoder"):
705
+ decoders: list[ContentDecoder] = []
706
+ values = self.headers.get_list("content-encoding", split_commas=True)
707
+ for value in values:
708
+ value = value.strip().lower()
709
+ try:
710
+ decoder_cls = SUPPORTED_DECODERS[value]
711
+ decoders.append(decoder_cls())
712
+ except KeyError:
713
+ continue
714
+
715
+ if len(decoders) == 1:
716
+ self._decoder = decoders[0]
717
+ elif len(decoders) > 1:
718
+ self._decoder = MultiDecoder(children=decoders)
719
+ else:
720
+ self._decoder = IdentityDecoder()
721
+
722
+ return self._decoder
723
+
724
+ @property
725
+ def is_informational(self) -> bool:
726
+ """
727
+ A property which is `True` for 1xx status codes, `False` otherwise.
728
+ """
729
+ return codes.is_informational(self.status_code)
730
+
731
+ @property
732
+ def is_success(self) -> bool:
733
+ """
734
+ A property which is `True` for 2xx status codes, `False` otherwise.
735
+ """
736
+ return codes.is_success(self.status_code)
737
+
738
+ @property
739
+ def is_redirect(self) -> bool:
740
+ """
741
+ A property which is `True` for 3xx status codes, `False` otherwise.
742
+
743
+ Note that not all responses with a 3xx status code indicate a URL redirect.
744
+
745
+ Use `response.has_redirect_location` to determine responses with a properly
746
+ formed URL redirection.
747
+ """
748
+ return codes.is_redirect(self.status_code)
749
+
750
+ @property
751
+ def is_client_error(self) -> bool:
752
+ """
753
+ A property which is `True` for 4xx status codes, `False` otherwise.
754
+ """
755
+ return codes.is_client_error(self.status_code)
756
+
757
+ @property
758
+ def is_server_error(self) -> bool:
759
+ """
760
+ A property which is `True` for 5xx status codes, `False` otherwise.
761
+ """
762
+ return codes.is_server_error(self.status_code)
763
+
764
+ @property
765
+ def is_error(self) -> bool:
766
+ """
767
+ A property which is `True` for 4xx and 5xx status codes, `False` otherwise.
768
+ """
769
+ return codes.is_error(self.status_code)
770
+
771
+ @property
772
+ def has_redirect_location(self) -> bool:
773
+ """
774
+ Returns True for 3xx responses with a properly formed URL redirection,
775
+ `False` otherwise.
776
+ """
777
+ return (
778
+ self.status_code
779
+ in (
780
+ # 301 (Cacheable redirect. Method may change to GET.)
781
+ codes.MOVED_PERMANENTLY,
782
+ # 302 (Uncacheable redirect. Method may change to GET.)
783
+ codes.FOUND,
784
+ # 303 (Client should make a GET or HEAD request.)
785
+ codes.SEE_OTHER,
786
+ # 307 (Equiv. 302, but retain method)
787
+ codes.TEMPORARY_REDIRECT,
788
+ # 308 (Equiv. 301, but retain method)
789
+ codes.PERMANENT_REDIRECT,
790
+ )
791
+ and "Location" in self.headers
792
+ )
793
+
794
+ def raise_for_status(self) -> Response:
795
+ """
796
+ Raise the `HTTPStatusError` if one occurred.
797
+ """
798
+ request = self._request
799
+ if request is None:
800
+ raise RuntimeError(
801
+ "Cannot call `raise_for_status` as the request "
802
+ "instance has not been set on this response."
803
+ )
804
+
805
+ if self.is_success:
806
+ return self
807
+
808
+ if self.has_redirect_location:
809
+ message = (
810
+ "{error_type} '{0.status_code} {0.reason_phrase}' for url '{0.url}'\n"
811
+ "Redirect location: '{0.headers[location]}'\n"
812
+ "For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/{0.status_code}"
813
+ )
814
+ else:
815
+ message = (
816
+ "{error_type} '{0.status_code} {0.reason_phrase}' for url '{0.url}'\n"
817
+ "For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/{0.status_code}"
818
+ )
819
+
820
+ status_class = self.status_code // 100
821
+ error_types = {
822
+ 1: "Informational response",
823
+ 3: "Redirect response",
824
+ 4: "Client error",
825
+ 5: "Server error",
826
+ }
827
+ error_type = error_types.get(status_class, "Invalid status code")
828
+ message = message.format(self, error_type=error_type)
829
+ raise HTTPStatusError(message, request=request, response=self)
830
+
831
+ def json(self, **kwargs: typing.Any) -> typing.Any:
832
+ return jsonlib.loads(self.content, **kwargs)
833
+
834
+ @property
835
+ def cookies(self) -> Cookies:
836
+ if not hasattr(self, "_cookies"):
837
+ self._cookies = Cookies()
838
+ self._cookies.extract_cookies(self)
839
+ return self._cookies
840
+
841
+ @property
842
+ def links(self) -> dict[str | None, dict[str, str]]:
843
+ """
844
+ Returns the parsed header links of the response, if any
845
+ """
846
+ header = self.headers.get("link")
847
+ if header is None:
848
+ return {}
849
+
850
+ return {
851
+ (link.get("rel") or link.get("url")): link
852
+ for link in _parse_header_links(header)
853
+ }
854
+
855
+ @property
856
+ def num_bytes_downloaded(self) -> int:
857
+ return self._num_bytes_downloaded
858
+
859
+ def __repr__(self) -> str:
860
+ return f"<Response [{self.status_code} {self.reason_phrase}]>"
861
+
862
+ def __getstate__(self) -> dict[str, typing.Any]:
863
+ return {
864
+ name: value
865
+ for name, value in self.__dict__.items()
866
+ if name not in ["extensions", "stream", "is_closed", "_decoder"]
867
+ }
868
+
869
+ def __setstate__(self, state: dict[str, typing.Any]) -> None:
870
+ for name, value in state.items():
871
+ setattr(self, name, value)
872
+ self.is_closed = True
873
+ self.extensions = {}
874
+ self.stream = UnattachedStream()
875
+
876
+ def read(self) -> bytes:
877
+ """
878
+ Read and return the response content.
879
+ """
880
+ if not hasattr(self, "_content"):
881
+ self._content = b"".join(self.iter_bytes())
882
+ return self._content
883
+
884
+ def iter_bytes(self, chunk_size: int | None = None) -> typing.Iterator[bytes]:
885
+ """
886
+ A byte-iterator over the decoded response content.
887
+ This allows us to handle gzip, deflate, brotli, and zstd encoded responses.
888
+ """
889
+ if hasattr(self, "_content"):
890
+ chunk_size = len(self._content) if chunk_size is None else chunk_size
891
+ for i in range(0, len(self._content), max(chunk_size, 1)):
892
+ yield self._content[i : i + chunk_size]
893
+ else:
894
+ decoder = self._get_content_decoder()
895
+ chunker = ByteChunker(chunk_size=chunk_size)
896
+ with request_context(request=self._request):
897
+ for raw_bytes in self.iter_raw():
898
+ decoded = decoder.decode(raw_bytes)
899
+ for chunk in chunker.decode(decoded):
900
+ yield chunk
901
+ decoded = decoder.flush()
902
+ for chunk in chunker.decode(decoded):
903
+ yield chunk # pragma: no cover
904
+ for chunk in chunker.flush():
905
+ yield chunk
906
+
907
+ def iter_text(self, chunk_size: int | None = None) -> typing.Iterator[str]:
908
+ """
909
+ A str-iterator over the decoded response content
910
+ that handles both gzip, deflate, etc but also detects the content's
911
+ string encoding.
912
+ """
913
+ decoder = TextDecoder(encoding=self.encoding or "utf-8")
914
+ chunker = TextChunker(chunk_size=chunk_size)
915
+ with request_context(request=self._request):
916
+ for byte_content in self.iter_bytes():
917
+ text_content = decoder.decode(byte_content)
918
+ for chunk in chunker.decode(text_content):
919
+ yield chunk
920
+ text_content = decoder.flush()
921
+ for chunk in chunker.decode(text_content):
922
+ yield chunk # pragma: no cover
923
+ for chunk in chunker.flush():
924
+ yield chunk
925
+
926
+ def iter_lines(self) -> typing.Iterator[str]:
927
+ decoder = LineDecoder()
928
+ with request_context(request=self._request):
929
+ for text in self.iter_text():
930
+ for line in decoder.decode(text):
931
+ yield line
932
+ for line in decoder.flush():
933
+ yield line
934
+
935
+ def iter_raw(self, chunk_size: int | None = None) -> typing.Iterator[bytes]:
936
+ """
937
+ A byte-iterator over the raw response content.
938
+ """
939
+ if self.is_stream_consumed:
940
+ raise StreamConsumed()
941
+ if self.is_closed:
942
+ raise StreamClosed()
943
+ if not isinstance(self.stream, SyncByteStream):
944
+ raise RuntimeError("Attempted to call a sync iterator on an async stream.")
945
+
946
+ self.is_stream_consumed = True
947
+ self._num_bytes_downloaded = 0
948
+ chunker = ByteChunker(chunk_size=chunk_size)
949
+
950
+ with request_context(request=self._request):
951
+ for raw_stream_bytes in self.stream:
952
+ self._num_bytes_downloaded += len(raw_stream_bytes)
953
+ for chunk in chunker.decode(raw_stream_bytes):
954
+ yield chunk
955
+
956
+ for chunk in chunker.flush():
957
+ yield chunk
958
+
959
+ self.close()
960
+
961
+ def close(self) -> None:
962
+ """
963
+ Close the response and release the connection.
964
+ Automatically called if the response body is read to completion.
965
+ """
966
+ if not isinstance(self.stream, SyncByteStream):
967
+ raise RuntimeError("Attempted to call an sync close on an async stream.")
968
+
969
+ if not self.is_closed:
970
+ self.is_closed = True
971
+ with request_context(request=self._request):
972
+ self.stream.close()
973
+
974
+ async def aread(self) -> bytes:
975
+ """
976
+ Read and return the response content.
977
+ """
978
+ if not hasattr(self, "_content"):
979
+ self._content = b"".join([part async for part in self.aiter_bytes()])
980
+ return self._content
981
+
982
+ async def aiter_bytes(
983
+ self, chunk_size: int | None = None
984
+ ) -> typing.AsyncIterator[bytes]:
985
+ """
986
+ A byte-iterator over the decoded response content.
987
+ This allows us to handle gzip, deflate, brotli, and zstd encoded responses.
988
+ """
989
+ if hasattr(self, "_content"):
990
+ chunk_size = len(self._content) if chunk_size is None else chunk_size
991
+ for i in range(0, len(self._content), max(chunk_size, 1)):
992
+ yield self._content[i : i + chunk_size]
993
+ else:
994
+ decoder = self._get_content_decoder()
995
+ chunker = ByteChunker(chunk_size=chunk_size)
996
+ with request_context(request=self._request):
997
+ async for raw_bytes in self.aiter_raw():
998
+ decoded = decoder.decode(raw_bytes)
999
+ for chunk in chunker.decode(decoded):
1000
+ yield chunk
1001
+ decoded = decoder.flush()
1002
+ for chunk in chunker.decode(decoded):
1003
+ yield chunk # pragma: no cover
1004
+ for chunk in chunker.flush():
1005
+ yield chunk
1006
+
1007
+ async def aiter_text(
1008
+ self, chunk_size: int | None = None
1009
+ ) -> typing.AsyncIterator[str]:
1010
+ """
1011
+ A str-iterator over the decoded response content
1012
+ that handles both gzip, deflate, etc but also detects the content's
1013
+ string encoding.
1014
+ """
1015
+ decoder = TextDecoder(encoding=self.encoding or "utf-8")
1016
+ chunker = TextChunker(chunk_size=chunk_size)
1017
+ with request_context(request=self._request):
1018
+ async for byte_content in self.aiter_bytes():
1019
+ text_content = decoder.decode(byte_content)
1020
+ for chunk in chunker.decode(text_content):
1021
+ yield chunk
1022
+ text_content = decoder.flush()
1023
+ for chunk in chunker.decode(text_content):
1024
+ yield chunk # pragma: no cover
1025
+ for chunk in chunker.flush():
1026
+ yield chunk
1027
+
1028
+ async def aiter_lines(self) -> typing.AsyncIterator[str]:
1029
+ decoder = LineDecoder()
1030
+ with request_context(request=self._request):
1031
+ async for text in self.aiter_text():
1032
+ for line in decoder.decode(text):
1033
+ yield line
1034
+ for line in decoder.flush():
1035
+ yield line
1036
+
1037
+ async def aiter_raw(
1038
+ self, chunk_size: int | None = None
1039
+ ) -> typing.AsyncIterator[bytes]:
1040
+ """
1041
+ A byte-iterator over the raw response content.
1042
+ """
1043
+ if self.is_stream_consumed:
1044
+ raise StreamConsumed()
1045
+ if self.is_closed:
1046
+ raise StreamClosed()
1047
+ if not isinstance(self.stream, AsyncByteStream):
1048
+ raise RuntimeError("Attempted to call an async iterator on an sync stream.")
1049
+
1050
+ self.is_stream_consumed = True
1051
+ self._num_bytes_downloaded = 0
1052
+ chunker = ByteChunker(chunk_size=chunk_size)
1053
+
1054
+ with request_context(request=self._request):
1055
+ async for raw_stream_bytes in self.stream:
1056
+ self._num_bytes_downloaded += len(raw_stream_bytes)
1057
+ for chunk in chunker.decode(raw_stream_bytes):
1058
+ yield chunk
1059
+
1060
+ for chunk in chunker.flush():
1061
+ yield chunk
1062
+
1063
+ await self.aclose()
1064
+
1065
+ async def aclose(self) -> None:
1066
+ """
1067
+ Close the response and release the connection.
1068
+ Automatically called if the response body is read to completion.
1069
+ """
1070
+ if not isinstance(self.stream, AsyncByteStream):
1071
+ raise RuntimeError("Attempted to call an async close on an sync stream.")
1072
+
1073
+ if not self.is_closed:
1074
+ self.is_closed = True
1075
+ with request_context(request=self._request):
1076
+ await self.stream.aclose()
1077
+
1078
+
1079
+ class Cookies(typing.MutableMapping[str, str]):
1080
+ """
1081
+ HTTP Cookies, as a mutable mapping.
1082
+ """
1083
+
1084
+ def __init__(self, cookies: CookieTypes | None = None) -> None:
1085
+ if cookies is None or isinstance(cookies, dict):
1086
+ self.jar = CookieJar()
1087
+ if isinstance(cookies, dict):
1088
+ for key, value in cookies.items():
1089
+ self.set(key, value)
1090
+ elif isinstance(cookies, list):
1091
+ self.jar = CookieJar()
1092
+ for key, value in cookies:
1093
+ self.set(key, value)
1094
+ elif isinstance(cookies, Cookies):
1095
+ self.jar = CookieJar()
1096
+ for cookie in cookies.jar:
1097
+ self.jar.set_cookie(cookie)
1098
+ else:
1099
+ self.jar = cookies
1100
+
1101
+ def extract_cookies(self, response: Response) -> None:
1102
+ """
1103
+ Loads any cookies based on the response `Set-Cookie` headers.
1104
+ """
1105
+ urllib_response = self._CookieCompatResponse(response)
1106
+ urllib_request = self._CookieCompatRequest(response.request)
1107
+
1108
+ self.jar.extract_cookies(urllib_response, urllib_request) # type: ignore
1109
+
1110
+ def set_cookie_header(self, request: Request) -> None:
1111
+ """
1112
+ Sets an appropriate 'Cookie:' HTTP header on the `Request`.
1113
+ """
1114
+ urllib_request = self._CookieCompatRequest(request)
1115
+ self.jar.add_cookie_header(urllib_request)
1116
+
1117
+ def set(self, name: str, value: str, domain: str = "", path: str = "/") -> None:
1118
+ """
1119
+ Set a cookie value by name. May optionally include domain and path.
1120
+ """
1121
+ kwargs = {
1122
+ "version": 0,
1123
+ "name": name,
1124
+ "value": value,
1125
+ "port": None,
1126
+ "port_specified": False,
1127
+ "domain": domain,
1128
+ "domain_specified": bool(domain),
1129
+ "domain_initial_dot": domain.startswith("."),
1130
+ "path": path,
1131
+ "path_specified": bool(path),
1132
+ "secure": False,
1133
+ "expires": None,
1134
+ "discard": True,
1135
+ "comment": None,
1136
+ "comment_url": None,
1137
+ "rest": {"HttpOnly": None},
1138
+ "rfc2109": False,
1139
+ }
1140
+ cookie = Cookie(**kwargs) # type: ignore
1141
+ self.jar.set_cookie(cookie)
1142
+
1143
+ def get( # type: ignore
1144
+ self,
1145
+ name: str,
1146
+ default: str | None = None,
1147
+ domain: str | None = None,
1148
+ path: str | None = None,
1149
+ ) -> str | None:
1150
+ """
1151
+ Get a cookie by name. May optionally include domain and path
1152
+ in order to specify exactly which cookie to retrieve.
1153
+ """
1154
+ value = None
1155
+ for cookie in self.jar:
1156
+ if cookie.name == name:
1157
+ if domain is None or cookie.domain == domain:
1158
+ if path is None or cookie.path == path:
1159
+ if value is not None:
1160
+ message = f"Multiple cookies exist with name={name}"
1161
+ raise CookieConflict(message)
1162
+ value = cookie.value
1163
+
1164
+ if value is None:
1165
+ return default
1166
+ return value
1167
+
1168
+ def delete(
1169
+ self,
1170
+ name: str,
1171
+ domain: str | None = None,
1172
+ path: str | None = None,
1173
+ ) -> None:
1174
+ """
1175
+ Delete a cookie by name. May optionally include domain and path
1176
+ in order to specify exactly which cookie to delete.
1177
+ """
1178
+ if domain is not None and path is not None:
1179
+ return self.jar.clear(domain, path, name)
1180
+
1181
+ remove = [
1182
+ cookie
1183
+ for cookie in self.jar
1184
+ if cookie.name == name
1185
+ and (domain is None or cookie.domain == domain)
1186
+ and (path is None or cookie.path == path)
1187
+ ]
1188
+
1189
+ for cookie in remove:
1190
+ self.jar.clear(cookie.domain, cookie.path, cookie.name)
1191
+
1192
+ def clear(self, domain: str | None = None, path: str | None = None) -> None:
1193
+ """
1194
+ Delete all cookies. Optionally include a domain and path in
1195
+ order to only delete a subset of all the cookies.
1196
+ """
1197
+ args = []
1198
+ if domain is not None:
1199
+ args.append(domain)
1200
+ if path is not None:
1201
+ assert domain is not None
1202
+ args.append(path)
1203
+ self.jar.clear(*args)
1204
+
1205
+ def update(self, cookies: CookieTypes | None = None) -> None: # type: ignore
1206
+ cookies = Cookies(cookies)
1207
+ for cookie in cookies.jar:
1208
+ self.jar.set_cookie(cookie)
1209
+
1210
+ def __setitem__(self, name: str, value: str) -> None:
1211
+ return self.set(name, value)
1212
+
1213
+ def __getitem__(self, name: str) -> str:
1214
+ value = self.get(name)
1215
+ if value is None:
1216
+ raise KeyError(name)
1217
+ return value
1218
+
1219
+ def __delitem__(self, name: str) -> None:
1220
+ return self.delete(name)
1221
+
1222
+ def __len__(self) -> int:
1223
+ return len(self.jar)
1224
+
1225
+ def __iter__(self) -> typing.Iterator[str]:
1226
+ return (cookie.name for cookie in self.jar)
1227
+
1228
+ def __bool__(self) -> bool:
1229
+ for _ in self.jar:
1230
+ return True
1231
+ return False
1232
+
1233
+ def __repr__(self) -> str:
1234
+ cookies_repr = ", ".join(
1235
+ [
1236
+ f"<Cookie {cookie.name}={cookie.value} for {cookie.domain} />"
1237
+ for cookie in self.jar
1238
+ ]
1239
+ )
1240
+
1241
+ return f"<Cookies[{cookies_repr}]>"
1242
+
1243
+ class _CookieCompatRequest(urllib.request.Request):
1244
+ """
1245
+ Wraps a `Request` instance up in a compatibility interface suitable
1246
+ for use with `CookieJar` operations.
1247
+ """
1248
+
1249
+ def __init__(self, request: Request) -> None:
1250
+ super().__init__(
1251
+ url=str(request.url),
1252
+ headers=dict(request.headers),
1253
+ method=request.method,
1254
+ )
1255
+ self.request = request
1256
+
1257
+ def add_unredirected_header(self, key: str, value: str) -> None:
1258
+ super().add_unredirected_header(key, value)
1259
+ self.request.headers[key] = value
1260
+
1261
+ class _CookieCompatResponse:
1262
+ """
1263
+ Wraps a `Request` instance up in a compatibility interface suitable
1264
+ for use with `CookieJar` operations.
1265
+ """
1266
+
1267
+ def __init__(self, response: Response) -> None:
1268
+ self.response = response
1269
+
1270
+ def info(self) -> email.message.Message:
1271
+ info = email.message.Message()
1272
+ for key, value in self.response.headers.multi_items():
1273
+ # Note that setting `info[key]` here is an "append" operation,
1274
+ # not a "replace" operation.
1275
+ # https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.__setitem__
1276
+ info[key] = value
1277
+ return info
venv/lib/python3.12/site-packages/httpx/_utils.py ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import ipaddress
4
+ import os
5
+ import re
6
+ import typing
7
+ from urllib.request import getproxies
8
+
9
+ from ._types import PrimitiveData
10
+
11
+ if typing.TYPE_CHECKING: # pragma: no cover
12
+ from ._urls import URL
13
+
14
+
15
+ def primitive_value_to_str(value: PrimitiveData) -> str:
16
+ """
17
+ Coerce a primitive data type into a string value.
18
+
19
+ Note that we prefer JSON-style 'true'/'false' for boolean values here.
20
+ """
21
+ if value is True:
22
+ return "true"
23
+ elif value is False:
24
+ return "false"
25
+ elif value is None:
26
+ return ""
27
+ return str(value)
28
+
29
+
30
+ def get_environment_proxies() -> dict[str, str | None]:
31
+ """Gets proxy information from the environment"""
32
+
33
+ # urllib.request.getproxies() falls back on System
34
+ # Registry and Config for proxies on Windows and macOS.
35
+ # We don't want to propagate non-HTTP proxies into
36
+ # our configuration such as 'TRAVIS_APT_PROXY'.
37
+ proxy_info = getproxies()
38
+ mounts: dict[str, str | None] = {}
39
+
40
+ for scheme in ("http", "https", "all"):
41
+ if proxy_info.get(scheme):
42
+ hostname = proxy_info[scheme]
43
+ mounts[f"{scheme}://"] = (
44
+ hostname if "://" in hostname else f"http://{hostname}"
45
+ )
46
+
47
+ no_proxy_hosts = [host.strip() for host in proxy_info.get("no", "").split(",")]
48
+ for hostname in no_proxy_hosts:
49
+ # See https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html for details
50
+ # on how names in `NO_PROXY` are handled.
51
+ if hostname == "*":
52
+ # If NO_PROXY=* is used or if "*" occurs as any one of the comma
53
+ # separated hostnames, then we should just bypass any information
54
+ # from HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and always ignore
55
+ # proxies.
56
+ return {}
57
+ elif hostname:
58
+ # NO_PROXY=.google.com is marked as "all://*.google.com,
59
+ # which disables "www.google.com" but not "google.com"
60
+ # NO_PROXY=google.com is marked as "all://*google.com,
61
+ # which disables "www.google.com" and "google.com".
62
+ # (But not "wwwgoogle.com")
63
+ # NO_PROXY can include domains, IPv6, IPv4 addresses and "localhost"
64
+ # NO_PROXY=example.com,::1,localhost,192.168.0.0/16
65
+ if "://" in hostname:
66
+ mounts[hostname] = None
67
+ elif is_ipv4_hostname(hostname):
68
+ mounts[f"all://{hostname}"] = None
69
+ elif is_ipv6_hostname(hostname):
70
+ mounts[f"all://[{hostname}]"] = None
71
+ elif hostname.lower() == "localhost":
72
+ mounts[f"all://{hostname}"] = None
73
+ else:
74
+ mounts[f"all://*{hostname}"] = None
75
+
76
+ return mounts
77
+
78
+
79
+ def to_bytes(value: str | bytes, encoding: str = "utf-8") -> bytes:
80
+ return value.encode(encoding) if isinstance(value, str) else value
81
+
82
+
83
+ def to_str(value: str | bytes, encoding: str = "utf-8") -> str:
84
+ return value if isinstance(value, str) else value.decode(encoding)
85
+
86
+
87
+ def to_bytes_or_str(value: str, match_type_of: typing.AnyStr) -> typing.AnyStr:
88
+ return value if isinstance(match_type_of, str) else value.encode()
89
+
90
+
91
+ def unquote(value: str) -> str:
92
+ return value[1:-1] if value[0] == value[-1] == '"' else value
93
+
94
+
95
+ def peek_filelike_length(stream: typing.Any) -> int | None:
96
+ """
97
+ Given a file-like stream object, return its length in number of bytes
98
+ without reading it into memory.
99
+ """
100
+ try:
101
+ # Is it an actual file?
102
+ fd = stream.fileno()
103
+ # Yup, seems to be an actual file.
104
+ length = os.fstat(fd).st_size
105
+ except (AttributeError, OSError):
106
+ # No... Maybe it's something that supports random access, like `io.BytesIO`?
107
+ try:
108
+ # Assuming so, go to end of stream to figure out its length,
109
+ # then put it back in place.
110
+ offset = stream.tell()
111
+ length = stream.seek(0, os.SEEK_END)
112
+ stream.seek(offset)
113
+ except (AttributeError, OSError):
114
+ # Not even that? Sorry, we're doomed...
115
+ return None
116
+
117
+ return length
118
+
119
+
120
+ class URLPattern:
121
+ """
122
+ A utility class currently used for making lookups against proxy keys...
123
+
124
+ # Wildcard matching...
125
+ >>> pattern = URLPattern("all://")
126
+ >>> pattern.matches(httpx.URL("http://example.com"))
127
+ True
128
+
129
+ # Witch scheme matching...
130
+ >>> pattern = URLPattern("https://")
131
+ >>> pattern.matches(httpx.URL("https://example.com"))
132
+ True
133
+ >>> pattern.matches(httpx.URL("http://example.com"))
134
+ False
135
+
136
+ # With domain matching...
137
+ >>> pattern = URLPattern("https://example.com")
138
+ >>> pattern.matches(httpx.URL("https://example.com"))
139
+ True
140
+ >>> pattern.matches(httpx.URL("http://example.com"))
141
+ False
142
+ >>> pattern.matches(httpx.URL("https://other.com"))
143
+ False
144
+
145
+ # Wildcard scheme, with domain matching...
146
+ >>> pattern = URLPattern("all://example.com")
147
+ >>> pattern.matches(httpx.URL("https://example.com"))
148
+ True
149
+ >>> pattern.matches(httpx.URL("http://example.com"))
150
+ True
151
+ >>> pattern.matches(httpx.URL("https://other.com"))
152
+ False
153
+
154
+ # With port matching...
155
+ >>> pattern = URLPattern("https://example.com:1234")
156
+ >>> pattern.matches(httpx.URL("https://example.com:1234"))
157
+ True
158
+ >>> pattern.matches(httpx.URL("https://example.com"))
159
+ False
160
+ """
161
+
162
+ def __init__(self, pattern: str) -> None:
163
+ from ._urls import URL
164
+
165
+ if pattern and ":" not in pattern:
166
+ raise ValueError(
167
+ f"Proxy keys should use proper URL forms rather "
168
+ f"than plain scheme strings. "
169
+ f'Instead of "{pattern}", use "{pattern}://"'
170
+ )
171
+
172
+ url = URL(pattern)
173
+ self.pattern = pattern
174
+ self.scheme = "" if url.scheme == "all" else url.scheme
175
+ self.host = "" if url.host == "*" else url.host
176
+ self.port = url.port
177
+ if not url.host or url.host == "*":
178
+ self.host_regex: typing.Pattern[str] | None = None
179
+ elif url.host.startswith("*."):
180
+ # *.example.com should match "www.example.com", but not "example.com"
181
+ domain = re.escape(url.host[2:])
182
+ self.host_regex = re.compile(f"^.+\\.{domain}$")
183
+ elif url.host.startswith("*"):
184
+ # *example.com should match "www.example.com" and "example.com"
185
+ domain = re.escape(url.host[1:])
186
+ self.host_regex = re.compile(f"^(.+\\.)?{domain}$")
187
+ else:
188
+ # example.com should match "example.com" but not "www.example.com"
189
+ domain = re.escape(url.host)
190
+ self.host_regex = re.compile(f"^{domain}$")
191
+
192
+ def matches(self, other: URL) -> bool:
193
+ if self.scheme and self.scheme != other.scheme:
194
+ return False
195
+ if (
196
+ self.host
197
+ and self.host_regex is not None
198
+ and not self.host_regex.match(other.host)
199
+ ):
200
+ return False
201
+ if self.port is not None and self.port != other.port:
202
+ return False
203
+ return True
204
+
205
+ @property
206
+ def priority(self) -> tuple[int, int, int]:
207
+ """
208
+ The priority allows URLPattern instances to be sortable, so that
209
+ we can match from most specific to least specific.
210
+ """
211
+ # URLs with a port should take priority over URLs without a port.
212
+ port_priority = 0 if self.port is not None else 1
213
+ # Longer hostnames should match first.
214
+ host_priority = -len(self.host)
215
+ # Longer schemes should match first.
216
+ scheme_priority = -len(self.scheme)
217
+ return (port_priority, host_priority, scheme_priority)
218
+
219
+ def __hash__(self) -> int:
220
+ return hash(self.pattern)
221
+
222
+ def __lt__(self, other: URLPattern) -> bool:
223
+ return self.priority < other.priority
224
+
225
+ def __eq__(self, other: typing.Any) -> bool:
226
+ return isinstance(other, URLPattern) and self.pattern == other.pattern
227
+
228
+
229
+ def is_ipv4_hostname(hostname: str) -> bool:
230
+ try:
231
+ ipaddress.IPv4Address(hostname.split("/")[0])
232
+ except Exception:
233
+ return False
234
+ return True
235
+
236
+
237
+ def is_ipv6_hostname(hostname: str) -> bool:
238
+ try:
239
+ ipaddress.IPv6Address(hostname.split("/")[0])
240
+ except Exception:
241
+ return False
242
+ return True
venv/lib/python3.12/site-packages/httpx/py.typed ADDED
File without changes
venv/lib/python3.12/site-packages/pip-24.0.dist-info/AUTHORS.txt ADDED
@@ -0,0 +1,760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @Switch01
2
+ A_Rog
3
+ Aakanksha Agrawal
4
+ Abhinav Sagar
5
+ ABHYUDAY PRATAP SINGH
6
+ abs51295
7
+ AceGentile
8
+ Adam Chainz
9
+ Adam Tse
10
+ Adam Wentz
11
+ admin
12
+ Adrien Morison
13
+ ahayrapetyan
14
+ Ahilya
15
+ AinsworthK
16
+ Akash Srivastava
17
+ Alan Yee
18
+ Albert Tugushev
19
+ Albert-Guan
20
+ albertg
21
+ Alberto Sottile
22
+ Aleks Bunin
23
+ Ales Erjavec
24
+ Alethea Flowers
25
+ Alex Gaynor
26
+ Alex Grönholm
27
+ Alex Hedges
28
+ Alex Loosley
29
+ Alex Morega
30
+ Alex Stachowiak
31
+ Alexander Shtyrov
32
+ Alexandre Conrad
33
+ Alexey Popravka
34
+ Aleš Erjavec
35
+ Alli
36
+ Ami Fischman
37
+ Ananya Maiti
38
+ Anatoly Techtonik
39
+ Anders Kaseorg
40
+ Andre Aguiar
41
+ Andreas Lutro
42
+ Andrei Geacar
43
+ Andrew Gaul
44
+ Andrew Shymanel
45
+ Andrey Bienkowski
46
+ Andrey Bulgakov
47
+ Andrés Delfino
48
+ Andy Freeland
49
+ Andy Kluger
50
+ Ani Hayrapetyan
51
+ Aniruddha Basak
52
+ Anish Tambe
53
+ Anrs Hu
54
+ Anthony Sottile
55
+ Antoine Musso
56
+ Anton Ovchinnikov
57
+ Anton Patrushev
58
+ Antonio Alvarado Hernandez
59
+ Antony Lee
60
+ Antti Kaihola
61
+ Anubhav Patel
62
+ Anudit Nagar
63
+ Anuj Godase
64
+ AQNOUCH Mohammed
65
+ AraHaan
66
+ Arindam Choudhury
67
+ Armin Ronacher
68
+ Artem
69
+ Arun Babu Neelicattu
70
+ Ashley Manton
71
+ Ashwin Ramaswami
72
+ atse
73
+ Atsushi Odagiri
74
+ Avinash Karhana
75
+ Avner Cohen
76
+ Awit (Ah-Wit) Ghirmai
77
+ Baptiste Mispelon
78
+ Barney Gale
79
+ barneygale
80
+ Bartek Ogryczak
81
+ Bastian Venthur
82
+ Ben Bodenmiller
83
+ Ben Darnell
84
+ Ben Hoyt
85
+ Ben Mares
86
+ Ben Rosser
87
+ Bence Nagy
88
+ Benjamin Peterson
89
+ Benjamin VanEvery
90
+ Benoit Pierre
91
+ Berker Peksag
92
+ Bernard
93
+ Bernard Tyers
94
+ Bernardo B. Marques
95
+ Bernhard M. Wiedemann
96
+ Bertil Hatt
97
+ Bhavam Vidyarthi
98
+ Blazej Michalik
99
+ Bogdan Opanchuk
100
+ BorisZZZ
101
+ Brad Erickson
102
+ Bradley Ayers
103
+ Brandon L. Reiss
104
+ Brandt Bucher
105
+ Brett Randall
106
+ Brett Rosen
107
+ Brian Cristante
108
+ Brian Rosner
109
+ briantracy
110
+ BrownTruck
111
+ Bruno Oliveira
112
+ Bruno Renié
113
+ Bruno S
114
+ Bstrdsmkr
115
+ Buck Golemon
116
+ burrows
117
+ Bussonnier Matthias
118
+ bwoodsend
119
+ c22
120
+ Caleb Martinez
121
+ Calvin Smith
122
+ Carl Meyer
123
+ Carlos Liam
124
+ Carol Willing
125
+ Carter Thayer
126
+ Cass
127
+ Chandrasekhar Atina
128
+ Chih-Hsuan Yen
129
+ Chris Brinker
130
+ Chris Hunt
131
+ Chris Jerdonek
132
+ Chris Kuehl
133
+ Chris McDonough
134
+ Chris Pawley
135
+ Chris Pryer
136
+ Chris Wolfe
137
+ Christian Clauss
138
+ Christian Heimes
139
+ Christian Oudard
140
+ Christoph Reiter
141
+ Christopher Hunt
142
+ Christopher Snyder
143
+ cjc7373
144
+ Clark Boylan
145
+ Claudio Jolowicz
146
+ Clay McClure
147
+ Cody
148
+ Cody Soyland
149
+ Colin Watson
150
+ Collin Anderson
151
+ Connor Osborn
152
+ Cooper Lees
153
+ Cooper Ry Lees
154
+ Cory Benfield
155
+ Cory Wright
156
+ Craig Kerstiens
157
+ Cristian Sorinel
158
+ Cristina
159
+ Cristina Muñoz
160
+ Curtis Doty
161
+ cytolentino
162
+ Daan De Meyer
163
+ Dale
164
+ Damian
165
+ Damian Quiroga
166
+ Damian Shaw
167
+ Dan Black
168
+ Dan Savilonis
169
+ Dan Sully
170
+ Dane Hillard
171
+ daniel
172
+ Daniel Collins
173
+ Daniel Hahler
174
+ Daniel Holth
175
+ Daniel Jost
176
+ Daniel Katz
177
+ Daniel Shaulov
178
+ Daniele Esposti
179
+ Daniele Nicolodi
180
+ Daniele Procida
181
+ Daniil Konovalenko
182
+ Danny Hermes
183
+ Danny McClanahan
184
+ Darren Kavanagh
185
+ Dav Clark
186
+ Dave Abrahams
187
+ Dave Jones
188
+ David Aguilar
189
+ David Black
190
+ David Bordeynik
191
+ David Caro
192
+ David D Lowe
193
+ David Evans
194
+ David Hewitt
195
+ David Linke
196
+ David Poggi
197
+ David Pursehouse
198
+ David Runge
199
+ David Tucker
200
+ David Wales
201
+ Davidovich
202
+ ddelange
203
+ Deepak Sharma
204
+ Deepyaman Datta
205
+ Denise Yu
206
+ dependabot[bot]
207
+ derwolfe
208
+ Desetude
209
+ Devesh Kumar Singh
210
+ Diego Caraballo
211
+ Diego Ramirez
212
+ DiegoCaraballo
213
+ Dimitri Merejkowsky
214
+ Dimitri Papadopoulos
215
+ Dirk Stolle
216
+ Dmitry Gladkov
217
+ Dmitry Volodin
218
+ Domen Kožar
219
+ Dominic Davis-Foster
220
+ Donald Stufft
221
+ Dongweiming
222
+ doron zarhi
223
+ Dos Moonen
224
+ Douglas Thor
225
+ DrFeathers
226
+ Dustin Ingram
227
+ Dwayne Bailey
228
+ Ed Morley
229
+ Edgar Ramírez
230
+ Edgar Ramírez Mondragón
231
+ Ee Durbin
232
+ Efflam Lemaillet
233
+ efflamlemaillet
234
+ Eitan Adler
235
+ ekristina
236
+ elainechan
237
+ Eli Schwartz
238
+ Elisha Hollander
239
+ Ellen Marie Dash
240
+ Emil Burzo
241
+ Emil Styrke
242
+ Emmanuel Arias
243
+ Endoh Takanao
244
+ enoch
245
+ Erdinc Mutlu
246
+ Eric Cousineau
247
+ Eric Gillingham
248
+ Eric Hanchrow
249
+ Eric Hopper
250
+ Erik M. Bray
251
+ Erik Rose
252
+ Erwin Janssen
253
+ Eugene Vereshchagin
254
+ everdimension
255
+ Federico
256
+ Felipe Peter
257
+ Felix Yan
258
+ fiber-space
259
+ Filip Kokosiński
260
+ Filipe Laíns
261
+ Finn Womack
262
+ finnagin
263
+ Flavio Amurrio
264
+ Florian Briand
265
+ Florian Rathgeber
266
+ Francesco
267
+ Francesco Montesano
268
+ Frost Ming
269
+ Gabriel Curio
270
+ Gabriel de Perthuis
271
+ Garry Polley
272
+ gavin
273
+ gdanielson
274
+ Geoffrey Sneddon
275
+ George Song
276
+ Georgi Valkov
277
+ Georgy Pchelkin
278
+ ghost
279
+ Giftlin Rajaiah
280
+ gizmoguy1
281
+ gkdoc
282
+ Godefroid Chapelle
283
+ Gopinath M
284
+ GOTO Hayato
285
+ gousaiyang
286
+ gpiks
287
+ Greg Roodt
288
+ Greg Ward
289
+ Guilherme Espada
290
+ Guillaume Seguin
291
+ gutsytechster
292
+ Guy Rozendorn
293
+ Guy Tuval
294
+ gzpan123
295
+ Hanjun Kim
296
+ Hari Charan
297
+ Harsh Vardhan
298
+ harupy
299
+ Harutaka Kawamura
300
+ hauntsaninja
301
+ Henrich Hartzer
302
+ Henry Schreiner
303
+ Herbert Pfennig
304
+ Holly Stotelmyer
305
+ Honnix
306
+ Hsiaoming Yang
307
+ Hugo Lopes Tavares
308
+ Hugo van Kemenade
309
+ Hugues Bruant
310
+ Hynek Schlawack
311
+ Ian Bicking
312
+ Ian Cordasco
313
+ Ian Lee
314
+ Ian Stapleton Cordasco
315
+ Ian Wienand
316
+ Igor Kuzmitshov
317
+ Igor Sobreira
318
+ Ilan Schnell
319
+ Illia Volochii
320
+ Ilya Baryshev
321
+ Inada Naoki
322
+ Ionel Cristian Mărieș
323
+ Ionel Maries Cristian
324
+ Itamar Turner-Trauring
325
+ Ivan Pozdeev
326
+ J. Nick Koston
327
+ Jacob Kim
328
+ Jacob Walls
329
+ Jaime Sanz
330
+ jakirkham
331
+ Jakub Kuczys
332
+ Jakub Stasiak
333
+ Jakub Vysoky
334
+ Jakub Wilk
335
+ James Cleveland
336
+ James Curtin
337
+ James Firth
338
+ James Gerity
339
+ James Polley
340
+ Jan Pokorný
341
+ Jannis Leidel
342
+ Jarek Potiuk
343
+ jarondl
344
+ Jason Curtis
345
+ Jason R. Coombs
346
+ JasonMo
347
+ JasonMo1
348
+ Jay Graves
349
+ Jean Abou Samra
350
+ Jean-Christophe Fillion-Robin
351
+ Jeff Barber
352
+ Jeff Dairiki
353
+ Jeff Widman
354
+ Jelmer Vernooij
355
+ jenix21
356
+ Jeremy Stanley
357
+ Jeremy Zafran
358
+ Jesse Rittner
359
+ Jiashuo Li
360
+ Jim Fisher
361
+ Jim Garrison
362
+ Jiun Bae
363
+ Jivan Amara
364
+ Joe Bylund
365
+ Joe Michelini
366
+ John Paton
367
+ John T. Wodder II
368
+ John-Scott Atlakson
369
+ johnthagen
370
+ Jon Banafato
371
+ Jon Dufresne
372
+ Jon Parise
373
+ Jonas Nockert
374
+ Jonathan Herbert
375
+ Joonatan Partanen
376
+ Joost Molenaar
377
+ Jorge Niedbalski
378
+ Joseph Bylund
379
+ Joseph Long
380
+ Josh Bronson
381
+ Josh Hansen
382
+ Josh Schneier
383
+ Joshua
384
+ Juan Luis Cano Rodríguez
385
+ Juanjo Bazán
386
+ Judah Rand
387
+ Julian Berman
388
+ Julian Gethmann
389
+ Julien Demoor
390
+ Jussi Kukkonen
391
+ jwg4
392
+ Jyrki Pulliainen
393
+ Kai Chen
394
+ Kai Mueller
395
+ Kamal Bin Mustafa
396
+ kasium
397
+ kaustav haldar
398
+ keanemind
399
+ Keith Maxwell
400
+ Kelsey Hightower
401
+ Kenneth Belitzky
402
+ Kenneth Reitz
403
+ Kevin Burke
404
+ Kevin Carter
405
+ Kevin Frommelt
406
+ Kevin R Patterson
407
+ Kexuan Sun
408
+ Kit Randel
409
+ Klaas van Schelven
410
+ KOLANICH
411
+ kpinc
412
+ Krishna Oza
413
+ Kumar McMillan
414
+ Kurt McKee
415
+ Kyle Persohn
416
+ lakshmanaram
417
+ Laszlo Kiss-Kollar
418
+ Laurent Bristiel
419
+ Laurent LAPORTE
420
+ Laurie O
421
+ Laurie Opperman
422
+ layday
423
+ Leon Sasson
424
+ Lev Givon
425
+ Lincoln de Sousa
426
+ Lipis
427
+ lorddavidiii
428
+ Loren Carvalho
429
+ Lucas Cimon
430
+ Ludovic Gasc
431
+ Lukas Geiger
432
+ Lukas Juhrich
433
+ Luke Macken
434
+ Luo Jiebin
435
+ luojiebin
436
+ luz.paz
437
+ László Kiss Kollár
438
+ M00nL1ght
439
+ Marc Abramowitz
440
+ Marc Tamlyn
441
+ Marcus Smith
442
+ Mariatta
443
+ Mark Kohler
444
+ Mark Williams
445
+ Markus Hametner
446
+ Martey Dodoo
447
+ Martin Fischer
448
+ Martin Häcker
449
+ Martin Pavlasek
450
+ Masaki
451
+ Masklinn
452
+ Matej Stuchlik
453
+ Mathew Jennings
454
+ Mathieu Bridon
455
+ Mathieu Kniewallner
456
+ Matt Bacchi
457
+ Matt Good
458
+ Matt Maker
459
+ Matt Robenolt
460
+ matthew
461
+ Matthew Einhorn
462
+ Matthew Feickert
463
+ Matthew Gilliard
464
+ Matthew Iversen
465
+ Matthew Treinish
466
+ Matthew Trumbell
467
+ Matthew Willson
468
+ Matthias Bussonnier
469
+ mattip
470
+ Maurits van Rees
471
+ Max W Chase
472
+ Maxim Kurnikov
473
+ Maxime Rouyrre
474
+ mayeut
475
+ mbaluna
476
+ mdebi
477
+ memoselyk
478
+ meowmeowcat
479
+ Michael
480
+ Michael Aquilina
481
+ Michael E. Karpeles
482
+ Michael Klich
483
+ Michael Mintz
484
+ Michael Williamson
485
+ michaelpacer
486
+ Michał Górny
487
+ Mickaël Schoentgen
488
+ Miguel Araujo Perez
489
+ Mihir Singh
490
+ Mike
491
+ Mike Hendricks
492
+ Min RK
493
+ MinRK
494
+ Miro Hrončok
495
+ Monica Baluna
496
+ montefra
497
+ Monty Taylor
498
+ Muha Ajjan‮
499
+ Nadav Wexler
500
+ Nahuel Ambrosini
501
+ Nate Coraor
502
+ Nate Prewitt
503
+ Nathan Houghton
504
+ Nathaniel J. Smith
505
+ Nehal J Wani
506
+ Neil Botelho
507
+ Nguyễn Gia Phong
508
+ Nicholas Serra
509
+ Nick Coghlan
510
+ Nick Stenning
511
+ Nick Timkovich
512
+ Nicolas Bock
513
+ Nicole Harris
514
+ Nikhil Benesch
515
+ Nikhil Ladha
516
+ Nikita Chepanov
517
+ Nikolay Korolev
518
+ Nipunn Koorapati
519
+ Nitesh Sharma
520
+ Niyas Sait
521
+ Noah
522
+ Noah Gorny
523
+ Nowell Strite
524
+ NtaleGrey
525
+ nvdv
526
+ OBITORASU
527
+ Ofek Lev
528
+ ofrinevo
529
+ Oliver Freund
530
+ Oliver Jeeves
531
+ Oliver Mannion
532
+ Oliver Tonnhofer
533
+ Olivier Girardot
534
+ Olivier Grisel
535
+ Ollie Rutherfurd
536
+ OMOTO Kenji
537
+ Omry Yadan
538
+ onlinejudge95
539
+ Oren Held
540
+ Oscar Benjamin
541
+ Oz N Tiram
542
+ Pachwenko
543
+ Patrick Dubroy
544
+ Patrick Jenkins
545
+ Patrick Lawson
546
+ patricktokeeffe
547
+ Patrik Kopkan
548
+ Paul Ganssle
549
+ Paul Kehrer
550
+ Paul Moore
551
+ Paul Nasrat
552
+ Paul Oswald
553
+ Paul van der Linden
554
+ Paulus Schoutsen
555
+ Pavel Safronov
556
+ Pavithra Eswaramoorthy
557
+ Pawel Jasinski
558
+ Paweł Szramowski
559
+ Pekka Klärck
560
+ Peter Gessler
561
+ Peter Lisák
562
+ Peter Waller
563
+ petr-tik
564
+ Phaneendra Chiruvella
565
+ Phil Elson
566
+ Phil Freo
567
+ Phil Pennock
568
+ Phil Whelan
569
+ Philip Jägenstedt
570
+ Philip Molloy
571
+ Philippe Ombredanne
572
+ Pi Delport
573
+ Pierre-Yves Rofes
574
+ Pieter Degroote
575
+ pip
576
+ Prabakaran Kumaresshan
577
+ Prabhjyotsing Surjit Singh Sodhi
578
+ Prabhu Marappan
579
+ Pradyun Gedam
580
+ Prashant Sharma
581
+ Pratik Mallya
582
+ pre-commit-ci[bot]
583
+ Preet Thakkar
584
+ Preston Holmes
585
+ Przemek Wrzos
586
+ Pulkit Goyal
587
+ q0w
588
+ Qiangning Hong
589
+ Qiming Xu
590
+ Quentin Lee
591
+ Quentin Pradet
592
+ R. David Murray
593
+ Rafael Caricio
594
+ Ralf Schmitt
595
+ Razzi Abuissa
596
+ rdb
597
+ Reece Dunham
598
+ Remi Rampin
599
+ Rene Dudfield
600
+ Riccardo Magliocchetti
601
+ Riccardo Schirone
602
+ Richard Jones
603
+ Richard Si
604
+ Ricky Ng-Adam
605
+ Rishi
606
+ RobberPhex
607
+ Robert Collins
608
+ Robert McGibbon
609
+ Robert Pollak
610
+ Robert T. McGibbon
611
+ robin elisha robinson
612
+ Roey Berman
613
+ Rohan Jain
614
+ Roman Bogorodskiy
615
+ Roman Donchenko
616
+ Romuald Brunet
617
+ ronaudinho
618
+ Ronny Pfannschmidt
619
+ Rory McCann
620
+ Ross Brattain
621
+ Roy Wellington Ⅳ
622
+ Ruairidh MacLeod
623
+ Russell Keith-Magee
624
+ Ryan Shepherd
625
+ Ryan Wooden
626
+ ryneeverett
627
+ Sachi King
628
+ Salvatore Rinchiera
629
+ sandeepkiran-js
630
+ Sander Van Balen
631
+ Savio Jomton
632
+ schlamar
633
+ Scott Kitterman
634
+ Sean
635
+ seanj
636
+ Sebastian Jordan
637
+ Sebastian Schaetz
638
+ Segev Finer
639
+ SeongSoo Cho
640
+ Sergey Vasilyev
641
+ Seth Michael Larson
642
+ Seth Woodworth
643
+ Shahar Epstein
644
+ Shantanu
645
+ shireenrao
646
+ Shivansh-007
647
+ Shlomi Fish
648
+ Shovan Maity
649
+ Simeon Visser
650
+ Simon Cross
651
+ Simon Pichugin
652
+ sinoroc
653
+ sinscary
654
+ snook92
655
+ socketubs
656
+ Sorin Sbarnea
657
+ Srinivas Nyayapati
658
+ Stavros Korokithakis
659
+ Stefan Scherfke
660
+ Stefano Rivera
661
+ Stephan Erb
662
+ Stephen Rosen
663
+ stepshal
664
+ Steve (Gadget) Barnes
665
+ Steve Barnes
666
+ Steve Dower
667
+ Steve Kowalik
668
+ Steven Myint
669
+ Steven Silvester
670
+ stonebig
671
+ studioj
672
+ Stéphane Bidoul
673
+ Stéphane Bidoul (ACSONE)
674
+ Stéphane Klein
675
+ Sumana Harihareswara
676
+ Surbhi Sharma
677
+ Sviatoslav Sydorenko
678
+ Swat009
679
+ Sylvain
680
+ Takayuki SHIMIZUKAWA
681
+ Taneli Hukkinen
682
+ tbeswick
683
+ Thiago
684
+ Thijs Triemstra
685
+ Thomas Fenzl
686
+ Thomas Grainger
687
+ Thomas Guettler
688
+ Thomas Johansson
689
+ Thomas Kluyver
690
+ Thomas Smith
691
+ Thomas VINCENT
692
+ Tim D. Smith
693
+ Tim Gates
694
+ Tim Harder
695
+ Tim Heap
696
+ tim smith
697
+ tinruufu
698
+ Tobias Hermann
699
+ Tom Forbes
700
+ Tom Freudenheim
701
+ Tom V
702
+ Tomas Hrnciar
703
+ Tomas Orsava
704
+ Tomer Chachamu
705
+ Tommi Enenkel | AnB
706
+ Tomáš Hrnčiar
707
+ Tony Beswick
708
+ Tony Narlock
709
+ Tony Zhaocheng Tan
710
+ TonyBeswick
711
+ toonarmycaptain
712
+ Toshio Kuratomi
713
+ toxinu
714
+ Travis Swicegood
715
+ Tushar Sadhwani
716
+ Tzu-ping Chung
717
+ Valentin Haenel
718
+ Victor Stinner
719
+ victorvpaulo
720
+ Vikram - Google
721
+ Viktor Szépe
722
+ Ville Skyttä
723
+ Vinay Sajip
724
+ Vincent Philippon
725
+ Vinicyus Macedo
726
+ Vipul Kumar
727
+ Vitaly Babiy
728
+ Vladimir Fokow
729
+ Vladimir Rutsky
730
+ W. Trevor King
731
+ Wil Tan
732
+ Wilfred Hughes
733
+ William Edwards
734
+ William ML Leslie
735
+ William T Olson
736
+ William Woodruff
737
+ Wilson Mo
738
+ wim glenn
739
+ Winson Luk
740
+ Wolfgang Maier
741
+ Wu Zhenyu
742
+ XAMES3
743
+ Xavier Fernandez
744
+ xoviat
745
+ xtreak
746
+ YAMAMOTO Takashi
747
+ Yen Chi Hsuan
748
+ Yeray Diaz Diaz
749
+ Yoval P
750
+ Yu Jian
751
+ Yuan Jing Vincent Yan
752
+ Yusuke Hayashi
753
+ Zearin
754
+ Zhiping Deng
755
+ ziebam
756
+ Zvezdan Petkovic
757
+ Łukasz Langa
758
+ Роман Донченко
759
+ Семён Марьясин
760
+ ‮rekcäH nitraM‮
venv/lib/python3.12/site-packages/pip-24.0.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
venv/lib/python3.12/site-packages/pip-24.0.dist-info/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2008-present The pip developers (see AUTHORS.txt file)
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
venv/lib/python3.12/site-packages/pip-24.0.dist-info/METADATA ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: pip
3
+ Version: 24.0
4
+ Summary: The PyPA recommended tool for installing Python packages.
5
+ Author-email: The pip developers <distutils-sig@python.org>
6
+ License: MIT
7
+ Project-URL: Homepage, https://pip.pypa.io/
8
+ Project-URL: Documentation, https://pip.pypa.io
9
+ Project-URL: Source, https://github.com/pypa/pip
10
+ Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Topic :: Software Development :: Build Tools
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Programming Language :: Python :: 3.7
19
+ Classifier: Programming Language :: Python :: 3.8
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: Implementation :: CPython
25
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
26
+ Requires-Python: >=3.7
27
+ Description-Content-Type: text/x-rst
28
+ License-File: LICENSE.txt
29
+ License-File: AUTHORS.txt
30
+
31
+ pip - The Python Package Installer
32
+ ==================================
33
+
34
+ .. image:: https://img.shields.io/pypi/v/pip.svg
35
+ :target: https://pypi.org/project/pip/
36
+ :alt: PyPI
37
+
38
+ .. image:: https://img.shields.io/pypi/pyversions/pip
39
+ :target: https://pypi.org/project/pip
40
+ :alt: PyPI - Python Version
41
+
42
+ .. image:: https://readthedocs.org/projects/pip/badge/?version=latest
43
+ :target: https://pip.pypa.io/en/latest
44
+ :alt: Documentation
45
+
46
+ pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
47
+
48
+ Please take a look at our documentation for how to install and use pip:
49
+
50
+ * `Installation`_
51
+ * `Usage`_
52
+
53
+ We release updates regularly, with a new version every 3 months. Find more details in our documentation:
54
+
55
+ * `Release notes`_
56
+ * `Release process`_
57
+
58
+ If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:
59
+
60
+ * `Issue tracking`_
61
+ * `Discourse channel`_
62
+ * `User IRC`_
63
+
64
+ If you want to get involved head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:
65
+
66
+ * `GitHub page`_
67
+ * `Development documentation`_
68
+ * `Development IRC`_
69
+
70
+ Code of Conduct
71
+ ---------------
72
+
73
+ Everyone interacting in the pip project's codebases, issue trackers, chat
74
+ rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
75
+
76
+ .. _package installer: https://packaging.python.org/guides/tool-recommendations/
77
+ .. _Python Package Index: https://pypi.org
78
+ .. _Installation: https://pip.pypa.io/en/stable/installation/
79
+ .. _Usage: https://pip.pypa.io/en/stable/
80
+ .. _Release notes: https://pip.pypa.io/en/stable/news.html
81
+ .. _Release process: https://pip.pypa.io/en/latest/development/release-process/
82
+ .. _GitHub page: https://github.com/pypa/pip
83
+ .. _Development documentation: https://pip.pypa.io/en/latest/development
84
+ .. _Issue tracking: https://github.com/pypa/pip/issues
85
+ .. _Discourse channel: https://discuss.python.org/c/packaging
86
+ .. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa
87
+ .. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev
88
+ .. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
venv/lib/python3.12/site-packages/pip-24.0.dist-info/RECORD ADDED
@@ -0,0 +1,1005 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ../../../bin/pip,sha256=Wh9zB1aI-nYiBXBG7SM_dp5GdgdHrIjX8z_IMW12W6Y,250
2
+ ../../../bin/pip3,sha256=Wh9zB1aI-nYiBXBG7SM_dp5GdgdHrIjX8z_IMW12W6Y,250
3
+ ../../../bin/pip3.12,sha256=Wh9zB1aI-nYiBXBG7SM_dp5GdgdHrIjX8z_IMW12W6Y,250
4
+ pip-24.0.dist-info/AUTHORS.txt,sha256=SwXm4nkwRkmtnO1ZY-dLy7EPeoQNXMNLby5CN3GlNhY,10388
5
+ pip-24.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
6
+ pip-24.0.dist-info/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
7
+ pip-24.0.dist-info/METADATA,sha256=kNEfJ3_Vho2mee4lfJdlbd5RHIqsfQJSMUB-bOkIOeI,3581
8
+ pip-24.0.dist-info/RECORD,,
9
+ pip-24.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ pip-24.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
11
+ pip-24.0.dist-info/entry_points.txt,sha256=Fa_c0b-xGFaYxagIruvpJD6qqXmNTA02vAVIkmMj-9o,125
12
+ pip-24.0.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
13
+ pip/__init__.py,sha256=oAk1nFpLmUVS5Ln7NxvNoGUn5Vkn6FGQjPaNDf8Q8pk,355
14
+ pip/__main__.py,sha256=WzbhHXTbSE6gBY19mNN9m4s5o_365LOvTYSgqgbdBhE,854
15
+ pip/__pip-runner__.py,sha256=EnrfKmKMzWAdqg_JicLCOP9Y95Ux7zHh4ObvqLtQcjo,1444
16
+ pip/__pycache__/__init__.cpython-312.pyc,,
17
+ pip/__pycache__/__main__.cpython-312.pyc,,
18
+ pip/__pycache__/__pip-runner__.cpython-312.pyc,,
19
+ pip/_internal/__init__.py,sha256=iqZ5-YQsQV08tkUc7L806Reop6tguLFWf70ySF6be0Y,515
20
+ pip/_internal/__pycache__/__init__.cpython-312.pyc,,
21
+ pip/_internal/__pycache__/build_env.cpython-312.pyc,,
22
+ pip/_internal/__pycache__/cache.cpython-312.pyc,,
23
+ pip/_internal/__pycache__/configuration.cpython-312.pyc,,
24
+ pip/_internal/__pycache__/exceptions.cpython-312.pyc,,
25
+ pip/_internal/__pycache__/main.cpython-312.pyc,,
26
+ pip/_internal/__pycache__/pyproject.cpython-312.pyc,,
27
+ pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc,,
28
+ pip/_internal/__pycache__/wheel_builder.cpython-312.pyc,,
29
+ pip/_internal/build_env.py,sha256=1ESpqw0iupS_K7phZK5zshVE5Czy9BtGLFU4W6Enva8,10243
30
+ pip/_internal/cache.py,sha256=uiYD-9F0Bv1C8ZyWE85lpzDmQf7hcUkgL99GmI8I41Q,10370
31
+ pip/_internal/cli/__init__.py,sha256=FkHBgpxxb-_gd6r1FjnNhfMOzAUYyXoXKJ6abijfcFU,132
32
+ pip/_internal/cli/__pycache__/__init__.cpython-312.pyc,,
33
+ pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc,,
34
+ pip/_internal/cli/__pycache__/base_command.cpython-312.pyc,,
35
+ pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc,,
36
+ pip/_internal/cli/__pycache__/command_context.cpython-312.pyc,,
37
+ pip/_internal/cli/__pycache__/main.cpython-312.pyc,,
38
+ pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc,,
39
+ pip/_internal/cli/__pycache__/parser.cpython-312.pyc,,
40
+ pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc,,
41
+ pip/_internal/cli/__pycache__/req_command.cpython-312.pyc,,
42
+ pip/_internal/cli/__pycache__/spinners.cpython-312.pyc,,
43
+ pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc,,
44
+ pip/_internal/cli/autocompletion.py,sha256=_br_5NgSxSuvPjMF0MLHzS5s6BpSkQAQHKrLK89VauM,6690
45
+ pip/_internal/cli/base_command.py,sha256=iuVWGa2oTq7gBReo0er3Z0tXJ2oqBIC6QjDHcnDhKXY,8733
46
+ pip/_internal/cli/cmdoptions.py,sha256=V8ggG6AtHpHKkH_6tRU0mhJaZTeqtrFpu75ghvMXXJk,30063
47
+ pip/_internal/cli/command_context.py,sha256=RHgIPwtObh5KhMrd3YZTkl8zbVG-6Okml7YbFX4Ehg0,774
48
+ pip/_internal/cli/main.py,sha256=Uzxt_YD1hIvB1AW5mxt6IVcht5G712AtMqdo51UMhmQ,2816
49
+ pip/_internal/cli/main_parser.py,sha256=laDpsuBDl6kyfywp9eMMA9s84jfH2TJJn-vmL0GG90w,4338
50
+ pip/_internal/cli/parser.py,sha256=KW6C3-7-4ErTNB0TfLTKwOdHcd-qefCeGnrOoE2r0RQ,10781
51
+ pip/_internal/cli/progress_bars.py,sha256=So4mPoSjXkXiSHiTzzquH3VVyVD_njXlHJSExYPXAow,1968
52
+ pip/_internal/cli/req_command.py,sha256=c7_XHABnXmD3_qlK9-r37KqdKBAcgmVKvQ2WcTrNLfc,18369
53
+ pip/_internal/cli/spinners.py,sha256=hIJ83GerdFgFCdobIA23Jggetegl_uC4Sp586nzFbPE,5118
54
+ pip/_internal/cli/status_codes.py,sha256=sEFHUaUJbqv8iArL3HAtcztWZmGOFX01hTesSytDEh0,116
55
+ pip/_internal/commands/__init__.py,sha256=5oRO9O3dM2vGuh0bFw4HOVletryrz5HHMmmPWwJrH9U,3882
56
+ pip/_internal/commands/__pycache__/__init__.cpython-312.pyc,,
57
+ pip/_internal/commands/__pycache__/cache.cpython-312.pyc,,
58
+ pip/_internal/commands/__pycache__/check.cpython-312.pyc,,
59
+ pip/_internal/commands/__pycache__/completion.cpython-312.pyc,,
60
+ pip/_internal/commands/__pycache__/configuration.cpython-312.pyc,,
61
+ pip/_internal/commands/__pycache__/debug.cpython-312.pyc,,
62
+ pip/_internal/commands/__pycache__/download.cpython-312.pyc,,
63
+ pip/_internal/commands/__pycache__/freeze.cpython-312.pyc,,
64
+ pip/_internal/commands/__pycache__/hash.cpython-312.pyc,,
65
+ pip/_internal/commands/__pycache__/help.cpython-312.pyc,,
66
+ pip/_internal/commands/__pycache__/index.cpython-312.pyc,,
67
+ pip/_internal/commands/__pycache__/inspect.cpython-312.pyc,,
68
+ pip/_internal/commands/__pycache__/install.cpython-312.pyc,,
69
+ pip/_internal/commands/__pycache__/list.cpython-312.pyc,,
70
+ pip/_internal/commands/__pycache__/search.cpython-312.pyc,,
71
+ pip/_internal/commands/__pycache__/show.cpython-312.pyc,,
72
+ pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc,,
73
+ pip/_internal/commands/__pycache__/wheel.cpython-312.pyc,,
74
+ pip/_internal/commands/cache.py,sha256=xg76_ZFEBC6zoQ3gXLRfMZJft4z2a0RwH4GEFZC6nnU,7944
75
+ pip/_internal/commands/check.py,sha256=Rb13Q28yoLh0j1gpx5SU0jlResNct21eQCRsnaO9xKA,1782
76
+ pip/_internal/commands/completion.py,sha256=HT4lD0bgsflHq2IDgYfiEdp7IGGtE7s6MgI3xn0VQEw,4287
77
+ pip/_internal/commands/configuration.py,sha256=n98enwp6y0b5G6fiRQjaZo43FlJKYve_daMhN-4BRNc,9766
78
+ pip/_internal/commands/debug.py,sha256=63972uUCeMIGOdMMVeIUGrOjTOqTVWplFC82a-hcKyA,6777
79
+ pip/_internal/commands/download.py,sha256=e4hw088zGo26WmJaMIRvCniLlLmoOjqolGyfHjsCkCQ,5335
80
+ pip/_internal/commands/freeze.py,sha256=qrIHS_-c6JPrQ92hMhAv9kkl0bHgFpRLwYJDdbcYr1o,3243
81
+ pip/_internal/commands/hash.py,sha256=EVVOuvGtoPEdFi8SNnmdqlCQrhCxV-kJsdwtdcCnXGQ,1703
82
+ pip/_internal/commands/help.py,sha256=gcc6QDkcgHMOuAn5UxaZwAStsRBrnGSn_yxjS57JIoM,1132
83
+ pip/_internal/commands/index.py,sha256=CNXQer_PeZKSJooURcCFCBEKGfwyNoUWYP_MWczAcOM,4775
84
+ pip/_internal/commands/inspect.py,sha256=2wSPt9yfr3r6g-s2S5L6PvRtaHNVyb4TuodMStJ39cw,3188
85
+ pip/_internal/commands/install.py,sha256=VxDd-BD3a27ApeE2OK34rfBXS6Zo2wtemK9-HCwPqxM,28782
86
+ pip/_internal/commands/list.py,sha256=-QbpPuGDiGN1SdThsk2ml8beBnepliefbGhMAN8tkzU,12547
87
+ pip/_internal/commands/search.py,sha256=sbBZiARRc050QquOKcCvOr2K3XLsoYebLKZGRi__iUI,5697
88
+ pip/_internal/commands/show.py,sha256=t5jia4zcYJRJZy4U_Von7zMl03hJmmcofj6oDNTnj7Y,6419
89
+ pip/_internal/commands/uninstall.py,sha256=OIqO9tqadY8kM4HwhFf1Q62fUIp7v8KDrTRo8yWMz7Y,3886
90
+ pip/_internal/commands/wheel.py,sha256=CSnX8Pmf1oPCnd7j7bn1_f58G9KHNiAblvVJ5zykN-A,6476
91
+ pip/_internal/configuration.py,sha256=XkAiBS0hpzsM-LF0Qu5hvPWO_Bs67-oQKRYFBuMbESs,14006
92
+ pip/_internal/distributions/__init__.py,sha256=Hq6kt6gXBgjNit5hTTWLAzeCNOKoB-N0pGYSqehrli8,858
93
+ pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc,,
94
+ pip/_internal/distributions/__pycache__/base.cpython-312.pyc,,
95
+ pip/_internal/distributions/__pycache__/installed.cpython-312.pyc,,
96
+ pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc,,
97
+ pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc,,
98
+ pip/_internal/distributions/base.py,sha256=oRSEvnv2ZjBnargamnv2fcJa1n6gUDKaW0g6CWSEpWs,1743
99
+ pip/_internal/distributions/installed.py,sha256=QinHFbWAQ8oE0pbD8MFZWkwlnfU1QYTccA1vnhrlYOU,842
100
+ pip/_internal/distributions/sdist.py,sha256=4K3V0VNMllHbBzCJibjwd_tylUKpmIdu2AQyhplvCQo,6709
101
+ pip/_internal/distributions/wheel.py,sha256=-ma3sOtUQj0AxXCEb6_Fhmjl3nh4k3A0HC2taAb2N-4,1277
102
+ pip/_internal/exceptions.py,sha256=TmF1iNFEneSWaemwlg6a5bpPuq2cMHK7d1-SvjsQHb0,23634
103
+ pip/_internal/index/__init__.py,sha256=vpt-JeTZefh8a-FC22ZeBSXFVbuBcXSGiILhQZJaNpQ,30
104
+ pip/_internal/index/__pycache__/__init__.cpython-312.pyc,,
105
+ pip/_internal/index/__pycache__/collector.cpython-312.pyc,,
106
+ pip/_internal/index/__pycache__/package_finder.cpython-312.pyc,,
107
+ pip/_internal/index/__pycache__/sources.cpython-312.pyc,,
108
+ pip/_internal/index/collector.py,sha256=sH0tL_cOoCk6pLLfCSGVjFM4rPEJtllF-VobvAvLSH4,16590
109
+ pip/_internal/index/package_finder.py,sha256=S_nC8gzVIMY6ikWfKoSOzRtoesUqnfNhAPl_BwSOusA,37843
110
+ pip/_internal/index/sources.py,sha256=dJegiR9f86kslaAHcv9-R5L_XBf5Rzm_FkyPteDuPxI,8688
111
+ pip/_internal/locations/__init__.py,sha256=Dh8LJWG8LRlDK4JIj9sfRF96TREzE--N_AIlx7Tqoe4,15365
112
+ pip/_internal/locations/__pycache__/__init__.cpython-312.pyc,,
113
+ pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc,,
114
+ pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc,,
115
+ pip/_internal/locations/__pycache__/base.cpython-312.pyc,,
116
+ pip/_internal/locations/_distutils.py,sha256=H9ZHK_35rdDV1Qsmi4QeaBULjFT4Mbu6QuoVGkJ6QHI,6009
117
+ pip/_internal/locations/_sysconfig.py,sha256=jyNVtUfMIf0mtyY-Xp1m9yQ8iwECozSVVFmjkN9a2yw,7680
118
+ pip/_internal/locations/base.py,sha256=RQiPi1d4FVM2Bxk04dQhXZ2PqkeljEL2fZZ9SYqIQ78,2556
119
+ pip/_internal/main.py,sha256=r-UnUe8HLo5XFJz8inTcOOTiu_sxNhgHb6VwlGUllOI,340
120
+ pip/_internal/metadata/__init__.py,sha256=9pU3W3s-6HtjFuYhWcLTYVmSaziklPv7k2x8p7X1GmA,4339
121
+ pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc,,
122
+ pip/_internal/metadata/__pycache__/_json.cpython-312.pyc,,
123
+ pip/_internal/metadata/__pycache__/base.cpython-312.pyc,,
124
+ pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc,,
125
+ pip/_internal/metadata/_json.py,sha256=Rz5M5ciSNvITwaTQR6NfN8TgKgM5WfTws4D6CFknovE,2627
126
+ pip/_internal/metadata/base.py,sha256=l3Wgku4xlgr8s4p6fS-3qQ4QKOpPbWLRwi5d9omEFG4,25907
127
+ pip/_internal/metadata/importlib/__init__.py,sha256=jUUidoxnHcfITHHaAWG1G2i5fdBYklv_uJcjo2x7VYE,135
128
+ pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc,,
129
+ pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc,,
130
+ pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc,,
131
+ pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc,,
132
+ pip/_internal/metadata/importlib/_compat.py,sha256=GAe_prIfCE4iUylrnr_2dJRlkkBVRUbOidEoID7LPoE,1882
133
+ pip/_internal/metadata/importlib/_dists.py,sha256=UPl1wUujFqiwiltRJ1tMF42WRINO1sSpNNlYQ2mX0mk,8297
134
+ pip/_internal/metadata/importlib/_envs.py,sha256=XTaFIYERP2JF0QUZuPx2ETiugXbPEcZ8q8ZKeht6Lpc,7456
135
+ pip/_internal/metadata/pkg_resources.py,sha256=opjw4IBSqHvie6sXJ_cbT42meygoPEUfNURJuWZY7sk,10035
136
+ pip/_internal/models/__init__.py,sha256=3DHUd_qxpPozfzouoqa9g9ts1Czr5qaHfFxbnxriepM,63
137
+ pip/_internal/models/__pycache__/__init__.cpython-312.pyc,,
138
+ pip/_internal/models/__pycache__/candidate.cpython-312.pyc,,
139
+ pip/_internal/models/__pycache__/direct_url.cpython-312.pyc,,
140
+ pip/_internal/models/__pycache__/format_control.cpython-312.pyc,,
141
+ pip/_internal/models/__pycache__/index.cpython-312.pyc,,
142
+ pip/_internal/models/__pycache__/installation_report.cpython-312.pyc,,
143
+ pip/_internal/models/__pycache__/link.cpython-312.pyc,,
144
+ pip/_internal/models/__pycache__/scheme.cpython-312.pyc,,
145
+ pip/_internal/models/__pycache__/search_scope.cpython-312.pyc,,
146
+ pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc,,
147
+ pip/_internal/models/__pycache__/target_python.cpython-312.pyc,,
148
+ pip/_internal/models/__pycache__/wheel.cpython-312.pyc,,
149
+ pip/_internal/models/candidate.py,sha256=hEPu8VdGE5qVASv6vLz-R-Rgh5-7LMbai1jgthMCd8M,931
150
+ pip/_internal/models/direct_url.py,sha256=FwouYBKcqckh7B-k2H3HVgRhhFTukFwqiS3kfvtFLSk,6889
151
+ pip/_internal/models/format_control.py,sha256=wtsQqSK9HaUiNxQEuB-C62eVimw6G4_VQFxV9-_KDBE,2486
152
+ pip/_internal/models/index.py,sha256=tYnL8oxGi4aSNWur0mG8DAP7rC6yuha_MwJO8xw0crI,1030
153
+ pip/_internal/models/installation_report.py,sha256=zRVZoaz-2vsrezj_H3hLOhMZCK9c7TbzWgC-jOalD00,2818
154
+ pip/_internal/models/link.py,sha256=XirOAGv1jgMu7vu87kuPbohGj7VHpwVrd2q3KUgVQNg,20777
155
+ pip/_internal/models/scheme.py,sha256=3EFQp_ICu_shH1-TBqhl0QAusKCPDFOlgHFeN4XowWs,738
156
+ pip/_internal/models/search_scope.py,sha256=ASVyyZxiJILw7bTIVVpJx8J293M3Hk5F33ilGn0e80c,4643
157
+ pip/_internal/models/selection_prefs.py,sha256=KZdi66gsR-_RUXUr9uejssk3rmTHrQVJWeNA2sV-VSY,1907
158
+ pip/_internal/models/target_python.py,sha256=34EkorrMuRvRp-bjqHKJ-bOO71m9xdjN2b8WWFEC2HU,4272
159
+ pip/_internal/models/wheel.py,sha256=YqazoIZyma_Q1ejFa1C7NHKQRRWlvWkdK96VRKmDBeI,3600
160
+ pip/_internal/network/__init__.py,sha256=jf6Tt5nV_7zkARBrKojIXItgejvoegVJVKUbhAa5Ioc,50
161
+ pip/_internal/network/__pycache__/__init__.cpython-312.pyc,,
162
+ pip/_internal/network/__pycache__/auth.cpython-312.pyc,,
163
+ pip/_internal/network/__pycache__/cache.cpython-312.pyc,,
164
+ pip/_internal/network/__pycache__/download.cpython-312.pyc,,
165
+ pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc,,
166
+ pip/_internal/network/__pycache__/session.cpython-312.pyc,,
167
+ pip/_internal/network/__pycache__/utils.cpython-312.pyc,,
168
+ pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc,,
169
+ pip/_internal/network/auth.py,sha256=TC-OcW2KU4W6R1hU4qPgQXvVH54adACpZz6sWq-R9NA,20541
170
+ pip/_internal/network/cache.py,sha256=48A971qCzKNFvkb57uGEk7-0xaqPS0HWj2711QNTxkU,3935
171
+ pip/_internal/network/download.py,sha256=i0Tn55CD5D7XYEFY3TxiYaCf0OaaTQ6SScNgCsSeV14,6086
172
+ pip/_internal/network/lazy_wheel.py,sha256=2PXVduYZPCPZkkQFe1J1GbfHJWeCU--FXonGyIfw9eU,7638
173
+ pip/_internal/network/session.py,sha256=9tqEDD8JiVaFdplOEXJxNo9cjRfBZ6RIa0yQQ_qBNiM,18698
174
+ pip/_internal/network/utils.py,sha256=6A5SrUJEEUHxbGtbscwU2NpCyz-3ztiDlGWHpRRhsJ8,4073
175
+ pip/_internal/network/xmlrpc.py,sha256=sAxzOacJ-N1NXGPvap9jC3zuYWSnnv3GXtgR2-E2APA,1838
176
+ pip/_internal/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
177
+ pip/_internal/operations/__pycache__/__init__.cpython-312.pyc,,
178
+ pip/_internal/operations/__pycache__/check.cpython-312.pyc,,
179
+ pip/_internal/operations/__pycache__/freeze.cpython-312.pyc,,
180
+ pip/_internal/operations/__pycache__/prepare.cpython-312.pyc,,
181
+ pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
182
+ pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc,,
183
+ pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc,,
184
+ pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc,,
185
+ pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc,,
186
+ pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc,,
187
+ pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc,,
188
+ pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc,,
189
+ pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc,,
190
+ pip/_internal/operations/build/build_tracker.py,sha256=z-H5DOknZdBa3dh2Vq6VBMY5qLYIKmlj2p6CGZK5Lc8,4832
191
+ pip/_internal/operations/build/metadata.py,sha256=9S0CUD8U3QqZeXp-Zyt8HxwU90lE4QrnYDgrqZDzBnc,1422
192
+ pip/_internal/operations/build/metadata_editable.py,sha256=VLL7LvntKE8qxdhUdEJhcotFzUsOSI8NNS043xULKew,1474
193
+ pip/_internal/operations/build/metadata_legacy.py,sha256=o-eU21As175hDC7dluM1fJJ_FqokTIShyWpjKaIpHZw,2198
194
+ pip/_internal/operations/build/wheel.py,sha256=sT12FBLAxDC6wyrDorh8kvcZ1jG5qInCRWzzP-UkJiQ,1075
195
+ pip/_internal/operations/build/wheel_editable.py,sha256=yOtoH6zpAkoKYEUtr8FhzrYnkNHQaQBjWQ2HYae1MQg,1417
196
+ pip/_internal/operations/build/wheel_legacy.py,sha256=C9j6rukgQI1n_JeQLoZGuDdfUwzCXShyIdPTp6edbMQ,3064
197
+ pip/_internal/operations/check.py,sha256=fsqA88iGaqftCr2tlP3sSU202CSkoODRtW0O-JU9M4Y,6806
198
+ pip/_internal/operations/freeze.py,sha256=uqoeTAf6HOYVMR2UgAT8N85UZoGEVEoQdan_Ao6SOfk,9816
199
+ pip/_internal/operations/install/__init__.py,sha256=mX7hyD2GNBO2mFGokDQ30r_GXv7Y_PLdtxcUv144e-s,51
200
+ pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc,,
201
+ pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc,,
202
+ pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc,,
203
+ pip/_internal/operations/install/editable_legacy.py,sha256=YeR0KadWXw_ZheC1NtAG1qVIEkOgRGHc23x-YtGW7NU,1282
204
+ pip/_internal/operations/install/wheel.py,sha256=9hGb1c4bRnPIb2FG7CtUSPfPxqprmHQBtwIAlWPNTtE,27311
205
+ pip/_internal/operations/prepare.py,sha256=57Oq87HfunX3Rbqp47FdaJr9cHbAKUm_3gv7WhBAqbE,28128
206
+ pip/_internal/pyproject.py,sha256=4Xszp11xgr126yzG6BbJA0oaQ9WXuhb0jyUb-y_6lPQ,7152
207
+ pip/_internal/req/__init__.py,sha256=TELFgZOof3lhMmaICVWL9U7PlhXo9OufokbMAJ6J2GI,2738
208
+ pip/_internal/req/__pycache__/__init__.cpython-312.pyc,,
209
+ pip/_internal/req/__pycache__/constructors.cpython-312.pyc,,
210
+ pip/_internal/req/__pycache__/req_file.cpython-312.pyc,,
211
+ pip/_internal/req/__pycache__/req_install.cpython-312.pyc,,
212
+ pip/_internal/req/__pycache__/req_set.cpython-312.pyc,,
213
+ pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc,,
214
+ pip/_internal/req/constructors.py,sha256=8hlY56imEthLORRwmloyKz3YOyXymIaKsNB6P9ewvNI,19018
215
+ pip/_internal/req/req_file.py,sha256=M8ttOZL-PwAj7scPElhW3ZD2hiD9mm_6FJAGIbwAzEI,17790
216
+ pip/_internal/req/req_install.py,sha256=wtOPxkyRSM8comTks8oL1Gp2oyGqbH7JwIDRci2QiPk,35460
217
+ pip/_internal/req/req_set.py,sha256=iMYDUToSgkxFyrP_OrTtPSgw4dwjRyGRDpGooTqeA4Y,4704
218
+ pip/_internal/req/req_uninstall.py,sha256=nmvTQaRCC0iu-5Tw0djlXJhSj6WmqHRvT3qkkEdC35E,24551
219
+ pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
220
+ pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc,,
221
+ pip/_internal/resolution/__pycache__/base.cpython-312.pyc,,
222
+ pip/_internal/resolution/base.py,sha256=qlmh325SBVfvG6Me9gc5Nsh5sdwHBwzHBq6aEXtKsLA,583
223
+ pip/_internal/resolution/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
224
+ pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc,,
225
+ pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc,,
226
+ pip/_internal/resolution/legacy/resolver.py,sha256=Xk24jQ62GvLr4Mc7IjN_qiO88qp0BImzVmPIFz9QLOE,24025
227
+ pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
228
+ pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc,,
229
+ pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc,,
230
+ pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc,,
231
+ pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc,,
232
+ pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc,,
233
+ pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc,,
234
+ pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc,,
235
+ pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc,,
236
+ pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc,,
237
+ pip/_internal/resolution/resolvelib/base.py,sha256=jg5COmHLhmBIKOR-4spdJD3jyULYa1BdsqiBu2YJnJ4,5173
238
+ pip/_internal/resolution/resolvelib/candidates.py,sha256=19Ki91Po-MSxBknGIfOGkaWkFdOznN0W_nKv7jL28L0,21052
239
+ pip/_internal/resolution/resolvelib/factory.py,sha256=vqqk-hjchdhShwWVdeW2_A-5ZblLhE_nC_v3Mhz4Svc,32292
240
+ pip/_internal/resolution/resolvelib/found_candidates.py,sha256=hvL3Hoa9VaYo-qEOZkBi2Iqw251UDxPz-uMHVaWmLpE,5705
241
+ pip/_internal/resolution/resolvelib/provider.py,sha256=4t23ivjruqM6hKBX1KpGiTt-M4HGhRcZnGLV0c01K7U,9824
242
+ pip/_internal/resolution/resolvelib/reporter.py,sha256=YFm9hQvz4DFCbjZeFTQ56hTz3Ac-mDBnHkeNRVvMHLY,3100
243
+ pip/_internal/resolution/resolvelib/requirements.py,sha256=-kJONP0WjDfdTvBAs2vUXPgAnOyNIBEAXY4b72ogtPE,5696
244
+ pip/_internal/resolution/resolvelib/resolver.py,sha256=nLJOsVMEVi2gQUVJoUFKMZAeu2f7GRMjGMvNSWyz0Bc,12592
245
+ pip/_internal/self_outdated_check.py,sha256=saxQLB8UzIFtMScquytG10TOTsYVFJQ_mkW1NY-46wE,8378
246
+ pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
247
+ pip/_internal/utils/__pycache__/__init__.cpython-312.pyc,,
248
+ pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc,,
249
+ pip/_internal/utils/__pycache__/_log.cpython-312.pyc,,
250
+ pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc,,
251
+ pip/_internal/utils/__pycache__/compat.cpython-312.pyc,,
252
+ pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc,,
253
+ pip/_internal/utils/__pycache__/datetime.cpython-312.pyc,,
254
+ pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc,,
255
+ pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc,,
256
+ pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc,,
257
+ pip/_internal/utils/__pycache__/encoding.cpython-312.pyc,,
258
+ pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc,,
259
+ pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc,,
260
+ pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc,,
261
+ pip/_internal/utils/__pycache__/glibc.cpython-312.pyc,,
262
+ pip/_internal/utils/__pycache__/hashes.cpython-312.pyc,,
263
+ pip/_internal/utils/__pycache__/logging.cpython-312.pyc,,
264
+ pip/_internal/utils/__pycache__/misc.cpython-312.pyc,,
265
+ pip/_internal/utils/__pycache__/models.cpython-312.pyc,,
266
+ pip/_internal/utils/__pycache__/packaging.cpython-312.pyc,,
267
+ pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc,,
268
+ pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc,,
269
+ pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc,,
270
+ pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc,,
271
+ pip/_internal/utils/__pycache__/urls.cpython-312.pyc,,
272
+ pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc,,
273
+ pip/_internal/utils/__pycache__/wheel.cpython-312.pyc,,
274
+ pip/_internal/utils/_jaraco_text.py,sha256=yvDGelTVugRayPaOF2k4ab0Ky4d3uOkAfuOQjASjImY,3351
275
+ pip/_internal/utils/_log.py,sha256=-jHLOE_THaZz5BFcCnoSL9EYAtJ0nXem49s9of4jvKw,1015
276
+ pip/_internal/utils/appdirs.py,sha256=swgcTKOm3daLeXTW6v5BUS2Ti2RvEnGRQYH_yDXklAo,1665
277
+ pip/_internal/utils/compat.py,sha256=ACyBfLgj3_XG-iA5omEDrXqDM0cQKzi8h8HRBInzG6Q,1884
278
+ pip/_internal/utils/compatibility_tags.py,sha256=ydin8QG8BHqYRsPY4OL6cmb44CbqXl1T0xxS97VhHkk,5377
279
+ pip/_internal/utils/datetime.py,sha256=m21Y3wAtQc-ji6Veb6k_M5g6A0ZyFI4egchTdnwh-pQ,242
280
+ pip/_internal/utils/deprecation.py,sha256=NKo8VqLioJ4nnXXGmW4KdasxF90EFHkZaHeX1fT08C8,3627
281
+ pip/_internal/utils/direct_url_helpers.py,sha256=6F1tc2rcKaCZmgfVwsE6ObIe_Pux23mUVYA-2D9wCFc,3206
282
+ pip/_internal/utils/egg_link.py,sha256=0FePZoUYKv4RGQ2t6x7w5Z427wbA_Uo3WZnAkrgsuqo,2463
283
+ pip/_internal/utils/encoding.py,sha256=qqsXDtiwMIjXMEiIVSaOjwH5YmirCaK-dIzb6-XJsL0,1169
284
+ pip/_internal/utils/entrypoints.py,sha256=YlhLTRl2oHBAuqhc-zmL7USS67TPWVHImjeAQHreZTQ,3064
285
+ pip/_internal/utils/filesystem.py,sha256=RhMIXUaNVMGjc3rhsDahWQ4MavvEQDdqXqgq-F6fpw8,5122
286
+ pip/_internal/utils/filetypes.py,sha256=i8XAQ0eFCog26Fw9yV0Yb1ygAqKYB1w9Cz9n0fj8gZU,716
287
+ pip/_internal/utils/glibc.py,sha256=Mesxxgg3BLxheLZx-dSf30b6gKpOgdVXw6W--uHSszQ,3113
288
+ pip/_internal/utils/hashes.py,sha256=MjOigC75z6qoRMkgHiHqot7eqxfwDZSrEflJMPm-bHE,5118
289
+ pip/_internal/utils/logging.py,sha256=fdtuZJ-AKkqwDTANDvGcBEpssL8el7T1jnwk1CnZl3Y,11603
290
+ pip/_internal/utils/misc.py,sha256=fNXwaeeikvnUt4CPMFIL4-IQbZDxxjj4jDpzCi4ZsOw,23623
291
+ pip/_internal/utils/models.py,sha256=5GoYU586SrxURMvDn_jBMJInitviJg4O5-iOU-6I0WY,1193
292
+ pip/_internal/utils/packaging.py,sha256=5Wm6_x7lKrlqVjPI5MBN_RurcRHwVYoQ7Ksrs84de7s,2108
293
+ pip/_internal/utils/setuptools_build.py,sha256=ouXpud-jeS8xPyTPsXJ-m34NPvK5os45otAzdSV_IJE,4435
294
+ pip/_internal/utils/subprocess.py,sha256=zzdimb75jVLE1GU4WlTZ055gczhD7n1y1xTcNc7vNZQ,9207
295
+ pip/_internal/utils/temp_dir.py,sha256=DUAw22uFruQdK43i2L2K53C-CDjRCPeAsBKJpu-rHQ4,9312
296
+ pip/_internal/utils/unpacking.py,sha256=SBb2iV1crb89MDRTEKY86R4A_UOWApTQn9VQVcMDOlE,8821
297
+ pip/_internal/utils/urls.py,sha256=AhaesUGl-9it6uvG6fsFPOr9ynFpGaTMk4t5XTX7Z_Q,1759
298
+ pip/_internal/utils/virtualenv.py,sha256=S6f7csYorRpiD6cvn3jISZYc3I8PJC43H5iMFpRAEDU,3456
299
+ pip/_internal/utils/wheel.py,sha256=i4BwUNHattzN0ixy3HBAF04tZPRh2CcxaT6t86viwkE,4499
300
+ pip/_internal/vcs/__init__.py,sha256=UAqvzpbi0VbZo3Ub6skEeZAw-ooIZR-zX_WpCbxyCoU,596
301
+ pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc,,
302
+ pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc,,
303
+ pip/_internal/vcs/__pycache__/git.cpython-312.pyc,,
304
+ pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc,,
305
+ pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc,,
306
+ pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc,,
307
+ pip/_internal/vcs/bazaar.py,sha256=j0oin0fpGRHcCFCxEcpPCQoFEvA-DMLULKdGP8Nv76o,3519
308
+ pip/_internal/vcs/git.py,sha256=CeKBGJnl6uskvvjkAUXrJVxbHJrpS_B_pyfFdjL3CRc,18121
309
+ pip/_internal/vcs/mercurial.py,sha256=oULOhzJ2Uie-06d1omkL-_Gc6meGaUkyogvqG9ZCyPs,5249
310
+ pip/_internal/vcs/subversion.py,sha256=vhZs8L-TNggXqM1bbhl-FpbxE3TrIB6Tgnx8fh3S2HE,11729
311
+ pip/_internal/vcs/versioncontrol.py,sha256=3eIjtOMYvOY5qP6BMYIYDZ375CSuec6kSEB0bOo1cSs,22787
312
+ pip/_internal/wheel_builder.py,sha256=qTTzQV8F6b1jNsFCda1TRQC8J7gK-m7iuRNgKo7Dj68,11801
313
+ pip/_vendor/__init__.py,sha256=U51NPwXdA-wXOiANIQncYjcMp6txgeOL5nHxksJeyas,4993
314
+ pip/_vendor/__pycache__/__init__.cpython-312.pyc,,
315
+ pip/_vendor/__pycache__/six.cpython-312.pyc,,
316
+ pip/_vendor/__pycache__/typing_extensions.cpython-312.pyc,,
317
+ pip/_vendor/cachecontrol/__init__.py,sha256=ctHagMhQXuvQDdm4TirZrwDOT5H8oBNAJqzdKI6sovk,676
318
+ pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc,,
319
+ pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc,,
320
+ pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc,,
321
+ pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc,,
322
+ pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc,,
323
+ pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc,,
324
+ pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc,,
325
+ pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc,,
326
+ pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc,,
327
+ pip/_vendor/cachecontrol/_cmd.py,sha256=iist2EpzJvDVIhMAxXq8iFnTBsiZAd6iplxfmNboNyk,1737
328
+ pip/_vendor/cachecontrol/adapter.py,sha256=_CcWvUP9048qAZjsNqViaHbdcLs9mmFNixVfpO7oebE,6392
329
+ pip/_vendor/cachecontrol/cache.py,sha256=OTQj72tUf8C1uEgczdl3Gc8vkldSzsTITKtDGKMx4z8,1952
330
+ pip/_vendor/cachecontrol/caches/__init__.py,sha256=dtrrroK5BnADR1GWjCZ19aZ0tFsMfvFBtLQQU1sp_ag,303
331
+ pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc,,
332
+ pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc,,
333
+ pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc,,
334
+ pip/_vendor/cachecontrol/caches/file_cache.py,sha256=3z8AWKD-vfKeiJqIzLmJyIYtR2yd6Tsh3u1TyLRQoIQ,5352
335
+ pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=9rmqwtYu_ljVkW6_oLqbC7EaX_a8YT_yLuna-eS0dgo,1386
336
+ pip/_vendor/cachecontrol/controller.py,sha256=keCFA3ZaNVaWTwHd6F1zqWhb4vyvNx_UvZuo5iIYMfo,18384
337
+ pip/_vendor/cachecontrol/filewrapper.py,sha256=STttGmIPBvZzt2b51dUOwoWX5crcMCpKZOisM3f5BNc,4292
338
+ pip/_vendor/cachecontrol/heuristics.py,sha256=fdFbk9W8IeLrjteIz_fK4mj2HD_Y7COXF2Uc8TgjT1c,4828
339
+ pip/_vendor/cachecontrol/serialize.py,sha256=0dHeMaDwysVAAnGVlhMOP4tDliohgNK0Jxk_zsOiWxw,7173
340
+ pip/_vendor/cachecontrol/wrapper.py,sha256=hsGc7g8QGQTT-4f8tgz3AM5qwScg6FO0BSdLSRdEvpU,1417
341
+ pip/_vendor/certifi/__init__.py,sha256=L_j-d0kYuA_MzA2_2hraF1ovf6KT6DTquRdV3paQwOk,94
342
+ pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255
343
+ pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc,,
344
+ pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc,,
345
+ pip/_vendor/certifi/__pycache__/core.cpython-312.pyc,,
346
+ pip/_vendor/certifi/cacert.pem,sha256=eU0Dn_3yd8BH4m8sfVj4Glhl2KDrcCSg-sEWT-pNJ88,281617
347
+ pip/_vendor/certifi/core.py,sha256=DNTl8b_B6C4vO3Vc9_q2uvwHpNnBQoy5onDC4McImxc,4531
348
+ pip/_vendor/chardet/__init__.py,sha256=57R-HSxj0PWmILMN0GFmUNqEMfrEVSamXyjD-W6_fbs,4797
349
+ pip/_vendor/chardet/__pycache__/__init__.cpython-312.pyc,,
350
+ pip/_vendor/chardet/__pycache__/big5freq.cpython-312.pyc,,
351
+ pip/_vendor/chardet/__pycache__/big5prober.cpython-312.pyc,,
352
+ pip/_vendor/chardet/__pycache__/chardistribution.cpython-312.pyc,,
353
+ pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-312.pyc,,
354
+ pip/_vendor/chardet/__pycache__/charsetprober.cpython-312.pyc,,
355
+ pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-312.pyc,,
356
+ pip/_vendor/chardet/__pycache__/codingstatemachinedict.cpython-312.pyc,,
357
+ pip/_vendor/chardet/__pycache__/cp949prober.cpython-312.pyc,,
358
+ pip/_vendor/chardet/__pycache__/enums.cpython-312.pyc,,
359
+ pip/_vendor/chardet/__pycache__/escprober.cpython-312.pyc,,
360
+ pip/_vendor/chardet/__pycache__/escsm.cpython-312.pyc,,
361
+ pip/_vendor/chardet/__pycache__/eucjpprober.cpython-312.pyc,,
362
+ pip/_vendor/chardet/__pycache__/euckrfreq.cpython-312.pyc,,
363
+ pip/_vendor/chardet/__pycache__/euckrprober.cpython-312.pyc,,
364
+ pip/_vendor/chardet/__pycache__/euctwfreq.cpython-312.pyc,,
365
+ pip/_vendor/chardet/__pycache__/euctwprober.cpython-312.pyc,,
366
+ pip/_vendor/chardet/__pycache__/gb2312freq.cpython-312.pyc,,
367
+ pip/_vendor/chardet/__pycache__/gb2312prober.cpython-312.pyc,,
368
+ pip/_vendor/chardet/__pycache__/hebrewprober.cpython-312.pyc,,
369
+ pip/_vendor/chardet/__pycache__/jisfreq.cpython-312.pyc,,
370
+ pip/_vendor/chardet/__pycache__/johabfreq.cpython-312.pyc,,
371
+ pip/_vendor/chardet/__pycache__/johabprober.cpython-312.pyc,,
372
+ pip/_vendor/chardet/__pycache__/jpcntx.cpython-312.pyc,,
373
+ pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-312.pyc,,
374
+ pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-312.pyc,,
375
+ pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-312.pyc,,
376
+ pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-312.pyc,,
377
+ pip/_vendor/chardet/__pycache__/langrussianmodel.cpython-312.pyc,,
378
+ pip/_vendor/chardet/__pycache__/langthaimodel.cpython-312.pyc,,
379
+ pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-312.pyc,,
380
+ pip/_vendor/chardet/__pycache__/latin1prober.cpython-312.pyc,,
381
+ pip/_vendor/chardet/__pycache__/macromanprober.cpython-312.pyc,,
382
+ pip/_vendor/chardet/__pycache__/mbcharsetprober.cpython-312.pyc,,
383
+ pip/_vendor/chardet/__pycache__/mbcsgroupprober.cpython-312.pyc,,
384
+ pip/_vendor/chardet/__pycache__/mbcssm.cpython-312.pyc,,
385
+ pip/_vendor/chardet/__pycache__/resultdict.cpython-312.pyc,,
386
+ pip/_vendor/chardet/__pycache__/sbcharsetprober.cpython-312.pyc,,
387
+ pip/_vendor/chardet/__pycache__/sbcsgroupprober.cpython-312.pyc,,
388
+ pip/_vendor/chardet/__pycache__/sjisprober.cpython-312.pyc,,
389
+ pip/_vendor/chardet/__pycache__/universaldetector.cpython-312.pyc,,
390
+ pip/_vendor/chardet/__pycache__/utf1632prober.cpython-312.pyc,,
391
+ pip/_vendor/chardet/__pycache__/utf8prober.cpython-312.pyc,,
392
+ pip/_vendor/chardet/__pycache__/version.cpython-312.pyc,,
393
+ pip/_vendor/chardet/big5freq.py,sha256=ltcfP-3PjlNHCoo5e4a7C4z-2DhBTXRfY6jbMbB7P30,31274
394
+ pip/_vendor/chardet/big5prober.py,sha256=lPMfwCX6v2AaPgvFh_cSWZcgLDbWiFCHLZ_p9RQ9uxE,1763
395
+ pip/_vendor/chardet/chardistribution.py,sha256=13B8XUG4oXDuLdXvfbIWwLFeR-ZU21AqTS1zcdON8bU,10032
396
+ pip/_vendor/chardet/charsetgroupprober.py,sha256=UKK3SaIZB2PCdKSIS0gnvMtLR9JJX62M-fZJu3OlWyg,3915
397
+ pip/_vendor/chardet/charsetprober.py,sha256=L3t8_wIOov8em-vZWOcbkdsrwe43N6_gqNh5pH7WPd4,5420
398
+ pip/_vendor/chardet/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
399
+ pip/_vendor/chardet/cli/__pycache__/__init__.cpython-312.pyc,,
400
+ pip/_vendor/chardet/cli/__pycache__/chardetect.cpython-312.pyc,,
401
+ pip/_vendor/chardet/cli/chardetect.py,sha256=zibMVg5RpKb-ME9_7EYG4ZM2Sf07NHcQzZ12U-rYJho,3242
402
+ pip/_vendor/chardet/codingstatemachine.py,sha256=K7k69sw3jY5DmTXoSJQVsUtFIQKYPQVOSJJhBuGv_yE,3732
403
+ pip/_vendor/chardet/codingstatemachinedict.py,sha256=0GY3Hi2qIZvDrOOJ3AtqppM1RsYxr_66ER4EHjuMiMc,542
404
+ pip/_vendor/chardet/cp949prober.py,sha256=0jKRV7fECuWI16rNnks0ZECKA1iZYCIEaP8A1ZvjUSI,1860
405
+ pip/_vendor/chardet/enums.py,sha256=TzECiZoCKNMqgwU76cPCeKWFBqaWvAdLMev5_bCkhY8,1683
406
+ pip/_vendor/chardet/escprober.py,sha256=Kho48X65xE0scFylIdeJjM2bcbvRvv0h0WUbMWrJD3A,4006
407
+ pip/_vendor/chardet/escsm.py,sha256=AqyXpA2FQFD7k-buBty_7itGEYkhmVa8X09NLRul3QM,12176
408
+ pip/_vendor/chardet/eucjpprober.py,sha256=5KYaM9fsxkRYzw1b5k0fL-j_-ezIw-ij9r97a9MHxLY,3934
409
+ pip/_vendor/chardet/euckrfreq.py,sha256=3mHuRvXfsq_QcQysDQFb8qSudvTiol71C6Ic2w57tKM,13566
410
+ pip/_vendor/chardet/euckrprober.py,sha256=hiFT6wM174GIwRvqDsIcuOc-dDsq2uPKMKbyV8-1Xnc,1753
411
+ pip/_vendor/chardet/euctwfreq.py,sha256=2alILE1Lh5eqiFJZjzRkMQXolNJRHY5oBQd-vmZYFFM,36913
412
+ pip/_vendor/chardet/euctwprober.py,sha256=NxbpNdBtU0VFI0bKfGfDkpP7S2_8_6FlO87dVH0ogws,1753
413
+ pip/_vendor/chardet/gb2312freq.py,sha256=49OrdXzD-HXqwavkqjo8Z7gvs58hONNzDhAyMENNkvY,20735
414
+ pip/_vendor/chardet/gb2312prober.py,sha256=KPEBueaSLSvBpFeINMu0D6TgHcR90e5PaQawifzF4o0,1759
415
+ pip/_vendor/chardet/hebrewprober.py,sha256=96T_Lj_OmW-fK7JrSHojYjyG3fsGgbzkoTNleZ3kfYE,14537
416
+ pip/_vendor/chardet/jisfreq.py,sha256=mm8tfrwqhpOd3wzZKS4NJqkYBQVcDfTM2JiQ5aW932E,25796
417
+ pip/_vendor/chardet/johabfreq.py,sha256=dBpOYG34GRX6SL8k_LbS9rxZPMjLjoMlgZ03Pz5Hmqc,42498
418
+ pip/_vendor/chardet/johabprober.py,sha256=O1Qw9nVzRnun7vZp4UZM7wvJSv9W941mEU9uDMnY3DU,1752
419
+ pip/_vendor/chardet/jpcntx.py,sha256=uhHrYWkLxE_rF5OkHKInm0HUsrjgKHHVQvtt3UcvotA,27055
420
+ pip/_vendor/chardet/langbulgarianmodel.py,sha256=vmbvYFP8SZkSxoBvLkFqKiH1sjma5ihk3PTpdy71Rr4,104562
421
+ pip/_vendor/chardet/langgreekmodel.py,sha256=JfB7bupjjJH2w3X_mYnQr9cJA_7EuITC2cRW13fUjeI,98484
422
+ pip/_vendor/chardet/langhebrewmodel.py,sha256=3HXHaLQPNAGcXnJjkIJfozNZLTvTJmf4W5Awi6zRRKc,98196
423
+ pip/_vendor/chardet/langhungarianmodel.py,sha256=WxbeQIxkv8YtApiNqxQcvj-tMycsoI4Xy-fwkDHpP_Y,101363
424
+ pip/_vendor/chardet/langrussianmodel.py,sha256=s395bTZ87ESTrZCOdgXbEjZ9P1iGPwCl_8xSsac_DLY,128035
425
+ pip/_vendor/chardet/langthaimodel.py,sha256=7bJlQitRpTnVGABmbSznHnJwOHDy3InkTvtFUx13WQI,102774
426
+ pip/_vendor/chardet/langturkishmodel.py,sha256=XY0eGdTIy4eQ9Xg1LVPZacb-UBhHBR-cq0IpPVHowKc,95372
427
+ pip/_vendor/chardet/latin1prober.py,sha256=p15EEmFbmQUwbKLC7lOJVGHEZwcG45ubEZYTGu01J5g,5380
428
+ pip/_vendor/chardet/macromanprober.py,sha256=9anfzmY6TBfUPDyBDOdY07kqmTHpZ1tK0jL-p1JWcOY,6077
429
+ pip/_vendor/chardet/mbcharsetprober.py,sha256=Wr04WNI4F3X_VxEverNG-H25g7u-MDDKlNt-JGj-_uU,3715
430
+ pip/_vendor/chardet/mbcsgroupprober.py,sha256=iRpaNBjV0DNwYPu_z6TiHgRpwYahiM7ztI_4kZ4Uz9A,2131
431
+ pip/_vendor/chardet/mbcssm.py,sha256=hUtPvDYgWDaA2dWdgLsshbwRfm3Q5YRlRogdmeRUNQw,30391
432
+ pip/_vendor/chardet/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
433
+ pip/_vendor/chardet/metadata/__pycache__/__init__.cpython-312.pyc,,
434
+ pip/_vendor/chardet/metadata/__pycache__/languages.cpython-312.pyc,,
435
+ pip/_vendor/chardet/metadata/languages.py,sha256=FhvBIdZFxRQ-dTwkb_0madRKgVBCaUMQz9I5xqjE5iQ,13560
436
+ pip/_vendor/chardet/resultdict.py,sha256=ez4FRvN5KaSosJeJ2WzUyKdDdg35HDy_SSLPXKCdt5M,402
437
+ pip/_vendor/chardet/sbcharsetprober.py,sha256=-nd3F90i7GpXLjehLVHqVBE0KlWzGvQUPETLBNn4o6U,6400
438
+ pip/_vendor/chardet/sbcsgroupprober.py,sha256=gcgI0fOfgw_3YTClpbra_MNxwyEyJ3eUXraoLHYb59E,4137
439
+ pip/_vendor/chardet/sjisprober.py,sha256=aqQufMzRw46ZpFlzmYaYeT2-nzmKb-hmcrApppJ862k,4007
440
+ pip/_vendor/chardet/universaldetector.py,sha256=xYBrg4x0dd9WnT8qclfADVD9ondrUNkqPmvte1pa520,14848
441
+ pip/_vendor/chardet/utf1632prober.py,sha256=pw1epGdMj1hDGiCu1AHqqzOEfjX8MVdiW7O1BlT8-eQ,8505
442
+ pip/_vendor/chardet/utf8prober.py,sha256=8m08Ub5490H4jQ6LYXvFysGtgKoKsHUd2zH_i8_TnVw,2812
443
+ pip/_vendor/chardet/version.py,sha256=lGtJcxGM44Qz4Cbk4rbbmrKxnNr1-97U25TameLehZw,244
444
+ pip/_vendor/colorama/__init__.py,sha256=wePQA4U20tKgYARySLEC047ucNX-g8pRLpYBuiHlLb8,266
445
+ pip/_vendor/colorama/__pycache__/__init__.cpython-312.pyc,,
446
+ pip/_vendor/colorama/__pycache__/ansi.cpython-312.pyc,,
447
+ pip/_vendor/colorama/__pycache__/ansitowin32.cpython-312.pyc,,
448
+ pip/_vendor/colorama/__pycache__/initialise.cpython-312.pyc,,
449
+ pip/_vendor/colorama/__pycache__/win32.cpython-312.pyc,,
450
+ pip/_vendor/colorama/__pycache__/winterm.cpython-312.pyc,,
451
+ pip/_vendor/colorama/ansi.py,sha256=Top4EeEuaQdBWdteKMEcGOTeKeF19Q-Wo_6_Cj5kOzQ,2522
452
+ pip/_vendor/colorama/ansitowin32.py,sha256=vPNYa3OZbxjbuFyaVo0Tmhmy1FZ1lKMWCnT7odXpItk,11128
453
+ pip/_vendor/colorama/initialise.py,sha256=-hIny86ClXo39ixh5iSCfUIa2f_h_bgKRDW7gqs-KLU,3325
454
+ pip/_vendor/colorama/tests/__init__.py,sha256=MkgPAEzGQd-Rq0w0PZXSX2LadRWhUECcisJY8lSrm4Q,75
455
+ pip/_vendor/colorama/tests/__pycache__/__init__.cpython-312.pyc,,
456
+ pip/_vendor/colorama/tests/__pycache__/ansi_test.cpython-312.pyc,,
457
+ pip/_vendor/colorama/tests/__pycache__/ansitowin32_test.cpython-312.pyc,,
458
+ pip/_vendor/colorama/tests/__pycache__/initialise_test.cpython-312.pyc,,
459
+ pip/_vendor/colorama/tests/__pycache__/isatty_test.cpython-312.pyc,,
460
+ pip/_vendor/colorama/tests/__pycache__/utils.cpython-312.pyc,,
461
+ pip/_vendor/colorama/tests/__pycache__/winterm_test.cpython-312.pyc,,
462
+ pip/_vendor/colorama/tests/ansi_test.py,sha256=FeViDrUINIZcr505PAxvU4AjXz1asEiALs9GXMhwRaE,2839
463
+ pip/_vendor/colorama/tests/ansitowin32_test.py,sha256=RN7AIhMJ5EqDsYaCjVo-o4u8JzDD4ukJbmevWKS70rY,10678
464
+ pip/_vendor/colorama/tests/initialise_test.py,sha256=BbPy-XfyHwJ6zKozuQOvNvQZzsx9vdb_0bYXn7hsBTc,6741
465
+ pip/_vendor/colorama/tests/isatty_test.py,sha256=Pg26LRpv0yQDB5Ac-sxgVXG7hsA1NYvapFgApZfYzZg,1866
466
+ pip/_vendor/colorama/tests/utils.py,sha256=1IIRylG39z5-dzq09R_ngufxyPZxgldNbrxKxUGwGKE,1079
467
+ pip/_vendor/colorama/tests/winterm_test.py,sha256=qoWFPEjym5gm2RuMwpf3pOis3a5r_PJZFCzK254JL8A,3709
468
+ pip/_vendor/colorama/win32.py,sha256=YQOKwMTwtGBbsY4dL5HYTvwTeP9wIQra5MvPNddpxZs,6181
469
+ pip/_vendor/colorama/winterm.py,sha256=XCQFDHjPi6AHYNdZwy0tA02H-Jh48Jp-HvCjeLeLp3U,7134
470
+ pip/_vendor/distlib/__init__.py,sha256=hJKF7FHoqbmGckncDuEINWo_OYkDNiHODtYXSMcvjcc,625
471
+ pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc,,
472
+ pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc,,
473
+ pip/_vendor/distlib/__pycache__/database.cpython-312.pyc,,
474
+ pip/_vendor/distlib/__pycache__/index.cpython-312.pyc,,
475
+ pip/_vendor/distlib/__pycache__/locators.cpython-312.pyc,,
476
+ pip/_vendor/distlib/__pycache__/manifest.cpython-312.pyc,,
477
+ pip/_vendor/distlib/__pycache__/markers.cpython-312.pyc,,
478
+ pip/_vendor/distlib/__pycache__/metadata.cpython-312.pyc,,
479
+ pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc,,
480
+ pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc,,
481
+ pip/_vendor/distlib/__pycache__/util.cpython-312.pyc,,
482
+ pip/_vendor/distlib/__pycache__/version.cpython-312.pyc,,
483
+ pip/_vendor/distlib/__pycache__/wheel.cpython-312.pyc,,
484
+ pip/_vendor/distlib/compat.py,sha256=Un-uIBvy02w-D267OG4VEhuddqWgKj9nNkxVltAb75w,41487
485
+ pip/_vendor/distlib/database.py,sha256=0V9Qvs0Vrxa2F_-hLWitIyVyRifJ0pCxyOI-kEOBwsA,51965
486
+ pip/_vendor/distlib/index.py,sha256=lTbw268rRhj8dw1sib3VZ_0EhSGgoJO3FKJzSFMOaeA,20797
487
+ pip/_vendor/distlib/locators.py,sha256=o1r_M86_bRLafSpetmyfX8KRtFu-_Q58abvQrnOSnbA,51767
488
+ pip/_vendor/distlib/manifest.py,sha256=3qfmAmVwxRqU1o23AlfXrQGZzh6g_GGzTAP_Hb9C5zQ,14168
489
+ pip/_vendor/distlib/markers.py,sha256=n3DfOh1yvZ_8EW7atMyoYeZFXjYla0Nz0itQlojCd0A,5268
490
+ pip/_vendor/distlib/metadata.py,sha256=pB9WZ9mBfmQxc9OVIldLS5CjOoQRvKAvUwwQyKwKQtQ,39693
491
+ pip/_vendor/distlib/resources.py,sha256=LwbPksc0A1JMbi6XnuPdMBUn83X7BPuFNWqPGEKI698,10820
492
+ pip/_vendor/distlib/scripts.py,sha256=nQFXN6G7nOWNDUyxirUep-3WOlJhB7McvCs9zOnkGTI,18315
493
+ pip/_vendor/distlib/util.py,sha256=XSznxEi_i3T20UJuaVc0qXHz5ksGUCW1khYlBprN_QE,67530
494
+ pip/_vendor/distlib/version.py,sha256=9pXkduchve_aN7JG6iL9VTYV_kqNSGoc2Dwl8JuySnQ,23747
495
+ pip/_vendor/distlib/wheel.py,sha256=FVQCve8u-L0QYk5-YTZc7s4WmNQdvjRWTK08KXzZVX4,43958
496
+ pip/_vendor/distro/__init__.py,sha256=2fHjF-SfgPvjyNZ1iHh_wjqWdR_Yo5ODHwZC0jLBPhc,981
497
+ pip/_vendor/distro/__main__.py,sha256=bu9d3TifoKciZFcqRBuygV3GSuThnVD_m2IK4cz96Vs,64
498
+ pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc,,
499
+ pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc,,
500
+ pip/_vendor/distro/__pycache__/distro.cpython-312.pyc,,
501
+ pip/_vendor/distro/distro.py,sha256=UZO1LjIhtFCMdlbiz39gj3raV-Amf3SBwzGzfApiMHw,49330
502
+ pip/_vendor/idna/__init__.py,sha256=KJQN1eQBr8iIK5SKrJ47lXvxG0BJ7Lm38W4zT0v_8lk,849
503
+ pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc,,
504
+ pip/_vendor/idna/__pycache__/codec.cpython-312.pyc,,
505
+ pip/_vendor/idna/__pycache__/compat.cpython-312.pyc,,
506
+ pip/_vendor/idna/__pycache__/core.cpython-312.pyc,,
507
+ pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc,,
508
+ pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc,,
509
+ pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc,,
510
+ pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc,,
511
+ pip/_vendor/idna/codec.py,sha256=6ly5odKfqrytKT9_7UrlGklHnf1DSK2r9C6cSM4sa28,3374
512
+ pip/_vendor/idna/compat.py,sha256=0_sOEUMT4CVw9doD3vyRhX80X19PwqFoUBs7gWsFME4,321
513
+ pip/_vendor/idna/core.py,sha256=kkCFNJOrE6I3WwBTXcGNuc24V_QZQ8AULE6EYe1iHlU,12813
514
+ pip/_vendor/idna/idnadata.py,sha256=9NIhTqC2piUpeIMOGZ9Bu_7eAFQ-Ic8TkP_hOzUpnDc,78344
515
+ pip/_vendor/idna/intranges.py,sha256=YBr4fRYuWH7kTKS2tXlFjM24ZF1Pdvcir-aywniInqg,1881
516
+ pip/_vendor/idna/package_data.py,sha256=C_jHJzmX8PI4xq0jpzmcTMxpb5lDsq4o5VyxQzlVrZE,21
517
+ pip/_vendor/idna/uts46data.py,sha256=zvjZU24s58_uAS850Mcd0NnD0X7_gCMAMjzWNIeUJdc,206539
518
+ pip/_vendor/msgpack/__init__.py,sha256=hyGhlnmcJkxryJBKC3X5FnEph375kQoL_mG8LZUuXgY,1132
519
+ pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc,,
520
+ pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc,,
521
+ pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc,,
522
+ pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc,,
523
+ pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
524
+ pip/_vendor/msgpack/ext.py,sha256=C5MK8JhVYGYFWPvxsORsqZAnvOXefYQ57m1Ym0luW5M,6079
525
+ pip/_vendor/msgpack/fallback.py,sha256=tvNBHyxxFbuVlC8GZShETClJxjLiDMOja4XwwyvNm2g,34544
526
+ pip/_vendor/packaging/__about__.py,sha256=ugASIO2w1oUyH8_COqQ2X_s0rDhjbhQC3yJocD03h2c,661
527
+ pip/_vendor/packaging/__init__.py,sha256=b9Kk5MF7KxhhLgcDmiUWukN-LatWFxPdNug0joPhHSk,497
528
+ pip/_vendor/packaging/__pycache__/__about__.cpython-312.pyc,,
529
+ pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc,,
530
+ pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc,,
531
+ pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc,,
532
+ pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc,,
533
+ pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc,,
534
+ pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc,,
535
+ pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc,,
536
+ pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc,,
537
+ pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc,,
538
+ pip/_vendor/packaging/__pycache__/version.cpython-312.pyc,,
539
+ pip/_vendor/packaging/_manylinux.py,sha256=XcbiXB-qcjv3bcohp6N98TMpOP4_j3m-iOA8ptK2GWY,11488
540
+ pip/_vendor/packaging/_musllinux.py,sha256=_KGgY_qc7vhMGpoqss25n2hiLCNKRtvz9mCrS7gkqyc,4378
541
+ pip/_vendor/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431
542
+ pip/_vendor/packaging/markers.py,sha256=AJBOcY8Oq0kYc570KuuPTkvuqjAlhufaE2c9sCUbm64,8487
543
+ pip/_vendor/packaging/requirements.py,sha256=NtDlPBtojpn1IUC85iMjPNsUmufjpSlwnNA-Xb4m5NA,4676
544
+ pip/_vendor/packaging/specifiers.py,sha256=LRQ0kFsHrl5qfcFNEEJrIFYsnIHQUJXY9fIsakTrrqE,30110
545
+ pip/_vendor/packaging/tags.py,sha256=lmsnGNiJ8C4D_Pf9PbM0qgbZvD9kmB9lpZBQUZa3R_Y,15699
546
+ pip/_vendor/packaging/utils.py,sha256=dJjeat3BS-TYn1RrUFVwufUMasbtzLfYRoy_HXENeFQ,4200
547
+ pip/_vendor/packaging/version.py,sha256=_fLRNrFrxYcHVfyo8vk9j8s6JM8N_xsSxVFr6RJyco8,14665
548
+ pip/_vendor/pkg_resources/__init__.py,sha256=hTAeJCNYb7dJseIDVsYK3mPQep_gphj4tQh-bspX8bg,109364
549
+ pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc,,
550
+ pip/_vendor/platformdirs/__init__.py,sha256=SkhEYVyC_HUHC6KX7n4M_6coyRMtEB38QMyOYIAX6Yk,20155
551
+ pip/_vendor/platformdirs/__main__.py,sha256=fVvSiTzr2-RM6IsjWjj4fkaOtDOgDhUWv6sA99do4CQ,1476
552
+ pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc,,
553
+ pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc,,
554
+ pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc,,
555
+ pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc,,
556
+ pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc,,
557
+ pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc,,
558
+ pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc,,
559
+ pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc,,
560
+ pip/_vendor/platformdirs/android.py,sha256=y_EEMKwYl2-bzYBDovksSn8m76on0Lda8eyJksVQE9U,7211
561
+ pip/_vendor/platformdirs/api.py,sha256=jWtX06jAJytYrkJDOqEls97mCkyHRSZkoqUlbMK5Qew,7132
562
+ pip/_vendor/platformdirs/macos.py,sha256=LueVOoVgGWDBwQb8OFwXkVKfVn33CM1Lkwf1-A86tRQ,3678
563
+ pip/_vendor/platformdirs/unix.py,sha256=22JhR8ZY0aLxSVCFnKrc6f1iz6Gv42K24Daj7aTjfSg,8809
564
+ pip/_vendor/platformdirs/version.py,sha256=mavZTQIJIXfdewEaSTn7EWrNfPZWeRofb-74xqW5f2M,160
565
+ pip/_vendor/platformdirs/windows.py,sha256=4TtbPGoWG2PRgI11uquDa7eRk8TcxvnUNuuMGZItnXc,9573
566
+ pip/_vendor/pygments/__init__.py,sha256=6AuDljQtvf89DTNUyWM7k3oUlP_lq70NU-INKKteOBY,2983
567
+ pip/_vendor/pygments/__main__.py,sha256=es8EKMvXj5yToIfQ-pf3Dv5TnIeeM6sME0LW-n4ecHo,353
568
+ pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc,,
569
+ pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc,,
570
+ pip/_vendor/pygments/__pycache__/cmdline.cpython-312.pyc,,
571
+ pip/_vendor/pygments/__pycache__/console.cpython-312.pyc,,
572
+ pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc,,
573
+ pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc,,
574
+ pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc,,
575
+ pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc,,
576
+ pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc,,
577
+ pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc,,
578
+ pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc,,
579
+ pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc,,
580
+ pip/_vendor/pygments/__pycache__/style.cpython-312.pyc,,
581
+ pip/_vendor/pygments/__pycache__/token.cpython-312.pyc,,
582
+ pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc,,
583
+ pip/_vendor/pygments/__pycache__/util.cpython-312.pyc,,
584
+ pip/_vendor/pygments/cmdline.py,sha256=byxYJp9gnjVeyhRlZ3UTMgo_LhkXh1afvN8wJBtAcc8,23685
585
+ pip/_vendor/pygments/console.py,sha256=2wZ5W-U6TudJD1_NLUwjclMpbomFM91lNv11_60sfGY,1697
586
+ pip/_vendor/pygments/filter.py,sha256=j5aLM9a9wSx6eH1oy473oSkJ02hGWNptBlVo4s1g_30,1938
587
+ pip/_vendor/pygments/filters/__init__.py,sha256=h_koYkUFo-FFUxjs564JHUAz7O3yJpVwI6fKN3MYzG0,40386
588
+ pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc,,
589
+ pip/_vendor/pygments/formatter.py,sha256=J9OL9hXLJKZk7moUgKwpjW9HNf4WlJFg_o_-Z_S_tTY,4178
590
+ pip/_vendor/pygments/formatters/__init__.py,sha256=_xgAcdFKr0QNYwh_i98AU9hvfP3X2wAkhElFcRRF3Uo,5424
591
+ pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc,,
592
+ pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc,,
593
+ pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-312.pyc,,
594
+ pip/_vendor/pygments/formatters/__pycache__/groff.cpython-312.pyc,,
595
+ pip/_vendor/pygments/formatters/__pycache__/html.cpython-312.pyc,,
596
+ pip/_vendor/pygments/formatters/__pycache__/img.cpython-312.pyc,,
597
+ pip/_vendor/pygments/formatters/__pycache__/irc.cpython-312.pyc,,
598
+ pip/_vendor/pygments/formatters/__pycache__/latex.cpython-312.pyc,,
599
+ pip/_vendor/pygments/formatters/__pycache__/other.cpython-312.pyc,,
600
+ pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-312.pyc,,
601
+ pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-312.pyc,,
602
+ pip/_vendor/pygments/formatters/__pycache__/svg.cpython-312.pyc,,
603
+ pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-312.pyc,,
604
+ pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-312.pyc,,
605
+ pip/_vendor/pygments/formatters/_mapping.py,sha256=1Cw37FuQlNacnxRKmtlPX4nyLoX9_ttko5ZwscNUZZ4,4176
606
+ pip/_vendor/pygments/formatters/bbcode.py,sha256=r1b7wzWTJouADDLh-Z11iRi4iQxD0JKJ1qHl6mOYxsA,3314
607
+ pip/_vendor/pygments/formatters/groff.py,sha256=xy8Zf3tXOo6MWrXh7yPGWx3lVEkg_DhY4CxmsDb0IVo,5094
608
+ pip/_vendor/pygments/formatters/html.py,sha256=PIzAyilNqaTzSSP2slDG2VDLE3qNioWy2rgtSSoviuI,35610
609
+ pip/_vendor/pygments/formatters/img.py,sha256=XKXmg2_XONrR4mtq2jfEU8XCsoln3VSGTw-UYiEokys,21938
610
+ pip/_vendor/pygments/formatters/irc.py,sha256=Ep-m8jd3voFO6Fv57cUGFmz6JVA67IEgyiBOwv0N4a0,4981
611
+ pip/_vendor/pygments/formatters/latex.py,sha256=FGzJ-YqSTE8z_voWPdzvLY5Tq8jE_ygjGjM6dXZJ8-k,19351
612
+ pip/_vendor/pygments/formatters/other.py,sha256=gPxkk5BdAzWTCgbEHg1lpLi-1F6ZPh5A_aotgLXHnzg,5073
613
+ pip/_vendor/pygments/formatters/pangomarkup.py,sha256=6LKnQc8yh49f802bF0sPvbzck4QivMYqqoXAPaYP8uU,2212
614
+ pip/_vendor/pygments/formatters/rtf.py,sha256=aA0v_psW6KZI3N18TKDifxeL6mcF8EDXcPXDWI4vhVQ,5014
615
+ pip/_vendor/pygments/formatters/svg.py,sha256=dQONWypbzfvzGCDtdp3M_NJawScJvM2DiHbx1k-ww7g,7335
616
+ pip/_vendor/pygments/formatters/terminal.py,sha256=FG-rpjRpFmNpiGB4NzIucvxq6sQIXB3HOTo2meTKtrU,4674
617
+ pip/_vendor/pygments/formatters/terminal256.py,sha256=13SJ3D5pFdqZ9zROE6HbWnBDwHvOGE8GlsmqGhprRp4,11753
618
+ pip/_vendor/pygments/lexer.py,sha256=2BpqLlT2ExvOOi7vnjK5nB4Fp-m52ldiPaXMox5uwug,34618
619
+ pip/_vendor/pygments/lexers/__init__.py,sha256=j5KEi5O_VQ5GS59H49l-10gzUOkWKxlwGeVMlGO2MMk,12130
620
+ pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc,,
621
+ pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc,,
622
+ pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc,,
623
+ pip/_vendor/pygments/lexers/_mapping.py,sha256=Hts4r_ZQ8icftGM7gkBPeED5lyVSv4affFgXYE6Ap04,72281
624
+ pip/_vendor/pygments/lexers/python.py,sha256=c7jnmKFU9DLxTJW0UbwXt6Z9FJqbBlVsWA1Qr9xSA_w,53424
625
+ pip/_vendor/pygments/modeline.py,sha256=eF2vO4LpOGoPvIKKkbPfnyut8hT4UiebZPpb-BYGQdI,986
626
+ pip/_vendor/pygments/plugin.py,sha256=j1Fh310RbV2DQ9nvkmkqvlj38gdyuYKllLnGxbc8sJM,2591
627
+ pip/_vendor/pygments/regexopt.py,sha256=jg1ALogcYGU96TQS9isBl6dCrvw5y5--BP_K-uFk_8s,3072
628
+ pip/_vendor/pygments/scanner.py,sha256=b_nu5_f3HCgSdp5S_aNRBQ1MSCm4ZjDwec2OmTRickw,3092
629
+ pip/_vendor/pygments/sphinxext.py,sha256=wBFYm180qea9JKt__UzhRlNRNhczPDFDaqGD21sbuso,6882
630
+ pip/_vendor/pygments/style.py,sha256=C4qyoJrUTkq-OV3iO-8Vz3UtWYpJwSTdh5_vlGCGdNQ,6257
631
+ pip/_vendor/pygments/styles/__init__.py,sha256=he7HjQx7sC0d2kfTVLjUs0J15mtToJM6M1brwIm9--Q,3700
632
+ pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc,,
633
+ pip/_vendor/pygments/token.py,sha256=seNsmcch9OEHXYirh8Ool7w8xDhfNTbLj5rHAC-gc_o,6184
634
+ pip/_vendor/pygments/unistring.py,sha256=FaUfG14NBJEKLQoY9qj6JYeXrpYcLmKulghdxOGFaOc,63223
635
+ pip/_vendor/pygments/util.py,sha256=AEVY0qonyyEMgv4Do2dINrrqUAwUk2XYSqHM650uzek,10230
636
+ pip/_vendor/pyparsing/__init__.py,sha256=9m1JbE2JTLdBG0Mb6B0lEaZj181Wx5cuPXZpsbHEYgE,9116
637
+ pip/_vendor/pyparsing/__pycache__/__init__.cpython-312.pyc,,
638
+ pip/_vendor/pyparsing/__pycache__/actions.cpython-312.pyc,,
639
+ pip/_vendor/pyparsing/__pycache__/common.cpython-312.pyc,,
640
+ pip/_vendor/pyparsing/__pycache__/core.cpython-312.pyc,,
641
+ pip/_vendor/pyparsing/__pycache__/exceptions.cpython-312.pyc,,
642
+ pip/_vendor/pyparsing/__pycache__/helpers.cpython-312.pyc,,
643
+ pip/_vendor/pyparsing/__pycache__/results.cpython-312.pyc,,
644
+ pip/_vendor/pyparsing/__pycache__/testing.cpython-312.pyc,,
645
+ pip/_vendor/pyparsing/__pycache__/unicode.cpython-312.pyc,,
646
+ pip/_vendor/pyparsing/__pycache__/util.cpython-312.pyc,,
647
+ pip/_vendor/pyparsing/actions.py,sha256=05uaIPOznJPQ7VgRdmGCmG4sDnUPtwgv5qOYIqbL2UY,6567
648
+ pip/_vendor/pyparsing/common.py,sha256=p-3c83E5-DjlkF35G0O9-kjQRpoejP-2_z0hxZ-eol4,13387
649
+ pip/_vendor/pyparsing/core.py,sha256=yvuRlLpXSF8mgk-QhiW3OVLqD9T0rsj9tbibhRH4Yaw,224445
650
+ pip/_vendor/pyparsing/diagram/__init__.py,sha256=nxmDOoYF9NXuLaGYy01tKFjkNReWJlrGFuJNWEiTo84,24215
651
+ pip/_vendor/pyparsing/diagram/__pycache__/__init__.cpython-312.pyc,,
652
+ pip/_vendor/pyparsing/exceptions.py,sha256=6Jc6W1eDZBzyFu1J0YrcdNFVBC-RINujZmveSnB8Rxw,9523
653
+ pip/_vendor/pyparsing/helpers.py,sha256=BZJHCA8SS0pYio30KGQTc9w2qMOaK4YpZ7hcvHbnTgk,38646
654
+ pip/_vendor/pyparsing/results.py,sha256=9dyqQ-w3MjfmxWbFt8KEPU6IfXeyRdoWp2Og802rUQY,26692
655
+ pip/_vendor/pyparsing/testing.py,sha256=eJncg0p83zm1FTPvM9auNT6oavIvXaibmRFDf1qmwkY,13488
656
+ pip/_vendor/pyparsing/unicode.py,sha256=fAPdsJiARFbkPAih6NkYry0dpj4jPqelGVMlE4wWFW8,10646
657
+ pip/_vendor/pyparsing/util.py,sha256=vTMzTdwSDyV8d_dSgquUTdWgBFoA_W30nfxEJDsshRQ,8670
658
+ pip/_vendor/pyproject_hooks/__init__.py,sha256=kCehmy0UaBa9oVMD7ZIZrnswfnP3LXZ5lvnNJAL5JBM,491
659
+ pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc,,
660
+ pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-312.pyc,,
661
+ pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc,,
662
+ pip/_vendor/pyproject_hooks/_compat.py,sha256=by6evrYnqkisiM-MQcvOKs5bgDMzlOSgZqRHNqf04zE,138
663
+ pip/_vendor/pyproject_hooks/_impl.py,sha256=61GJxzQip0IInhuO69ZI5GbNQ82XEDUB_1Gg5_KtUoc,11920
664
+ pip/_vendor/pyproject_hooks/_in_process/__init__.py,sha256=9gQATptbFkelkIy0OfWFEACzqxXJMQDWCH9rBOAZVwQ,546
665
+ pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc,,
666
+ pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc,,
667
+ pip/_vendor/pyproject_hooks/_in_process/_in_process.py,sha256=m2b34c917IW5o-Q_6TYIHlsK9lSUlNiyrITTUH_zwew,10927
668
+ pip/_vendor/requests/__init__.py,sha256=owujob4dk45Siy4EYtbCKR6wcFph7E04a_v_OuAacBA,5169
669
+ pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc,,
670
+ pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc,,
671
+ pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc,,
672
+ pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc,,
673
+ pip/_vendor/requests/__pycache__/api.cpython-312.pyc,,
674
+ pip/_vendor/requests/__pycache__/auth.cpython-312.pyc,,
675
+ pip/_vendor/requests/__pycache__/certs.cpython-312.pyc,,
676
+ pip/_vendor/requests/__pycache__/compat.cpython-312.pyc,,
677
+ pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc,,
678
+ pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc,,
679
+ pip/_vendor/requests/__pycache__/help.cpython-312.pyc,,
680
+ pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc,,
681
+ pip/_vendor/requests/__pycache__/models.cpython-312.pyc,,
682
+ pip/_vendor/requests/__pycache__/packages.cpython-312.pyc,,
683
+ pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc,,
684
+ pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc,,
685
+ pip/_vendor/requests/__pycache__/structures.cpython-312.pyc,,
686
+ pip/_vendor/requests/__pycache__/utils.cpython-312.pyc,,
687
+ pip/_vendor/requests/__version__.py,sha256=ssI3Ezt7PaxgkOW45GhtwPUclo_SO_ygtIm4A74IOfw,435
688
+ pip/_vendor/requests/_internal_utils.py,sha256=nMQymr4hs32TqVo5AbCrmcJEhvPUh7xXlluyqwslLiQ,1495
689
+ pip/_vendor/requests/adapters.py,sha256=idj6cZcId3L5xNNeJ7ieOLtw3awJk5A64xUfetHwq3M,19697
690
+ pip/_vendor/requests/api.py,sha256=q61xcXq4tmiImrvcSVLTbFyCiD2F-L_-hWKGbz4y8vg,6449
691
+ pip/_vendor/requests/auth.py,sha256=h-HLlVx9j8rKV5hfSAycP2ApOSglTz77R0tz7qCbbEE,10187
692
+ pip/_vendor/requests/certs.py,sha256=PVPooB0jP5hkZEULSCwC074532UFbR2Ptgu0I5zwmCs,575
693
+ pip/_vendor/requests/compat.py,sha256=IhK9quyX0RRuWTNcg6d2JGSAOUbM6mym2p_2XjLTwf4,1286
694
+ pip/_vendor/requests/cookies.py,sha256=kD3kNEcCj-mxbtf5fJsSaT86eGoEYpD3X0CSgpzl7BM,18560
695
+ pip/_vendor/requests/exceptions.py,sha256=FA-_kVwBZ2jhXauRctN_ewHVK25b-fj0Azyz1THQ0Kk,3823
696
+ pip/_vendor/requests/help.py,sha256=FnAAklv8MGm_qb2UilDQgS6l0cUttiCFKUjx0zn2XNA,3879
697
+ pip/_vendor/requests/hooks.py,sha256=CiuysiHA39V5UfcCBXFIx83IrDpuwfN9RcTUgv28ftQ,733
698
+ pip/_vendor/requests/models.py,sha256=dDZ-iThotky-Noq9yy97cUEJhr3wnY6mv-xR_ePg_lk,35288
699
+ pip/_vendor/requests/packages.py,sha256=njJmVifY4aSctuW3PP5EFRCxjEwMRDO6J_feG2dKWsI,695
700
+ pip/_vendor/requests/sessions.py,sha256=-LvTzrPtetSTrR3buxu4XhdgMrJFLB1q5D7P--L2Xhw,30373
701
+ pip/_vendor/requests/status_codes.py,sha256=FvHmT5uH-_uimtRz5hH9VCbt7VV-Nei2J9upbej6j8g,4235
702
+ pip/_vendor/requests/structures.py,sha256=-IbmhVz06S-5aPSZuUthZ6-6D9XOjRuTXHOabY041XM,2912
703
+ pip/_vendor/requests/utils.py,sha256=BvQDKkLuXCSaVfSW_1blUN0IzJSfNC8njNr8vhKj76Y,33189
704
+ pip/_vendor/resolvelib/__init__.py,sha256=h509TdEcpb5-44JonaU3ex2TM15GVBLjM9CNCPwnTTs,537
705
+ pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc,,
706
+ pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc,,
707
+ pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc,,
708
+ pip/_vendor/resolvelib/__pycache__/resolvers.cpython-312.pyc,,
709
+ pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc,,
710
+ pip/_vendor/resolvelib/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
711
+ pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-312.pyc,,
712
+ pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-312.pyc,,
713
+ pip/_vendor/resolvelib/compat/collections_abc.py,sha256=uy8xUZ-NDEw916tugUXm8HgwCGiMO0f-RcdnpkfXfOs,156
714
+ pip/_vendor/resolvelib/providers.py,sha256=fuuvVrCetu5gsxPB43ERyjfO8aReS3rFQHpDgiItbs4,5871
715
+ pip/_vendor/resolvelib/reporters.py,sha256=TSbRmWzTc26w0ggsV1bxVpeWDB8QNIre6twYl7GIZBE,1601
716
+ pip/_vendor/resolvelib/resolvers.py,sha256=G8rsLZSq64g5VmIq-lB7UcIJ1gjAxIQJmTF4REZleQ0,20511
717
+ pip/_vendor/resolvelib/structs.py,sha256=0_1_XO8z_CLhegP3Vpf9VJ3zJcfLm0NOHRM-i0Ykz3o,4963
718
+ pip/_vendor/rich/__init__.py,sha256=dRxjIL-SbFVY0q3IjSMrfgBTHrm1LZDgLOygVBwiYZc,6090
719
+ pip/_vendor/rich/__main__.py,sha256=TT8sb9PTnsnKhhrGuHkLN0jdN0dtKhtPkEr9CidDbPM,8478
720
+ pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc,,
721
+ pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc,,
722
+ pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc,,
723
+ pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc,,
724
+ pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc,,
725
+ pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc,,
726
+ pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc,,
727
+ pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc,,
728
+ pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc,,
729
+ pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc,,
730
+ pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc,,
731
+ pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc,,
732
+ pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc,,
733
+ pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc,,
734
+ pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc,,
735
+ pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc,,
736
+ pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc,,
737
+ pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc,,
738
+ pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc,,
739
+ pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc,,
740
+ pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc,,
741
+ pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc,,
742
+ pip/_vendor/rich/__pycache__/abc.cpython-312.pyc,,
743
+ pip/_vendor/rich/__pycache__/align.cpython-312.pyc,,
744
+ pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc,,
745
+ pip/_vendor/rich/__pycache__/bar.cpython-312.pyc,,
746
+ pip/_vendor/rich/__pycache__/box.cpython-312.pyc,,
747
+ pip/_vendor/rich/__pycache__/cells.cpython-312.pyc,,
748
+ pip/_vendor/rich/__pycache__/color.cpython-312.pyc,,
749
+ pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc,,
750
+ pip/_vendor/rich/__pycache__/columns.cpython-312.pyc,,
751
+ pip/_vendor/rich/__pycache__/console.cpython-312.pyc,,
752
+ pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc,,
753
+ pip/_vendor/rich/__pycache__/containers.cpython-312.pyc,,
754
+ pip/_vendor/rich/__pycache__/control.cpython-312.pyc,,
755
+ pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc,,
756
+ pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc,,
757
+ pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc,,
758
+ pip/_vendor/rich/__pycache__/errors.cpython-312.pyc,,
759
+ pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc,,
760
+ pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc,,
761
+ pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc,,
762
+ pip/_vendor/rich/__pycache__/json.cpython-312.pyc,,
763
+ pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc,,
764
+ pip/_vendor/rich/__pycache__/layout.cpython-312.pyc,,
765
+ pip/_vendor/rich/__pycache__/live.cpython-312.pyc,,
766
+ pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc,,
767
+ pip/_vendor/rich/__pycache__/logging.cpython-312.pyc,,
768
+ pip/_vendor/rich/__pycache__/markup.cpython-312.pyc,,
769
+ pip/_vendor/rich/__pycache__/measure.cpython-312.pyc,,
770
+ pip/_vendor/rich/__pycache__/padding.cpython-312.pyc,,
771
+ pip/_vendor/rich/__pycache__/pager.cpython-312.pyc,,
772
+ pip/_vendor/rich/__pycache__/palette.cpython-312.pyc,,
773
+ pip/_vendor/rich/__pycache__/panel.cpython-312.pyc,,
774
+ pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc,,
775
+ pip/_vendor/rich/__pycache__/progress.cpython-312.pyc,,
776
+ pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc,,
777
+ pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc,,
778
+ pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc,,
779
+ pip/_vendor/rich/__pycache__/region.cpython-312.pyc,,
780
+ pip/_vendor/rich/__pycache__/repr.cpython-312.pyc,,
781
+ pip/_vendor/rich/__pycache__/rule.cpython-312.pyc,,
782
+ pip/_vendor/rich/__pycache__/scope.cpython-312.pyc,,
783
+ pip/_vendor/rich/__pycache__/screen.cpython-312.pyc,,
784
+ pip/_vendor/rich/__pycache__/segment.cpython-312.pyc,,
785
+ pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc,,
786
+ pip/_vendor/rich/__pycache__/status.cpython-312.pyc,,
787
+ pip/_vendor/rich/__pycache__/style.cpython-312.pyc,,
788
+ pip/_vendor/rich/__pycache__/styled.cpython-312.pyc,,
789
+ pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc,,
790
+ pip/_vendor/rich/__pycache__/table.cpython-312.pyc,,
791
+ pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc,,
792
+ pip/_vendor/rich/__pycache__/text.cpython-312.pyc,,
793
+ pip/_vendor/rich/__pycache__/theme.cpython-312.pyc,,
794
+ pip/_vendor/rich/__pycache__/themes.cpython-312.pyc,,
795
+ pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc,,
796
+ pip/_vendor/rich/__pycache__/tree.cpython-312.pyc,,
797
+ pip/_vendor/rich/_cell_widths.py,sha256=2n4EiJi3X9sqIq0O16kUZ_zy6UYMd3xFfChlKfnW1Hc,10096
798
+ pip/_vendor/rich/_emoji_codes.py,sha256=hu1VL9nbVdppJrVoijVshRlcRRe_v3dju3Mmd2sKZdY,140235
799
+ pip/_vendor/rich/_emoji_replace.py,sha256=n-kcetsEUx2ZUmhQrfeMNc-teeGhpuSQ5F8VPBsyvDo,1064
800
+ pip/_vendor/rich/_export_format.py,sha256=qxgV3nKnXQu1hfbnRVswPYy-AwIg1X0LSC47cK5s8jk,2100
801
+ pip/_vendor/rich/_extension.py,sha256=Xt47QacCKwYruzjDi-gOBq724JReDj9Cm9xUi5fr-34,265
802
+ pip/_vendor/rich/_fileno.py,sha256=HWZxP5C2ajMbHryvAQZseflVfQoGzsKOHzKGsLD8ynQ,799
803
+ pip/_vendor/rich/_inspect.py,sha256=oZJGw31e64dwXSCmrDnvZbwVb1ZKhWfU8wI3VWohjJk,9695
804
+ pip/_vendor/rich/_log_render.py,sha256=1ByI0PA1ZpxZY3CGJOK54hjlq4X-Bz_boIjIqCd8Kns,3225
805
+ pip/_vendor/rich/_loop.py,sha256=hV_6CLdoPm0va22Wpw4zKqM0RYsz3TZxXj0PoS-9eDQ,1236
806
+ pip/_vendor/rich/_null_file.py,sha256=tGSXk_v-IZmbj1GAzHit8A3kYIQMiCpVsCFfsC-_KJ4,1387
807
+ pip/_vendor/rich/_palettes.py,sha256=cdev1JQKZ0JvlguV9ipHgznTdnvlIzUFDBb0It2PzjI,7063
808
+ pip/_vendor/rich/_pick.py,sha256=evDt8QN4lF5CiwrUIXlOJCntitBCOsI3ZLPEIAVRLJU,423
809
+ pip/_vendor/rich/_ratio.py,sha256=2lLSliL025Y-YMfdfGbutkQDevhcyDqc-DtUYW9mU70,5472
810
+ pip/_vendor/rich/_spinners.py,sha256=U2r1_g_1zSjsjiUdAESc2iAMc3i4ri_S8PYP6kQ5z1I,19919
811
+ pip/_vendor/rich/_stack.py,sha256=-C8OK7rxn3sIUdVwxZBBpeHhIzX0eI-VM3MemYfaXm0,351
812
+ pip/_vendor/rich/_timer.py,sha256=zelxbT6oPFZnNrwWPpc1ktUeAT-Vc4fuFcRZLQGLtMI,417
813
+ pip/_vendor/rich/_win32_console.py,sha256=P0vxI2fcndym1UU1S37XAzQzQnkyY7YqAKmxm24_gug,22820
814
+ pip/_vendor/rich/_windows.py,sha256=dvNl9TmfPzNVxiKk5WDFihErZ5796g2UC9-KGGyfXmk,1926
815
+ pip/_vendor/rich/_windows_renderer.py,sha256=t74ZL3xuDCP3nmTp9pH1L5LiI2cakJuQRQleHCJerlk,2783
816
+ pip/_vendor/rich/_wrap.py,sha256=xfV_9t0Sg6rzimmrDru8fCVmUlalYAcHLDfrJZnbbwQ,1840
817
+ pip/_vendor/rich/abc.py,sha256=ON-E-ZqSSheZ88VrKX2M3PXpFbGEUUZPMa_Af0l-4f0,890
818
+ pip/_vendor/rich/align.py,sha256=Ji-Yokfkhnfe_xMmr4ISjZB07TJXggBCOYoYa-HDAr8,10368
819
+ pip/_vendor/rich/ansi.py,sha256=iD6532QYqnBm6hADulKjrV8l8kFJ-9fEVooHJHH3hMg,6906
820
+ pip/_vendor/rich/bar.py,sha256=a7UD303BccRCrEhGjfMElpv5RFYIinaAhAuqYqhUvmw,3264
821
+ pip/_vendor/rich/box.py,sha256=FJ6nI3jD7h2XNFU138bJUt2HYmWOlRbltoCEuIAZhew,9842
822
+ pip/_vendor/rich/cells.py,sha256=627ztJs9zOL-38HJ7kXBerR-gT8KBfYC8UzEwMJDYYo,4509
823
+ pip/_vendor/rich/color.py,sha256=9Gh958U3f75WVdLTeC0U9nkGTn2n0wnojKpJ6jQEkIE,18224
824
+ pip/_vendor/rich/color_triplet.py,sha256=3lhQkdJbvWPoLDO-AnYImAWmJvV5dlgYNCVZ97ORaN4,1054
825
+ pip/_vendor/rich/columns.py,sha256=HUX0KcMm9dsKNi11fTbiM_h2iDtl8ySCaVcxlalEzq8,7131
826
+ pip/_vendor/rich/console.py,sha256=pDvkbLkvtZIMIwQx_jkZ-seyNl4zGBLviXoWXte9fwg,99218
827
+ pip/_vendor/rich/constrain.py,sha256=1VIPuC8AgtKWrcncQrjBdYqA3JVWysu6jZo1rrh7c7Q,1288
828
+ pip/_vendor/rich/containers.py,sha256=aKgm5UDHn5Nmui6IJaKdsZhbHClh_X7D-_Wg8Ehrr7s,5497
829
+ pip/_vendor/rich/control.py,sha256=DSkHTUQLorfSERAKE_oTAEUFefZnZp4bQb4q8rHbKws,6630
830
+ pip/_vendor/rich/default_styles.py,sha256=-Fe318kMVI_IwciK5POpThcO0-9DYJ67TZAN6DlmlmM,8082
831
+ pip/_vendor/rich/diagnose.py,sha256=an6uouwhKPAlvQhYpNNpGq9EJysfMIOvvCbO3oSoR24,972
832
+ pip/_vendor/rich/emoji.py,sha256=omTF9asaAnsM4yLY94eR_9dgRRSm1lHUszX20D1yYCQ,2501
833
+ pip/_vendor/rich/errors.py,sha256=5pP3Kc5d4QJ_c0KFsxrfyhjiPVe7J1zOqSFbFAzcV-Y,642
834
+ pip/_vendor/rich/file_proxy.py,sha256=Tl9THMDZ-Pk5Wm8sI1gGg_U5DhusmxD-FZ0fUbcU0W0,1683
835
+ pip/_vendor/rich/filesize.py,sha256=9fTLAPCAwHmBXdRv7KZU194jSgNrRb6Wx7RIoBgqeKY,2508
836
+ pip/_vendor/rich/highlighter.py,sha256=p3C1g4QYzezFKdR7NF9EhPbzQDvdPUhGRgSyGGEmPko,9584
837
+ pip/_vendor/rich/json.py,sha256=EYp9ucj-nDjYDkHCV6Mk1ve8nUOpuFLaW76X50Mis2M,5032
838
+ pip/_vendor/rich/jupyter.py,sha256=QyoKoE_8IdCbrtiSHp9TsTSNyTHY0FO5whE7jOTd9UE,3252
839
+ pip/_vendor/rich/layout.py,sha256=RFYL6HdCFsHf9WRpcvi3w-fpj-8O5dMZ8W96VdKNdbI,14007
840
+ pip/_vendor/rich/live.py,sha256=vZzYvu7fqwlv3Gthl2xiw1Dc_O80VlGcCV0DOHwCyDM,14273
841
+ pip/_vendor/rich/live_render.py,sha256=zElm3PrfSIvjOce28zETHMIUf9pFYSUA5o0AflgUP64,3667
842
+ pip/_vendor/rich/logging.py,sha256=uB-cB-3Q4bmXDLLpbOWkmFviw-Fde39zyMV6tKJ2WHQ,11903
843
+ pip/_vendor/rich/markup.py,sha256=xzF4uAafiEeEYDJYt_vUnJOGoTU8RrH-PH7WcWYXjCg,8198
844
+ pip/_vendor/rich/measure.py,sha256=HmrIJX8sWRTHbgh8MxEay_83VkqNW_70s8aKP5ZcYI8,5305
845
+ pip/_vendor/rich/padding.py,sha256=kTFGsdGe0os7tXLnHKpwTI90CXEvrceeZGCshmJy5zw,4970
846
+ pip/_vendor/rich/pager.py,sha256=SO_ETBFKbg3n_AgOzXm41Sv36YxXAyI3_R-KOY2_uSc,828
847
+ pip/_vendor/rich/palette.py,sha256=lInvR1ODDT2f3UZMfL1grq7dY_pDdKHw4bdUgOGaM4Y,3396
848
+ pip/_vendor/rich/panel.py,sha256=wGMe40J8KCGgQoM0LyjRErmGIkv2bsYA71RCXThD0xE,10574
849
+ pip/_vendor/rich/pretty.py,sha256=eLEYN9xVaMNuA6EJVYm4li7HdOHxCqmVKvnOqJpyFt0,35852
850
+ pip/_vendor/rich/progress.py,sha256=n4KF9vky8_5iYeXcyZPEvzyLplWlDvFLkM5JI0Bs08A,59706
851
+ pip/_vendor/rich/progress_bar.py,sha256=cEoBfkc3lLwqba4XKsUpy4vSQKDh2QQ5J2J94-ACFoo,8165
852
+ pip/_vendor/rich/prompt.py,sha256=x0mW-pIPodJM4ry6grgmmLrl8VZp99kqcmdnBe70YYA,11303
853
+ pip/_vendor/rich/protocol.py,sha256=5hHHDDNHckdk8iWH5zEbi-zuIVSF5hbU2jIo47R7lTE,1391
854
+ pip/_vendor/rich/region.py,sha256=rNT9xZrVZTYIXZC0NYn41CJQwYNbR-KecPOxTgQvB8Y,166
855
+ pip/_vendor/rich/repr.py,sha256=9Z8otOmM-tyxnyTodvXlectP60lwahjGiDTrbrxPSTg,4431
856
+ pip/_vendor/rich/rule.py,sha256=0fNaS_aERa3UMRc3T5WMpN_sumtDxfaor2y3of1ftBk,4602
857
+ pip/_vendor/rich/scope.py,sha256=TMUU8qo17thyqQCPqjDLYpg_UU1k5qVd-WwiJvnJVas,2843
858
+ pip/_vendor/rich/screen.py,sha256=YoeReESUhx74grqb0mSSb9lghhysWmFHYhsbMVQjXO8,1591
859
+ pip/_vendor/rich/segment.py,sha256=XLnJEFvcV3bjaVzMNUJiem3n8lvvI9TJ5PTu-IG2uTg,24247
860
+ pip/_vendor/rich/spinner.py,sha256=15koCmF0DQeD8-k28Lpt6X_zJQUlzEhgo_6A6uy47lc,4339
861
+ pip/_vendor/rich/status.py,sha256=gJsIXIZeSo3urOyxRUjs6VrhX5CZrA0NxIQ-dxhCnwo,4425
862
+ pip/_vendor/rich/style.py,sha256=3hiocH_4N8vwRm3-8yFWzM7tSwjjEven69XqWasSQwM,27073
863
+ pip/_vendor/rich/styled.py,sha256=eZNnzGrI4ki_54pgY3Oj0T-x3lxdXTYh4_ryDB24wBU,1258
864
+ pip/_vendor/rich/syntax.py,sha256=jgDiVCK6cpR0NmBOpZmIu-Ud4eaW7fHvjJZkDbjpcSA,35173
865
+ pip/_vendor/rich/table.py,sha256=-WzesL-VJKsaiDU3uyczpJMHy6VCaSewBYJwx8RudI8,39684
866
+ pip/_vendor/rich/terminal_theme.py,sha256=1j5-ufJfnvlAo5Qsi_ACZiXDmwMXzqgmFByObT9-yJY,3370
867
+ pip/_vendor/rich/text.py,sha256=_8JBlSau0c2z8ENOZMi1hJ7M1ZGY408E4-hXjHyyg1A,45525
868
+ pip/_vendor/rich/theme.py,sha256=belFJogzA0W0HysQabKaHOc3RWH2ko3fQAJhoN-AFdo,3777
869
+ pip/_vendor/rich/themes.py,sha256=0xgTLozfabebYtcJtDdC5QkX5IVUEaviqDUJJh4YVFk,102
870
+ pip/_vendor/rich/traceback.py,sha256=yCLVrCtyoFNENd9mkm2xeG3KmqkTwH9xpFOO7p2Bq0A,29604
871
+ pip/_vendor/rich/tree.py,sha256=BMbUYNjS9uodNPfvtY_odmU09GA5QzcMbQ5cJZhllQI,9169
872
+ pip/_vendor/six.py,sha256=TOOfQi7nFGfMrIvtdr6wX4wyHH8M7aknmuLfo2cBBrM,34549
873
+ pip/_vendor/tenacity/__init__.py,sha256=3kvAL6KClq8GFo2KFhmOzskRKSDQI-ubrlfZ8AQEEI0,20493
874
+ pip/_vendor/tenacity/__pycache__/__init__.cpython-312.pyc,,
875
+ pip/_vendor/tenacity/__pycache__/_asyncio.cpython-312.pyc,,
876
+ pip/_vendor/tenacity/__pycache__/_utils.cpython-312.pyc,,
877
+ pip/_vendor/tenacity/__pycache__/after.cpython-312.pyc,,
878
+ pip/_vendor/tenacity/__pycache__/before.cpython-312.pyc,,
879
+ pip/_vendor/tenacity/__pycache__/before_sleep.cpython-312.pyc,,
880
+ pip/_vendor/tenacity/__pycache__/nap.cpython-312.pyc,,
881
+ pip/_vendor/tenacity/__pycache__/retry.cpython-312.pyc,,
882
+ pip/_vendor/tenacity/__pycache__/stop.cpython-312.pyc,,
883
+ pip/_vendor/tenacity/__pycache__/tornadoweb.cpython-312.pyc,,
884
+ pip/_vendor/tenacity/__pycache__/wait.cpython-312.pyc,,
885
+ pip/_vendor/tenacity/_asyncio.py,sha256=Qi6wgQsGa9MQibYRy3OXqcDQswIZZ00dLOoSUGN-6o8,3551
886
+ pip/_vendor/tenacity/_utils.py,sha256=ubs6a7sxj3JDNRKWCyCU2j5r1CB7rgyONgZzYZq6D_4,2179
887
+ pip/_vendor/tenacity/after.py,sha256=S5NCISScPeIrKwIeXRwdJl3kV9Q4nqZfnNPDx6Hf__g,1682
888
+ pip/_vendor/tenacity/before.py,sha256=dIZE9gmBTffisfwNkK0F1xFwGPV41u5GK70UY4Pi5Kc,1562
889
+ pip/_vendor/tenacity/before_sleep.py,sha256=YmpgN9Y7HGlH97U24vvq_YWb5deaK4_DbiD8ZuFmy-E,2372
890
+ pip/_vendor/tenacity/nap.py,sha256=fRWvnz1aIzbIq9Ap3gAkAZgDH6oo5zxMrU6ZOVByq0I,1383
891
+ pip/_vendor/tenacity/retry.py,sha256=jrzD_mxA5mSTUEdiYB7SHpxltjhPSYZSnSRATb-ggRc,8746
892
+ pip/_vendor/tenacity/stop.py,sha256=YMJs7ZgZfND65PRLqlGB_agpfGXlemx_5Hm4PKnBqpQ,3086
893
+ pip/_vendor/tenacity/tornadoweb.py,sha256=po29_F1Mt8qZpsFjX7EVwAT0ydC_NbVia9gVi7R_wXA,2142
894
+ pip/_vendor/tenacity/wait.py,sha256=3FcBJoCDgym12_dN6xfK8C1gROY0Hn4NSI2u8xv50uE,8024
895
+ pip/_vendor/tomli/__init__.py,sha256=JhUwV66DB1g4Hvt1UQCVMdfCu-IgAV8FXmvDU9onxd4,396
896
+ pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc,,
897
+ pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc,,
898
+ pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc,,
899
+ pip/_vendor/tomli/__pycache__/_types.cpython-312.pyc,,
900
+ pip/_vendor/tomli/_parser.py,sha256=g9-ENaALS-B8dokYpCuzUFalWlog7T-SIYMjLZSWrtM,22633
901
+ pip/_vendor/tomli/_re.py,sha256=dbjg5ChZT23Ka9z9DHOXfdtSpPwUfdgMXnj8NOoly-w,2943
902
+ pip/_vendor/tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254
903
+ pip/_vendor/truststore/__init__.py,sha256=qzTLSH8PvAkY1fr6QQ2vV-KwE_M83wdXugtpJaP_AbM,403
904
+ pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc,,
905
+ pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc,,
906
+ pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc,,
907
+ pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc,,
908
+ pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc,,
909
+ pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc,,
910
+ pip/_vendor/truststore/_api.py,sha256=xjuEu_rlH4hcdJTROImEyOEqdw-F8t5vO2H2BToY0Ro,9893
911
+ pip/_vendor/truststore/_macos.py,sha256=BjvAKoAjXhdIPuxpY124HJIFswDb0pq8DjynzJOVwqc,17694
912
+ pip/_vendor/truststore/_openssl.py,sha256=LLUZ7ZGaio-i5dpKKjKCSeSufmn6T8pi9lDcFnvSyq0,2324
913
+ pip/_vendor/truststore/_ssl_constants.py,sha256=NUD4fVKdSD02ri7-db0tnO0VqLP9aHuzmStcW7tAl08,1130
914
+ pip/_vendor/truststore/_windows.py,sha256=1x_EhROeJ9QK1sMAjfnZC7awYI8UnBJYL-TjACUYI4A,17468
915
+ pip/_vendor/typing_extensions.py,sha256=EWpcpyQnVmc48E9fSyPGs-vXgHcAk9tQABQIxmMsCGk,111130
916
+ pip/_vendor/urllib3/__init__.py,sha256=iXLcYiJySn0GNbWOOZDDApgBL1JgP44EZ8i1760S8Mc,3333
917
+ pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc,,
918
+ pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc,,
919
+ pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc,,
920
+ pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc,,
921
+ pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc,,
922
+ pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc,,
923
+ pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc,,
924
+ pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc,,
925
+ pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc,,
926
+ pip/_vendor/urllib3/__pycache__/request.cpython-312.pyc,,
927
+ pip/_vendor/urllib3/__pycache__/response.cpython-312.pyc,,
928
+ pip/_vendor/urllib3/_collections.py,sha256=pyASJJhW7wdOpqJj9QJA8FyGRfr8E8uUUhqUvhF0728,11372
929
+ pip/_vendor/urllib3/_version.py,sha256=azoM7M7BUADl2kBhMVR6PPf2GhBDI90me1fcnzTwdcw,64
930
+ pip/_vendor/urllib3/connection.py,sha256=92k9td_y4PEiTIjNufCUa1NzMB3J3w0LEdyokYgXnW8,20300
931
+ pip/_vendor/urllib3/connectionpool.py,sha256=Be6q65SR9laoikg-h_jmc_p8OWtEmwgq_Om_Xtig-2M,40285
932
+ pip/_vendor/urllib3/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
933
+ pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-312.pyc,,
934
+ pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-312.pyc,,
935
+ pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-312.pyc,,
936
+ pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-312.pyc,,
937
+ pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc,,
938
+ pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-312.pyc,,
939
+ pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.pyc,,
940
+ pip/_vendor/urllib3/contrib/_appengine_environ.py,sha256=bDbyOEhW2CKLJcQqAKAyrEHN-aklsyHFKq6vF8ZFsmk,957
941
+ pip/_vendor/urllib3/contrib/_securetransport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
942
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-312.pyc,,
943
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-312.pyc,,
944
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-312.pyc,,
945
+ pip/_vendor/urllib3/contrib/_securetransport/bindings.py,sha256=4Xk64qIkPBt09A5q-RIFUuDhNc9mXilVapm7WnYnzRw,17632
946
+ pip/_vendor/urllib3/contrib/_securetransport/low_level.py,sha256=B2JBB2_NRP02xK6DCa1Pa9IuxrPwxzDzZbixQkb7U9M,13922
947
+ pip/_vendor/urllib3/contrib/appengine.py,sha256=VR68eAVE137lxTgjBDwCna5UiBZTOKa01Aj_-5BaCz4,11036
948
+ pip/_vendor/urllib3/contrib/ntlmpool.py,sha256=NlfkW7WMdW8ziqudopjHoW299og1BTWi0IeIibquFwk,4528
949
+ pip/_vendor/urllib3/contrib/pyopenssl.py,sha256=hDJh4MhyY_p-oKlFcYcQaVQRDv6GMmBGuW9yjxyeejM,17081
950
+ pip/_vendor/urllib3/contrib/securetransport.py,sha256=yhZdmVjY6PI6EeFbp7qYOp6-vp1Rkv2NMuOGaEj7pmc,34448
951
+ pip/_vendor/urllib3/contrib/socks.py,sha256=aRi9eWXo9ZEb95XUxef4Z21CFlnnjbEiAo9HOseoMt4,7097
952
+ pip/_vendor/urllib3/exceptions.py,sha256=0Mnno3KHTNfXRfY7638NufOPkUb6mXOm-Lqj-4x2w8A,8217
953
+ pip/_vendor/urllib3/fields.py,sha256=kvLDCg_JmH1lLjUUEY_FLS8UhY7hBvDPuVETbY8mdrM,8579
954
+ pip/_vendor/urllib3/filepost.py,sha256=5b_qqgRHVlL7uLtdAYBzBh-GHmU5AfJVt_2N0XS3PeY,2440
955
+ pip/_vendor/urllib3/packages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
956
+ pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-312.pyc,,
957
+ pip/_vendor/urllib3/packages/__pycache__/six.cpython-312.pyc,,
958
+ pip/_vendor/urllib3/packages/backports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
959
+ pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-312.pyc,,
960
+ pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-312.pyc,,
961
+ pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-312.pyc,,
962
+ pip/_vendor/urllib3/packages/backports/makefile.py,sha256=nbzt3i0agPVP07jqqgjhaYjMmuAi_W5E0EywZivVO8E,1417
963
+ pip/_vendor/urllib3/packages/backports/weakref_finalize.py,sha256=tRCal5OAhNSRyb0DhHp-38AtIlCsRP8BxF3NX-6rqIA,5343
964
+ pip/_vendor/urllib3/packages/six.py,sha256=b9LM0wBXv7E7SrbCjAm4wwN-hrH-iNxv18LgWNMMKPo,34665
965
+ pip/_vendor/urllib3/poolmanager.py,sha256=mJmZWy_Mb4-dHbmNCKbDqv3fZS9UF_2bVDuiECHyPaI,20943
966
+ pip/_vendor/urllib3/request.py,sha256=YTWFNr7QIwh7E1W9dde9LM77v2VWTJ5V78XuTTw7D1A,6691
967
+ pip/_vendor/urllib3/response.py,sha256=fmDJAFkG71uFTn-sVSTh2Iw0WmcXQYqkbRjihvwBjU8,30641
968
+ pip/_vendor/urllib3/util/__init__.py,sha256=JEmSmmqqLyaw8P51gUImZh8Gwg9i1zSe-DoqAitn2nc,1155
969
+ pip/_vendor/urllib3/util/__pycache__/__init__.cpython-312.pyc,,
970
+ pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc,,
971
+ pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc,,
972
+ pip/_vendor/urllib3/util/__pycache__/queue.cpython-312.pyc,,
973
+ pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc,,
974
+ pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc,,
975
+ pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc,,
976
+ pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc,,
977
+ pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc,,
978
+ pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc,,
979
+ pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc,,
980
+ pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc,,
981
+ pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.pyc,,
982
+ pip/_vendor/urllib3/util/connection.py,sha256=5Lx2B1PW29KxBn2T0xkN1CBgRBa3gGVJBKoQoRogEVk,4901
983
+ pip/_vendor/urllib3/util/proxy.py,sha256=zUvPPCJrp6dOF0N4GAVbOcl6o-4uXKSrGiTkkr5vUS4,1605
984
+ pip/_vendor/urllib3/util/queue.py,sha256=nRgX8_eX-_VkvxoX096QWoz8Ps0QHUAExILCY_7PncM,498
985
+ pip/_vendor/urllib3/util/request.py,sha256=C0OUt2tcU6LRiQJ7YYNP9GvPrSvl7ziIBekQ-5nlBZk,3997
986
+ pip/_vendor/urllib3/util/response.py,sha256=GJpg3Egi9qaJXRwBh5wv-MNuRWan5BIu40oReoxWP28,3510
987
+ pip/_vendor/urllib3/util/retry.py,sha256=6ENvOZ8PBDzh8kgixpql9lIrb2dxH-k7ZmBanJF2Ng4,22050
988
+ pip/_vendor/urllib3/util/ssl_.py,sha256=X4-AqW91aYPhPx6-xbf66yHFQKbqqfC_5Zt4WkLX1Hc,17177
989
+ pip/_vendor/urllib3/util/ssl_match_hostname.py,sha256=Ir4cZVEjmAk8gUAIHWSi7wtOO83UCYABY2xFD1Ql_WA,5758
990
+ pip/_vendor/urllib3/util/ssltransport.py,sha256=NA-u5rMTrDFDFC8QzRKUEKMG0561hOD4qBTr3Z4pv6E,6895
991
+ pip/_vendor/urllib3/util/timeout.py,sha256=cwq4dMk87mJHSBktK1miYJ-85G-3T3RmT20v7SFCpno,10168
992
+ pip/_vendor/urllib3/util/url.py,sha256=lCAE7M5myA8EDdW0sJuyyZhVB9K_j38ljWhHAnFaWoE,14296
993
+ pip/_vendor/urllib3/util/wait.py,sha256=fOX0_faozG2P7iVojQoE1mbydweNyTcm-hXEfFrTtLI,5403
994
+ pip/_vendor/vendor.txt,sha256=4NKk7fQhVsZw0U-0zmm9Q2LgGyaPXacFbnJAaS0Q6EY,493
995
+ pip/_vendor/webencodings/__init__.py,sha256=qOBJIuPy_4ByYH6W_bNgJF-qYQ2DoU-dKsDu5yRWCXg,10579
996
+ pip/_vendor/webencodings/__pycache__/__init__.cpython-312.pyc,,
997
+ pip/_vendor/webencodings/__pycache__/labels.cpython-312.pyc,,
998
+ pip/_vendor/webencodings/__pycache__/mklabels.cpython-312.pyc,,
999
+ pip/_vendor/webencodings/__pycache__/tests.cpython-312.pyc,,
1000
+ pip/_vendor/webencodings/__pycache__/x_user_defined.cpython-312.pyc,,
1001
+ pip/_vendor/webencodings/labels.py,sha256=4AO_KxTddqGtrL9ns7kAPjb0CcN6xsCIxbK37HY9r3E,8979
1002
+ pip/_vendor/webencodings/mklabels.py,sha256=GYIeywnpaLnP0GSic8LFWgd0UVvO_l1Nc6YoF-87R_4,1305
1003
+ pip/_vendor/webencodings/tests.py,sha256=OtGLyjhNY1fvkW1GvLJ_FV9ZoqC9Anyjr7q3kxTbzNs,6563
1004
+ pip/_vendor/webencodings/x_user_defined.py,sha256=yOqWSdmpytGfUgh_Z6JYgDNhoc-BAHyyeeT15Fr42tM,4307
1005
+ pip/py.typed,sha256=EBVvvPRTn_eIpz5e5QztSCdrMX7Qwd7VP93RSoIlZ2I,286
venv/lib/python3.12/site-packages/pip-24.0.dist-info/REQUESTED ADDED
File without changes
venv/lib/python3.12/site-packages/pip-24.0.dist-info/WHEEL ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.42.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
venv/lib/python3.12/site-packages/pip-24.0.dist-info/entry_points.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ [console_scripts]
2
+ pip = pip._internal.cli.main:main
3
+ pip3 = pip._internal.cli.main:main
4
+ pip3.12 = pip._internal.cli.main:main
venv/lib/python3.12/site-packages/pip-24.0.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
venv/lib/python3.12/site-packages/pydantic/_migration.py ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import Any, Callable
3
+
4
+ from pydantic.warnings import PydanticDeprecatedSince20
5
+
6
+ from .version import version_short
7
+
8
+ MOVED_IN_V2 = {
9
+ 'pydantic.utils:version_info': 'pydantic.version:version_info',
10
+ 'pydantic.error_wrappers:ValidationError': 'pydantic:ValidationError',
11
+ 'pydantic.utils:to_camel': 'pydantic.alias_generators:to_pascal',
12
+ 'pydantic.utils:to_lower_camel': 'pydantic.alias_generators:to_camel',
13
+ 'pydantic:PyObject': 'pydantic.types:ImportString',
14
+ 'pydantic.types:PyObject': 'pydantic.types:ImportString',
15
+ 'pydantic.generics:GenericModel': 'pydantic.BaseModel',
16
+ }
17
+
18
+ DEPRECATED_MOVED_IN_V2 = {
19
+ 'pydantic.tools:schema_of': 'pydantic.deprecated.tools:schema_of',
20
+ 'pydantic.tools:parse_obj_as': 'pydantic.deprecated.tools:parse_obj_as',
21
+ 'pydantic.tools:schema_json_of': 'pydantic.deprecated.tools:schema_json_of',
22
+ 'pydantic.json:pydantic_encoder': 'pydantic.deprecated.json:pydantic_encoder',
23
+ 'pydantic:validate_arguments': 'pydantic.deprecated.decorator:validate_arguments',
24
+ 'pydantic.json:custom_pydantic_encoder': 'pydantic.deprecated.json:custom_pydantic_encoder',
25
+ 'pydantic.json:timedelta_isoformat': 'pydantic.deprecated.json:timedelta_isoformat',
26
+ 'pydantic.decorator:validate_arguments': 'pydantic.deprecated.decorator:validate_arguments',
27
+ 'pydantic.class_validators:validator': 'pydantic.deprecated.class_validators:validator',
28
+ 'pydantic.class_validators:root_validator': 'pydantic.deprecated.class_validators:root_validator',
29
+ 'pydantic.config:BaseConfig': 'pydantic.deprecated.config:BaseConfig',
30
+ 'pydantic.config:Extra': 'pydantic.deprecated.config:Extra',
31
+ }
32
+
33
+ REDIRECT_TO_V1 = {
34
+ f'pydantic.utils:{obj}': f'pydantic.v1.utils:{obj}'
35
+ for obj in (
36
+ 'deep_update',
37
+ 'GetterDict',
38
+ 'lenient_issubclass',
39
+ 'lenient_isinstance',
40
+ 'is_valid_field',
41
+ 'update_not_none',
42
+ 'import_string',
43
+ 'Representation',
44
+ 'ROOT_KEY',
45
+ 'smart_deepcopy',
46
+ 'sequence_like',
47
+ )
48
+ }
49
+
50
+
51
+ REMOVED_IN_V2 = {
52
+ 'pydantic:ConstrainedBytes',
53
+ 'pydantic:ConstrainedDate',
54
+ 'pydantic:ConstrainedDecimal',
55
+ 'pydantic:ConstrainedFloat',
56
+ 'pydantic:ConstrainedFrozenSet',
57
+ 'pydantic:ConstrainedInt',
58
+ 'pydantic:ConstrainedList',
59
+ 'pydantic:ConstrainedSet',
60
+ 'pydantic:ConstrainedStr',
61
+ 'pydantic:JsonWrapper',
62
+ 'pydantic:NoneBytes',
63
+ 'pydantic:NoneStr',
64
+ 'pydantic:NoneStrBytes',
65
+ 'pydantic:Protocol',
66
+ 'pydantic:Required',
67
+ 'pydantic:StrBytes',
68
+ 'pydantic:compiled',
69
+ 'pydantic.config:get_config',
70
+ 'pydantic.config:inherit_config',
71
+ 'pydantic.config:prepare_config',
72
+ 'pydantic:create_model_from_namedtuple',
73
+ 'pydantic:create_model_from_typeddict',
74
+ 'pydantic.dataclasses:create_pydantic_model_from_dataclass',
75
+ 'pydantic.dataclasses:make_dataclass_validator',
76
+ 'pydantic.dataclasses:set_validation',
77
+ 'pydantic.datetime_parse:parse_date',
78
+ 'pydantic.datetime_parse:parse_time',
79
+ 'pydantic.datetime_parse:parse_datetime',
80
+ 'pydantic.datetime_parse:parse_duration',
81
+ 'pydantic.error_wrappers:ErrorWrapper',
82
+ 'pydantic.errors:AnyStrMaxLengthError',
83
+ 'pydantic.errors:AnyStrMinLengthError',
84
+ 'pydantic.errors:ArbitraryTypeError',
85
+ 'pydantic.errors:BoolError',
86
+ 'pydantic.errors:BytesError',
87
+ 'pydantic.errors:CallableError',
88
+ 'pydantic.errors:ClassError',
89
+ 'pydantic.errors:ColorError',
90
+ 'pydantic.errors:ConfigError',
91
+ 'pydantic.errors:DataclassTypeError',
92
+ 'pydantic.errors:DateError',
93
+ 'pydantic.errors:DateNotInTheFutureError',
94
+ 'pydantic.errors:DateNotInThePastError',
95
+ 'pydantic.errors:DateTimeError',
96
+ 'pydantic.errors:DecimalError',
97
+ 'pydantic.errors:DecimalIsNotFiniteError',
98
+ 'pydantic.errors:DecimalMaxDigitsError',
99
+ 'pydantic.errors:DecimalMaxPlacesError',
100
+ 'pydantic.errors:DecimalWholeDigitsError',
101
+ 'pydantic.errors:DictError',
102
+ 'pydantic.errors:DurationError',
103
+ 'pydantic.errors:EmailError',
104
+ 'pydantic.errors:EnumError',
105
+ 'pydantic.errors:EnumMemberError',
106
+ 'pydantic.errors:ExtraError',
107
+ 'pydantic.errors:FloatError',
108
+ 'pydantic.errors:FrozenSetError',
109
+ 'pydantic.errors:FrozenSetMaxLengthError',
110
+ 'pydantic.errors:FrozenSetMinLengthError',
111
+ 'pydantic.errors:HashableError',
112
+ 'pydantic.errors:IPv4AddressError',
113
+ 'pydantic.errors:IPv4InterfaceError',
114
+ 'pydantic.errors:IPv4NetworkError',
115
+ 'pydantic.errors:IPv6AddressError',
116
+ 'pydantic.errors:IPv6InterfaceError',
117
+ 'pydantic.errors:IPv6NetworkError',
118
+ 'pydantic.errors:IPvAnyAddressError',
119
+ 'pydantic.errors:IPvAnyInterfaceError',
120
+ 'pydantic.errors:IPvAnyNetworkError',
121
+ 'pydantic.errors:IntEnumError',
122
+ 'pydantic.errors:IntegerError',
123
+ 'pydantic.errors:InvalidByteSize',
124
+ 'pydantic.errors:InvalidByteSizeUnit',
125
+ 'pydantic.errors:InvalidDiscriminator',
126
+ 'pydantic.errors:InvalidLengthForBrand',
127
+ 'pydantic.errors:JsonError',
128
+ 'pydantic.errors:JsonTypeError',
129
+ 'pydantic.errors:ListError',
130
+ 'pydantic.errors:ListMaxLengthError',
131
+ 'pydantic.errors:ListMinLengthError',
132
+ 'pydantic.errors:ListUniqueItemsError',
133
+ 'pydantic.errors:LuhnValidationError',
134
+ 'pydantic.errors:MissingDiscriminator',
135
+ 'pydantic.errors:MissingError',
136
+ 'pydantic.errors:NoneIsAllowedError',
137
+ 'pydantic.errors:NoneIsNotAllowedError',
138
+ 'pydantic.errors:NotDigitError',
139
+ 'pydantic.errors:NotNoneError',
140
+ 'pydantic.errors:NumberNotGeError',
141
+ 'pydantic.errors:NumberNotGtError',
142
+ 'pydantic.errors:NumberNotLeError',
143
+ 'pydantic.errors:NumberNotLtError',
144
+ 'pydantic.errors:NumberNotMultipleError',
145
+ 'pydantic.errors:PathError',
146
+ 'pydantic.errors:PathNotADirectoryError',
147
+ 'pydantic.errors:PathNotAFileError',
148
+ 'pydantic.errors:PathNotExistsError',
149
+ 'pydantic.errors:PatternError',
150
+ 'pydantic.errors:PyObjectError',
151
+ 'pydantic.errors:PydanticTypeError',
152
+ 'pydantic.errors:PydanticValueError',
153
+ 'pydantic.errors:SequenceError',
154
+ 'pydantic.errors:SetError',
155
+ 'pydantic.errors:SetMaxLengthError',
156
+ 'pydantic.errors:SetMinLengthError',
157
+ 'pydantic.errors:StrError',
158
+ 'pydantic.errors:StrRegexError',
159
+ 'pydantic.errors:StrictBoolError',
160
+ 'pydantic.errors:SubclassError',
161
+ 'pydantic.errors:TimeError',
162
+ 'pydantic.errors:TupleError',
163
+ 'pydantic.errors:TupleLengthError',
164
+ 'pydantic.errors:UUIDError',
165
+ 'pydantic.errors:UUIDVersionError',
166
+ 'pydantic.errors:UrlError',
167
+ 'pydantic.errors:UrlExtraError',
168
+ 'pydantic.errors:UrlHostError',
169
+ 'pydantic.errors:UrlHostTldError',
170
+ 'pydantic.errors:UrlPortError',
171
+ 'pydantic.errors:UrlSchemeError',
172
+ 'pydantic.errors:UrlSchemePermittedError',
173
+ 'pydantic.errors:UrlUserInfoError',
174
+ 'pydantic.errors:WrongConstantError',
175
+ 'pydantic.main:validate_model',
176
+ 'pydantic.networks:stricturl',
177
+ 'pydantic:parse_file_as',
178
+ 'pydantic:parse_raw_as',
179
+ 'pydantic:stricturl',
180
+ 'pydantic.tools:parse_file_as',
181
+ 'pydantic.tools:parse_raw_as',
182
+ 'pydantic.types:ConstrainedBytes',
183
+ 'pydantic.types:ConstrainedDate',
184
+ 'pydantic.types:ConstrainedDecimal',
185
+ 'pydantic.types:ConstrainedFloat',
186
+ 'pydantic.types:ConstrainedFrozenSet',
187
+ 'pydantic.types:ConstrainedInt',
188
+ 'pydantic.types:ConstrainedList',
189
+ 'pydantic.types:ConstrainedSet',
190
+ 'pydantic.types:ConstrainedStr',
191
+ 'pydantic.types:JsonWrapper',
192
+ 'pydantic.types:NoneBytes',
193
+ 'pydantic.types:NoneStr',
194
+ 'pydantic.types:NoneStrBytes',
195
+ 'pydantic.types:StrBytes',
196
+ 'pydantic.typing:evaluate_forwardref',
197
+ 'pydantic.typing:AbstractSetIntStr',
198
+ 'pydantic.typing:AnyCallable',
199
+ 'pydantic.typing:AnyClassMethod',
200
+ 'pydantic.typing:CallableGenerator',
201
+ 'pydantic.typing:DictAny',
202
+ 'pydantic.typing:DictIntStrAny',
203
+ 'pydantic.typing:DictStrAny',
204
+ 'pydantic.typing:IntStr',
205
+ 'pydantic.typing:ListStr',
206
+ 'pydantic.typing:MappingIntStrAny',
207
+ 'pydantic.typing:NoArgAnyCallable',
208
+ 'pydantic.typing:NoneType',
209
+ 'pydantic.typing:ReprArgs',
210
+ 'pydantic.typing:SetStr',
211
+ 'pydantic.typing:StrPath',
212
+ 'pydantic.typing:TupleGenerator',
213
+ 'pydantic.typing:WithArgsTypes',
214
+ 'pydantic.typing:all_literal_values',
215
+ 'pydantic.typing:display_as_type',
216
+ 'pydantic.typing:get_all_type_hints',
217
+ 'pydantic.typing:get_args',
218
+ 'pydantic.typing:get_origin',
219
+ 'pydantic.typing:get_sub_types',
220
+ 'pydantic.typing:is_callable_type',
221
+ 'pydantic.typing:is_classvar',
222
+ 'pydantic.typing:is_finalvar',
223
+ 'pydantic.typing:is_literal_type',
224
+ 'pydantic.typing:is_namedtuple',
225
+ 'pydantic.typing:is_new_type',
226
+ 'pydantic.typing:is_none_type',
227
+ 'pydantic.typing:is_typeddict',
228
+ 'pydantic.typing:is_typeddict_special',
229
+ 'pydantic.typing:is_union',
230
+ 'pydantic.typing:new_type_supertype',
231
+ 'pydantic.typing:resolve_annotations',
232
+ 'pydantic.typing:typing_base',
233
+ 'pydantic.typing:update_field_forward_refs',
234
+ 'pydantic.typing:update_model_forward_refs',
235
+ 'pydantic.utils:ClassAttribute',
236
+ 'pydantic.utils:DUNDER_ATTRIBUTES',
237
+ 'pydantic.utils:PyObjectStr',
238
+ 'pydantic.utils:ValueItems',
239
+ 'pydantic.utils:almost_equal_floats',
240
+ 'pydantic.utils:get_discriminator_alias_and_values',
241
+ 'pydantic.utils:get_model',
242
+ 'pydantic.utils:get_unique_discriminator_alias',
243
+ 'pydantic.utils:in_ipython',
244
+ 'pydantic.utils:is_valid_identifier',
245
+ 'pydantic.utils:path_type',
246
+ 'pydantic.utils:validate_field_name',
247
+ 'pydantic:validate_model',
248
+ }
249
+
250
+
251
+ def getattr_migration(module: str) -> Callable[[str], Any]:
252
+ """Implement PEP 562 for objects that were either moved or removed on the migration
253
+ to V2.
254
+
255
+ Args:
256
+ module: The module name.
257
+
258
+ Returns:
259
+ A callable that will raise an error if the object is not found.
260
+ """
261
+ # This avoids circular import with errors.py.
262
+ from .errors import PydanticImportError
263
+
264
+ def wrapper(name: str) -> object:
265
+ """Raise an error if the object is not found, or warn if it was moved.
266
+
267
+ In case it was moved, it still returns the object.
268
+
269
+ Args:
270
+ name: The object name.
271
+
272
+ Returns:
273
+ The object.
274
+ """
275
+ if name == '__path__':
276
+ raise AttributeError(f'module {module!r} has no attribute {name!r}')
277
+
278
+ import warnings
279
+
280
+ from ._internal._validators import import_string
281
+
282
+ import_path = f'{module}:{name}'
283
+ if import_path in MOVED_IN_V2.keys():
284
+ new_location = MOVED_IN_V2[import_path]
285
+ warnings.warn(
286
+ f'`{import_path}` has been moved to `{new_location}`.',
287
+ category=PydanticDeprecatedSince20,
288
+ stacklevel=2,
289
+ )
290
+ return import_string(MOVED_IN_V2[import_path])
291
+ if import_path in DEPRECATED_MOVED_IN_V2:
292
+ # skip the warning here because a deprecation warning will be raised elsewhere
293
+ return import_string(DEPRECATED_MOVED_IN_V2[import_path])
294
+ if import_path in REDIRECT_TO_V1:
295
+ new_location = REDIRECT_TO_V1[import_path]
296
+ warnings.warn(
297
+ f'`{import_path}` has been removed. We are importing from `{new_location}` instead.'
298
+ 'See the migration guide for more details: https://docs.pydantic.dev/latest/migration/',
299
+ category=PydanticDeprecatedSince20,
300
+ stacklevel=2,
301
+ )
302
+ return import_string(REDIRECT_TO_V1[import_path])
303
+ if import_path == 'pydantic:BaseSettings':
304
+ raise PydanticImportError(
305
+ '`BaseSettings` has been moved to the `pydantic-settings` package. '
306
+ f'See https://docs.pydantic.dev/{version_short()}/migration/#basesettings-has-moved-to-pydantic-settings '
307
+ 'for more details.'
308
+ )
309
+ if import_path in REMOVED_IN_V2:
310
+ raise PydanticImportError(f'`{import_path}` has been removed in V2.')
311
+ globals: dict[str, Any] = sys.modules[module].__dict__
312
+ if name in globals:
313
+ return globals[name]
314
+ raise AttributeError(f'module {module!r} has no attribute {name!r}')
315
+
316
+ return wrapper
venv/lib/python3.12/site-packages/pydantic/aliases.py ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Support for alias configurations."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import dataclasses
6
+ from typing import Any, Callable, Literal
7
+
8
+ from pydantic_core import PydanticUndefined
9
+
10
+ from ._internal import _internal_dataclass
11
+
12
+ __all__ = ('AliasGenerator', 'AliasPath', 'AliasChoices')
13
+
14
+
15
+ @dataclasses.dataclass(**_internal_dataclass.slots_true)
16
+ class AliasPath:
17
+ """!!! abstract "Usage Documentation"
18
+ [`AliasPath` and `AliasChoices`](../concepts/alias.md#aliaspath-and-aliaschoices)
19
+
20
+ A data class used by `validation_alias` as a convenience to create aliases.
21
+
22
+ Attributes:
23
+ path: A list of string or integer aliases.
24
+ """
25
+
26
+ path: list[int | str]
27
+
28
+ def __init__(self, first_arg: str, *args: str | int) -> None:
29
+ self.path = [first_arg] + list(args)
30
+
31
+ def convert_to_aliases(self) -> list[str | int]:
32
+ """Converts arguments to a list of string or integer aliases.
33
+
34
+ Returns:
35
+ The list of aliases.
36
+ """
37
+ return self.path
38
+
39
+ def search_dict_for_path(self, d: dict) -> Any:
40
+ """Searches a dictionary for the path specified by the alias.
41
+
42
+ Returns:
43
+ The value at the specified path, or `PydanticUndefined` if the path is not found.
44
+ """
45
+ v = d
46
+ for k in self.path:
47
+ if isinstance(v, str):
48
+ # disallow indexing into a str, like for AliasPath('x', 0) and x='abc'
49
+ return PydanticUndefined
50
+ try:
51
+ v = v[k]
52
+ except (KeyError, IndexError, TypeError):
53
+ return PydanticUndefined
54
+ return v
55
+
56
+
57
+ @dataclasses.dataclass(**_internal_dataclass.slots_true)
58
+ class AliasChoices:
59
+ """!!! abstract "Usage Documentation"
60
+ [`AliasPath` and `AliasChoices`](../concepts/alias.md#aliaspath-and-aliaschoices)
61
+
62
+ A data class used by `validation_alias` as a convenience to create aliases.
63
+
64
+ Attributes:
65
+ choices: A list containing a string or `AliasPath`.
66
+ """
67
+
68
+ choices: list[str | AliasPath]
69
+
70
+ def __init__(self, first_choice: str | AliasPath, *choices: str | AliasPath) -> None:
71
+ self.choices = [first_choice] + list(choices)
72
+
73
+ def convert_to_aliases(self) -> list[list[str | int]]:
74
+ """Converts arguments to a list of lists containing string or integer aliases.
75
+
76
+ Returns:
77
+ The list of aliases.
78
+ """
79
+ aliases: list[list[str | int]] = []
80
+ for c in self.choices:
81
+ if isinstance(c, AliasPath):
82
+ aliases.append(c.convert_to_aliases())
83
+ else:
84
+ aliases.append([c])
85
+ return aliases
86
+
87
+
88
+ @dataclasses.dataclass(**_internal_dataclass.slots_true)
89
+ class AliasGenerator:
90
+ """!!! abstract "Usage Documentation"
91
+ [Using an `AliasGenerator`](../concepts/alias.md#using-an-aliasgenerator)
92
+
93
+ A data class used by `alias_generator` as a convenience to create various aliases.
94
+
95
+ Attributes:
96
+ alias: A callable that takes a field name and returns an alias for it.
97
+ validation_alias: A callable that takes a field name and returns a validation alias for it.
98
+ serialization_alias: A callable that takes a field name and returns a serialization alias for it.
99
+ """
100
+
101
+ alias: Callable[[str], str] | None = None
102
+ validation_alias: Callable[[str], str | AliasPath | AliasChoices] | None = None
103
+ serialization_alias: Callable[[str], str] | None = None
104
+
105
+ def _generate_alias(
106
+ self,
107
+ alias_kind: Literal['alias', 'validation_alias', 'serialization_alias'],
108
+ allowed_types: tuple[type[str] | type[AliasPath] | type[AliasChoices], ...],
109
+ field_name: str,
110
+ ) -> str | AliasPath | AliasChoices | None:
111
+ """Generate an alias of the specified kind. Returns None if the alias generator is None.
112
+
113
+ Raises:
114
+ TypeError: If the alias generator produces an invalid type.
115
+ """
116
+ alias = None
117
+ if alias_generator := getattr(self, alias_kind):
118
+ alias = alias_generator(field_name)
119
+ if alias and not isinstance(alias, allowed_types):
120
+ raise TypeError(
121
+ f'Invalid `{alias_kind}` type. `{alias_kind}` generator must produce one of `{allowed_types}`'
122
+ )
123
+ return alias
124
+
125
+ def generate_aliases(self, field_name: str) -> tuple[str | None, str | AliasPath | AliasChoices | None, str | None]:
126
+ """Generate `alias`, `validation_alias`, and `serialization_alias` for a field.
127
+
128
+ Returns:
129
+ A tuple of three aliases - validation, alias, and serialization.
130
+ """
131
+ alias = self._generate_alias('alias', (str,), field_name)
132
+ validation_alias = self._generate_alias('validation_alias', (str, AliasChoices, AliasPath), field_name)
133
+ serialization_alias = self._generate_alias('serialization_alias', (str,), field_name)
134
+
135
+ return alias, validation_alias, serialization_alias # type: ignore
venv/lib/python3.12/site-packages/pydantic/config.py ADDED
@@ -0,0 +1,1296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Configuration for Pydantic models."""
2
+
3
+ from __future__ import annotations as _annotations
4
+
5
+ import warnings
6
+ from re import Pattern
7
+ from typing import TYPE_CHECKING, Any, Callable, Literal, TypeVar, Union, cast, overload
8
+
9
+ from typing_extensions import TypeAlias, TypedDict, Unpack, deprecated
10
+
11
+ from ._migration import getattr_migration
12
+ from .aliases import AliasGenerator
13
+ from .errors import PydanticUserError
14
+ from .warnings import PydanticDeprecatedSince211
15
+
16
+ if TYPE_CHECKING:
17
+ from ._internal._generate_schema import GenerateSchema as _GenerateSchema
18
+ from .fields import ComputedFieldInfo, FieldInfo
19
+
20
+ __all__ = ('ConfigDict', 'with_config')
21
+
22
+
23
+ JsonValue: TypeAlias = Union[int, float, str, bool, None, list['JsonValue'], 'JsonDict']
24
+ JsonDict: TypeAlias = dict[str, JsonValue]
25
+
26
+ JsonEncoder = Callable[[Any], Any]
27
+
28
+ JsonSchemaExtraCallable: TypeAlias = Union[
29
+ Callable[[JsonDict], None],
30
+ Callable[[JsonDict, type[Any]], None],
31
+ ]
32
+
33
+ ExtraValues = Literal['allow', 'ignore', 'forbid']
34
+
35
+
36
+ class ConfigDict(TypedDict, total=False):
37
+ """A TypedDict for configuring Pydantic behaviour."""
38
+
39
+ title: str | None
40
+ """The title for the generated JSON schema, defaults to the model's name"""
41
+
42
+ model_title_generator: Callable[[type], str] | None
43
+ """A callable that takes a model class and returns the title for it. Defaults to `None`."""
44
+
45
+ field_title_generator: Callable[[str, FieldInfo | ComputedFieldInfo], str] | None
46
+ """A callable that takes a field's name and info and returns title for it. Defaults to `None`."""
47
+
48
+ str_to_lower: bool
49
+ """Whether to convert all characters to lowercase for str types. Defaults to `False`."""
50
+
51
+ str_to_upper: bool
52
+ """Whether to convert all characters to uppercase for str types. Defaults to `False`."""
53
+
54
+ str_strip_whitespace: bool
55
+ """Whether to strip leading and trailing whitespace for str types."""
56
+
57
+ str_min_length: int
58
+ """The minimum length for str types. Defaults to `None`."""
59
+
60
+ str_max_length: int | None
61
+ """The maximum length for str types. Defaults to `None`."""
62
+
63
+ extra: ExtraValues | None
64
+ '''
65
+ Whether to ignore, allow, or forbid extra data during model initialization. Defaults to `'ignore'`.
66
+
67
+ Three configuration values are available:
68
+
69
+ - `'ignore'`: Providing extra data is ignored (the default):
70
+ ```python
71
+ from pydantic import BaseModel, ConfigDict
72
+
73
+ class User(BaseModel):
74
+ model_config = ConfigDict(extra='ignore') # (1)!
75
+
76
+ name: str
77
+
78
+ user = User(name='John Doe', age=20) # (2)!
79
+ print(user)
80
+ #> name='John Doe'
81
+ ```
82
+
83
+ 1. This is the default behaviour.
84
+ 2. The `age` argument is ignored.
85
+
86
+ - `'forbid'`: Providing extra data is not permitted, and a [`ValidationError`][pydantic_core.ValidationError]
87
+ will be raised if this is the case:
88
+ ```python
89
+ from pydantic import BaseModel, ConfigDict, ValidationError
90
+
91
+
92
+ class Model(BaseModel):
93
+ x: int
94
+
95
+ model_config = ConfigDict(extra='forbid')
96
+
97
+
98
+ try:
99
+ Model(x=1, y='a')
100
+ except ValidationError as exc:
101
+ print(exc)
102
+ """
103
+ 1 validation error for Model
104
+ y
105
+ Extra inputs are not permitted [type=extra_forbidden, input_value='a', input_type=str]
106
+ """
107
+ ```
108
+
109
+ - `'allow'`: Providing extra data is allowed and stored in the `__pydantic_extra__` dictionary attribute:
110
+ ```python
111
+ from pydantic import BaseModel, ConfigDict
112
+
113
+
114
+ class Model(BaseModel):
115
+ x: int
116
+
117
+ model_config = ConfigDict(extra='allow')
118
+
119
+
120
+ m = Model(x=1, y='a')
121
+ assert m.__pydantic_extra__ == {'y': 'a'}
122
+ ```
123
+ By default, no validation will be applied to these extra items, but you can set a type for the values by overriding
124
+ the type annotation for `__pydantic_extra__`:
125
+ ```python
126
+ from pydantic import BaseModel, ConfigDict, Field, ValidationError
127
+
128
+
129
+ class Model(BaseModel):
130
+ __pydantic_extra__: dict[str, int] = Field(init=False) # (1)!
131
+
132
+ x: int
133
+
134
+ model_config = ConfigDict(extra='allow')
135
+
136
+
137
+ try:
138
+ Model(x=1, y='a')
139
+ except ValidationError as exc:
140
+ print(exc)
141
+ """
142
+ 1 validation error for Model
143
+ y
144
+ Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='a', input_type=str]
145
+ """
146
+
147
+ m = Model(x=1, y='2')
148
+ assert m.x == 1
149
+ assert m.y == 2
150
+ assert m.model_dump() == {'x': 1, 'y': 2}
151
+ assert m.__pydantic_extra__ == {'y': 2}
152
+ ```
153
+
154
+ 1. The `= Field(init=False)` does not have any effect at runtime, but prevents the `__pydantic_extra__` field from
155
+ being included as a parameter to the model's `__init__` method by type checkers.
156
+
157
+ As well as specifying an `extra` configuration value on the model, you can also provide it as an argument to the validation methods.
158
+ This will override any `extra` configuration value set on the model:
159
+ ```python
160
+ from pydantic import BaseModel, ConfigDict, ValidationError
161
+
162
+ class Model(BaseModel):
163
+ x: int
164
+ model_config = ConfigDict(extra="allow")
165
+
166
+ try:
167
+ # Override model config and forbid extra fields just this time
168
+ Model.model_validate({"x": 1, "y": 2}, extra="forbid")
169
+ except ValidationError as exc:
170
+ print(exc)
171
+ """
172
+ 1 validation error for Model
173
+ y
174
+ Extra inputs are not permitted [type=extra_forbidden, input_value=2, input_type=int]
175
+ """
176
+ ```
177
+ '''
178
+
179
+ frozen: bool
180
+ """
181
+ Whether models are faux-immutable, i.e. whether `__setattr__` is allowed, and also generates
182
+ a `__hash__()` method for the model. This makes instances of the model potentially hashable if all the
183
+ attributes are hashable. Defaults to `False`.
184
+
185
+ Note:
186
+ On V1, the inverse of this setting was called `allow_mutation`, and was `True` by default.
187
+ """
188
+
189
+ populate_by_name: bool
190
+ """
191
+ Whether an aliased field may be populated by its name as given by the model
192
+ attribute, as well as the alias. Defaults to `False`.
193
+
194
+ !!! warning
195
+ `populate_by_name` usage is not recommended in v2.11+ and will be deprecated in v3.
196
+ Instead, you should use the [`validate_by_name`][pydantic.config.ConfigDict.validate_by_name] configuration setting.
197
+
198
+ When `validate_by_name=True` and `validate_by_alias=True`, this is strictly equivalent to the
199
+ previous behavior of `populate_by_name=True`.
200
+
201
+ In v2.11, we also introduced a [`validate_by_alias`][pydantic.config.ConfigDict.validate_by_alias] setting that introduces more fine grained
202
+ control for validation behavior.
203
+
204
+ Here's how you might go about using the new settings to achieve the same behavior:
205
+
206
+ ```python
207
+ from pydantic import BaseModel, ConfigDict, Field
208
+
209
+ class Model(BaseModel):
210
+ model_config = ConfigDict(validate_by_name=True, validate_by_alias=True)
211
+
212
+ my_field: str = Field(alias='my_alias') # (1)!
213
+
214
+ m = Model(my_alias='foo') # (2)!
215
+ print(m)
216
+ #> my_field='foo'
217
+
218
+ m = Model(my_field='foo') # (3)!
219
+ print(m)
220
+ #> my_field='foo'
221
+ ```
222
+
223
+ 1. The field `'my_field'` has an alias `'my_alias'`.
224
+ 2. The model is populated by the alias `'my_alias'`.
225
+ 3. The model is populated by the attribute name `'my_field'`.
226
+ """
227
+
228
+ use_enum_values: bool
229
+ """
230
+ Whether to populate models with the `value` property of enums, rather than the raw enum.
231
+ This may be useful if you want to serialize `model.model_dump()` later. Defaults to `False`.
232
+
233
+ !!! note
234
+ If you have an `Optional[Enum]` value that you set a default for, you need to use `validate_default=True`
235
+ for said Field to ensure that the `use_enum_values` flag takes effect on the default, as extracting an
236
+ enum's value occurs during validation, not serialization.
237
+
238
+ ```python
239
+ from enum import Enum
240
+ from typing import Optional
241
+
242
+ from pydantic import BaseModel, ConfigDict, Field
243
+
244
+ class SomeEnum(Enum):
245
+ FOO = 'foo'
246
+ BAR = 'bar'
247
+ BAZ = 'baz'
248
+
249
+ class SomeModel(BaseModel):
250
+ model_config = ConfigDict(use_enum_values=True)
251
+
252
+ some_enum: SomeEnum
253
+ another_enum: Optional[SomeEnum] = Field(
254
+ default=SomeEnum.FOO, validate_default=True
255
+ )
256
+
257
+ model1 = SomeModel(some_enum=SomeEnum.BAR)
258
+ print(model1.model_dump())
259
+ #> {'some_enum': 'bar', 'another_enum': 'foo'}
260
+
261
+ model2 = SomeModel(some_enum=SomeEnum.BAR, another_enum=SomeEnum.BAZ)
262
+ print(model2.model_dump())
263
+ #> {'some_enum': 'bar', 'another_enum': 'baz'}
264
+ ```
265
+ """
266
+
267
+ validate_assignment: bool
268
+ """
269
+ Whether to validate the data when the model is changed. Defaults to `False`.
270
+
271
+ The default behavior of Pydantic is to validate the data when the model is created.
272
+
273
+ In case the user changes the data after the model is created, the model is _not_ revalidated.
274
+
275
+ ```python
276
+ from pydantic import BaseModel
277
+
278
+ class User(BaseModel):
279
+ name: str
280
+
281
+ user = User(name='John Doe') # (1)!
282
+ print(user)
283
+ #> name='John Doe'
284
+ user.name = 123 # (1)!
285
+ print(user)
286
+ #> name=123
287
+ ```
288
+
289
+ 1. The validation happens only when the model is created.
290
+ 2. The validation does not happen when the data is changed.
291
+
292
+ In case you want to revalidate the model when the data is changed, you can use `validate_assignment=True`:
293
+
294
+ ```python
295
+ from pydantic import BaseModel, ValidationError
296
+
297
+ class User(BaseModel, validate_assignment=True): # (1)!
298
+ name: str
299
+
300
+ user = User(name='John Doe') # (2)!
301
+ print(user)
302
+ #> name='John Doe'
303
+ try:
304
+ user.name = 123 # (3)!
305
+ except ValidationError as e:
306
+ print(e)
307
+ '''
308
+ 1 validation error for User
309
+ name
310
+ Input should be a valid string [type=string_type, input_value=123, input_type=int]
311
+ '''
312
+ ```
313
+
314
+ 1. You can either use class keyword arguments, or `model_config` to set `validate_assignment=True`.
315
+ 2. The validation happens when the model is created.
316
+ 3. The validation _also_ happens when the data is changed.
317
+ """
318
+
319
+ arbitrary_types_allowed: bool
320
+ """
321
+ Whether arbitrary types are allowed for field types. Defaults to `False`.
322
+
323
+ ```python
324
+ from pydantic import BaseModel, ConfigDict, ValidationError
325
+
326
+ # This is not a pydantic model, it's an arbitrary class
327
+ class Pet:
328
+ def __init__(self, name: str):
329
+ self.name = name
330
+
331
+ class Model(BaseModel):
332
+ model_config = ConfigDict(arbitrary_types_allowed=True)
333
+
334
+ pet: Pet
335
+ owner: str
336
+
337
+ pet = Pet(name='Hedwig')
338
+ # A simple check of instance type is used to validate the data
339
+ model = Model(owner='Harry', pet=pet)
340
+ print(model)
341
+ #> pet=<__main__.Pet object at 0x0123456789ab> owner='Harry'
342
+ print(model.pet)
343
+ #> <__main__.Pet object at 0x0123456789ab>
344
+ print(model.pet.name)
345
+ #> Hedwig
346
+ print(type(model.pet))
347
+ #> <class '__main__.Pet'>
348
+ try:
349
+ # If the value is not an instance of the type, it's invalid
350
+ Model(owner='Harry', pet='Hedwig')
351
+ except ValidationError as e:
352
+ print(e)
353
+ '''
354
+ 1 validation error for Model
355
+ pet
356
+ Input should be an instance of Pet [type=is_instance_of, input_value='Hedwig', input_type=str]
357
+ '''
358
+
359
+ # Nothing in the instance of the arbitrary type is checked
360
+ # Here name probably should have been a str, but it's not validated
361
+ pet2 = Pet(name=42)
362
+ model2 = Model(owner='Harry', pet=pet2)
363
+ print(model2)
364
+ #> pet=<__main__.Pet object at 0x0123456789ab> owner='Harry'
365
+ print(model2.pet)
366
+ #> <__main__.Pet object at 0x0123456789ab>
367
+ print(model2.pet.name)
368
+ #> 42
369
+ print(type(model2.pet))
370
+ #> <class '__main__.Pet'>
371
+ ```
372
+ """
373
+
374
+ from_attributes: bool
375
+ """
376
+ Whether to build models and look up discriminators of tagged unions using python object attributes.
377
+ """
378
+
379
+ loc_by_alias: bool
380
+ """Whether to use the actual key provided in the data (e.g. alias) for error `loc`s rather than the field's name. Defaults to `True`."""
381
+
382
+ alias_generator: Callable[[str], str] | AliasGenerator | None
383
+ """
384
+ A callable that takes a field name and returns an alias for it
385
+ or an instance of [`AliasGenerator`][pydantic.aliases.AliasGenerator]. Defaults to `None`.
386
+
387
+ When using a callable, the alias generator is used for both validation and serialization.
388
+ If you want to use different alias generators for validation and serialization, you can use
389
+ [`AliasGenerator`][pydantic.aliases.AliasGenerator] instead.
390
+
391
+ If data source field names do not match your code style (e.g. CamelCase fields),
392
+ you can automatically generate aliases using `alias_generator`. Here's an example with
393
+ a basic callable:
394
+
395
+ ```python
396
+ from pydantic import BaseModel, ConfigDict
397
+ from pydantic.alias_generators import to_pascal
398
+
399
+ class Voice(BaseModel):
400
+ model_config = ConfigDict(alias_generator=to_pascal)
401
+
402
+ name: str
403
+ language_code: str
404
+
405
+ voice = Voice(Name='Filiz', LanguageCode='tr-TR')
406
+ print(voice.language_code)
407
+ #> tr-TR
408
+ print(voice.model_dump(by_alias=True))
409
+ #> {'Name': 'Filiz', 'LanguageCode': 'tr-TR'}
410
+ ```
411
+
412
+ If you want to use different alias generators for validation and serialization, you can use
413
+ [`AliasGenerator`][pydantic.aliases.AliasGenerator].
414
+
415
+ ```python
416
+ from pydantic import AliasGenerator, BaseModel, ConfigDict
417
+ from pydantic.alias_generators import to_camel, to_pascal
418
+
419
+ class Athlete(BaseModel):
420
+ first_name: str
421
+ last_name: str
422
+ sport: str
423
+
424
+ model_config = ConfigDict(
425
+ alias_generator=AliasGenerator(
426
+ validation_alias=to_camel,
427
+ serialization_alias=to_pascal,
428
+ )
429
+ )
430
+
431
+ athlete = Athlete(firstName='John', lastName='Doe', sport='track')
432
+ print(athlete.model_dump(by_alias=True))
433
+ #> {'FirstName': 'John', 'LastName': 'Doe', 'Sport': 'track'}
434
+ ```
435
+
436
+ Note:
437
+ Pydantic offers three built-in alias generators: [`to_pascal`][pydantic.alias_generators.to_pascal],
438
+ [`to_camel`][pydantic.alias_generators.to_camel], and [`to_snake`][pydantic.alias_generators.to_snake].
439
+ """
440
+
441
+ ignored_types: tuple[type, ...]
442
+ """A tuple of types that may occur as values of class attributes without annotations. This is
443
+ typically used for custom descriptors (classes that behave like `property`). If an attribute is set on a
444
+ class without an annotation and has a type that is not in this tuple (or otherwise recognized by
445
+ _pydantic_), an error will be raised. Defaults to `()`.
446
+ """
447
+
448
+ allow_inf_nan: bool
449
+ """Whether to allow infinity (`+inf` an `-inf`) and NaN values to float and decimal fields. Defaults to `True`."""
450
+
451
+ json_schema_extra: JsonDict | JsonSchemaExtraCallable | None
452
+ """A dict or callable to provide extra JSON schema properties. Defaults to `None`."""
453
+
454
+ json_encoders: dict[type[object], JsonEncoder] | None
455
+ """
456
+ A `dict` of custom JSON encoders for specific types. Defaults to `None`.
457
+
458
+ /// version-deprecated | v2
459
+ This configuration option is a carryover from v1. We originally planned to remove it in v2 but didn't have a 1:1 replacement
460
+ so we are keeping it for now. It is still deprecated and will likely be removed in the future.
461
+ ///
462
+ """
463
+
464
+ # new in V2
465
+ strict: bool
466
+ """
467
+ Whether strict validation is applied to all fields on the model.
468
+
469
+ By default, Pydantic attempts to coerce values to the correct type, when possible.
470
+
471
+ There are situations in which you may want to disable this behavior, and instead raise an error if a value's type
472
+ does not match the field's type annotation.
473
+
474
+ To configure strict mode for all fields on a model, you can set `strict=True` on the model.
475
+
476
+ ```python
477
+ from pydantic import BaseModel, ConfigDict
478
+
479
+ class Model(BaseModel):
480
+ model_config = ConfigDict(strict=True)
481
+
482
+ name: str
483
+ age: int
484
+ ```
485
+
486
+ See [Strict Mode](../concepts/strict_mode.md) for more details.
487
+
488
+ See the [Conversion Table](../concepts/conversion_table.md) for more details on how Pydantic converts data in both
489
+ strict and lax modes.
490
+
491
+ /// version-added | v2
492
+ ///
493
+ """
494
+ # whether instances of models and dataclasses (including subclass instances) should re-validate, default 'never'
495
+ revalidate_instances: Literal['always', 'never', 'subclass-instances']
496
+ """
497
+ When and how to revalidate models and dataclasses during validation. Can be one of:
498
+
499
+ - `'never'`: will *not* revalidate models and dataclasses during validation
500
+ - `'always'`: will revalidate models and dataclasses during validation
501
+ - `'subclass-instances'`: will revalidate models and dataclasses during validation if the instance is a
502
+ subclass of the model or dataclass
503
+
504
+ The default is `'never'` (no revalidation).
505
+
506
+ This configuration only affects *the current model* it is applied on, and does *not* propagate to the models
507
+ referenced in fields.
508
+
509
+ ```python
510
+ from pydantic import BaseModel
511
+
512
+ class User(BaseModel, revalidate_instances='never'): # (1)!
513
+ name: str
514
+
515
+ class Transaction(BaseModel):
516
+ user: User
517
+
518
+ my_user = User(name='John')
519
+ t = Transaction(user=my_user)
520
+
521
+ my_user.name = 1 # (2)!
522
+ t = Transaction(user=my_user) # (3)!
523
+ print(t)
524
+ #> user=User(name=1)
525
+ ```
526
+
527
+ 1. This is the default behavior.
528
+ 2. The assignment is *not* validated, unless you set [`validate_assignment`][pydantic.ConfigDict.validate_assignment] in the configuration.
529
+ 3. Since `revalidate_instances` is set to `'never'`, the user instance is not revalidated.
530
+
531
+ Here is an example demonstrating the behavior of `'subclass-instances'`:
532
+
533
+ ```python
534
+ from pydantic import BaseModel
535
+
536
+ class User(BaseModel, revalidate_instances='subclass-instances'):
537
+ name: str
538
+
539
+ class SubUser(User):
540
+ age: int
541
+
542
+ class Transaction(BaseModel):
543
+ user: User
544
+
545
+ my_user = User(name='John')
546
+ my_user.name = 1 # (1)!
547
+ t = Transaction(user=my_user) # (2)!
548
+ print(t)
549
+ #> user=User(name=1)
550
+
551
+ my_sub_user = SubUser(name='John', age=20)
552
+ t = Transaction(user=my_sub_user)
553
+ print(t) # (3)!
554
+ #> user=User(name='John')
555
+ ```
556
+
557
+ 1. The assignment is *not* validated, unless you set [`validate_assignment`][pydantic.ConfigDict.validate_assignment] in the configuration.
558
+ 2. Because `my_user` is a "direct" instance of `User`, it is *not* being revalidated. It would have been the case if
559
+ `revalidate_instances` was set to `'always'`.
560
+ 3. Because `my_sub_user` is an instance of a `User` subclass, it is being revalidated. In this case, Pydantic coerces `my_sub_user` to the defined
561
+ `User` class defined on `Transaction`. If one of its fields had an invalid value, a validation error would have been raised.
562
+
563
+ /// version-added | v2
564
+ ///
565
+ """
566
+
567
+ ser_json_timedelta: Literal['iso8601', 'float']
568
+ """
569
+ The format of JSON serialized timedeltas. Accepts the string values of `'iso8601'` and
570
+ `'float'`. Defaults to `'iso8601'`.
571
+
572
+ - `'iso8601'` will serialize timedeltas to [ISO 8601 text format](https://en.wikipedia.org/wiki/ISO_8601#Durations).
573
+ - `'float'` will serialize timedeltas to the total number of seconds.
574
+
575
+ /// version-changed | v2.12
576
+ It is now recommended to use the [`ser_json_temporal`][pydantic.config.ConfigDict.ser_json_temporal]
577
+ setting. `ser_json_timedelta` will be deprecated in v3.
578
+ ///
579
+ """
580
+
581
+ ser_json_temporal: Literal['iso8601', 'seconds', 'milliseconds']
582
+ """
583
+ The format of JSON serialized temporal types from the [`datetime`][] module. This includes:
584
+
585
+ - [`datetime.datetime`][]
586
+ - [`datetime.date`][]
587
+ - [`datetime.time`][]
588
+ - [`datetime.timedelta`][]
589
+
590
+ Can be one of:
591
+
592
+ - `'iso8601'` will serialize date-like types to [ISO 8601 text format](https://en.wikipedia.org/wiki/ISO_8601#Durations).
593
+ - `'milliseconds'` will serialize date-like types to a floating point number of milliseconds since the epoch.
594
+ - `'seconds'` will serialize date-like types to a floating point number of seconds since the epoch.
595
+
596
+ Defaults to `'iso8601'`.
597
+
598
+ /// version-added | v2.12
599
+ This setting replaces [`ser_json_timedelta`][pydantic.config.ConfigDict.ser_json_timedelta],
600
+ which will be deprecated in v3. `ser_json_temporal` adds more configurability for the other temporal types.
601
+ ///
602
+ """
603
+
604
+ val_temporal_unit: Literal['seconds', 'milliseconds', 'infer']
605
+ """
606
+ The unit to assume for validating numeric input for datetime-like types ([`datetime.datetime`][] and [`datetime.date`][]). Can be one of:
607
+
608
+ - `'seconds'` will validate date or time numeric inputs as seconds since the [epoch].
609
+ - `'milliseconds'` will validate date or time numeric inputs as milliseconds since the [epoch].
610
+ - `'infer'` will infer the unit from the string numeric input on unix time as:
611
+
612
+ * seconds since the [epoch] if $-2^{10} <= v <= 2^{10}$
613
+ * milliseconds since the [epoch] (if $v < -2^{10}$ or $v > 2^{10}$).
614
+
615
+ Defaults to `'infer'`.
616
+
617
+ /// version-added | v2.12
618
+ ///
619
+
620
+ [epoch]: https://en.wikipedia.org/wiki/Unix_time
621
+ """
622
+
623
+ ser_json_bytes: Literal['utf8', 'base64', 'hex']
624
+ """
625
+ The encoding of JSON serialized bytes. Defaults to `'utf8'`.
626
+ Set equal to `val_json_bytes` to get back an equal value after serialization round trip.
627
+
628
+ - `'utf8'` will serialize bytes to UTF-8 strings.
629
+ - `'base64'` will serialize bytes to URL safe base64 strings.
630
+ - `'hex'` will serialize bytes to hexadecimal strings.
631
+ """
632
+
633
+ val_json_bytes: Literal['utf8', 'base64', 'hex']
634
+ """
635
+ /// version-added | v2.9
636
+ ///
637
+
638
+ The encoding of JSON serialized bytes to decode. Defaults to `'utf8'`.
639
+ Set equal to `ser_json_bytes` to get back an equal value after serialization round trip.
640
+
641
+ - `'utf8'` will deserialize UTF-8 strings to bytes.
642
+ - `'base64'` will deserialize URL safe base64 strings to bytes.
643
+ - `'hex'` will deserialize hexadecimal strings to bytes.
644
+ """
645
+
646
+ ser_json_inf_nan: Literal['null', 'constants', 'strings']
647
+ """
648
+ The encoding of JSON serialized infinity and NaN float values. Defaults to `'null'`.
649
+
650
+ - `'null'` will serialize infinity and NaN values as `null`.
651
+ - `'constants'` will serialize infinity and NaN values as `Infinity` and `NaN`.
652
+ - `'strings'` will serialize infinity as string `"Infinity"` and NaN as string `"NaN"`.
653
+ """
654
+
655
+ # whether to validate default values during validation, default False
656
+ validate_default: bool
657
+ """Whether to validate default values during validation. Defaults to `False`."""
658
+
659
+ validate_return: bool
660
+ """Whether to validate the return value from call validators. Defaults to `False`."""
661
+
662
+ protected_namespaces: tuple[str | Pattern[str], ...]
663
+ """
664
+ A tuple of strings and/or regex patterns that prevent models from having fields with names that conflict with its existing members/methods.
665
+
666
+ Strings are matched on a prefix basis. For instance, with `'dog'`, having a field named `'dog_name'` will be disallowed.
667
+
668
+ Regex patterns are matched on the entire field name. For instance, with the pattern `'^dog$'`, having a field named `'dog'` will be disallowed,
669
+ but `'dog_name'` will be accepted.
670
+
671
+ Defaults to `('model_validate', 'model_dump')`. This default is used to prevent collisions with the existing (and possibly future)
672
+ [validation](../concepts/models.md#validating-data) and [serialization](../concepts/serialization.md#serializing-data) methods.
673
+
674
+ ```python
675
+ import warnings
676
+
677
+ from pydantic import BaseModel
678
+
679
+ warnings.filterwarnings('error') # Raise warnings as errors
680
+
681
+ try:
682
+
683
+ class Model(BaseModel):
684
+ model_dump_something: str
685
+
686
+ except UserWarning as e:
687
+ print(e)
688
+ '''
689
+ Field 'model_dump_something' in 'Model' conflicts with protected namespace 'model_dump'.
690
+
691
+ You may be able to solve this by setting the 'protected_namespaces' configuration to ('model_validate',).
692
+ '''
693
+ ```
694
+
695
+ You can customize this behavior using the `protected_namespaces` setting:
696
+
697
+ ```python {test="skip"}
698
+ import re
699
+ import warnings
700
+
701
+ from pydantic import BaseModel, ConfigDict
702
+
703
+ with warnings.catch_warnings(record=True) as caught_warnings:
704
+ warnings.simplefilter('always') # Catch all warnings
705
+
706
+ class Model(BaseModel):
707
+ safe_field: str
708
+ also_protect_field: str
709
+ protect_this: str
710
+
711
+ model_config = ConfigDict(
712
+ protected_namespaces=(
713
+ 'protect_me_',
714
+ 'also_protect_',
715
+ re.compile('^protect_this$'),
716
+ )
717
+ )
718
+
719
+ for warning in caught_warnings:
720
+ print(f'{warning.message}')
721
+ '''
722
+ Field 'also_protect_field' in 'Model' conflicts with protected namespace 'also_protect_'.
723
+ You may be able to solve this by setting the 'protected_namespaces' configuration to ('protect_me_', re.compile('^protect_this$'))`.
724
+
725
+ Field 'protect_this' in 'Model' conflicts with protected namespace 're.compile('^protect_this$')'.
726
+ You may be able to solve this by setting the 'protected_namespaces' configuration to ('protect_me_', 'also_protect_')`.
727
+ '''
728
+ ```
729
+
730
+ While Pydantic will only emit a warning when an item is in a protected namespace but does not actually have a collision,
731
+ an error _is_ raised if there is an actual collision with an existing attribute:
732
+
733
+ ```python
734
+ from pydantic import BaseModel, ConfigDict
735
+
736
+ try:
737
+
738
+ class Model(BaseModel):
739
+ model_validate: str
740
+
741
+ model_config = ConfigDict(protected_namespaces=('model_',))
742
+
743
+ except ValueError as e:
744
+ print(e)
745
+ '''
746
+ Field 'model_validate' conflicts with member <bound method BaseModel.model_validate of <class 'pydantic.main.BaseModel'>> of protected namespace 'model_'.
747
+ '''
748
+ ```
749
+
750
+ /// version-changed | v2.10
751
+ The default protected namespaces was changed from `('model_',)` to `('model_validate', 'model_dump')`, to allow
752
+ for fields like `model_id`, `model_name` to be used.
753
+ ///
754
+ """
755
+
756
+ hide_input_in_errors: bool
757
+ """
758
+ Whether to hide inputs when printing errors. Defaults to `False`.
759
+
760
+ Pydantic shows the input value and type when it raises `ValidationError` during the validation.
761
+
762
+ ```python
763
+ from pydantic import BaseModel, ValidationError
764
+
765
+ class Model(BaseModel):
766
+ a: str
767
+
768
+ try:
769
+ Model(a=123)
770
+ except ValidationError as e:
771
+ print(e)
772
+ '''
773
+ 1 validation error for Model
774
+ a
775
+ Input should be a valid string [type=string_type, input_value=123, input_type=int]
776
+ '''
777
+ ```
778
+
779
+ You can hide the input value and type by setting the `hide_input_in_errors` config to `True`.
780
+
781
+ ```python
782
+ from pydantic import BaseModel, ConfigDict, ValidationError
783
+
784
+ class Model(BaseModel):
785
+ a: str
786
+ model_config = ConfigDict(hide_input_in_errors=True)
787
+
788
+ try:
789
+ Model(a=123)
790
+ except ValidationError as e:
791
+ print(e)
792
+ '''
793
+ 1 validation error for Model
794
+ a
795
+ Input should be a valid string [type=string_type]
796
+ '''
797
+ ```
798
+ """
799
+
800
+ defer_build: bool
801
+ """
802
+ Whether to defer model validator and serializer construction until the first model validation. Defaults to False.
803
+
804
+ This can be useful to avoid the overhead of building models which are only
805
+ used nested within other models, or when you want to manually define type namespace via
806
+ [`Model.model_rebuild(_types_namespace=...)`][pydantic.BaseModel.model_rebuild].
807
+
808
+ /// version-changed | v2.10
809
+ The setting also applies to [Pydantic dataclasses](../concepts/dataclasses.md) and [type adapters](../concepts/type_adapter.md).
810
+ ///
811
+ """
812
+
813
+ plugin_settings: dict[str, object] | None
814
+ """A `dict` of settings for plugins. Defaults to `None`."""
815
+
816
+ schema_generator: type[_GenerateSchema] | None
817
+ """
818
+ The `GenerateSchema` class to use during core schema generation.
819
+
820
+ /// version-deprecated | v2.10
821
+ The `GenerateSchema` class is private and highly subject to change.
822
+ ///
823
+ """
824
+
825
+ json_schema_serialization_defaults_required: bool
826
+ """
827
+ Whether fields with default values should be marked as required in the serialization schema. Defaults to `False`.
828
+
829
+ This ensures that the serialization schema will reflect the fact a field with a default will always be present
830
+ when serializing the model, even though it is not required for validation.
831
+
832
+ However, there are scenarios where this may be undesirable — in particular, if you want to share the schema
833
+ between validation and serialization, and don't mind fields with defaults being marked as not required during
834
+ serialization. See [#7209](https://github.com/pydantic/pydantic/issues/7209) for more details.
835
+
836
+ ```python
837
+ from pydantic import BaseModel, ConfigDict
838
+
839
+ class Model(BaseModel):
840
+ a: str = 'a'
841
+
842
+ model_config = ConfigDict(json_schema_serialization_defaults_required=True)
843
+
844
+ print(Model.model_json_schema(mode='validation'))
845
+ '''
846
+ {
847
+ 'properties': {'a': {'default': 'a', 'title': 'A', 'type': 'string'}},
848
+ 'title': 'Model',
849
+ 'type': 'object',
850
+ }
851
+ '''
852
+ print(Model.model_json_schema(mode='serialization'))
853
+ '''
854
+ {
855
+ 'properties': {'a': {'default': 'a', 'title': 'A', 'type': 'string'}},
856
+ 'required': ['a'],
857
+ 'title': 'Model',
858
+ 'type': 'object',
859
+ }
860
+ '''
861
+ ```
862
+
863
+ /// version-added | v2.4
864
+ ///
865
+ """
866
+
867
+ json_schema_mode_override: Literal['validation', 'serialization', None]
868
+ """
869
+ If not `None`, the specified mode will be used to generate the JSON schema regardless of what `mode` was passed to
870
+ the function call. Defaults to `None`.
871
+
872
+ This provides a way to force the JSON schema generation to reflect a specific mode, e.g., to always use the
873
+ validation schema.
874
+
875
+ It can be useful when using frameworks (such as FastAPI) that may generate different schemas for validation
876
+ and serialization that must both be referenced from the same schema; when this happens, we automatically append
877
+ `-Input` to the definition reference for the validation schema and `-Output` to the definition reference for the
878
+ serialization schema. By specifying a `json_schema_mode_override` though, this prevents the conflict between
879
+ the validation and serialization schemas (since both will use the specified schema), and so prevents the suffixes
880
+ from being added to the definition references.
881
+
882
+ ```python
883
+ from pydantic import BaseModel, ConfigDict, Json
884
+
885
+ class Model(BaseModel):
886
+ a: Json[int] # requires a string to validate, but will dump an int
887
+
888
+ print(Model.model_json_schema(mode='serialization'))
889
+ '''
890
+ {
891
+ 'properties': {'a': {'title': 'A', 'type': 'integer'}},
892
+ 'required': ['a'],
893
+ 'title': 'Model',
894
+ 'type': 'object',
895
+ }
896
+ '''
897
+
898
+ class ForceInputModel(Model):
899
+ # the following ensures that even with mode='serialization', we
900
+ # will get the schema that would be generated for validation.
901
+ model_config = ConfigDict(json_schema_mode_override='validation')
902
+
903
+ print(ForceInputModel.model_json_schema(mode='serialization'))
904
+ '''
905
+ {
906
+ 'properties': {
907
+ 'a': {
908
+ 'contentMediaType': 'application/json',
909
+ 'contentSchema': {'type': 'integer'},
910
+ 'title': 'A',
911
+ 'type': 'string',
912
+ }
913
+ },
914
+ 'required': ['a'],
915
+ 'title': 'ForceInputModel',
916
+ 'type': 'object',
917
+ }
918
+ '''
919
+ ```
920
+
921
+ /// version-added | v2.4
922
+ ///
923
+ """
924
+
925
+ coerce_numbers_to_str: bool
926
+ """
927
+ If `True`, enables automatic coercion of any `Number` type to `str` in "lax" (non-strict) mode. Defaults to `False`.
928
+
929
+ Pydantic doesn't allow number types (`int`, `float`, `Decimal`) to be coerced as type `str` by default.
930
+
931
+ ```python
932
+ from decimal import Decimal
933
+
934
+ from pydantic import BaseModel, ConfigDict, ValidationError
935
+
936
+ class Model(BaseModel):
937
+ value: str
938
+
939
+ try:
940
+ print(Model(value=42))
941
+ except ValidationError as e:
942
+ print(e)
943
+ '''
944
+ 1 validation error for Model
945
+ value
946
+ Input should be a valid string [type=string_type, input_value=42, input_type=int]
947
+ '''
948
+
949
+ class Model(BaseModel):
950
+ model_config = ConfigDict(coerce_numbers_to_str=True)
951
+
952
+ value: str
953
+
954
+ repr(Model(value=42).value)
955
+ #> "42"
956
+ repr(Model(value=42.13).value)
957
+ #> "42.13"
958
+ repr(Model(value=Decimal('42.13')).value)
959
+ #> "42.13"
960
+ ```
961
+ """
962
+
963
+ regex_engine: Literal['rust-regex', 'python-re']
964
+ """
965
+ The regex engine to be used for pattern validation.
966
+ Defaults to `'rust-regex'`.
967
+
968
+ - `'rust-regex'` uses the [`regex`](https://docs.rs/regex) Rust crate,
969
+ which is non-backtracking and therefore more DDoS resistant, but does not support all regex features.
970
+ - `'python-re'` use the [`re`][] module, which supports all regex features, but may be slower.
971
+
972
+ !!! note
973
+ If you use a compiled regex pattern, the `'python-re'` engine will be used regardless of this setting.
974
+ This is so that flags such as [`re.IGNORECASE`][] are respected.
975
+
976
+ ```python
977
+ from pydantic import BaseModel, ConfigDict, Field, ValidationError
978
+
979
+ class Model(BaseModel):
980
+ model_config = ConfigDict(regex_engine='python-re')
981
+
982
+ value: str = Field(pattern=r'^abc(?=def)')
983
+
984
+ print(Model(value='abcdef').value)
985
+ #> abcdef
986
+
987
+ try:
988
+ print(Model(value='abxyzcdef'))
989
+ except ValidationError as e:
990
+ print(e)
991
+ '''
992
+ 1 validation error for Model
993
+ value
994
+ String should match pattern '^abc(?=def)' [type=string_pattern_mismatch, input_value='abxyzcdef', input_type=str]
995
+ '''
996
+ ```
997
+
998
+ /// version-added | v2.5
999
+ ///
1000
+ """
1001
+
1002
+ validation_error_cause: bool
1003
+ """
1004
+ If `True`, Python exceptions that were part of a validation failure will be shown as an exception group as a cause. Can be useful for debugging. Defaults to `False`.
1005
+
1006
+ Note:
1007
+ Python 3.10 and older don't support exception groups natively. <=3.10, backport must be installed: `pip install exceptiongroup`.
1008
+
1009
+ Note:
1010
+ The structure of validation errors are likely to change in future Pydantic versions. Pydantic offers no guarantees about their structure. Should be used for visual traceback debugging only.
1011
+
1012
+ /// version-added | v2.5
1013
+ ///
1014
+ """
1015
+
1016
+ use_attribute_docstrings: bool
1017
+ '''
1018
+ Whether docstrings of attributes (bare string literals immediately following the attribute declaration)
1019
+ should be used for field descriptions. Defaults to `False`.
1020
+
1021
+ ```python
1022
+ from pydantic import BaseModel, ConfigDict, Field
1023
+
1024
+
1025
+ class Model(BaseModel):
1026
+ model_config = ConfigDict(use_attribute_docstrings=True)
1027
+
1028
+ x: str
1029
+ """
1030
+ Example of an attribute docstring
1031
+ """
1032
+
1033
+ y: int = Field(description="Description in Field")
1034
+ """
1035
+ Description in Field overrides attribute docstring
1036
+ """
1037
+
1038
+
1039
+ print(Model.model_fields["x"].description)
1040
+ # > Example of an attribute docstring
1041
+ print(Model.model_fields["y"].description)
1042
+ # > Description in Field
1043
+ ```
1044
+ This requires the source code of the class to be available at runtime (and so won't work in the interactive interpreter shell).
1045
+
1046
+ !!! warning "Usage with `TypedDict` and stdlib dataclasses"
1047
+ Due to current limitations, attribute docstrings detection may not work as expected when using
1048
+ [`TypedDict`][typing.TypedDict] and stdlib dataclasses, in particular when:
1049
+
1050
+ - inheritance is being used.
1051
+ - multiple classes have the same name in the same source file (unless Python 3.13 or greater is used).
1052
+
1053
+ /// version-added | v2.7
1054
+ ///
1055
+ '''
1056
+
1057
+ cache_strings: bool | Literal['all', 'keys', 'none']
1058
+ """
1059
+ Whether to cache strings to avoid constructing new Python objects. Defaults to True.
1060
+
1061
+ Enabling this setting should significantly improve validation performance while increasing memory usage slightly.
1062
+
1063
+ - `True` or `'all'` (the default): cache all strings
1064
+ - `'keys'`: cache only dictionary keys
1065
+ - `False` or `'none'`: no caching
1066
+
1067
+ !!! note
1068
+ `True` or `'all'` is required to cache strings during general validation because
1069
+ validators don't know if they're in a key or a value.
1070
+
1071
+ !!! tip
1072
+ If repeated strings are rare, it's recommended to use `'keys'` or `'none'` to reduce memory usage,
1073
+ as the performance difference is minimal if repeated strings are rare.
1074
+
1075
+ /// version-added | v2.7
1076
+ ///
1077
+ """
1078
+
1079
+ validate_by_alias: bool
1080
+ """
1081
+ Whether an aliased field may be populated by its alias. Defaults to `True`.
1082
+
1083
+ Here's an example of disabling validation by alias:
1084
+
1085
+ ```py
1086
+ from pydantic import BaseModel, ConfigDict, Field
1087
+
1088
+ class Model(BaseModel):
1089
+ model_config = ConfigDict(validate_by_name=True, validate_by_alias=False)
1090
+
1091
+ my_field: str = Field(validation_alias='my_alias') # (1)!
1092
+
1093
+ m = Model(my_field='foo') # (2)!
1094
+ print(m)
1095
+ #> my_field='foo'
1096
+ ```
1097
+
1098
+ 1. The field `'my_field'` has an alias `'my_alias'`.
1099
+ 2. The model can only be populated by the attribute name `'my_field'`.
1100
+
1101
+ !!! warning
1102
+ You cannot set both `validate_by_alias` and `validate_by_name` to `False`.
1103
+ This would make it impossible to populate an attribute.
1104
+
1105
+ See [usage errors](../errors/usage_errors.md#validate-by-alias-and-name-false) for an example.
1106
+
1107
+ If you set `validate_by_alias` to `False`, under the hood, Pydantic dynamically sets
1108
+ `validate_by_name` to `True` to ensure that validation can still occur.
1109
+
1110
+ /// version-added | v2.11
1111
+ This setting was introduced in conjunction with [`validate_by_name`][pydantic.ConfigDict.validate_by_name]
1112
+ to empower users with more fine grained validation control.
1113
+ ///
1114
+ """
1115
+
1116
+ validate_by_name: bool
1117
+ """
1118
+ Whether an aliased field may be populated by its name as given by the model
1119
+ attribute. Defaults to `False`.
1120
+
1121
+ ```python
1122
+ from pydantic import BaseModel, ConfigDict, Field
1123
+
1124
+ class Model(BaseModel):
1125
+ model_config = ConfigDict(validate_by_name=True, validate_by_alias=True)
1126
+
1127
+ my_field: str = Field(validation_alias='my_alias') # (1)!
1128
+
1129
+ m = Model(my_alias='foo') # (2)!
1130
+ print(m)
1131
+ #> my_field='foo'
1132
+
1133
+ m = Model(my_field='foo') # (3)!
1134
+ print(m)
1135
+ #> my_field='foo'
1136
+ ```
1137
+
1138
+ 1. The field `'my_field'` has an alias `'my_alias'`.
1139
+ 2. The model is populated by the alias `'my_alias'`.
1140
+ 3. The model is populated by the attribute name `'my_field'`.
1141
+
1142
+ !!! warning
1143
+ You cannot set both `validate_by_alias` and `validate_by_name` to `False`.
1144
+ This would make it impossible to populate an attribute.
1145
+
1146
+ See [usage errors](../errors/usage_errors.md#validate-by-alias-and-name-false) for an example.
1147
+
1148
+ /// version-added | v2.11
1149
+ This setting was introduced in conjunction with [`validate_by_alias`][pydantic.ConfigDict.validate_by_alias]
1150
+ to empower users with more fine grained validation control. It is an alternative to [`populate_by_name`][pydantic.ConfigDict.populate_by_name],
1151
+ that enables validation by name **and** by alias.
1152
+ ///
1153
+ """
1154
+
1155
+ serialize_by_alias: bool
1156
+ """
1157
+ Whether an aliased field should be serialized by its alias. Defaults to `False`.
1158
+
1159
+ Note: In v2.11, `serialize_by_alias` was introduced to address the
1160
+ [popular request](https://github.com/pydantic/pydantic/issues/8379)
1161
+ for consistency with alias behavior for validation and serialization settings.
1162
+ In v3, the default value is expected to change to `True` for consistency with the validation default.
1163
+
1164
+ ```python
1165
+ from pydantic import BaseModel, ConfigDict, Field
1166
+
1167
+ class Model(BaseModel):
1168
+ model_config = ConfigDict(serialize_by_alias=True)
1169
+
1170
+ my_field: str = Field(serialization_alias='my_alias') # (1)!
1171
+
1172
+ m = Model(my_field='foo')
1173
+ print(m.model_dump()) # (2)!
1174
+ #> {'my_alias': 'foo'}
1175
+ ```
1176
+
1177
+ 1. The field `'my_field'` has an alias `'my_alias'`.
1178
+ 2. The model is serialized using the alias `'my_alias'` for the `'my_field'` attribute.
1179
+
1180
+
1181
+ /// version-added | v2.11
1182
+ This setting was introduced to address the [popular request](https://github.com/pydantic/pydantic/issues/8379)
1183
+ for consistency with alias behavior for validation and serialization.
1184
+
1185
+ In v3, the default value is expected to change to `True` for consistency with the validation default.
1186
+ ///
1187
+ """
1188
+
1189
+ url_preserve_empty_path: bool
1190
+ """
1191
+ Whether to preserve empty URL paths when validating values for a URL type. Defaults to `False`.
1192
+
1193
+ ```python
1194
+ from pydantic import AnyUrl, BaseModel, ConfigDict
1195
+
1196
+ class Model(BaseModel):
1197
+ model_config = ConfigDict(url_preserve_empty_path=True)
1198
+
1199
+ url: AnyUrl
1200
+
1201
+ m = Model(url='http://example.com')
1202
+ print(m.url)
1203
+ #> http://example.com
1204
+ ```
1205
+
1206
+ /// version-added | v2.12
1207
+ ///
1208
+ """
1209
+
1210
+ polymorphic_serialization: bool
1211
+ """
1212
+ Whether to use polymorphic serialization for subclasses of the model or Pydantic dataclass. Defaults to `False`.
1213
+ """
1214
+
1215
+
1216
+ _TypeT = TypeVar('_TypeT', bound=type)
1217
+
1218
+
1219
+ @overload
1220
+ @deprecated('Passing `config` as a keyword argument is deprecated. Pass `config` as a positional argument instead.')
1221
+ def with_config(*, config: ConfigDict) -> Callable[[_TypeT], _TypeT]: ...
1222
+
1223
+
1224
+ @overload
1225
+ def with_config(config: ConfigDict, /) -> Callable[[_TypeT], _TypeT]: ...
1226
+
1227
+
1228
+ @overload
1229
+ def with_config(**config: Unpack[ConfigDict]) -> Callable[[_TypeT], _TypeT]: ...
1230
+
1231
+
1232
+ def with_config(config: ConfigDict | None = None, /, **kwargs: Any) -> Callable[[_TypeT], _TypeT]:
1233
+ """!!! abstract "Usage Documentation"
1234
+ [Configuration with other types](../concepts/config.md#configuration-on-other-supported-types)
1235
+
1236
+ A convenience decorator to set a [Pydantic configuration](config.md) on a `TypedDict` or a `dataclass` from the standard library.
1237
+
1238
+ Although the configuration can be set using the `__pydantic_config__` attribute, it does not play well with type checkers,
1239
+ especially with `TypedDict`.
1240
+
1241
+ !!! example "Usage"
1242
+
1243
+ ```python
1244
+ from typing_extensions import TypedDict
1245
+
1246
+ from pydantic import ConfigDict, TypeAdapter, with_config
1247
+
1248
+ @with_config(ConfigDict(str_to_lower=True))
1249
+ class TD(TypedDict):
1250
+ x: str
1251
+
1252
+ ta = TypeAdapter(TD)
1253
+
1254
+ print(ta.validate_python({'x': 'ABC'}))
1255
+ #> {'x': 'abc'}
1256
+ ```
1257
+
1258
+ /// deprecated-removed | v2.11 v3
1259
+ Passing `config` as a keyword argument.
1260
+ ///
1261
+
1262
+ /// version-changed | v2.11
1263
+ Keyword arguments can be provided directly instead of a config dictionary.
1264
+ ///
1265
+ """
1266
+ if config is not None and kwargs:
1267
+ raise ValueError('Cannot specify both `config` and keyword arguments')
1268
+
1269
+ if len(kwargs) == 1 and (kwargs_conf := kwargs.get('config')) is not None:
1270
+ warnings.warn(
1271
+ 'Passing `config` as a keyword argument is deprecated. Pass `config` as a positional argument instead',
1272
+ category=PydanticDeprecatedSince211,
1273
+ stacklevel=2,
1274
+ )
1275
+ final_config = cast(ConfigDict, kwargs_conf)
1276
+ else:
1277
+ final_config = config if config is not None else cast(ConfigDict, kwargs)
1278
+
1279
+ def inner(class_: _TypeT, /) -> _TypeT:
1280
+ # Ideally, we would check for `class_` to either be a `TypedDict` or a stdlib dataclass.
1281
+ # However, the `@with_config` decorator can be applied *after* `@dataclass`. To avoid
1282
+ # common mistakes, we at least check for `class_` to not be a Pydantic model.
1283
+ from ._internal._utils import is_model_class
1284
+
1285
+ if is_model_class(class_):
1286
+ raise PydanticUserError(
1287
+ f'Cannot use `with_config` on {class_.__name__} as it is a Pydantic model',
1288
+ code='with-config-on-model',
1289
+ )
1290
+ class_.__pydantic_config__ = final_config
1291
+ return class_
1292
+
1293
+ return inner
1294
+
1295
+
1296
+ __getattr__ = getattr_migration(__name__)