jasonfan commited on
Commit
8d98ffb
·
verified ·
1 Parent(s): 4553dcf

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. miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/INSTALLER +1 -0
  2. miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/METADATA +272 -0
  3. miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/RECORD +17 -0
  4. miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/REQUESTED +0 -0
  5. miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/WHEEL +5 -0
  6. miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/direct_url.json +1 -0
  7. miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/licenses/COPYING +14 -0
  8. miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/top_level.txt +1 -0
  9. miniconda3/lib/python3.13/site-packages/msgpack/ext.py +170 -0
  10. miniconda3/lib/python3.13/site-packages/msgpack/fallback.py +929 -0
  11. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/INSTALLER +1 -0
  12. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/METADATA +105 -0
  13. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/RECORD +42 -0
  14. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/REQUESTED +0 -0
  15. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/WHEEL +4 -0
  16. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/direct_url.json +1 -0
  17. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/licenses/LICENSE +3 -0
  18. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/licenses/LICENSE.APACHE +177 -0
  19. miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/licenses/LICENSE.BSD +23 -0
  20. miniconda3/lib/python3.13/site-packages/packaging/__init__.py +15 -0
  21. miniconda3/lib/python3.13/site-packages/packaging/_elffile.py +109 -0
  22. miniconda3/lib/python3.13/site-packages/packaging/_manylinux.py +262 -0
  23. miniconda3/lib/python3.13/site-packages/packaging/_musllinux.py +85 -0
  24. miniconda3/lib/python3.13/site-packages/packaging/_parser.py +353 -0
  25. miniconda3/lib/python3.13/site-packages/packaging/_structures.py +61 -0
  26. miniconda3/lib/python3.13/site-packages/packaging/_tokenizer.py +195 -0
  27. miniconda3/lib/python3.13/site-packages/packaging/licenses/__init__.py +145 -0
  28. miniconda3/lib/python3.13/site-packages/packaging/licenses/_spdx.py +759 -0
  29. miniconda3/lib/python3.13/site-packages/packaging/markers.py +362 -0
  30. miniconda3/lib/python3.13/site-packages/packaging/metadata.py +862 -0
  31. miniconda3/lib/python3.13/site-packages/packaging/py.typed +0 -0
  32. miniconda3/lib/python3.13/site-packages/packaging/requirements.py +91 -0
  33. miniconda3/lib/python3.13/site-packages/packaging/specifiers.py +1019 -0
  34. miniconda3/lib/python3.13/site-packages/packaging/tags.py +656 -0
  35. miniconda3/lib/python3.13/site-packages/packaging/utils.py +163 -0
  36. miniconda3/lib/python3.13/site-packages/packaging/version.py +582 -0
  37. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/INSTALLER +1 -0
  38. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/METADATA +111 -0
  39. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/RECORD +879 -0
  40. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/REQUESTED +0 -0
  41. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/WHEEL +4 -0
  42. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/direct_url.json +1 -0
  43. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/entry_points.txt +4 -0
  44. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/AUTHORS.txt +860 -0
  45. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/LICENSE.txt +20 -0
  46. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  47. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
  48. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
  49. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
  50. miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ conda
miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/METADATA ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: msgpack
3
+ Version: 1.1.1
4
+ Summary: MessagePack serializer
5
+ Author-email: Inada Naoki <songofacandy@gmail.com>
6
+ License: Apache 2.0
7
+ Project-URL: Homepage, https://msgpack.org/
8
+ Project-URL: Documentation, https://msgpack-python.readthedocs.io/
9
+ Project-URL: Repository, https://github.com/msgpack/msgpack-python/
10
+ Project-URL: Tracker, https://github.com/msgpack/msgpack-python/issues
11
+ Project-URL: Changelog, https://github.com/msgpack/msgpack-python/blob/main/ChangeLog.rst
12
+ Keywords: msgpack,messagepack,serializer,serialization,binary
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Topic :: File Formats
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Programming Language :: Python :: Implementation :: CPython
25
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
26
+ Requires-Python: >=3.8
27
+ Description-Content-Type: text/markdown
28
+ License-File: COPYING
29
+ Dynamic: license-file
30
+
31
+ # MessagePack for Python
32
+
33
+ [![Build Status](https://github.com/msgpack/msgpack-python/actions/workflows/wheel.yml/badge.svg)](https://github.com/msgpack/msgpack-python/actions/workflows/wheel.yml)
34
+ [![Documentation Status](https://readthedocs.org/projects/msgpack-python/badge/?version=latest)](https://msgpack-python.readthedocs.io/en/latest/?badge=latest)
35
+
36
+ ## What's this
37
+
38
+ [MessagePack](https://msgpack.org/) is an efficient binary serialization format.
39
+ It lets you exchange data among multiple languages like JSON.
40
+ But it's faster and smaller.
41
+ This package provides CPython bindings for reading and writing MessagePack data.
42
+
43
+ ## Install
44
+
45
+ ```
46
+ $ pip install msgpack
47
+ ```
48
+
49
+ ### Pure Python implementation
50
+
51
+ The extension module in msgpack (`msgpack._cmsgpack`) does not support PyPy.
52
+
53
+ But msgpack provides a pure Python implementation (`msgpack.fallback`) for PyPy.
54
+
55
+
56
+ ### Windows
57
+
58
+ When you can't use a binary distribution, you need to install Visual Studio
59
+ or Windows SDK on Windows.
60
+ Without extension, using pure Python implementation on CPython runs slowly.
61
+
62
+
63
+ ## How to use
64
+
65
+ ### One-shot pack & unpack
66
+
67
+ Use `packb` for packing and `unpackb` for unpacking.
68
+ msgpack provides `dumps` and `loads` as an alias for compatibility with
69
+ `json` and `pickle`.
70
+
71
+ `pack` and `dump` packs to a file-like object.
72
+ `unpack` and `load` unpacks from a file-like object.
73
+
74
+ ```pycon
75
+ >>> import msgpack
76
+ >>> msgpack.packb([1, 2, 3])
77
+ '\x93\x01\x02\x03'
78
+ >>> msgpack.unpackb(_)
79
+ [1, 2, 3]
80
+ ```
81
+
82
+ Read the docstring for options.
83
+
84
+
85
+ ### Streaming unpacking
86
+
87
+ `Unpacker` is a "streaming unpacker". It unpacks multiple objects from one
88
+ stream (or from bytes provided through its `feed` method).
89
+
90
+ ```py
91
+ import msgpack
92
+ from io import BytesIO
93
+
94
+ buf = BytesIO()
95
+ for i in range(100):
96
+ buf.write(msgpack.packb(i))
97
+
98
+ buf.seek(0)
99
+
100
+ unpacker = msgpack.Unpacker(buf)
101
+ for unpacked in unpacker:
102
+ print(unpacked)
103
+ ```
104
+
105
+
106
+ ### Packing/unpacking of custom data type
107
+
108
+ It is also possible to pack/unpack custom data types. Here is an example for
109
+ `datetime.datetime`.
110
+
111
+ ```py
112
+ import datetime
113
+ import msgpack
114
+
115
+ useful_dict = {
116
+ "id": 1,
117
+ "created": datetime.datetime.now(),
118
+ }
119
+
120
+ def decode_datetime(obj):
121
+ if '__datetime__' in obj:
122
+ obj = datetime.datetime.strptime(obj["as_str"], "%Y%m%dT%H:%M:%S.%f")
123
+ return obj
124
+
125
+ def encode_datetime(obj):
126
+ if isinstance(obj, datetime.datetime):
127
+ return {'__datetime__': True, 'as_str': obj.strftime("%Y%m%dT%H:%M:%S.%f")}
128
+ return obj
129
+
130
+
131
+ packed_dict = msgpack.packb(useful_dict, default=encode_datetime)
132
+ this_dict_again = msgpack.unpackb(packed_dict, object_hook=decode_datetime)
133
+ ```
134
+
135
+ `Unpacker`'s `object_hook` callback receives a dict; the
136
+ `object_pairs_hook` callback may instead be used to receive a list of
137
+ key-value pairs.
138
+
139
+ NOTE: msgpack can encode datetime with tzinfo into standard ext type for now.
140
+ See `datetime` option in `Packer` docstring.
141
+
142
+
143
+ ### Extended types
144
+
145
+ It is also possible to pack/unpack custom data types using the **ext** type.
146
+
147
+ ```pycon
148
+ >>> import msgpack
149
+ >>> import array
150
+ >>> def default(obj):
151
+ ... if isinstance(obj, array.array) and obj.typecode == 'd':
152
+ ... return msgpack.ExtType(42, obj.tostring())
153
+ ... raise TypeError("Unknown type: %r" % (obj,))
154
+ ...
155
+ >>> def ext_hook(code, data):
156
+ ... if code == 42:
157
+ ... a = array.array('d')
158
+ ... a.fromstring(data)
159
+ ... return a
160
+ ... return ExtType(code, data)
161
+ ...
162
+ >>> data = array.array('d', [1.2, 3.4])
163
+ >>> packed = msgpack.packb(data, default=default)
164
+ >>> unpacked = msgpack.unpackb(packed, ext_hook=ext_hook)
165
+ >>> data == unpacked
166
+ True
167
+ ```
168
+
169
+
170
+ ### Advanced unpacking control
171
+
172
+ As an alternative to iteration, `Unpacker` objects provide `unpack`,
173
+ `skip`, `read_array_header` and `read_map_header` methods. The former two
174
+ read an entire message from the stream, respectively de-serialising and returning
175
+ the result, or ignoring it. The latter two methods return the number of elements
176
+ in the upcoming container, so that each element in an array, or key-value pair
177
+ in a map, can be unpacked or skipped individually.
178
+
179
+
180
+ ## Notes
181
+
182
+ ### string and binary type in old msgpack spec
183
+
184
+ Early versions of msgpack didn't distinguish string and binary types.
185
+ The type for representing both string and binary types was named **raw**.
186
+
187
+ You can pack into and unpack from this old spec using `use_bin_type=False`
188
+ and `raw=True` options.
189
+
190
+ ```pycon
191
+ >>> import msgpack
192
+ >>> msgpack.unpackb(msgpack.packb([b'spam', 'eggs'], use_bin_type=False), raw=True)
193
+ [b'spam', b'eggs']
194
+ >>> msgpack.unpackb(msgpack.packb([b'spam', 'eggs'], use_bin_type=True), raw=False)
195
+ [b'spam', 'eggs']
196
+ ```
197
+
198
+ ### ext type
199
+
200
+ To use the **ext** type, pass `msgpack.ExtType` object to packer.
201
+
202
+ ```pycon
203
+ >>> import msgpack
204
+ >>> packed = msgpack.packb(msgpack.ExtType(42, b'xyzzy'))
205
+ >>> msgpack.unpackb(packed)
206
+ ExtType(code=42, data='xyzzy')
207
+ ```
208
+
209
+ You can use it with `default` and `ext_hook`. See below.
210
+
211
+
212
+ ### Security
213
+
214
+ To unpacking data received from unreliable source, msgpack provides
215
+ two security options.
216
+
217
+ `max_buffer_size` (default: `100*1024*1024`) limits the internal buffer size.
218
+ It is used to limit the preallocated list size too.
219
+
220
+ `strict_map_key` (default: `True`) limits the type of map keys to bytes and str.
221
+ While msgpack spec doesn't limit the types of the map keys,
222
+ there is a risk of the hashdos.
223
+ If you need to support other types for map keys, use `strict_map_key=False`.
224
+
225
+
226
+ ### Performance tips
227
+
228
+ CPython's GC starts when growing allocated object.
229
+ This means unpacking may cause useless GC.
230
+ You can use `gc.disable()` when unpacking large message.
231
+
232
+ List is the default sequence type of Python.
233
+ But tuple is lighter than list.
234
+ You can use `use_list=False` while unpacking when performance is important.
235
+
236
+
237
+ ## Major breaking changes in the history
238
+
239
+ ### msgpack 0.5
240
+
241
+ Package name on PyPI was changed from `msgpack-python` to `msgpack` from 0.5.
242
+
243
+ When upgrading from msgpack-0.4 or earlier, do `pip uninstall msgpack-python` before
244
+ `pip install -U msgpack`.
245
+
246
+
247
+ ### msgpack 1.0
248
+
249
+ * Python 2 support
250
+
251
+ * The extension module does not support Python 2 anymore.
252
+ The pure Python implementation (`msgpack.fallback`) is used for Python 2.
253
+
254
+ * msgpack 1.0.6 drops official support of Python 2.7, as pip and
255
+ GitHub Action (setup-python) no longer support Python 2.7.
256
+
257
+ * Packer
258
+
259
+ * Packer uses `use_bin_type=True` by default.
260
+ Bytes are encoded in bin type in msgpack.
261
+ * The `encoding` option is removed. UTF-8 is used always.
262
+
263
+ * Unpacker
264
+
265
+ * Unpacker uses `raw=False` by default. It assumes str types are valid UTF-8 string
266
+ and decode them to Python str (unicode) object.
267
+ * `encoding` option is removed. You can use `raw=True` to support old format (e.g. unpack into bytes, not str).
268
+ * Default value of `max_buffer_size` is changed from 0 to 100 MiB to avoid DoS attack.
269
+ You need to pass `max_buffer_size=0` if you have large but safe data.
270
+ * Default value of `strict_map_key` is changed to True to avoid hashdos.
271
+ You need to pass `strict_map_key=False` if you have data which contain map keys
272
+ which type is not bytes or str.
miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/RECORD ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgpack-1.1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ msgpack-1.1.1.dist-info/METADATA,sha256=xR8Th3-hQ5cUO1ANM5u28wpE2SDUViUoTojrjQd1rBA,8365
3
+ msgpack-1.1.1.dist-info/RECORD,,
4
+ msgpack-1.1.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ msgpack-1.1.1.dist-info/WHEEL,sha256=OlISbtpDcfagPrLwG7WtpcZbPTUnoKPnwphA_26fNqE,104
6
+ msgpack-1.1.1.dist-info/direct_url.json,sha256=ApLeY-r90I3sRaXmkIehbr7Khq7oiRFxZBrSs9ABGho,74
7
+ msgpack-1.1.1.dist-info/licenses/COPYING,sha256=SS3tuoXaWHL3jmCRvNH-pHTWYNNay03ulkuKqz8AdCc,614
8
+ msgpack-1.1.1.dist-info/top_level.txt,sha256=2tykSY1pXdiA2xYTDR6jPw0qI5ZGxRihyhf4S5hZyXk,8
9
+ msgpack/__init__.py,sha256=q2T5PRsITVpeytgS0WiSqok9IY8V_aFiC8VVlXTCTgA,1109
10
+ msgpack/__pycache__/__init__.cpython-313.pyc,,
11
+ msgpack/__pycache__/exceptions.cpython-313.pyc,,
12
+ msgpack/__pycache__/ext.cpython-313.pyc,,
13
+ msgpack/__pycache__/fallback.cpython-313.pyc,,
14
+ msgpack/_cmsgpack.cpython-313-x86_64-linux-gnu.so,sha256=kvu3r61UqOy0WT-UMu91v-l22y5FVoo1OZ5FU0r9TGI,210336
15
+ msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
16
+ msgpack/ext.py,sha256=kteJv03n9tYzd5oo3xYopVTo4vRaAxonBQQJhXohZZo,5726
17
+ msgpack/fallback.py,sha256=0g1Pzp0vtmBEmJ5w9F3s_-JMVURP8RS4G1cc5TRaAsI,32390
miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/REQUESTED ADDED
File without changes
miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/WHEEL ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (78.1.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-linux_x86_64
5
+
miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/direct_url.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"dir_info": {}, "url": "file:///croot/msgpack-python_1750958623279/work"}
miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/licenses/COPYING ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (C) 2008-2011 INADA Naoki <songofacandy@gmail.com>
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+
miniconda3/lib/python3.13/site-packages/msgpack-1.1.1.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ msgpack
miniconda3/lib/python3.13/site-packages/msgpack/ext.py ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import datetime
2
+ import struct
3
+ from collections import namedtuple
4
+
5
+
6
+ class ExtType(namedtuple("ExtType", "code data")):
7
+ """ExtType represents ext type in msgpack."""
8
+
9
+ def __new__(cls, code, data):
10
+ if not isinstance(code, int):
11
+ raise TypeError("code must be int")
12
+ if not isinstance(data, bytes):
13
+ raise TypeError("data must be bytes")
14
+ if not 0 <= code <= 127:
15
+ raise ValueError("code must be 0~127")
16
+ return super().__new__(cls, code, data)
17
+
18
+
19
+ class Timestamp:
20
+ """Timestamp represents the Timestamp extension type in msgpack.
21
+
22
+ When built with Cython, msgpack uses C methods to pack and unpack `Timestamp`.
23
+ When using pure-Python msgpack, :func:`to_bytes` and :func:`from_bytes` are used to pack and
24
+ unpack `Timestamp`.
25
+
26
+ This class is immutable: Do not override seconds and nanoseconds.
27
+ """
28
+
29
+ __slots__ = ["seconds", "nanoseconds"]
30
+
31
+ def __init__(self, seconds, nanoseconds=0):
32
+ """Initialize a Timestamp object.
33
+
34
+ :param int seconds:
35
+ Number of seconds since the UNIX epoch (00:00:00 UTC Jan 1 1970, minus leap seconds).
36
+ May be negative.
37
+
38
+ :param int nanoseconds:
39
+ Number of nanoseconds to add to `seconds` to get fractional time.
40
+ Maximum is 999_999_999. Default is 0.
41
+
42
+ Note: Negative times (before the UNIX epoch) are represented as neg. seconds + pos. ns.
43
+ """
44
+ if not isinstance(seconds, int):
45
+ raise TypeError("seconds must be an integer")
46
+ if not isinstance(nanoseconds, int):
47
+ raise TypeError("nanoseconds must be an integer")
48
+ if not (0 <= nanoseconds < 10**9):
49
+ raise ValueError("nanoseconds must be a non-negative integer less than 999999999.")
50
+ self.seconds = seconds
51
+ self.nanoseconds = nanoseconds
52
+
53
+ def __repr__(self):
54
+ """String representation of Timestamp."""
55
+ return f"Timestamp(seconds={self.seconds}, nanoseconds={self.nanoseconds})"
56
+
57
+ def __eq__(self, other):
58
+ """Check for equality with another Timestamp object"""
59
+ if type(other) is self.__class__:
60
+ return self.seconds == other.seconds and self.nanoseconds == other.nanoseconds
61
+ return False
62
+
63
+ def __ne__(self, other):
64
+ """not-equals method (see :func:`__eq__()`)"""
65
+ return not self.__eq__(other)
66
+
67
+ def __hash__(self):
68
+ return hash((self.seconds, self.nanoseconds))
69
+
70
+ @staticmethod
71
+ def from_bytes(b):
72
+ """Unpack bytes into a `Timestamp` object.
73
+
74
+ Used for pure-Python msgpack unpacking.
75
+
76
+ :param b: Payload from msgpack ext message with code -1
77
+ :type b: bytes
78
+
79
+ :returns: Timestamp object unpacked from msgpack ext payload
80
+ :rtype: Timestamp
81
+ """
82
+ if len(b) == 4:
83
+ seconds = struct.unpack("!L", b)[0]
84
+ nanoseconds = 0
85
+ elif len(b) == 8:
86
+ data64 = struct.unpack("!Q", b)[0]
87
+ seconds = data64 & 0x00000003FFFFFFFF
88
+ nanoseconds = data64 >> 34
89
+ elif len(b) == 12:
90
+ nanoseconds, seconds = struct.unpack("!Iq", b)
91
+ else:
92
+ raise ValueError(
93
+ "Timestamp type can only be created from 32, 64, or 96-bit byte objects"
94
+ )
95
+ return Timestamp(seconds, nanoseconds)
96
+
97
+ def to_bytes(self):
98
+ """Pack this Timestamp object into bytes.
99
+
100
+ Used for pure-Python msgpack packing.
101
+
102
+ :returns data: Payload for EXT message with code -1 (timestamp type)
103
+ :rtype: bytes
104
+ """
105
+ if (self.seconds >> 34) == 0: # seconds is non-negative and fits in 34 bits
106
+ data64 = self.nanoseconds << 34 | self.seconds
107
+ if data64 & 0xFFFFFFFF00000000 == 0:
108
+ # nanoseconds is zero and seconds < 2**32, so timestamp 32
109
+ data = struct.pack("!L", data64)
110
+ else:
111
+ # timestamp 64
112
+ data = struct.pack("!Q", data64)
113
+ else:
114
+ # timestamp 96
115
+ data = struct.pack("!Iq", self.nanoseconds, self.seconds)
116
+ return data
117
+
118
+ @staticmethod
119
+ def from_unix(unix_sec):
120
+ """Create a Timestamp from posix timestamp in seconds.
121
+
122
+ :param unix_float: Posix timestamp in seconds.
123
+ :type unix_float: int or float
124
+ """
125
+ seconds = int(unix_sec // 1)
126
+ nanoseconds = int((unix_sec % 1) * 10**9)
127
+ return Timestamp(seconds, nanoseconds)
128
+
129
+ def to_unix(self):
130
+ """Get the timestamp as a floating-point value.
131
+
132
+ :returns: posix timestamp
133
+ :rtype: float
134
+ """
135
+ return self.seconds + self.nanoseconds / 1e9
136
+
137
+ @staticmethod
138
+ def from_unix_nano(unix_ns):
139
+ """Create a Timestamp from posix timestamp in nanoseconds.
140
+
141
+ :param int unix_ns: Posix timestamp in nanoseconds.
142
+ :rtype: Timestamp
143
+ """
144
+ return Timestamp(*divmod(unix_ns, 10**9))
145
+
146
+ def to_unix_nano(self):
147
+ """Get the timestamp as a unixtime in nanoseconds.
148
+
149
+ :returns: posix timestamp in nanoseconds
150
+ :rtype: int
151
+ """
152
+ return self.seconds * 10**9 + self.nanoseconds
153
+
154
+ def to_datetime(self):
155
+ """Get the timestamp as a UTC datetime.
156
+
157
+ :rtype: `datetime.datetime`
158
+ """
159
+ utc = datetime.timezone.utc
160
+ return datetime.datetime.fromtimestamp(0, utc) + datetime.timedelta(
161
+ seconds=self.seconds, microseconds=self.nanoseconds // 1000
162
+ )
163
+
164
+ @staticmethod
165
+ def from_datetime(dt):
166
+ """Create a Timestamp from datetime with tzinfo.
167
+
168
+ :rtype: Timestamp
169
+ """
170
+ return Timestamp(seconds=int(dt.timestamp()), nanoseconds=dt.microsecond * 1000)
miniconda3/lib/python3.13/site-packages/msgpack/fallback.py ADDED
@@ -0,0 +1,929 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Fallback pure Python implementation of msgpack"""
2
+
3
+ import struct
4
+ import sys
5
+ from datetime import datetime as _DateTime
6
+
7
+ if hasattr(sys, "pypy_version_info"):
8
+ from __pypy__ import newlist_hint
9
+ from __pypy__.builders import BytesBuilder
10
+
11
+ _USING_STRINGBUILDER = True
12
+
13
+ class BytesIO:
14
+ def __init__(self, s=b""):
15
+ if s:
16
+ self.builder = BytesBuilder(len(s))
17
+ self.builder.append(s)
18
+ else:
19
+ self.builder = BytesBuilder()
20
+
21
+ def write(self, s):
22
+ if isinstance(s, memoryview):
23
+ s = s.tobytes()
24
+ elif isinstance(s, bytearray):
25
+ s = bytes(s)
26
+ self.builder.append(s)
27
+
28
+ def getvalue(self):
29
+ return self.builder.build()
30
+
31
+ else:
32
+ from io import BytesIO
33
+
34
+ _USING_STRINGBUILDER = False
35
+
36
+ def newlist_hint(size):
37
+ return []
38
+
39
+
40
+ from .exceptions import BufferFull, ExtraData, FormatError, OutOfData, StackError
41
+ from .ext import ExtType, Timestamp
42
+
43
+ EX_SKIP = 0
44
+ EX_CONSTRUCT = 1
45
+ EX_READ_ARRAY_HEADER = 2
46
+ EX_READ_MAP_HEADER = 3
47
+
48
+ TYPE_IMMEDIATE = 0
49
+ TYPE_ARRAY = 1
50
+ TYPE_MAP = 2
51
+ TYPE_RAW = 3
52
+ TYPE_BIN = 4
53
+ TYPE_EXT = 5
54
+
55
+ DEFAULT_RECURSE_LIMIT = 511
56
+
57
+
58
+ def _check_type_strict(obj, t, type=type, tuple=tuple):
59
+ if type(t) is tuple:
60
+ return type(obj) in t
61
+ else:
62
+ return type(obj) is t
63
+
64
+
65
+ def _get_data_from_buffer(obj):
66
+ view = memoryview(obj)
67
+ if view.itemsize != 1:
68
+ raise ValueError("cannot unpack from multi-byte object")
69
+ return view
70
+
71
+
72
+ def unpackb(packed, **kwargs):
73
+ """
74
+ Unpack an object from `packed`.
75
+
76
+ Raises ``ExtraData`` when *packed* contains extra bytes.
77
+ Raises ``ValueError`` when *packed* is incomplete.
78
+ Raises ``FormatError`` when *packed* is not valid msgpack.
79
+ Raises ``StackError`` when *packed* contains too nested.
80
+ Other exceptions can be raised during unpacking.
81
+
82
+ See :class:`Unpacker` for options.
83
+ """
84
+ unpacker = Unpacker(None, max_buffer_size=len(packed), **kwargs)
85
+ unpacker.feed(packed)
86
+ try:
87
+ ret = unpacker._unpack()
88
+ except OutOfData:
89
+ raise ValueError("Unpack failed: incomplete input")
90
+ except RecursionError:
91
+ raise StackError
92
+ if unpacker._got_extradata():
93
+ raise ExtraData(ret, unpacker._get_extradata())
94
+ return ret
95
+
96
+
97
+ _NO_FORMAT_USED = ""
98
+ _MSGPACK_HEADERS = {
99
+ 0xC4: (1, _NO_FORMAT_USED, TYPE_BIN),
100
+ 0xC5: (2, ">H", TYPE_BIN),
101
+ 0xC6: (4, ">I", TYPE_BIN),
102
+ 0xC7: (2, "Bb", TYPE_EXT),
103
+ 0xC8: (3, ">Hb", TYPE_EXT),
104
+ 0xC9: (5, ">Ib", TYPE_EXT),
105
+ 0xCA: (4, ">f"),
106
+ 0xCB: (8, ">d"),
107
+ 0xCC: (1, _NO_FORMAT_USED),
108
+ 0xCD: (2, ">H"),
109
+ 0xCE: (4, ">I"),
110
+ 0xCF: (8, ">Q"),
111
+ 0xD0: (1, "b"),
112
+ 0xD1: (2, ">h"),
113
+ 0xD2: (4, ">i"),
114
+ 0xD3: (8, ">q"),
115
+ 0xD4: (1, "b1s", TYPE_EXT),
116
+ 0xD5: (2, "b2s", TYPE_EXT),
117
+ 0xD6: (4, "b4s", TYPE_EXT),
118
+ 0xD7: (8, "b8s", TYPE_EXT),
119
+ 0xD8: (16, "b16s", TYPE_EXT),
120
+ 0xD9: (1, _NO_FORMAT_USED, TYPE_RAW),
121
+ 0xDA: (2, ">H", TYPE_RAW),
122
+ 0xDB: (4, ">I", TYPE_RAW),
123
+ 0xDC: (2, ">H", TYPE_ARRAY),
124
+ 0xDD: (4, ">I", TYPE_ARRAY),
125
+ 0xDE: (2, ">H", TYPE_MAP),
126
+ 0xDF: (4, ">I", TYPE_MAP),
127
+ }
128
+
129
+
130
+ class Unpacker:
131
+ """Streaming unpacker.
132
+
133
+ Arguments:
134
+
135
+ :param file_like:
136
+ File-like object having `.read(n)` method.
137
+ If specified, unpacker reads serialized data from it and `.feed()` is not usable.
138
+
139
+ :param int read_size:
140
+ Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`)
141
+
142
+ :param bool use_list:
143
+ If true, unpack msgpack array to Python list.
144
+ Otherwise, unpack to Python tuple. (default: True)
145
+
146
+ :param bool raw:
147
+ If true, unpack msgpack raw to Python bytes.
148
+ Otherwise, unpack to Python str by decoding with UTF-8 encoding (default).
149
+
150
+ :param int timestamp:
151
+ Control how timestamp type is unpacked:
152
+
153
+ 0 - Timestamp
154
+ 1 - float (Seconds from the EPOCH)
155
+ 2 - int (Nanoseconds from the EPOCH)
156
+ 3 - datetime.datetime (UTC).
157
+
158
+ :param bool strict_map_key:
159
+ If true (default), only str or bytes are accepted for map (dict) keys.
160
+
161
+ :param object_hook:
162
+ When specified, it should be callable.
163
+ Unpacker calls it with a dict argument after unpacking msgpack map.
164
+ (See also simplejson)
165
+
166
+ :param object_pairs_hook:
167
+ When specified, it should be callable.
168
+ Unpacker calls it with a list of key-value pairs after unpacking msgpack map.
169
+ (See also simplejson)
170
+
171
+ :param str unicode_errors:
172
+ The error handler for decoding unicode. (default: 'strict')
173
+ This option should be used only when you have msgpack data which
174
+ contains invalid UTF-8 string.
175
+
176
+ :param int max_buffer_size:
177
+ Limits size of data waiting unpacked. 0 means 2**32-1.
178
+ The default value is 100*1024*1024 (100MiB).
179
+ Raises `BufferFull` exception when it is insufficient.
180
+ You should set this parameter when unpacking data from untrusted source.
181
+
182
+ :param int max_str_len:
183
+ Deprecated, use *max_buffer_size* instead.
184
+ Limits max length of str. (default: max_buffer_size)
185
+
186
+ :param int max_bin_len:
187
+ Deprecated, use *max_buffer_size* instead.
188
+ Limits max length of bin. (default: max_buffer_size)
189
+
190
+ :param int max_array_len:
191
+ Limits max length of array.
192
+ (default: max_buffer_size)
193
+
194
+ :param int max_map_len:
195
+ Limits max length of map.
196
+ (default: max_buffer_size//2)
197
+
198
+ :param int max_ext_len:
199
+ Deprecated, use *max_buffer_size* instead.
200
+ Limits max size of ext type. (default: max_buffer_size)
201
+
202
+ Example of streaming deserialize from file-like object::
203
+
204
+ unpacker = Unpacker(file_like)
205
+ for o in unpacker:
206
+ process(o)
207
+
208
+ Example of streaming deserialize from socket::
209
+
210
+ unpacker = Unpacker()
211
+ while True:
212
+ buf = sock.recv(1024**2)
213
+ if not buf:
214
+ break
215
+ unpacker.feed(buf)
216
+ for o in unpacker:
217
+ process(o)
218
+
219
+ Raises ``ExtraData`` when *packed* contains extra bytes.
220
+ Raises ``OutOfData`` when *packed* is incomplete.
221
+ Raises ``FormatError`` when *packed* is not valid msgpack.
222
+ Raises ``StackError`` when *packed* contains too nested.
223
+ Other exceptions can be raised during unpacking.
224
+ """
225
+
226
+ def __init__(
227
+ self,
228
+ file_like=None,
229
+ *,
230
+ read_size=0,
231
+ use_list=True,
232
+ raw=False,
233
+ timestamp=0,
234
+ strict_map_key=True,
235
+ object_hook=None,
236
+ object_pairs_hook=None,
237
+ list_hook=None,
238
+ unicode_errors=None,
239
+ max_buffer_size=100 * 1024 * 1024,
240
+ ext_hook=ExtType,
241
+ max_str_len=-1,
242
+ max_bin_len=-1,
243
+ max_array_len=-1,
244
+ max_map_len=-1,
245
+ max_ext_len=-1,
246
+ ):
247
+ if unicode_errors is None:
248
+ unicode_errors = "strict"
249
+
250
+ if file_like is None:
251
+ self._feeding = True
252
+ else:
253
+ if not callable(file_like.read):
254
+ raise TypeError("`file_like.read` must be callable")
255
+ self.file_like = file_like
256
+ self._feeding = False
257
+
258
+ #: array of bytes fed.
259
+ self._buffer = bytearray()
260
+ #: Which position we currently reads
261
+ self._buff_i = 0
262
+
263
+ # When Unpacker is used as an iterable, between the calls to next(),
264
+ # the buffer is not "consumed" completely, for efficiency sake.
265
+ # Instead, it is done sloppily. To make sure we raise BufferFull at
266
+ # the correct moments, we have to keep track of how sloppy we were.
267
+ # Furthermore, when the buffer is incomplete (that is: in the case
268
+ # we raise an OutOfData) we need to rollback the buffer to the correct
269
+ # state, which _buf_checkpoint records.
270
+ self._buf_checkpoint = 0
271
+
272
+ if not max_buffer_size:
273
+ max_buffer_size = 2**31 - 1
274
+ if max_str_len == -1:
275
+ max_str_len = max_buffer_size
276
+ if max_bin_len == -1:
277
+ max_bin_len = max_buffer_size
278
+ if max_array_len == -1:
279
+ max_array_len = max_buffer_size
280
+ if max_map_len == -1:
281
+ max_map_len = max_buffer_size // 2
282
+ if max_ext_len == -1:
283
+ max_ext_len = max_buffer_size
284
+
285
+ self._max_buffer_size = max_buffer_size
286
+ if read_size > self._max_buffer_size:
287
+ raise ValueError("read_size must be smaller than max_buffer_size")
288
+ self._read_size = read_size or min(self._max_buffer_size, 16 * 1024)
289
+ self._raw = bool(raw)
290
+ self._strict_map_key = bool(strict_map_key)
291
+ self._unicode_errors = unicode_errors
292
+ self._use_list = use_list
293
+ if not (0 <= timestamp <= 3):
294
+ raise ValueError("timestamp must be 0..3")
295
+ self._timestamp = timestamp
296
+ self._list_hook = list_hook
297
+ self._object_hook = object_hook
298
+ self._object_pairs_hook = object_pairs_hook
299
+ self._ext_hook = ext_hook
300
+ self._max_str_len = max_str_len
301
+ self._max_bin_len = max_bin_len
302
+ self._max_array_len = max_array_len
303
+ self._max_map_len = max_map_len
304
+ self._max_ext_len = max_ext_len
305
+ self._stream_offset = 0
306
+
307
+ if list_hook is not None and not callable(list_hook):
308
+ raise TypeError("`list_hook` is not callable")
309
+ if object_hook is not None and not callable(object_hook):
310
+ raise TypeError("`object_hook` is not callable")
311
+ if object_pairs_hook is not None and not callable(object_pairs_hook):
312
+ raise TypeError("`object_pairs_hook` is not callable")
313
+ if object_hook is not None and object_pairs_hook is not None:
314
+ raise TypeError("object_pairs_hook and object_hook are mutually exclusive")
315
+ if not callable(ext_hook):
316
+ raise TypeError("`ext_hook` is not callable")
317
+
318
+ def feed(self, next_bytes):
319
+ assert self._feeding
320
+ view = _get_data_from_buffer(next_bytes)
321
+ if len(self._buffer) - self._buff_i + len(view) > self._max_buffer_size:
322
+ raise BufferFull
323
+
324
+ # Strip buffer before checkpoint before reading file.
325
+ if self._buf_checkpoint > 0:
326
+ del self._buffer[: self._buf_checkpoint]
327
+ self._buff_i -= self._buf_checkpoint
328
+ self._buf_checkpoint = 0
329
+
330
+ # Use extend here: INPLACE_ADD += doesn't reliably typecast memoryview in jython
331
+ self._buffer.extend(view)
332
+ view.release()
333
+
334
+ def _consume(self):
335
+ """Gets rid of the used parts of the buffer."""
336
+ self._stream_offset += self._buff_i - self._buf_checkpoint
337
+ self._buf_checkpoint = self._buff_i
338
+
339
+ def _got_extradata(self):
340
+ return self._buff_i < len(self._buffer)
341
+
342
+ def _get_extradata(self):
343
+ return self._buffer[self._buff_i :]
344
+
345
+ def read_bytes(self, n):
346
+ ret = self._read(n, raise_outofdata=False)
347
+ self._consume()
348
+ return ret
349
+
350
+ def _read(self, n, raise_outofdata=True):
351
+ # (int) -> bytearray
352
+ self._reserve(n, raise_outofdata=raise_outofdata)
353
+ i = self._buff_i
354
+ ret = self._buffer[i : i + n]
355
+ self._buff_i = i + len(ret)
356
+ return ret
357
+
358
+ def _reserve(self, n, raise_outofdata=True):
359
+ remain_bytes = len(self._buffer) - self._buff_i - n
360
+
361
+ # Fast path: buffer has n bytes already
362
+ if remain_bytes >= 0:
363
+ return
364
+
365
+ if self._feeding:
366
+ self._buff_i = self._buf_checkpoint
367
+ raise OutOfData
368
+
369
+ # Strip buffer before checkpoint before reading file.
370
+ if self._buf_checkpoint > 0:
371
+ del self._buffer[: self._buf_checkpoint]
372
+ self._buff_i -= self._buf_checkpoint
373
+ self._buf_checkpoint = 0
374
+
375
+ # Read from file
376
+ remain_bytes = -remain_bytes
377
+ if remain_bytes + len(self._buffer) > self._max_buffer_size:
378
+ raise BufferFull
379
+ while remain_bytes > 0:
380
+ to_read_bytes = max(self._read_size, remain_bytes)
381
+ read_data = self.file_like.read(to_read_bytes)
382
+ if not read_data:
383
+ break
384
+ assert isinstance(read_data, bytes)
385
+ self._buffer += read_data
386
+ remain_bytes -= len(read_data)
387
+
388
+ if len(self._buffer) < n + self._buff_i and raise_outofdata:
389
+ self._buff_i = 0 # rollback
390
+ raise OutOfData
391
+
392
+ def _read_header(self):
393
+ typ = TYPE_IMMEDIATE
394
+ n = 0
395
+ obj = None
396
+ self._reserve(1)
397
+ b = self._buffer[self._buff_i]
398
+ self._buff_i += 1
399
+ if b & 0b10000000 == 0:
400
+ obj = b
401
+ elif b & 0b11100000 == 0b11100000:
402
+ obj = -1 - (b ^ 0xFF)
403
+ elif b & 0b11100000 == 0b10100000:
404
+ n = b & 0b00011111
405
+ typ = TYPE_RAW
406
+ if n > self._max_str_len:
407
+ raise ValueError(f"{n} exceeds max_str_len({self._max_str_len})")
408
+ obj = self._read(n)
409
+ elif b & 0b11110000 == 0b10010000:
410
+ n = b & 0b00001111
411
+ typ = TYPE_ARRAY
412
+ if n > self._max_array_len:
413
+ raise ValueError(f"{n} exceeds max_array_len({self._max_array_len})")
414
+ elif b & 0b11110000 == 0b10000000:
415
+ n = b & 0b00001111
416
+ typ = TYPE_MAP
417
+ if n > self._max_map_len:
418
+ raise ValueError(f"{n} exceeds max_map_len({self._max_map_len})")
419
+ elif b == 0xC0:
420
+ obj = None
421
+ elif b == 0xC2:
422
+ obj = False
423
+ elif b == 0xC3:
424
+ obj = True
425
+ elif 0xC4 <= b <= 0xC6:
426
+ size, fmt, typ = _MSGPACK_HEADERS[b]
427
+ self._reserve(size)
428
+ if len(fmt) > 0:
429
+ n = struct.unpack_from(fmt, self._buffer, self._buff_i)[0]
430
+ else:
431
+ n = self._buffer[self._buff_i]
432
+ self._buff_i += size
433
+ if n > self._max_bin_len:
434
+ raise ValueError(f"{n} exceeds max_bin_len({self._max_bin_len})")
435
+ obj = self._read(n)
436
+ elif 0xC7 <= b <= 0xC9:
437
+ size, fmt, typ = _MSGPACK_HEADERS[b]
438
+ self._reserve(size)
439
+ L, n = struct.unpack_from(fmt, self._buffer, self._buff_i)
440
+ self._buff_i += size
441
+ if L > self._max_ext_len:
442
+ raise ValueError(f"{L} exceeds max_ext_len({self._max_ext_len})")
443
+ obj = self._read(L)
444
+ elif 0xCA <= b <= 0xD3:
445
+ size, fmt = _MSGPACK_HEADERS[b]
446
+ self._reserve(size)
447
+ if len(fmt) > 0:
448
+ obj = struct.unpack_from(fmt, self._buffer, self._buff_i)[0]
449
+ else:
450
+ obj = self._buffer[self._buff_i]
451
+ self._buff_i += size
452
+ elif 0xD4 <= b <= 0xD8:
453
+ size, fmt, typ = _MSGPACK_HEADERS[b]
454
+ if self._max_ext_len < size:
455
+ raise ValueError(f"{size} exceeds max_ext_len({self._max_ext_len})")
456
+ self._reserve(size + 1)
457
+ n, obj = struct.unpack_from(fmt, self._buffer, self._buff_i)
458
+ self._buff_i += size + 1
459
+ elif 0xD9 <= b <= 0xDB:
460
+ size, fmt, typ = _MSGPACK_HEADERS[b]
461
+ self._reserve(size)
462
+ if len(fmt) > 0:
463
+ (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i)
464
+ else:
465
+ n = self._buffer[self._buff_i]
466
+ self._buff_i += size
467
+ if n > self._max_str_len:
468
+ raise ValueError(f"{n} exceeds max_str_len({self._max_str_len})")
469
+ obj = self._read(n)
470
+ elif 0xDC <= b <= 0xDD:
471
+ size, fmt, typ = _MSGPACK_HEADERS[b]
472
+ self._reserve(size)
473
+ (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i)
474
+ self._buff_i += size
475
+ if n > self._max_array_len:
476
+ raise ValueError(f"{n} exceeds max_array_len({self._max_array_len})")
477
+ elif 0xDE <= b <= 0xDF:
478
+ size, fmt, typ = _MSGPACK_HEADERS[b]
479
+ self._reserve(size)
480
+ (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i)
481
+ self._buff_i += size
482
+ if n > self._max_map_len:
483
+ raise ValueError(f"{n} exceeds max_map_len({self._max_map_len})")
484
+ else:
485
+ raise FormatError("Unknown header: 0x%x" % b)
486
+ return typ, n, obj
487
+
488
+ def _unpack(self, execute=EX_CONSTRUCT):
489
+ typ, n, obj = self._read_header()
490
+
491
+ if execute == EX_READ_ARRAY_HEADER:
492
+ if typ != TYPE_ARRAY:
493
+ raise ValueError("Expected array")
494
+ return n
495
+ if execute == EX_READ_MAP_HEADER:
496
+ if typ != TYPE_MAP:
497
+ raise ValueError("Expected map")
498
+ return n
499
+ # TODO should we eliminate the recursion?
500
+ if typ == TYPE_ARRAY:
501
+ if execute == EX_SKIP:
502
+ for i in range(n):
503
+ # TODO check whether we need to call `list_hook`
504
+ self._unpack(EX_SKIP)
505
+ return
506
+ ret = newlist_hint(n)
507
+ for i in range(n):
508
+ ret.append(self._unpack(EX_CONSTRUCT))
509
+ if self._list_hook is not None:
510
+ ret = self._list_hook(ret)
511
+ # TODO is the interaction between `list_hook` and `use_list` ok?
512
+ return ret if self._use_list else tuple(ret)
513
+ if typ == TYPE_MAP:
514
+ if execute == EX_SKIP:
515
+ for i in range(n):
516
+ # TODO check whether we need to call hooks
517
+ self._unpack(EX_SKIP)
518
+ self._unpack(EX_SKIP)
519
+ return
520
+ if self._object_pairs_hook is not None:
521
+ ret = self._object_pairs_hook(
522
+ (self._unpack(EX_CONSTRUCT), self._unpack(EX_CONSTRUCT)) for _ in range(n)
523
+ )
524
+ else:
525
+ ret = {}
526
+ for _ in range(n):
527
+ key = self._unpack(EX_CONSTRUCT)
528
+ if self._strict_map_key and type(key) not in (str, bytes):
529
+ raise ValueError("%s is not allowed for map key" % str(type(key)))
530
+ if isinstance(key, str):
531
+ key = sys.intern(key)
532
+ ret[key] = self._unpack(EX_CONSTRUCT)
533
+ if self._object_hook is not None:
534
+ ret = self._object_hook(ret)
535
+ return ret
536
+ if execute == EX_SKIP:
537
+ return
538
+ if typ == TYPE_RAW:
539
+ if self._raw:
540
+ obj = bytes(obj)
541
+ else:
542
+ obj = obj.decode("utf_8", self._unicode_errors)
543
+ return obj
544
+ if typ == TYPE_BIN:
545
+ return bytes(obj)
546
+ if typ == TYPE_EXT:
547
+ if n == -1: # timestamp
548
+ ts = Timestamp.from_bytes(bytes(obj))
549
+ if self._timestamp == 1:
550
+ return ts.to_unix()
551
+ elif self._timestamp == 2:
552
+ return ts.to_unix_nano()
553
+ elif self._timestamp == 3:
554
+ return ts.to_datetime()
555
+ else:
556
+ return ts
557
+ else:
558
+ return self._ext_hook(n, bytes(obj))
559
+ assert typ == TYPE_IMMEDIATE
560
+ return obj
561
+
562
+ def __iter__(self):
563
+ return self
564
+
565
+ def __next__(self):
566
+ try:
567
+ ret = self._unpack(EX_CONSTRUCT)
568
+ self._consume()
569
+ return ret
570
+ except OutOfData:
571
+ self._consume()
572
+ raise StopIteration
573
+ except RecursionError:
574
+ raise StackError
575
+
576
+ next = __next__
577
+
578
+ def skip(self):
579
+ self._unpack(EX_SKIP)
580
+ self._consume()
581
+
582
+ def unpack(self):
583
+ try:
584
+ ret = self._unpack(EX_CONSTRUCT)
585
+ except RecursionError:
586
+ raise StackError
587
+ self._consume()
588
+ return ret
589
+
590
+ def read_array_header(self):
591
+ ret = self._unpack(EX_READ_ARRAY_HEADER)
592
+ self._consume()
593
+ return ret
594
+
595
+ def read_map_header(self):
596
+ ret = self._unpack(EX_READ_MAP_HEADER)
597
+ self._consume()
598
+ return ret
599
+
600
+ def tell(self):
601
+ return self._stream_offset
602
+
603
+
604
+ class Packer:
605
+ """
606
+ MessagePack Packer
607
+
608
+ Usage::
609
+
610
+ packer = Packer()
611
+ astream.write(packer.pack(a))
612
+ astream.write(packer.pack(b))
613
+
614
+ Packer's constructor has some keyword arguments:
615
+
616
+ :param default:
617
+ When specified, it should be callable.
618
+ Convert user type to builtin type that Packer supports.
619
+ See also simplejson's document.
620
+
621
+ :param bool use_single_float:
622
+ Use single precision float type for float. (default: False)
623
+
624
+ :param bool autoreset:
625
+ Reset buffer after each pack and return its content as `bytes`. (default: True).
626
+ If set this to false, use `bytes()` to get content and `.reset()` to clear buffer.
627
+
628
+ :param bool use_bin_type:
629
+ Use bin type introduced in msgpack spec 2.0 for bytes.
630
+ It also enables str8 type for unicode. (default: True)
631
+
632
+ :param bool strict_types:
633
+ If set to true, types will be checked to be exact. Derived classes
634
+ from serializable types will not be serialized and will be
635
+ treated as unsupported type and forwarded to default.
636
+ Additionally tuples will not be serialized as lists.
637
+ This is useful when trying to implement accurate serialization
638
+ for python types.
639
+
640
+ :param bool datetime:
641
+ If set to true, datetime with tzinfo is packed into Timestamp type.
642
+ Note that the tzinfo is stripped in the timestamp.
643
+ You can get UTC datetime with `timestamp=3` option of the Unpacker.
644
+
645
+ :param str unicode_errors:
646
+ The error handler for encoding unicode. (default: 'strict')
647
+ DO NOT USE THIS!! This option is kept for very specific usage.
648
+
649
+ :param int buf_size:
650
+ Internal buffer size. This option is used only for C implementation.
651
+ """
652
+
653
+ def __init__(
654
+ self,
655
+ *,
656
+ default=None,
657
+ use_single_float=False,
658
+ autoreset=True,
659
+ use_bin_type=True,
660
+ strict_types=False,
661
+ datetime=False,
662
+ unicode_errors=None,
663
+ buf_size=None,
664
+ ):
665
+ self._strict_types = strict_types
666
+ self._use_float = use_single_float
667
+ self._autoreset = autoreset
668
+ self._use_bin_type = use_bin_type
669
+ self._buffer = BytesIO()
670
+ self._datetime = bool(datetime)
671
+ self._unicode_errors = unicode_errors or "strict"
672
+ if default is not None and not callable(default):
673
+ raise TypeError("default must be callable")
674
+ self._default = default
675
+
676
+ def _pack(
677
+ self,
678
+ obj,
679
+ nest_limit=DEFAULT_RECURSE_LIMIT,
680
+ check=isinstance,
681
+ check_type_strict=_check_type_strict,
682
+ ):
683
+ default_used = False
684
+ if self._strict_types:
685
+ check = check_type_strict
686
+ list_types = list
687
+ else:
688
+ list_types = (list, tuple)
689
+ while True:
690
+ if nest_limit < 0:
691
+ raise ValueError("recursion limit exceeded")
692
+ if obj is None:
693
+ return self._buffer.write(b"\xc0")
694
+ if check(obj, bool):
695
+ if obj:
696
+ return self._buffer.write(b"\xc3")
697
+ return self._buffer.write(b"\xc2")
698
+ if check(obj, int):
699
+ if 0 <= obj < 0x80:
700
+ return self._buffer.write(struct.pack("B", obj))
701
+ if -0x20 <= obj < 0:
702
+ return self._buffer.write(struct.pack("b", obj))
703
+ if 0x80 <= obj <= 0xFF:
704
+ return self._buffer.write(struct.pack("BB", 0xCC, obj))
705
+ if -0x80 <= obj < 0:
706
+ return self._buffer.write(struct.pack(">Bb", 0xD0, obj))
707
+ if 0xFF < obj <= 0xFFFF:
708
+ return self._buffer.write(struct.pack(">BH", 0xCD, obj))
709
+ if -0x8000 <= obj < -0x80:
710
+ return self._buffer.write(struct.pack(">Bh", 0xD1, obj))
711
+ if 0xFFFF < obj <= 0xFFFFFFFF:
712
+ return self._buffer.write(struct.pack(">BI", 0xCE, obj))
713
+ if -0x80000000 <= obj < -0x8000:
714
+ return self._buffer.write(struct.pack(">Bi", 0xD2, obj))
715
+ if 0xFFFFFFFF < obj <= 0xFFFFFFFFFFFFFFFF:
716
+ return self._buffer.write(struct.pack(">BQ", 0xCF, obj))
717
+ if -0x8000000000000000 <= obj < -0x80000000:
718
+ return self._buffer.write(struct.pack(">Bq", 0xD3, obj))
719
+ if not default_used and self._default is not None:
720
+ obj = self._default(obj)
721
+ default_used = True
722
+ continue
723
+ raise OverflowError("Integer value out of range")
724
+ if check(obj, (bytes, bytearray)):
725
+ n = len(obj)
726
+ if n >= 2**32:
727
+ raise ValueError("%s is too large" % type(obj).__name__)
728
+ self._pack_bin_header(n)
729
+ return self._buffer.write(obj)
730
+ if check(obj, str):
731
+ obj = obj.encode("utf-8", self._unicode_errors)
732
+ n = len(obj)
733
+ if n >= 2**32:
734
+ raise ValueError("String is too large")
735
+ self._pack_raw_header(n)
736
+ return self._buffer.write(obj)
737
+ if check(obj, memoryview):
738
+ n = obj.nbytes
739
+ if n >= 2**32:
740
+ raise ValueError("Memoryview is too large")
741
+ self._pack_bin_header(n)
742
+ return self._buffer.write(obj)
743
+ if check(obj, float):
744
+ if self._use_float:
745
+ return self._buffer.write(struct.pack(">Bf", 0xCA, obj))
746
+ return self._buffer.write(struct.pack(">Bd", 0xCB, obj))
747
+ if check(obj, (ExtType, Timestamp)):
748
+ if check(obj, Timestamp):
749
+ code = -1
750
+ data = obj.to_bytes()
751
+ else:
752
+ code = obj.code
753
+ data = obj.data
754
+ assert isinstance(code, int)
755
+ assert isinstance(data, bytes)
756
+ L = len(data)
757
+ if L == 1:
758
+ self._buffer.write(b"\xd4")
759
+ elif L == 2:
760
+ self._buffer.write(b"\xd5")
761
+ elif L == 4:
762
+ self._buffer.write(b"\xd6")
763
+ elif L == 8:
764
+ self._buffer.write(b"\xd7")
765
+ elif L == 16:
766
+ self._buffer.write(b"\xd8")
767
+ elif L <= 0xFF:
768
+ self._buffer.write(struct.pack(">BB", 0xC7, L))
769
+ elif L <= 0xFFFF:
770
+ self._buffer.write(struct.pack(">BH", 0xC8, L))
771
+ else:
772
+ self._buffer.write(struct.pack(">BI", 0xC9, L))
773
+ self._buffer.write(struct.pack("b", code))
774
+ self._buffer.write(data)
775
+ return
776
+ if check(obj, list_types):
777
+ n = len(obj)
778
+ self._pack_array_header(n)
779
+ for i in range(n):
780
+ self._pack(obj[i], nest_limit - 1)
781
+ return
782
+ if check(obj, dict):
783
+ return self._pack_map_pairs(len(obj), obj.items(), nest_limit - 1)
784
+
785
+ if self._datetime and check(obj, _DateTime) and obj.tzinfo is not None:
786
+ obj = Timestamp.from_datetime(obj)
787
+ default_used = 1
788
+ continue
789
+
790
+ if not default_used and self._default is not None:
791
+ obj = self._default(obj)
792
+ default_used = 1
793
+ continue
794
+
795
+ if self._datetime and check(obj, _DateTime):
796
+ raise ValueError(f"Cannot serialize {obj!r} where tzinfo=None")
797
+
798
+ raise TypeError(f"Cannot serialize {obj!r}")
799
+
800
+ def pack(self, obj):
801
+ try:
802
+ self._pack(obj)
803
+ except:
804
+ self._buffer = BytesIO() # force reset
805
+ raise
806
+ if self._autoreset:
807
+ ret = self._buffer.getvalue()
808
+ self._buffer = BytesIO()
809
+ return ret
810
+
811
+ def pack_map_pairs(self, pairs):
812
+ self._pack_map_pairs(len(pairs), pairs)
813
+ if self._autoreset:
814
+ ret = self._buffer.getvalue()
815
+ self._buffer = BytesIO()
816
+ return ret
817
+
818
+ def pack_array_header(self, n):
819
+ if n >= 2**32:
820
+ raise ValueError
821
+ self._pack_array_header(n)
822
+ if self._autoreset:
823
+ ret = self._buffer.getvalue()
824
+ self._buffer = BytesIO()
825
+ return ret
826
+
827
+ def pack_map_header(self, n):
828
+ if n >= 2**32:
829
+ raise ValueError
830
+ self._pack_map_header(n)
831
+ if self._autoreset:
832
+ ret = self._buffer.getvalue()
833
+ self._buffer = BytesIO()
834
+ return ret
835
+
836
+ def pack_ext_type(self, typecode, data):
837
+ if not isinstance(typecode, int):
838
+ raise TypeError("typecode must have int type.")
839
+ if not 0 <= typecode <= 127:
840
+ raise ValueError("typecode should be 0-127")
841
+ if not isinstance(data, bytes):
842
+ raise TypeError("data must have bytes type")
843
+ L = len(data)
844
+ if L > 0xFFFFFFFF:
845
+ raise ValueError("Too large data")
846
+ if L == 1:
847
+ self._buffer.write(b"\xd4")
848
+ elif L == 2:
849
+ self._buffer.write(b"\xd5")
850
+ elif L == 4:
851
+ self._buffer.write(b"\xd6")
852
+ elif L == 8:
853
+ self._buffer.write(b"\xd7")
854
+ elif L == 16:
855
+ self._buffer.write(b"\xd8")
856
+ elif L <= 0xFF:
857
+ self._buffer.write(b"\xc7" + struct.pack("B", L))
858
+ elif L <= 0xFFFF:
859
+ self._buffer.write(b"\xc8" + struct.pack(">H", L))
860
+ else:
861
+ self._buffer.write(b"\xc9" + struct.pack(">I", L))
862
+ self._buffer.write(struct.pack("B", typecode))
863
+ self._buffer.write(data)
864
+
865
+ def _pack_array_header(self, n):
866
+ if n <= 0x0F:
867
+ return self._buffer.write(struct.pack("B", 0x90 + n))
868
+ if n <= 0xFFFF:
869
+ return self._buffer.write(struct.pack(">BH", 0xDC, n))
870
+ if n <= 0xFFFFFFFF:
871
+ return self._buffer.write(struct.pack(">BI", 0xDD, n))
872
+ raise ValueError("Array is too large")
873
+
874
+ def _pack_map_header(self, n):
875
+ if n <= 0x0F:
876
+ return self._buffer.write(struct.pack("B", 0x80 + n))
877
+ if n <= 0xFFFF:
878
+ return self._buffer.write(struct.pack(">BH", 0xDE, n))
879
+ if n <= 0xFFFFFFFF:
880
+ return self._buffer.write(struct.pack(">BI", 0xDF, n))
881
+ raise ValueError("Dict is too large")
882
+
883
+ def _pack_map_pairs(self, n, pairs, nest_limit=DEFAULT_RECURSE_LIMIT):
884
+ self._pack_map_header(n)
885
+ for k, v in pairs:
886
+ self._pack(k, nest_limit - 1)
887
+ self._pack(v, nest_limit - 1)
888
+
889
+ def _pack_raw_header(self, n):
890
+ if n <= 0x1F:
891
+ self._buffer.write(struct.pack("B", 0xA0 + n))
892
+ elif self._use_bin_type and n <= 0xFF:
893
+ self._buffer.write(struct.pack(">BB", 0xD9, n))
894
+ elif n <= 0xFFFF:
895
+ self._buffer.write(struct.pack(">BH", 0xDA, n))
896
+ elif n <= 0xFFFFFFFF:
897
+ self._buffer.write(struct.pack(">BI", 0xDB, n))
898
+ else:
899
+ raise ValueError("Raw is too large")
900
+
901
+ def _pack_bin_header(self, n):
902
+ if not self._use_bin_type:
903
+ return self._pack_raw_header(n)
904
+ elif n <= 0xFF:
905
+ return self._buffer.write(struct.pack(">BB", 0xC4, n))
906
+ elif n <= 0xFFFF:
907
+ return self._buffer.write(struct.pack(">BH", 0xC5, n))
908
+ elif n <= 0xFFFFFFFF:
909
+ return self._buffer.write(struct.pack(">BI", 0xC6, n))
910
+ else:
911
+ raise ValueError("Bin is too large")
912
+
913
+ def bytes(self):
914
+ """Return internal buffer contents as bytes object"""
915
+ return self._buffer.getvalue()
916
+
917
+ def reset(self):
918
+ """Reset internal buffer.
919
+
920
+ This method is useful only when autoreset=False.
921
+ """
922
+ self._buffer = BytesIO()
923
+
924
+ def getbuffer(self):
925
+ """Return view of internal buffer."""
926
+ if _USING_STRINGBUILDER:
927
+ return memoryview(self.bytes())
928
+ else:
929
+ return self._buffer.getbuffer()
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ conda
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/METADATA ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: packaging
3
+ Version: 25.0
4
+ Summary: Core utilities for Python packages
5
+ Author-email: Donald Stufft <donald@stufft.io>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/x-rst
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: License :: OSI Approved :: BSD License
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
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 :: Implementation :: CPython
22
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
23
+ Classifier: Typing :: Typed
24
+ License-File: LICENSE
25
+ License-File: LICENSE.APACHE
26
+ License-File: LICENSE.BSD
27
+ Project-URL: Documentation, https://packaging.pypa.io/
28
+ Project-URL: Source, https://github.com/pypa/packaging
29
+
30
+ packaging
31
+ =========
32
+
33
+ .. start-intro
34
+
35
+ Reusable core utilities for various Python Packaging
36
+ `interoperability specifications <https://packaging.python.org/specifications/>`_.
37
+
38
+ This library provides utilities that implement the interoperability
39
+ specifications which have clearly one correct behaviour (eg: :pep:`440`)
40
+ or benefit greatly from having a single shared implementation (eg: :pep:`425`).
41
+
42
+ .. end-intro
43
+
44
+ The ``packaging`` project includes the following: version handling, specifiers,
45
+ markers, requirements, tags, utilities.
46
+
47
+ Documentation
48
+ -------------
49
+
50
+ The `documentation`_ provides information and the API for the following:
51
+
52
+ - Version Handling
53
+ - Specifiers
54
+ - Markers
55
+ - Requirements
56
+ - Tags
57
+ - Utilities
58
+
59
+ Installation
60
+ ------------
61
+
62
+ Use ``pip`` to install these utilities::
63
+
64
+ pip install packaging
65
+
66
+ The ``packaging`` library uses calendar-based versioning (``YY.N``).
67
+
68
+ Discussion
69
+ ----------
70
+
71
+ If you run into bugs, you can file them in our `issue tracker`_.
72
+
73
+ You can also join ``#pypa`` on Freenode to ask questions or get involved.
74
+
75
+
76
+ .. _`documentation`: https://packaging.pypa.io/
77
+ .. _`issue tracker`: https://github.com/pypa/packaging/issues
78
+
79
+
80
+ Code of Conduct
81
+ ---------------
82
+
83
+ Everyone interacting in the packaging project's codebases, issue trackers, chat
84
+ rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
85
+
86
+ .. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
87
+
88
+ Contributing
89
+ ------------
90
+
91
+ The ``CONTRIBUTING.rst`` file outlines how to contribute to this project as
92
+ well as how to report a potential security issue. The documentation for this
93
+ project also covers information about `project development`_ and `security`_.
94
+
95
+ .. _`project development`: https://packaging.pypa.io/en/latest/development/
96
+ .. _`security`: https://packaging.pypa.io/en/latest/security/
97
+
98
+ Project History
99
+ ---------------
100
+
101
+ Please review the ``CHANGELOG.rst`` file or the `Changelog documentation`_ for
102
+ recent changes and project history.
103
+
104
+ .. _`Changelog documentation`: https://packaging.pypa.io/en/latest/changelog/
105
+
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/RECORD ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ packaging-25.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ packaging-25.0.dist-info/METADATA,sha256=W2EaYJw4_vw9YWv0XSCuyY-31T8kXayp4sMPyFx6woI,3281
3
+ packaging-25.0.dist-info/RECORD,,
4
+ packaging-25.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ packaging-25.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
6
+ packaging-25.0.dist-info/direct_url.json,sha256=8YR2hwBqXGfBxXfjirVB9wuVlReVkyPd9jU4WhbDFeA,99
7
+ packaging-25.0.dist-info/licenses/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197
8
+ packaging-25.0.dist-info/licenses/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
9
+ packaging-25.0.dist-info/licenses/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344
10
+ packaging/__init__.py,sha256=_0cDiPVf2S-bNfVmZguxxzmrIYWlyASxpqph4qsJWUc,494
11
+ packaging/__pycache__/__init__.cpython-313.pyc,,
12
+ packaging/__pycache__/_elffile.cpython-313.pyc,,
13
+ packaging/__pycache__/_manylinux.cpython-313.pyc,,
14
+ packaging/__pycache__/_musllinux.cpython-313.pyc,,
15
+ packaging/__pycache__/_parser.cpython-313.pyc,,
16
+ packaging/__pycache__/_structures.cpython-313.pyc,,
17
+ packaging/__pycache__/_tokenizer.cpython-313.pyc,,
18
+ packaging/__pycache__/markers.cpython-313.pyc,,
19
+ packaging/__pycache__/metadata.cpython-313.pyc,,
20
+ packaging/__pycache__/requirements.cpython-313.pyc,,
21
+ packaging/__pycache__/specifiers.cpython-313.pyc,,
22
+ packaging/__pycache__/tags.cpython-313.pyc,,
23
+ packaging/__pycache__/utils.cpython-313.pyc,,
24
+ packaging/__pycache__/version.cpython-313.pyc,,
25
+ packaging/_elffile.py,sha256=UkrbDtW7aeq3qqoAfU16ojyHZ1xsTvGke_WqMTKAKd0,3286
26
+ packaging/_manylinux.py,sha256=t4y_-dTOcfr36gLY-ztiOpxxJFGO2ikC11HgfysGxiM,9596
27
+ packaging/_musllinux.py,sha256=p9ZqNYiOItGee8KcZFeHF_YcdhVwGHdK6r-8lgixvGQ,2694
28
+ packaging/_parser.py,sha256=gYfnj0pRHflVc4RHZit13KNTyN9iiVcU2RUCGi22BwM,10221
29
+ packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431
30
+ packaging/_tokenizer.py,sha256=OYzt7qKxylOAJ-q0XyK1qAycyPRYLfMPdGQKRXkZWyI,5310
31
+ packaging/licenses/__init__.py,sha256=VsK4o27CJXWfTi8r2ybJmsBoCdhpnBWuNrskaCVKP7U,5715
32
+ packaging/licenses/__pycache__/__init__.cpython-313.pyc,,
33
+ packaging/licenses/__pycache__/_spdx.cpython-313.pyc,,
34
+ packaging/licenses/_spdx.py,sha256=oAm1ztPFwlsmCKe7lAAsv_OIOfS1cWDu9bNBkeu-2ns,48398
35
+ packaging/markers.py,sha256=P0we27jm1xUzgGMJxBjtUFCIWeBxTsMeJTOJ6chZmAY,12049
36
+ packaging/metadata.py,sha256=8IZErqQQnNm53dZZuYq4FGU4_dpyinMeH1QFBIWIkfE,34739
37
+ packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
+ packaging/requirements.py,sha256=gYyRSAdbrIyKDY66ugIDUQjRMvxkH2ALioTmX3tnL6o,2947
39
+ packaging/specifiers.py,sha256=gtPu5DTc-F9baLq3FTGEK6dPhHGCuwwZetaY0PSV2gs,40055
40
+ packaging/tags.py,sha256=41s97W9Zatrq2Ed7Rc3qeBDaHe8pKKvYq2mGjwahfXk,22745
41
+ packaging/utils.py,sha256=0F3Hh9OFuRgrhTgGZUl5K22Fv1YP2tZl1z_2gO6kJiA,5050
42
+ packaging/version.py,sha256=olfyuk_DPbflNkJ4wBWetXQ17c74x3DB501degUv7DY,16676
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/REQUESTED ADDED
File without changes
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: flit 3.12.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/direct_url.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"dir_info": {}, "url": "file:///home/task_176104878999627/conda-bld/packaging_1761049078606/work"}
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/licenses/LICENSE ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ This software is made available under the terms of *either* of the licenses
2
+ found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made
3
+ under the terms of *both* these licenses.
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/licenses/LICENSE.APACHE ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
miniconda3/lib/python3.13/site-packages/packaging-25.0.dist-info/licenses/LICENSE.BSD ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) Donald Stufft and individual contributors.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
9
+
10
+ 2. Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
miniconda3/lib/python3.13/site-packages/packaging/__init__.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ __title__ = "packaging"
6
+ __summary__ = "Core utilities for Python packages"
7
+ __uri__ = "https://github.com/pypa/packaging"
8
+
9
+ __version__ = "25.0"
10
+
11
+ __author__ = "Donald Stufft and individual contributors"
12
+ __email__ = "donald@stufft.io"
13
+
14
+ __license__ = "BSD-2-Clause or Apache-2.0"
15
+ __copyright__ = f"2014 {__author__}"
miniconda3/lib/python3.13/site-packages/packaging/_elffile.py ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ ELF file parser.
3
+
4
+ This provides a class ``ELFFile`` that parses an ELF executable in a similar
5
+ interface to ``ZipFile``. Only the read interface is implemented.
6
+
7
+ Based on: https://gist.github.com/lyssdod/f51579ae8d93c8657a5564aefc2ffbca
8
+ ELF header: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ import enum
14
+ import os
15
+ import struct
16
+ from typing import IO
17
+
18
+
19
+ class ELFInvalid(ValueError):
20
+ pass
21
+
22
+
23
+ class EIClass(enum.IntEnum):
24
+ C32 = 1
25
+ C64 = 2
26
+
27
+
28
+ class EIData(enum.IntEnum):
29
+ Lsb = 1
30
+ Msb = 2
31
+
32
+
33
+ class EMachine(enum.IntEnum):
34
+ I386 = 3
35
+ S390 = 22
36
+ Arm = 40
37
+ X8664 = 62
38
+ AArc64 = 183
39
+
40
+
41
+ class ELFFile:
42
+ """
43
+ Representation of an ELF executable.
44
+ """
45
+
46
+ def __init__(self, f: IO[bytes]) -> None:
47
+ self._f = f
48
+
49
+ try:
50
+ ident = self._read("16B")
51
+ except struct.error as e:
52
+ raise ELFInvalid("unable to parse identification") from e
53
+ magic = bytes(ident[:4])
54
+ if magic != b"\x7fELF":
55
+ raise ELFInvalid(f"invalid magic: {magic!r}")
56
+
57
+ self.capacity = ident[4] # Format for program header (bitness).
58
+ self.encoding = ident[5] # Data structure encoding (endianness).
59
+
60
+ try:
61
+ # e_fmt: Format for program header.
62
+ # p_fmt: Format for section header.
63
+ # p_idx: Indexes to find p_type, p_offset, and p_filesz.
64
+ e_fmt, self._p_fmt, self._p_idx = {
65
+ (1, 1): ("<HHIIIIIHHH", "<IIIIIIII", (0, 1, 4)), # 32-bit LSB.
66
+ (1, 2): (">HHIIIIIHHH", ">IIIIIIII", (0, 1, 4)), # 32-bit MSB.
67
+ (2, 1): ("<HHIQQQIHHH", "<IIQQQQQQ", (0, 2, 5)), # 64-bit LSB.
68
+ (2, 2): (">HHIQQQIHHH", ">IIQQQQQQ", (0, 2, 5)), # 64-bit MSB.
69
+ }[(self.capacity, self.encoding)]
70
+ except KeyError as e:
71
+ raise ELFInvalid(
72
+ f"unrecognized capacity ({self.capacity}) or encoding ({self.encoding})"
73
+ ) from e
74
+
75
+ try:
76
+ (
77
+ _,
78
+ self.machine, # Architecture type.
79
+ _,
80
+ _,
81
+ self._e_phoff, # Offset of program header.
82
+ _,
83
+ self.flags, # Processor-specific flags.
84
+ _,
85
+ self._e_phentsize, # Size of section.
86
+ self._e_phnum, # Number of sections.
87
+ ) = self._read(e_fmt)
88
+ except struct.error as e:
89
+ raise ELFInvalid("unable to parse machine and section information") from e
90
+
91
+ def _read(self, fmt: str) -> tuple[int, ...]:
92
+ return struct.unpack(fmt, self._f.read(struct.calcsize(fmt)))
93
+
94
+ @property
95
+ def interpreter(self) -> str | None:
96
+ """
97
+ The path recorded in the ``PT_INTERP`` section header.
98
+ """
99
+ for index in range(self._e_phnum):
100
+ self._f.seek(self._e_phoff + self._e_phentsize * index)
101
+ try:
102
+ data = self._read(self._p_fmt)
103
+ except struct.error:
104
+ continue
105
+ if data[self._p_idx[0]] != 3: # Not PT_INTERP.
106
+ continue
107
+ self._f.seek(data[self._p_idx[1]])
108
+ return os.fsdecode(self._f.read(data[self._p_idx[2]])).strip("\0")
109
+ return None
miniconda3/lib/python3.13/site-packages/packaging/_manylinux.py ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import collections
4
+ import contextlib
5
+ import functools
6
+ import os
7
+ import re
8
+ import sys
9
+ import warnings
10
+ from typing import Generator, Iterator, NamedTuple, Sequence
11
+
12
+ from ._elffile import EIClass, EIData, ELFFile, EMachine
13
+
14
+ EF_ARM_ABIMASK = 0xFF000000
15
+ EF_ARM_ABI_VER5 = 0x05000000
16
+ EF_ARM_ABI_FLOAT_HARD = 0x00000400
17
+
18
+
19
+ # `os.PathLike` not a generic type until Python 3.9, so sticking with `str`
20
+ # as the type for `path` until then.
21
+ @contextlib.contextmanager
22
+ def _parse_elf(path: str) -> Generator[ELFFile | None, None, None]:
23
+ try:
24
+ with open(path, "rb") as f:
25
+ yield ELFFile(f)
26
+ except (OSError, TypeError, ValueError):
27
+ yield None
28
+
29
+
30
+ def _is_linux_armhf(executable: str) -> bool:
31
+ # hard-float ABI can be detected from the ELF header of the running
32
+ # process
33
+ # https://static.docs.arm.com/ihi0044/g/aaelf32.pdf
34
+ with _parse_elf(executable) as f:
35
+ return (
36
+ f is not None
37
+ and f.capacity == EIClass.C32
38
+ and f.encoding == EIData.Lsb
39
+ and f.machine == EMachine.Arm
40
+ and f.flags & EF_ARM_ABIMASK == EF_ARM_ABI_VER5
41
+ and f.flags & EF_ARM_ABI_FLOAT_HARD == EF_ARM_ABI_FLOAT_HARD
42
+ )
43
+
44
+
45
+ def _is_linux_i686(executable: str) -> bool:
46
+ with _parse_elf(executable) as f:
47
+ return (
48
+ f is not None
49
+ and f.capacity == EIClass.C32
50
+ and f.encoding == EIData.Lsb
51
+ and f.machine == EMachine.I386
52
+ )
53
+
54
+
55
+ def _have_compatible_abi(executable: str, archs: Sequence[str]) -> bool:
56
+ if "armv7l" in archs:
57
+ return _is_linux_armhf(executable)
58
+ if "i686" in archs:
59
+ return _is_linux_i686(executable)
60
+ allowed_archs = {
61
+ "x86_64",
62
+ "aarch64",
63
+ "ppc64",
64
+ "ppc64le",
65
+ "s390x",
66
+ "loongarch64",
67
+ "riscv64",
68
+ }
69
+ return any(arch in allowed_archs for arch in archs)
70
+
71
+
72
+ # If glibc ever changes its major version, we need to know what the last
73
+ # minor version was, so we can build the complete list of all versions.
74
+ # For now, guess what the highest minor version might be, assume it will
75
+ # be 50 for testing. Once this actually happens, update the dictionary
76
+ # with the actual value.
77
+ _LAST_GLIBC_MINOR: dict[int, int] = collections.defaultdict(lambda: 50)
78
+
79
+
80
+ class _GLibCVersion(NamedTuple):
81
+ major: int
82
+ minor: int
83
+
84
+
85
+ def _glibc_version_string_confstr() -> str | None:
86
+ """
87
+ Primary implementation of glibc_version_string using os.confstr.
88
+ """
89
+ # os.confstr is quite a bit faster than ctypes.DLL. It's also less likely
90
+ # to be broken or missing. This strategy is used in the standard library
91
+ # platform module.
92
+ # https://github.com/python/cpython/blob/fcf1d003bf4f0100c/Lib/platform.py#L175-L183
93
+ try:
94
+ # Should be a string like "glibc 2.17".
95
+ version_string: str | None = os.confstr("CS_GNU_LIBC_VERSION")
96
+ assert version_string is not None
97
+ _, version = version_string.rsplit()
98
+ except (AssertionError, AttributeError, OSError, ValueError):
99
+ # os.confstr() or CS_GNU_LIBC_VERSION not available (or a bad value)...
100
+ return None
101
+ return version
102
+
103
+
104
+ def _glibc_version_string_ctypes() -> str | None:
105
+ """
106
+ Fallback implementation of glibc_version_string using ctypes.
107
+ """
108
+ try:
109
+ import ctypes
110
+ except ImportError:
111
+ return None
112
+
113
+ # ctypes.CDLL(None) internally calls dlopen(NULL), and as the dlopen
114
+ # manpage says, "If filename is NULL, then the returned handle is for the
115
+ # main program". This way we can let the linker do the work to figure out
116
+ # which libc our process is actually using.
117
+ #
118
+ # We must also handle the special case where the executable is not a
119
+ # dynamically linked executable. This can occur when using musl libc,
120
+ # for example. In this situation, dlopen() will error, leading to an
121
+ # OSError. Interestingly, at least in the case of musl, there is no
122
+ # errno set on the OSError. The single string argument used to construct
123
+ # OSError comes from libc itself and is therefore not portable to
124
+ # hard code here. In any case, failure to call dlopen() means we
125
+ # can proceed, so we bail on our attempt.
126
+ try:
127
+ process_namespace = ctypes.CDLL(None)
128
+ except OSError:
129
+ return None
130
+
131
+ try:
132
+ gnu_get_libc_version = process_namespace.gnu_get_libc_version
133
+ except AttributeError:
134
+ # Symbol doesn't exist -> therefore, we are not linked to
135
+ # glibc.
136
+ return None
137
+
138
+ # Call gnu_get_libc_version, which returns a string like "2.5"
139
+ gnu_get_libc_version.restype = ctypes.c_char_p
140
+ version_str: str = gnu_get_libc_version()
141
+ # py2 / py3 compatibility:
142
+ if not isinstance(version_str, str):
143
+ version_str = version_str.decode("ascii")
144
+
145
+ return version_str
146
+
147
+
148
+ def _glibc_version_string() -> str | None:
149
+ """Returns glibc version string, or None if not using glibc."""
150
+ return _glibc_version_string_confstr() or _glibc_version_string_ctypes()
151
+
152
+
153
+ def _parse_glibc_version(version_str: str) -> tuple[int, int]:
154
+ """Parse glibc version.
155
+
156
+ We use a regexp instead of str.split because we want to discard any
157
+ random junk that might come after the minor version -- this might happen
158
+ in patched/forked versions of glibc (e.g. Linaro's version of glibc
159
+ uses version strings like "2.20-2014.11"). See gh-3588.
160
+ """
161
+ m = re.match(r"(?P<major>[0-9]+)\.(?P<minor>[0-9]+)", version_str)
162
+ if not m:
163
+ warnings.warn(
164
+ f"Expected glibc version with 2 components major.minor, got: {version_str}",
165
+ RuntimeWarning,
166
+ stacklevel=2,
167
+ )
168
+ return -1, -1
169
+ return int(m.group("major")), int(m.group("minor"))
170
+
171
+
172
+ @functools.lru_cache
173
+ def _get_glibc_version() -> tuple[int, int]:
174
+ version_str = _glibc_version_string()
175
+ if version_str is None:
176
+ return (-1, -1)
177
+ return _parse_glibc_version(version_str)
178
+
179
+
180
+ # From PEP 513, PEP 600
181
+ def _is_compatible(arch: str, version: _GLibCVersion) -> bool:
182
+ sys_glibc = _get_glibc_version()
183
+ if sys_glibc < version:
184
+ return False
185
+ # Check for presence of _manylinux module.
186
+ try:
187
+ import _manylinux
188
+ except ImportError:
189
+ return True
190
+ if hasattr(_manylinux, "manylinux_compatible"):
191
+ result = _manylinux.manylinux_compatible(version[0], version[1], arch)
192
+ if result is not None:
193
+ return bool(result)
194
+ return True
195
+ if version == _GLibCVersion(2, 5):
196
+ if hasattr(_manylinux, "manylinux1_compatible"):
197
+ return bool(_manylinux.manylinux1_compatible)
198
+ if version == _GLibCVersion(2, 12):
199
+ if hasattr(_manylinux, "manylinux2010_compatible"):
200
+ return bool(_manylinux.manylinux2010_compatible)
201
+ if version == _GLibCVersion(2, 17):
202
+ if hasattr(_manylinux, "manylinux2014_compatible"):
203
+ return bool(_manylinux.manylinux2014_compatible)
204
+ return True
205
+
206
+
207
+ _LEGACY_MANYLINUX_MAP = {
208
+ # CentOS 7 w/ glibc 2.17 (PEP 599)
209
+ (2, 17): "manylinux2014",
210
+ # CentOS 6 w/ glibc 2.12 (PEP 571)
211
+ (2, 12): "manylinux2010",
212
+ # CentOS 5 w/ glibc 2.5 (PEP 513)
213
+ (2, 5): "manylinux1",
214
+ }
215
+
216
+
217
+ def platform_tags(archs: Sequence[str]) -> Iterator[str]:
218
+ """Generate manylinux tags compatible to the current platform.
219
+
220
+ :param archs: Sequence of compatible architectures.
221
+ The first one shall be the closest to the actual architecture and be the part of
222
+ platform tag after the ``linux_`` prefix, e.g. ``x86_64``.
223
+ The ``linux_`` prefix is assumed as a prerequisite for the current platform to
224
+ be manylinux-compatible.
225
+
226
+ :returns: An iterator of compatible manylinux tags.
227
+ """
228
+ if not _have_compatible_abi(sys.executable, archs):
229
+ return
230
+ # Oldest glibc to be supported regardless of architecture is (2, 17).
231
+ too_old_glibc2 = _GLibCVersion(2, 16)
232
+ if set(archs) & {"x86_64", "i686"}:
233
+ # On x86/i686 also oldest glibc to be supported is (2, 5).
234
+ too_old_glibc2 = _GLibCVersion(2, 4)
235
+ current_glibc = _GLibCVersion(*_get_glibc_version())
236
+ glibc_max_list = [current_glibc]
237
+ # We can assume compatibility across glibc major versions.
238
+ # https://sourceware.org/bugzilla/show_bug.cgi?id=24636
239
+ #
240
+ # Build a list of maximum glibc versions so that we can
241
+ # output the canonical list of all glibc from current_glibc
242
+ # down to too_old_glibc2, including all intermediary versions.
243
+ for glibc_major in range(current_glibc.major - 1, 1, -1):
244
+ glibc_minor = _LAST_GLIBC_MINOR[glibc_major]
245
+ glibc_max_list.append(_GLibCVersion(glibc_major, glibc_minor))
246
+ for arch in archs:
247
+ for glibc_max in glibc_max_list:
248
+ if glibc_max.major == too_old_glibc2.major:
249
+ min_minor = too_old_glibc2.minor
250
+ else:
251
+ # For other glibc major versions oldest supported is (x, 0).
252
+ min_minor = -1
253
+ for glibc_minor in range(glibc_max.minor, min_minor, -1):
254
+ glibc_version = _GLibCVersion(glibc_max.major, glibc_minor)
255
+ tag = "manylinux_{}_{}".format(*glibc_version)
256
+ if _is_compatible(arch, glibc_version):
257
+ yield f"{tag}_{arch}"
258
+ # Handle the legacy manylinux1, manylinux2010, manylinux2014 tags.
259
+ if glibc_version in _LEGACY_MANYLINUX_MAP:
260
+ legacy_tag = _LEGACY_MANYLINUX_MAP[glibc_version]
261
+ if _is_compatible(arch, glibc_version):
262
+ yield f"{legacy_tag}_{arch}"
miniconda3/lib/python3.13/site-packages/packaging/_musllinux.py ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """PEP 656 support.
2
+
3
+ This module implements logic to detect if the currently running Python is
4
+ linked against musl, and what musl version is used.
5
+ """
6
+
7
+ from __future__ import annotations
8
+
9
+ import functools
10
+ import re
11
+ import subprocess
12
+ import sys
13
+ from typing import Iterator, NamedTuple, Sequence
14
+
15
+ from ._elffile import ELFFile
16
+
17
+
18
+ class _MuslVersion(NamedTuple):
19
+ major: int
20
+ minor: int
21
+
22
+
23
+ def _parse_musl_version(output: str) -> _MuslVersion | None:
24
+ lines = [n for n in (n.strip() for n in output.splitlines()) if n]
25
+ if len(lines) < 2 or lines[0][:4] != "musl":
26
+ return None
27
+ m = re.match(r"Version (\d+)\.(\d+)", lines[1])
28
+ if not m:
29
+ return None
30
+ return _MuslVersion(major=int(m.group(1)), minor=int(m.group(2)))
31
+
32
+
33
+ @functools.lru_cache
34
+ def _get_musl_version(executable: str) -> _MuslVersion | None:
35
+ """Detect currently-running musl runtime version.
36
+
37
+ This is done by checking the specified executable's dynamic linking
38
+ information, and invoking the loader to parse its output for a version
39
+ string. If the loader is musl, the output would be something like::
40
+
41
+ musl libc (x86_64)
42
+ Version 1.2.2
43
+ Dynamic Program Loader
44
+ """
45
+ try:
46
+ with open(executable, "rb") as f:
47
+ ld = ELFFile(f).interpreter
48
+ except (OSError, TypeError, ValueError):
49
+ return None
50
+ if ld is None or "musl" not in ld:
51
+ return None
52
+ proc = subprocess.run([ld], stderr=subprocess.PIPE, text=True)
53
+ return _parse_musl_version(proc.stderr)
54
+
55
+
56
+ def platform_tags(archs: Sequence[str]) -> Iterator[str]:
57
+ """Generate musllinux tags compatible to the current platform.
58
+
59
+ :param archs: Sequence of compatible architectures.
60
+ The first one shall be the closest to the actual architecture and be the part of
61
+ platform tag after the ``linux_`` prefix, e.g. ``x86_64``.
62
+ The ``linux_`` prefix is assumed as a prerequisite for the current platform to
63
+ be musllinux-compatible.
64
+
65
+ :returns: An iterator of compatible musllinux tags.
66
+ """
67
+ sys_musl = _get_musl_version(sys.executable)
68
+ if sys_musl is None: # Python not dynamically linked against musl.
69
+ return
70
+ for arch in archs:
71
+ for minor in range(sys_musl.minor, -1, -1):
72
+ yield f"musllinux_{sys_musl.major}_{minor}_{arch}"
73
+
74
+
75
+ if __name__ == "__main__": # pragma: no cover
76
+ import sysconfig
77
+
78
+ plat = sysconfig.get_platform()
79
+ assert plat.startswith("linux-"), "not linux"
80
+
81
+ print("plat:", plat)
82
+ print("musl:", _get_musl_version(sys.executable))
83
+ print("tags:", end=" ")
84
+ for t in platform_tags(re.sub(r"[.-]", "_", plat.split("-", 1)[-1])):
85
+ print(t, end="\n ")
miniconda3/lib/python3.13/site-packages/packaging/_parser.py ADDED
@@ -0,0 +1,353 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Handwritten parser of dependency specifiers.
2
+
3
+ The docstring for each __parse_* function contains EBNF-inspired grammar representing
4
+ the implementation.
5
+ """
6
+
7
+ from __future__ import annotations
8
+
9
+ import ast
10
+ from typing import NamedTuple, Sequence, Tuple, Union
11
+
12
+ from ._tokenizer import DEFAULT_RULES, Tokenizer
13
+
14
+
15
+ class Node:
16
+ def __init__(self, value: str) -> None:
17
+ self.value = value
18
+
19
+ def __str__(self) -> str:
20
+ return self.value
21
+
22
+ def __repr__(self) -> str:
23
+ return f"<{self.__class__.__name__}('{self}')>"
24
+
25
+ def serialize(self) -> str:
26
+ raise NotImplementedError
27
+
28
+
29
+ class Variable(Node):
30
+ def serialize(self) -> str:
31
+ return str(self)
32
+
33
+
34
+ class Value(Node):
35
+ def serialize(self) -> str:
36
+ return f'"{self}"'
37
+
38
+
39
+ class Op(Node):
40
+ def serialize(self) -> str:
41
+ return str(self)
42
+
43
+
44
+ MarkerVar = Union[Variable, Value]
45
+ MarkerItem = Tuple[MarkerVar, Op, MarkerVar]
46
+ MarkerAtom = Union[MarkerItem, Sequence["MarkerAtom"]]
47
+ MarkerList = Sequence[Union["MarkerList", MarkerAtom, str]]
48
+
49
+
50
+ class ParsedRequirement(NamedTuple):
51
+ name: str
52
+ url: str
53
+ extras: list[str]
54
+ specifier: str
55
+ marker: MarkerList | None
56
+
57
+
58
+ # --------------------------------------------------------------------------------------
59
+ # Recursive descent parser for dependency specifier
60
+ # --------------------------------------------------------------------------------------
61
+ def parse_requirement(source: str) -> ParsedRequirement:
62
+ return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
63
+
64
+
65
+ def _parse_requirement(tokenizer: Tokenizer) -> ParsedRequirement:
66
+ """
67
+ requirement = WS? IDENTIFIER WS? extras WS? requirement_details
68
+ """
69
+ tokenizer.consume("WS")
70
+
71
+ name_token = tokenizer.expect(
72
+ "IDENTIFIER", expected="package name at the start of dependency specifier"
73
+ )
74
+ name = name_token.text
75
+ tokenizer.consume("WS")
76
+
77
+ extras = _parse_extras(tokenizer)
78
+ tokenizer.consume("WS")
79
+
80
+ url, specifier, marker = _parse_requirement_details(tokenizer)
81
+ tokenizer.expect("END", expected="end of dependency specifier")
82
+
83
+ return ParsedRequirement(name, url, extras, specifier, marker)
84
+
85
+
86
+ def _parse_requirement_details(
87
+ tokenizer: Tokenizer,
88
+ ) -> tuple[str, str, MarkerList | None]:
89
+ """
90
+ requirement_details = AT URL (WS requirement_marker?)?
91
+ | specifier WS? (requirement_marker)?
92
+ """
93
+
94
+ specifier = ""
95
+ url = ""
96
+ marker = None
97
+
98
+ if tokenizer.check("AT"):
99
+ tokenizer.read()
100
+ tokenizer.consume("WS")
101
+
102
+ url_start = tokenizer.position
103
+ url = tokenizer.expect("URL", expected="URL after @").text
104
+ if tokenizer.check("END", peek=True):
105
+ return (url, specifier, marker)
106
+
107
+ tokenizer.expect("WS", expected="whitespace after URL")
108
+
109
+ # The input might end after whitespace.
110
+ if tokenizer.check("END", peek=True):
111
+ return (url, specifier, marker)
112
+
113
+ marker = _parse_requirement_marker(
114
+ tokenizer, span_start=url_start, after="URL and whitespace"
115
+ )
116
+ else:
117
+ specifier_start = tokenizer.position
118
+ specifier = _parse_specifier(tokenizer)
119
+ tokenizer.consume("WS")
120
+
121
+ if tokenizer.check("END", peek=True):
122
+ return (url, specifier, marker)
123
+
124
+ marker = _parse_requirement_marker(
125
+ tokenizer,
126
+ span_start=specifier_start,
127
+ after=(
128
+ "version specifier"
129
+ if specifier
130
+ else "name and no valid version specifier"
131
+ ),
132
+ )
133
+
134
+ return (url, specifier, marker)
135
+
136
+
137
+ def _parse_requirement_marker(
138
+ tokenizer: Tokenizer, *, span_start: int, after: str
139
+ ) -> MarkerList:
140
+ """
141
+ requirement_marker = SEMICOLON marker WS?
142
+ """
143
+
144
+ if not tokenizer.check("SEMICOLON"):
145
+ tokenizer.raise_syntax_error(
146
+ f"Expected end or semicolon (after {after})",
147
+ span_start=span_start,
148
+ )
149
+ tokenizer.read()
150
+
151
+ marker = _parse_marker(tokenizer)
152
+ tokenizer.consume("WS")
153
+
154
+ return marker
155
+
156
+
157
+ def _parse_extras(tokenizer: Tokenizer) -> list[str]:
158
+ """
159
+ extras = (LEFT_BRACKET wsp* extras_list? wsp* RIGHT_BRACKET)?
160
+ """
161
+ if not tokenizer.check("LEFT_BRACKET", peek=True):
162
+ return []
163
+
164
+ with tokenizer.enclosing_tokens(
165
+ "LEFT_BRACKET",
166
+ "RIGHT_BRACKET",
167
+ around="extras",
168
+ ):
169
+ tokenizer.consume("WS")
170
+ extras = _parse_extras_list(tokenizer)
171
+ tokenizer.consume("WS")
172
+
173
+ return extras
174
+
175
+
176
+ def _parse_extras_list(tokenizer: Tokenizer) -> list[str]:
177
+ """
178
+ extras_list = identifier (wsp* ',' wsp* identifier)*
179
+ """
180
+ extras: list[str] = []
181
+
182
+ if not tokenizer.check("IDENTIFIER"):
183
+ return extras
184
+
185
+ extras.append(tokenizer.read().text)
186
+
187
+ while True:
188
+ tokenizer.consume("WS")
189
+ if tokenizer.check("IDENTIFIER", peek=True):
190
+ tokenizer.raise_syntax_error("Expected comma between extra names")
191
+ elif not tokenizer.check("COMMA"):
192
+ break
193
+
194
+ tokenizer.read()
195
+ tokenizer.consume("WS")
196
+
197
+ extra_token = tokenizer.expect("IDENTIFIER", expected="extra name after comma")
198
+ extras.append(extra_token.text)
199
+
200
+ return extras
201
+
202
+
203
+ def _parse_specifier(tokenizer: Tokenizer) -> str:
204
+ """
205
+ specifier = LEFT_PARENTHESIS WS? version_many WS? RIGHT_PARENTHESIS
206
+ | WS? version_many WS?
207
+ """
208
+ with tokenizer.enclosing_tokens(
209
+ "LEFT_PARENTHESIS",
210
+ "RIGHT_PARENTHESIS",
211
+ around="version specifier",
212
+ ):
213
+ tokenizer.consume("WS")
214
+ parsed_specifiers = _parse_version_many(tokenizer)
215
+ tokenizer.consume("WS")
216
+
217
+ return parsed_specifiers
218
+
219
+
220
+ def _parse_version_many(tokenizer: Tokenizer) -> str:
221
+ """
222
+ version_many = (SPECIFIER (WS? COMMA WS? SPECIFIER)*)?
223
+ """
224
+ parsed_specifiers = ""
225
+ while tokenizer.check("SPECIFIER"):
226
+ span_start = tokenizer.position
227
+ parsed_specifiers += tokenizer.read().text
228
+ if tokenizer.check("VERSION_PREFIX_TRAIL", peek=True):
229
+ tokenizer.raise_syntax_error(
230
+ ".* suffix can only be used with `==` or `!=` operators",
231
+ span_start=span_start,
232
+ span_end=tokenizer.position + 1,
233
+ )
234
+ if tokenizer.check("VERSION_LOCAL_LABEL_TRAIL", peek=True):
235
+ tokenizer.raise_syntax_error(
236
+ "Local version label can only be used with `==` or `!=` operators",
237
+ span_start=span_start,
238
+ span_end=tokenizer.position,
239
+ )
240
+ tokenizer.consume("WS")
241
+ if not tokenizer.check("COMMA"):
242
+ break
243
+ parsed_specifiers += tokenizer.read().text
244
+ tokenizer.consume("WS")
245
+
246
+ return parsed_specifiers
247
+
248
+
249
+ # --------------------------------------------------------------------------------------
250
+ # Recursive descent parser for marker expression
251
+ # --------------------------------------------------------------------------------------
252
+ def parse_marker(source: str) -> MarkerList:
253
+ return _parse_full_marker(Tokenizer(source, rules=DEFAULT_RULES))
254
+
255
+
256
+ def _parse_full_marker(tokenizer: Tokenizer) -> MarkerList:
257
+ retval = _parse_marker(tokenizer)
258
+ tokenizer.expect("END", expected="end of marker expression")
259
+ return retval
260
+
261
+
262
+ def _parse_marker(tokenizer: Tokenizer) -> MarkerList:
263
+ """
264
+ marker = marker_atom (BOOLOP marker_atom)+
265
+ """
266
+ expression = [_parse_marker_atom(tokenizer)]
267
+ while tokenizer.check("BOOLOP"):
268
+ token = tokenizer.read()
269
+ expr_right = _parse_marker_atom(tokenizer)
270
+ expression.extend((token.text, expr_right))
271
+ return expression
272
+
273
+
274
+ def _parse_marker_atom(tokenizer: Tokenizer) -> MarkerAtom:
275
+ """
276
+ marker_atom = WS? LEFT_PARENTHESIS WS? marker WS? RIGHT_PARENTHESIS WS?
277
+ | WS? marker_item WS?
278
+ """
279
+
280
+ tokenizer.consume("WS")
281
+ if tokenizer.check("LEFT_PARENTHESIS", peek=True):
282
+ with tokenizer.enclosing_tokens(
283
+ "LEFT_PARENTHESIS",
284
+ "RIGHT_PARENTHESIS",
285
+ around="marker expression",
286
+ ):
287
+ tokenizer.consume("WS")
288
+ marker: MarkerAtom = _parse_marker(tokenizer)
289
+ tokenizer.consume("WS")
290
+ else:
291
+ marker = _parse_marker_item(tokenizer)
292
+ tokenizer.consume("WS")
293
+ return marker
294
+
295
+
296
+ def _parse_marker_item(tokenizer: Tokenizer) -> MarkerItem:
297
+ """
298
+ marker_item = WS? marker_var WS? marker_op WS? marker_var WS?
299
+ """
300
+ tokenizer.consume("WS")
301
+ marker_var_left = _parse_marker_var(tokenizer)
302
+ tokenizer.consume("WS")
303
+ marker_op = _parse_marker_op(tokenizer)
304
+ tokenizer.consume("WS")
305
+ marker_var_right = _parse_marker_var(tokenizer)
306
+ tokenizer.consume("WS")
307
+ return (marker_var_left, marker_op, marker_var_right)
308
+
309
+
310
+ def _parse_marker_var(tokenizer: Tokenizer) -> MarkerVar:
311
+ """
312
+ marker_var = VARIABLE | QUOTED_STRING
313
+ """
314
+ if tokenizer.check("VARIABLE"):
315
+ return process_env_var(tokenizer.read().text.replace(".", "_"))
316
+ elif tokenizer.check("QUOTED_STRING"):
317
+ return process_python_str(tokenizer.read().text)
318
+ else:
319
+ tokenizer.raise_syntax_error(
320
+ message="Expected a marker variable or quoted string"
321
+ )
322
+
323
+
324
+ def process_env_var(env_var: str) -> Variable:
325
+ if env_var in ("platform_python_implementation", "python_implementation"):
326
+ return Variable("platform_python_implementation")
327
+ else:
328
+ return Variable(env_var)
329
+
330
+
331
+ def process_python_str(python_str: str) -> Value:
332
+ value = ast.literal_eval(python_str)
333
+ return Value(str(value))
334
+
335
+
336
+ def _parse_marker_op(tokenizer: Tokenizer) -> Op:
337
+ """
338
+ marker_op = IN | NOT IN | OP
339
+ """
340
+ if tokenizer.check("IN"):
341
+ tokenizer.read()
342
+ return Op("in")
343
+ elif tokenizer.check("NOT"):
344
+ tokenizer.read()
345
+ tokenizer.expect("WS", expected="whitespace after 'not'")
346
+ tokenizer.expect("IN", expected="'in' after 'not'")
347
+ return Op("not in")
348
+ elif tokenizer.check("OP"):
349
+ return Op(tokenizer.read().text)
350
+ else:
351
+ return tokenizer.raise_syntax_error(
352
+ "Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in"
353
+ )
miniconda3/lib/python3.13/site-packages/packaging/_structures.py ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+
6
+ class InfinityType:
7
+ def __repr__(self) -> str:
8
+ return "Infinity"
9
+
10
+ def __hash__(self) -> int:
11
+ return hash(repr(self))
12
+
13
+ def __lt__(self, other: object) -> bool:
14
+ return False
15
+
16
+ def __le__(self, other: object) -> bool:
17
+ return False
18
+
19
+ def __eq__(self, other: object) -> bool:
20
+ return isinstance(other, self.__class__)
21
+
22
+ def __gt__(self, other: object) -> bool:
23
+ return True
24
+
25
+ def __ge__(self, other: object) -> bool:
26
+ return True
27
+
28
+ def __neg__(self: object) -> "NegativeInfinityType":
29
+ return NegativeInfinity
30
+
31
+
32
+ Infinity = InfinityType()
33
+
34
+
35
+ class NegativeInfinityType:
36
+ def __repr__(self) -> str:
37
+ return "-Infinity"
38
+
39
+ def __hash__(self) -> int:
40
+ return hash(repr(self))
41
+
42
+ def __lt__(self, other: object) -> bool:
43
+ return True
44
+
45
+ def __le__(self, other: object) -> bool:
46
+ return True
47
+
48
+ def __eq__(self, other: object) -> bool:
49
+ return isinstance(other, self.__class__)
50
+
51
+ def __gt__(self, other: object) -> bool:
52
+ return False
53
+
54
+ def __ge__(self, other: object) -> bool:
55
+ return False
56
+
57
+ def __neg__(self: object) -> InfinityType:
58
+ return Infinity
59
+
60
+
61
+ NegativeInfinity = NegativeInfinityType()
miniconda3/lib/python3.13/site-packages/packaging/_tokenizer.py ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import contextlib
4
+ import re
5
+ from dataclasses import dataclass
6
+ from typing import Iterator, NoReturn
7
+
8
+ from .specifiers import Specifier
9
+
10
+
11
+ @dataclass
12
+ class Token:
13
+ name: str
14
+ text: str
15
+ position: int
16
+
17
+
18
+ class ParserSyntaxError(Exception):
19
+ """The provided source text could not be parsed correctly."""
20
+
21
+ def __init__(
22
+ self,
23
+ message: str,
24
+ *,
25
+ source: str,
26
+ span: tuple[int, int],
27
+ ) -> None:
28
+ self.span = span
29
+ self.message = message
30
+ self.source = source
31
+
32
+ super().__init__()
33
+
34
+ def __str__(self) -> str:
35
+ marker = " " * self.span[0] + "~" * (self.span[1] - self.span[0]) + "^"
36
+ return "\n ".join([self.message, self.source, marker])
37
+
38
+
39
+ DEFAULT_RULES: dict[str, str | re.Pattern[str]] = {
40
+ "LEFT_PARENTHESIS": r"\(",
41
+ "RIGHT_PARENTHESIS": r"\)",
42
+ "LEFT_BRACKET": r"\[",
43
+ "RIGHT_BRACKET": r"\]",
44
+ "SEMICOLON": r";",
45
+ "COMMA": r",",
46
+ "QUOTED_STRING": re.compile(
47
+ r"""
48
+ (
49
+ ('[^']*')
50
+ |
51
+ ("[^"]*")
52
+ )
53
+ """,
54
+ re.VERBOSE,
55
+ ),
56
+ "OP": r"(===|==|~=|!=|<=|>=|<|>)",
57
+ "BOOLOP": r"\b(or|and)\b",
58
+ "IN": r"\bin\b",
59
+ "NOT": r"\bnot\b",
60
+ "VARIABLE": re.compile(
61
+ r"""
62
+ \b(
63
+ python_version
64
+ |python_full_version
65
+ |os[._]name
66
+ |sys[._]platform
67
+ |platform_(release|system)
68
+ |platform[._](version|machine|python_implementation)
69
+ |python_implementation
70
+ |implementation_(name|version)
71
+ |extras?
72
+ |dependency_groups
73
+ )\b
74
+ """,
75
+ re.VERBOSE,
76
+ ),
77
+ "SPECIFIER": re.compile(
78
+ Specifier._operator_regex_str + Specifier._version_regex_str,
79
+ re.VERBOSE | re.IGNORECASE,
80
+ ),
81
+ "AT": r"\@",
82
+ "URL": r"[^ \t]+",
83
+ "IDENTIFIER": r"\b[a-zA-Z0-9][a-zA-Z0-9._-]*\b",
84
+ "VERSION_PREFIX_TRAIL": r"\.\*",
85
+ "VERSION_LOCAL_LABEL_TRAIL": r"\+[a-z0-9]+(?:[-_\.][a-z0-9]+)*",
86
+ "WS": r"[ \t]+",
87
+ "END": r"$",
88
+ }
89
+
90
+
91
+ class Tokenizer:
92
+ """Context-sensitive token parsing.
93
+
94
+ Provides methods to examine the input stream to check whether the next token
95
+ matches.
96
+ """
97
+
98
+ def __init__(
99
+ self,
100
+ source: str,
101
+ *,
102
+ rules: dict[str, str | re.Pattern[str]],
103
+ ) -> None:
104
+ self.source = source
105
+ self.rules: dict[str, re.Pattern[str]] = {
106
+ name: re.compile(pattern) for name, pattern in rules.items()
107
+ }
108
+ self.next_token: Token | None = None
109
+ self.position = 0
110
+
111
+ def consume(self, name: str) -> None:
112
+ """Move beyond provided token name, if at current position."""
113
+ if self.check(name):
114
+ self.read()
115
+
116
+ def check(self, name: str, *, peek: bool = False) -> bool:
117
+ """Check whether the next token has the provided name.
118
+
119
+ By default, if the check succeeds, the token *must* be read before
120
+ another check. If `peek` is set to `True`, the token is not loaded and
121
+ would need to be checked again.
122
+ """
123
+ assert self.next_token is None, (
124
+ f"Cannot check for {name!r}, already have {self.next_token!r}"
125
+ )
126
+ assert name in self.rules, f"Unknown token name: {name!r}"
127
+
128
+ expression = self.rules[name]
129
+
130
+ match = expression.match(self.source, self.position)
131
+ if match is None:
132
+ return False
133
+ if not peek:
134
+ self.next_token = Token(name, match[0], self.position)
135
+ return True
136
+
137
+ def expect(self, name: str, *, expected: str) -> Token:
138
+ """Expect a certain token name next, failing with a syntax error otherwise.
139
+
140
+ The token is *not* read.
141
+ """
142
+ if not self.check(name):
143
+ raise self.raise_syntax_error(f"Expected {expected}")
144
+ return self.read()
145
+
146
+ def read(self) -> Token:
147
+ """Consume the next token and return it."""
148
+ token = self.next_token
149
+ assert token is not None
150
+
151
+ self.position += len(token.text)
152
+ self.next_token = None
153
+
154
+ return token
155
+
156
+ def raise_syntax_error(
157
+ self,
158
+ message: str,
159
+ *,
160
+ span_start: int | None = None,
161
+ span_end: int | None = None,
162
+ ) -> NoReturn:
163
+ """Raise ParserSyntaxError at the given position."""
164
+ span = (
165
+ self.position if span_start is None else span_start,
166
+ self.position if span_end is None else span_end,
167
+ )
168
+ raise ParserSyntaxError(
169
+ message,
170
+ source=self.source,
171
+ span=span,
172
+ )
173
+
174
+ @contextlib.contextmanager
175
+ def enclosing_tokens(
176
+ self, open_token: str, close_token: str, *, around: str
177
+ ) -> Iterator[None]:
178
+ if self.check(open_token):
179
+ open_position = self.position
180
+ self.read()
181
+ else:
182
+ open_position = None
183
+
184
+ yield
185
+
186
+ if open_position is None:
187
+ return
188
+
189
+ if not self.check(close_token):
190
+ self.raise_syntax_error(
191
+ f"Expected matching {close_token} for {open_token}, after {around}",
192
+ span_start=open_position,
193
+ )
194
+
195
+ self.read()
miniconda3/lib/python3.13/site-packages/packaging/licenses/__init__.py ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #######################################################################################
2
+ #
3
+ # Adapted from:
4
+ # https://github.com/pypa/hatch/blob/5352e44/backend/src/hatchling/licenses/parse.py
5
+ #
6
+ # MIT License
7
+ #
8
+ # Copyright (c) 2017-present Ofek Lev <oss@ofek.dev>
9
+ #
10
+ # Permission is hereby granted, free of charge, to any person obtaining a copy of this
11
+ # software and associated documentation files (the "Software"), to deal in the Software
12
+ # without restriction, including without limitation the rights to use, copy, modify,
13
+ # merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
14
+ # permit persons to whom the Software is furnished to do so, subject to the following
15
+ # conditions:
16
+ #
17
+ # The above copyright notice and this permission notice shall be included in all copies
18
+ # or substantial portions of the Software.
19
+ #
20
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21
+ # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
22
+ # PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
23
+ # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
24
+ # CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
25
+ # OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
+ #
27
+ #
28
+ # With additional allowance of arbitrary `LicenseRef-` identifiers, not just
29
+ # `LicenseRef-Public-Domain` and `LicenseRef-Proprietary`.
30
+ #
31
+ #######################################################################################
32
+ from __future__ import annotations
33
+
34
+ import re
35
+ from typing import NewType, cast
36
+
37
+ from packaging.licenses._spdx import EXCEPTIONS, LICENSES
38
+
39
+ __all__ = [
40
+ "InvalidLicenseExpression",
41
+ "NormalizedLicenseExpression",
42
+ "canonicalize_license_expression",
43
+ ]
44
+
45
+ license_ref_allowed = re.compile("^[A-Za-z0-9.-]*$")
46
+
47
+ NormalizedLicenseExpression = NewType("NormalizedLicenseExpression", str)
48
+
49
+
50
+ class InvalidLicenseExpression(ValueError):
51
+ """Raised when a license-expression string is invalid
52
+
53
+ >>> canonicalize_license_expression("invalid")
54
+ Traceback (most recent call last):
55
+ ...
56
+ packaging.licenses.InvalidLicenseExpression: Invalid license expression: 'invalid'
57
+ """
58
+
59
+
60
+ def canonicalize_license_expression(
61
+ raw_license_expression: str,
62
+ ) -> NormalizedLicenseExpression:
63
+ if not raw_license_expression:
64
+ message = f"Invalid license expression: {raw_license_expression!r}"
65
+ raise InvalidLicenseExpression(message)
66
+
67
+ # Pad any parentheses so tokenization can be achieved by merely splitting on
68
+ # whitespace.
69
+ license_expression = raw_license_expression.replace("(", " ( ").replace(")", " ) ")
70
+ licenseref_prefix = "LicenseRef-"
71
+ license_refs = {
72
+ ref.lower(): "LicenseRef-" + ref[len(licenseref_prefix) :]
73
+ for ref in license_expression.split()
74
+ if ref.lower().startswith(licenseref_prefix.lower())
75
+ }
76
+
77
+ # Normalize to lower case so we can look up licenses/exceptions
78
+ # and so boolean operators are Python-compatible.
79
+ license_expression = license_expression.lower()
80
+
81
+ tokens = license_expression.split()
82
+
83
+ # Rather than implementing boolean logic, we create an expression that Python can
84
+ # parse. Everything that is not involved with the grammar itself is treated as
85
+ # `False` and the expression should evaluate as such.
86
+ python_tokens = []
87
+ for token in tokens:
88
+ if token not in {"or", "and", "with", "(", ")"}:
89
+ python_tokens.append("False")
90
+ elif token == "with":
91
+ python_tokens.append("or")
92
+ elif token == "(" and python_tokens and python_tokens[-1] not in {"or", "and"}:
93
+ message = f"Invalid license expression: {raw_license_expression!r}"
94
+ raise InvalidLicenseExpression(message)
95
+ else:
96
+ python_tokens.append(token)
97
+
98
+ python_expression = " ".join(python_tokens)
99
+ try:
100
+ invalid = eval(python_expression, globals(), locals())
101
+ except Exception:
102
+ invalid = True
103
+
104
+ if invalid is not False:
105
+ message = f"Invalid license expression: {raw_license_expression!r}"
106
+ raise InvalidLicenseExpression(message) from None
107
+
108
+ # Take a final pass to check for unknown licenses/exceptions.
109
+ normalized_tokens = []
110
+ for token in tokens:
111
+ if token in {"or", "and", "with", "(", ")"}:
112
+ normalized_tokens.append(token.upper())
113
+ continue
114
+
115
+ if normalized_tokens and normalized_tokens[-1] == "WITH":
116
+ if token not in EXCEPTIONS:
117
+ message = f"Unknown license exception: {token!r}"
118
+ raise InvalidLicenseExpression(message)
119
+
120
+ normalized_tokens.append(EXCEPTIONS[token]["id"])
121
+ else:
122
+ if token.endswith("+"):
123
+ final_token = token[:-1]
124
+ suffix = "+"
125
+ else:
126
+ final_token = token
127
+ suffix = ""
128
+
129
+ if final_token.startswith("licenseref-"):
130
+ if not license_ref_allowed.match(final_token):
131
+ message = f"Invalid licenseref: {final_token!r}"
132
+ raise InvalidLicenseExpression(message)
133
+ normalized_tokens.append(license_refs[final_token] + suffix)
134
+ else:
135
+ if final_token not in LICENSES:
136
+ message = f"Unknown license: {final_token!r}"
137
+ raise InvalidLicenseExpression(message)
138
+ normalized_tokens.append(LICENSES[final_token]["id"] + suffix)
139
+
140
+ normalized_expression = " ".join(normalized_tokens)
141
+
142
+ return cast(
143
+ NormalizedLicenseExpression,
144
+ normalized_expression.replace("( ", "(").replace(" )", ")"),
145
+ )
miniconda3/lib/python3.13/site-packages/packaging/licenses/_spdx.py ADDED
@@ -0,0 +1,759 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ from __future__ import annotations
3
+
4
+ from typing import TypedDict
5
+
6
+ class SPDXLicense(TypedDict):
7
+ id: str
8
+ deprecated: bool
9
+
10
+ class SPDXException(TypedDict):
11
+ id: str
12
+ deprecated: bool
13
+
14
+
15
+ VERSION = '3.25.0'
16
+
17
+ LICENSES: dict[str, SPDXLicense] = {
18
+ '0bsd': {'id': '0BSD', 'deprecated': False},
19
+ '3d-slicer-1.0': {'id': '3D-Slicer-1.0', 'deprecated': False},
20
+ 'aal': {'id': 'AAL', 'deprecated': False},
21
+ 'abstyles': {'id': 'Abstyles', 'deprecated': False},
22
+ 'adacore-doc': {'id': 'AdaCore-doc', 'deprecated': False},
23
+ 'adobe-2006': {'id': 'Adobe-2006', 'deprecated': False},
24
+ 'adobe-display-postscript': {'id': 'Adobe-Display-PostScript', 'deprecated': False},
25
+ 'adobe-glyph': {'id': 'Adobe-Glyph', 'deprecated': False},
26
+ 'adobe-utopia': {'id': 'Adobe-Utopia', 'deprecated': False},
27
+ 'adsl': {'id': 'ADSL', 'deprecated': False},
28
+ 'afl-1.1': {'id': 'AFL-1.1', 'deprecated': False},
29
+ 'afl-1.2': {'id': 'AFL-1.2', 'deprecated': False},
30
+ 'afl-2.0': {'id': 'AFL-2.0', 'deprecated': False},
31
+ 'afl-2.1': {'id': 'AFL-2.1', 'deprecated': False},
32
+ 'afl-3.0': {'id': 'AFL-3.0', 'deprecated': False},
33
+ 'afmparse': {'id': 'Afmparse', 'deprecated': False},
34
+ 'agpl-1.0': {'id': 'AGPL-1.0', 'deprecated': True},
35
+ 'agpl-1.0-only': {'id': 'AGPL-1.0-only', 'deprecated': False},
36
+ 'agpl-1.0-or-later': {'id': 'AGPL-1.0-or-later', 'deprecated': False},
37
+ 'agpl-3.0': {'id': 'AGPL-3.0', 'deprecated': True},
38
+ 'agpl-3.0-only': {'id': 'AGPL-3.0-only', 'deprecated': False},
39
+ 'agpl-3.0-or-later': {'id': 'AGPL-3.0-or-later', 'deprecated': False},
40
+ 'aladdin': {'id': 'Aladdin', 'deprecated': False},
41
+ 'amd-newlib': {'id': 'AMD-newlib', 'deprecated': False},
42
+ 'amdplpa': {'id': 'AMDPLPA', 'deprecated': False},
43
+ 'aml': {'id': 'AML', 'deprecated': False},
44
+ 'aml-glslang': {'id': 'AML-glslang', 'deprecated': False},
45
+ 'ampas': {'id': 'AMPAS', 'deprecated': False},
46
+ 'antlr-pd': {'id': 'ANTLR-PD', 'deprecated': False},
47
+ 'antlr-pd-fallback': {'id': 'ANTLR-PD-fallback', 'deprecated': False},
48
+ 'any-osi': {'id': 'any-OSI', 'deprecated': False},
49
+ 'apache-1.0': {'id': 'Apache-1.0', 'deprecated': False},
50
+ 'apache-1.1': {'id': 'Apache-1.1', 'deprecated': False},
51
+ 'apache-2.0': {'id': 'Apache-2.0', 'deprecated': False},
52
+ 'apafml': {'id': 'APAFML', 'deprecated': False},
53
+ 'apl-1.0': {'id': 'APL-1.0', 'deprecated': False},
54
+ 'app-s2p': {'id': 'App-s2p', 'deprecated': False},
55
+ 'apsl-1.0': {'id': 'APSL-1.0', 'deprecated': False},
56
+ 'apsl-1.1': {'id': 'APSL-1.1', 'deprecated': False},
57
+ 'apsl-1.2': {'id': 'APSL-1.2', 'deprecated': False},
58
+ 'apsl-2.0': {'id': 'APSL-2.0', 'deprecated': False},
59
+ 'arphic-1999': {'id': 'Arphic-1999', 'deprecated': False},
60
+ 'artistic-1.0': {'id': 'Artistic-1.0', 'deprecated': False},
61
+ 'artistic-1.0-cl8': {'id': 'Artistic-1.0-cl8', 'deprecated': False},
62
+ 'artistic-1.0-perl': {'id': 'Artistic-1.0-Perl', 'deprecated': False},
63
+ 'artistic-2.0': {'id': 'Artistic-2.0', 'deprecated': False},
64
+ 'aswf-digital-assets-1.0': {'id': 'ASWF-Digital-Assets-1.0', 'deprecated': False},
65
+ 'aswf-digital-assets-1.1': {'id': 'ASWF-Digital-Assets-1.1', 'deprecated': False},
66
+ 'baekmuk': {'id': 'Baekmuk', 'deprecated': False},
67
+ 'bahyph': {'id': 'Bahyph', 'deprecated': False},
68
+ 'barr': {'id': 'Barr', 'deprecated': False},
69
+ 'bcrypt-solar-designer': {'id': 'bcrypt-Solar-Designer', 'deprecated': False},
70
+ 'beerware': {'id': 'Beerware', 'deprecated': False},
71
+ 'bitstream-charter': {'id': 'Bitstream-Charter', 'deprecated': False},
72
+ 'bitstream-vera': {'id': 'Bitstream-Vera', 'deprecated': False},
73
+ 'bittorrent-1.0': {'id': 'BitTorrent-1.0', 'deprecated': False},
74
+ 'bittorrent-1.1': {'id': 'BitTorrent-1.1', 'deprecated': False},
75
+ 'blessing': {'id': 'blessing', 'deprecated': False},
76
+ 'blueoak-1.0.0': {'id': 'BlueOak-1.0.0', 'deprecated': False},
77
+ 'boehm-gc': {'id': 'Boehm-GC', 'deprecated': False},
78
+ 'borceux': {'id': 'Borceux', 'deprecated': False},
79
+ 'brian-gladman-2-clause': {'id': 'Brian-Gladman-2-Clause', 'deprecated': False},
80
+ 'brian-gladman-3-clause': {'id': 'Brian-Gladman-3-Clause', 'deprecated': False},
81
+ 'bsd-1-clause': {'id': 'BSD-1-Clause', 'deprecated': False},
82
+ 'bsd-2-clause': {'id': 'BSD-2-Clause', 'deprecated': False},
83
+ 'bsd-2-clause-darwin': {'id': 'BSD-2-Clause-Darwin', 'deprecated': False},
84
+ 'bsd-2-clause-first-lines': {'id': 'BSD-2-Clause-first-lines', 'deprecated': False},
85
+ 'bsd-2-clause-freebsd': {'id': 'BSD-2-Clause-FreeBSD', 'deprecated': True},
86
+ 'bsd-2-clause-netbsd': {'id': 'BSD-2-Clause-NetBSD', 'deprecated': True},
87
+ 'bsd-2-clause-patent': {'id': 'BSD-2-Clause-Patent', 'deprecated': False},
88
+ 'bsd-2-clause-views': {'id': 'BSD-2-Clause-Views', 'deprecated': False},
89
+ 'bsd-3-clause': {'id': 'BSD-3-Clause', 'deprecated': False},
90
+ 'bsd-3-clause-acpica': {'id': 'BSD-3-Clause-acpica', 'deprecated': False},
91
+ 'bsd-3-clause-attribution': {'id': 'BSD-3-Clause-Attribution', 'deprecated': False},
92
+ 'bsd-3-clause-clear': {'id': 'BSD-3-Clause-Clear', 'deprecated': False},
93
+ 'bsd-3-clause-flex': {'id': 'BSD-3-Clause-flex', 'deprecated': False},
94
+ 'bsd-3-clause-hp': {'id': 'BSD-3-Clause-HP', 'deprecated': False},
95
+ 'bsd-3-clause-lbnl': {'id': 'BSD-3-Clause-LBNL', 'deprecated': False},
96
+ 'bsd-3-clause-modification': {'id': 'BSD-3-Clause-Modification', 'deprecated': False},
97
+ 'bsd-3-clause-no-military-license': {'id': 'BSD-3-Clause-No-Military-License', 'deprecated': False},
98
+ 'bsd-3-clause-no-nuclear-license': {'id': 'BSD-3-Clause-No-Nuclear-License', 'deprecated': False},
99
+ 'bsd-3-clause-no-nuclear-license-2014': {'id': 'BSD-3-Clause-No-Nuclear-License-2014', 'deprecated': False},
100
+ 'bsd-3-clause-no-nuclear-warranty': {'id': 'BSD-3-Clause-No-Nuclear-Warranty', 'deprecated': False},
101
+ 'bsd-3-clause-open-mpi': {'id': 'BSD-3-Clause-Open-MPI', 'deprecated': False},
102
+ 'bsd-3-clause-sun': {'id': 'BSD-3-Clause-Sun', 'deprecated': False},
103
+ 'bsd-4-clause': {'id': 'BSD-4-Clause', 'deprecated': False},
104
+ 'bsd-4-clause-shortened': {'id': 'BSD-4-Clause-Shortened', 'deprecated': False},
105
+ 'bsd-4-clause-uc': {'id': 'BSD-4-Clause-UC', 'deprecated': False},
106
+ 'bsd-4.3reno': {'id': 'BSD-4.3RENO', 'deprecated': False},
107
+ 'bsd-4.3tahoe': {'id': 'BSD-4.3TAHOE', 'deprecated': False},
108
+ 'bsd-advertising-acknowledgement': {'id': 'BSD-Advertising-Acknowledgement', 'deprecated': False},
109
+ 'bsd-attribution-hpnd-disclaimer': {'id': 'BSD-Attribution-HPND-disclaimer', 'deprecated': False},
110
+ 'bsd-inferno-nettverk': {'id': 'BSD-Inferno-Nettverk', 'deprecated': False},
111
+ 'bsd-protection': {'id': 'BSD-Protection', 'deprecated': False},
112
+ 'bsd-source-beginning-file': {'id': 'BSD-Source-beginning-file', 'deprecated': False},
113
+ 'bsd-source-code': {'id': 'BSD-Source-Code', 'deprecated': False},
114
+ 'bsd-systemics': {'id': 'BSD-Systemics', 'deprecated': False},
115
+ 'bsd-systemics-w3works': {'id': 'BSD-Systemics-W3Works', 'deprecated': False},
116
+ 'bsl-1.0': {'id': 'BSL-1.0', 'deprecated': False},
117
+ 'busl-1.1': {'id': 'BUSL-1.1', 'deprecated': False},
118
+ 'bzip2-1.0.5': {'id': 'bzip2-1.0.5', 'deprecated': True},
119
+ 'bzip2-1.0.6': {'id': 'bzip2-1.0.6', 'deprecated': False},
120
+ 'c-uda-1.0': {'id': 'C-UDA-1.0', 'deprecated': False},
121
+ 'cal-1.0': {'id': 'CAL-1.0', 'deprecated': False},
122
+ 'cal-1.0-combined-work-exception': {'id': 'CAL-1.0-Combined-Work-Exception', 'deprecated': False},
123
+ 'caldera': {'id': 'Caldera', 'deprecated': False},
124
+ 'caldera-no-preamble': {'id': 'Caldera-no-preamble', 'deprecated': False},
125
+ 'catharon': {'id': 'Catharon', 'deprecated': False},
126
+ 'catosl-1.1': {'id': 'CATOSL-1.1', 'deprecated': False},
127
+ 'cc-by-1.0': {'id': 'CC-BY-1.0', 'deprecated': False},
128
+ 'cc-by-2.0': {'id': 'CC-BY-2.0', 'deprecated': False},
129
+ 'cc-by-2.5': {'id': 'CC-BY-2.5', 'deprecated': False},
130
+ 'cc-by-2.5-au': {'id': 'CC-BY-2.5-AU', 'deprecated': False},
131
+ 'cc-by-3.0': {'id': 'CC-BY-3.0', 'deprecated': False},
132
+ 'cc-by-3.0-at': {'id': 'CC-BY-3.0-AT', 'deprecated': False},
133
+ 'cc-by-3.0-au': {'id': 'CC-BY-3.0-AU', 'deprecated': False},
134
+ 'cc-by-3.0-de': {'id': 'CC-BY-3.0-DE', 'deprecated': False},
135
+ 'cc-by-3.0-igo': {'id': 'CC-BY-3.0-IGO', 'deprecated': False},
136
+ 'cc-by-3.0-nl': {'id': 'CC-BY-3.0-NL', 'deprecated': False},
137
+ 'cc-by-3.0-us': {'id': 'CC-BY-3.0-US', 'deprecated': False},
138
+ 'cc-by-4.0': {'id': 'CC-BY-4.0', 'deprecated': False},
139
+ 'cc-by-nc-1.0': {'id': 'CC-BY-NC-1.0', 'deprecated': False},
140
+ 'cc-by-nc-2.0': {'id': 'CC-BY-NC-2.0', 'deprecated': False},
141
+ 'cc-by-nc-2.5': {'id': 'CC-BY-NC-2.5', 'deprecated': False},
142
+ 'cc-by-nc-3.0': {'id': 'CC-BY-NC-3.0', 'deprecated': False},
143
+ 'cc-by-nc-3.0-de': {'id': 'CC-BY-NC-3.0-DE', 'deprecated': False},
144
+ 'cc-by-nc-4.0': {'id': 'CC-BY-NC-4.0', 'deprecated': False},
145
+ 'cc-by-nc-nd-1.0': {'id': 'CC-BY-NC-ND-1.0', 'deprecated': False},
146
+ 'cc-by-nc-nd-2.0': {'id': 'CC-BY-NC-ND-2.0', 'deprecated': False},
147
+ 'cc-by-nc-nd-2.5': {'id': 'CC-BY-NC-ND-2.5', 'deprecated': False},
148
+ 'cc-by-nc-nd-3.0': {'id': 'CC-BY-NC-ND-3.0', 'deprecated': False},
149
+ 'cc-by-nc-nd-3.0-de': {'id': 'CC-BY-NC-ND-3.0-DE', 'deprecated': False},
150
+ 'cc-by-nc-nd-3.0-igo': {'id': 'CC-BY-NC-ND-3.0-IGO', 'deprecated': False},
151
+ 'cc-by-nc-nd-4.0': {'id': 'CC-BY-NC-ND-4.0', 'deprecated': False},
152
+ 'cc-by-nc-sa-1.0': {'id': 'CC-BY-NC-SA-1.0', 'deprecated': False},
153
+ 'cc-by-nc-sa-2.0': {'id': 'CC-BY-NC-SA-2.0', 'deprecated': False},
154
+ 'cc-by-nc-sa-2.0-de': {'id': 'CC-BY-NC-SA-2.0-DE', 'deprecated': False},
155
+ 'cc-by-nc-sa-2.0-fr': {'id': 'CC-BY-NC-SA-2.0-FR', 'deprecated': False},
156
+ 'cc-by-nc-sa-2.0-uk': {'id': 'CC-BY-NC-SA-2.0-UK', 'deprecated': False},
157
+ 'cc-by-nc-sa-2.5': {'id': 'CC-BY-NC-SA-2.5', 'deprecated': False},
158
+ 'cc-by-nc-sa-3.0': {'id': 'CC-BY-NC-SA-3.0', 'deprecated': False},
159
+ 'cc-by-nc-sa-3.0-de': {'id': 'CC-BY-NC-SA-3.0-DE', 'deprecated': False},
160
+ 'cc-by-nc-sa-3.0-igo': {'id': 'CC-BY-NC-SA-3.0-IGO', 'deprecated': False},
161
+ 'cc-by-nc-sa-4.0': {'id': 'CC-BY-NC-SA-4.0', 'deprecated': False},
162
+ 'cc-by-nd-1.0': {'id': 'CC-BY-ND-1.0', 'deprecated': False},
163
+ 'cc-by-nd-2.0': {'id': 'CC-BY-ND-2.0', 'deprecated': False},
164
+ 'cc-by-nd-2.5': {'id': 'CC-BY-ND-2.5', 'deprecated': False},
165
+ 'cc-by-nd-3.0': {'id': 'CC-BY-ND-3.0', 'deprecated': False},
166
+ 'cc-by-nd-3.0-de': {'id': 'CC-BY-ND-3.0-DE', 'deprecated': False},
167
+ 'cc-by-nd-4.0': {'id': 'CC-BY-ND-4.0', 'deprecated': False},
168
+ 'cc-by-sa-1.0': {'id': 'CC-BY-SA-1.0', 'deprecated': False},
169
+ 'cc-by-sa-2.0': {'id': 'CC-BY-SA-2.0', 'deprecated': False},
170
+ 'cc-by-sa-2.0-uk': {'id': 'CC-BY-SA-2.0-UK', 'deprecated': False},
171
+ 'cc-by-sa-2.1-jp': {'id': 'CC-BY-SA-2.1-JP', 'deprecated': False},
172
+ 'cc-by-sa-2.5': {'id': 'CC-BY-SA-2.5', 'deprecated': False},
173
+ 'cc-by-sa-3.0': {'id': 'CC-BY-SA-3.0', 'deprecated': False},
174
+ 'cc-by-sa-3.0-at': {'id': 'CC-BY-SA-3.0-AT', 'deprecated': False},
175
+ 'cc-by-sa-3.0-de': {'id': 'CC-BY-SA-3.0-DE', 'deprecated': False},
176
+ 'cc-by-sa-3.0-igo': {'id': 'CC-BY-SA-3.0-IGO', 'deprecated': False},
177
+ 'cc-by-sa-4.0': {'id': 'CC-BY-SA-4.0', 'deprecated': False},
178
+ 'cc-pddc': {'id': 'CC-PDDC', 'deprecated': False},
179
+ 'cc0-1.0': {'id': 'CC0-1.0', 'deprecated': False},
180
+ 'cddl-1.0': {'id': 'CDDL-1.0', 'deprecated': False},
181
+ 'cddl-1.1': {'id': 'CDDL-1.1', 'deprecated': False},
182
+ 'cdl-1.0': {'id': 'CDL-1.0', 'deprecated': False},
183
+ 'cdla-permissive-1.0': {'id': 'CDLA-Permissive-1.0', 'deprecated': False},
184
+ 'cdla-permissive-2.0': {'id': 'CDLA-Permissive-2.0', 'deprecated': False},
185
+ 'cdla-sharing-1.0': {'id': 'CDLA-Sharing-1.0', 'deprecated': False},
186
+ 'cecill-1.0': {'id': 'CECILL-1.0', 'deprecated': False},
187
+ 'cecill-1.1': {'id': 'CECILL-1.1', 'deprecated': False},
188
+ 'cecill-2.0': {'id': 'CECILL-2.0', 'deprecated': False},
189
+ 'cecill-2.1': {'id': 'CECILL-2.1', 'deprecated': False},
190
+ 'cecill-b': {'id': 'CECILL-B', 'deprecated': False},
191
+ 'cecill-c': {'id': 'CECILL-C', 'deprecated': False},
192
+ 'cern-ohl-1.1': {'id': 'CERN-OHL-1.1', 'deprecated': False},
193
+ 'cern-ohl-1.2': {'id': 'CERN-OHL-1.2', 'deprecated': False},
194
+ 'cern-ohl-p-2.0': {'id': 'CERN-OHL-P-2.0', 'deprecated': False},
195
+ 'cern-ohl-s-2.0': {'id': 'CERN-OHL-S-2.0', 'deprecated': False},
196
+ 'cern-ohl-w-2.0': {'id': 'CERN-OHL-W-2.0', 'deprecated': False},
197
+ 'cfitsio': {'id': 'CFITSIO', 'deprecated': False},
198
+ 'check-cvs': {'id': 'check-cvs', 'deprecated': False},
199
+ 'checkmk': {'id': 'checkmk', 'deprecated': False},
200
+ 'clartistic': {'id': 'ClArtistic', 'deprecated': False},
201
+ 'clips': {'id': 'Clips', 'deprecated': False},
202
+ 'cmu-mach': {'id': 'CMU-Mach', 'deprecated': False},
203
+ 'cmu-mach-nodoc': {'id': 'CMU-Mach-nodoc', 'deprecated': False},
204
+ 'cnri-jython': {'id': 'CNRI-Jython', 'deprecated': False},
205
+ 'cnri-python': {'id': 'CNRI-Python', 'deprecated': False},
206
+ 'cnri-python-gpl-compatible': {'id': 'CNRI-Python-GPL-Compatible', 'deprecated': False},
207
+ 'coil-1.0': {'id': 'COIL-1.0', 'deprecated': False},
208
+ 'community-spec-1.0': {'id': 'Community-Spec-1.0', 'deprecated': False},
209
+ 'condor-1.1': {'id': 'Condor-1.1', 'deprecated': False},
210
+ 'copyleft-next-0.3.0': {'id': 'copyleft-next-0.3.0', 'deprecated': False},
211
+ 'copyleft-next-0.3.1': {'id': 'copyleft-next-0.3.1', 'deprecated': False},
212
+ 'cornell-lossless-jpeg': {'id': 'Cornell-Lossless-JPEG', 'deprecated': False},
213
+ 'cpal-1.0': {'id': 'CPAL-1.0', 'deprecated': False},
214
+ 'cpl-1.0': {'id': 'CPL-1.0', 'deprecated': False},
215
+ 'cpol-1.02': {'id': 'CPOL-1.02', 'deprecated': False},
216
+ 'cronyx': {'id': 'Cronyx', 'deprecated': False},
217
+ 'crossword': {'id': 'Crossword', 'deprecated': False},
218
+ 'crystalstacker': {'id': 'CrystalStacker', 'deprecated': False},
219
+ 'cua-opl-1.0': {'id': 'CUA-OPL-1.0', 'deprecated': False},
220
+ 'cube': {'id': 'Cube', 'deprecated': False},
221
+ 'curl': {'id': 'curl', 'deprecated': False},
222
+ 'cve-tou': {'id': 'cve-tou', 'deprecated': False},
223
+ 'd-fsl-1.0': {'id': 'D-FSL-1.0', 'deprecated': False},
224
+ 'dec-3-clause': {'id': 'DEC-3-Clause', 'deprecated': False},
225
+ 'diffmark': {'id': 'diffmark', 'deprecated': False},
226
+ 'dl-de-by-2.0': {'id': 'DL-DE-BY-2.0', 'deprecated': False},
227
+ 'dl-de-zero-2.0': {'id': 'DL-DE-ZERO-2.0', 'deprecated': False},
228
+ 'doc': {'id': 'DOC', 'deprecated': False},
229
+ 'docbook-schema': {'id': 'DocBook-Schema', 'deprecated': False},
230
+ 'docbook-xml': {'id': 'DocBook-XML', 'deprecated': False},
231
+ 'dotseqn': {'id': 'Dotseqn', 'deprecated': False},
232
+ 'drl-1.0': {'id': 'DRL-1.0', 'deprecated': False},
233
+ 'drl-1.1': {'id': 'DRL-1.1', 'deprecated': False},
234
+ 'dsdp': {'id': 'DSDP', 'deprecated': False},
235
+ 'dtoa': {'id': 'dtoa', 'deprecated': False},
236
+ 'dvipdfm': {'id': 'dvipdfm', 'deprecated': False},
237
+ 'ecl-1.0': {'id': 'ECL-1.0', 'deprecated': False},
238
+ 'ecl-2.0': {'id': 'ECL-2.0', 'deprecated': False},
239
+ 'ecos-2.0': {'id': 'eCos-2.0', 'deprecated': True},
240
+ 'efl-1.0': {'id': 'EFL-1.0', 'deprecated': False},
241
+ 'efl-2.0': {'id': 'EFL-2.0', 'deprecated': False},
242
+ 'egenix': {'id': 'eGenix', 'deprecated': False},
243
+ 'elastic-2.0': {'id': 'Elastic-2.0', 'deprecated': False},
244
+ 'entessa': {'id': 'Entessa', 'deprecated': False},
245
+ 'epics': {'id': 'EPICS', 'deprecated': False},
246
+ 'epl-1.0': {'id': 'EPL-1.0', 'deprecated': False},
247
+ 'epl-2.0': {'id': 'EPL-2.0', 'deprecated': False},
248
+ 'erlpl-1.1': {'id': 'ErlPL-1.1', 'deprecated': False},
249
+ 'etalab-2.0': {'id': 'etalab-2.0', 'deprecated': False},
250
+ 'eudatagrid': {'id': 'EUDatagrid', 'deprecated': False},
251
+ 'eupl-1.0': {'id': 'EUPL-1.0', 'deprecated': False},
252
+ 'eupl-1.1': {'id': 'EUPL-1.1', 'deprecated': False},
253
+ 'eupl-1.2': {'id': 'EUPL-1.2', 'deprecated': False},
254
+ 'eurosym': {'id': 'Eurosym', 'deprecated': False},
255
+ 'fair': {'id': 'Fair', 'deprecated': False},
256
+ 'fbm': {'id': 'FBM', 'deprecated': False},
257
+ 'fdk-aac': {'id': 'FDK-AAC', 'deprecated': False},
258
+ 'ferguson-twofish': {'id': 'Ferguson-Twofish', 'deprecated': False},
259
+ 'frameworx-1.0': {'id': 'Frameworx-1.0', 'deprecated': False},
260
+ 'freebsd-doc': {'id': 'FreeBSD-DOC', 'deprecated': False},
261
+ 'freeimage': {'id': 'FreeImage', 'deprecated': False},
262
+ 'fsfap': {'id': 'FSFAP', 'deprecated': False},
263
+ 'fsfap-no-warranty-disclaimer': {'id': 'FSFAP-no-warranty-disclaimer', 'deprecated': False},
264
+ 'fsful': {'id': 'FSFUL', 'deprecated': False},
265
+ 'fsfullr': {'id': 'FSFULLR', 'deprecated': False},
266
+ 'fsfullrwd': {'id': 'FSFULLRWD', 'deprecated': False},
267
+ 'ftl': {'id': 'FTL', 'deprecated': False},
268
+ 'furuseth': {'id': 'Furuseth', 'deprecated': False},
269
+ 'fwlw': {'id': 'fwlw', 'deprecated': False},
270
+ 'gcr-docs': {'id': 'GCR-docs', 'deprecated': False},
271
+ 'gd': {'id': 'GD', 'deprecated': False},
272
+ 'gfdl-1.1': {'id': 'GFDL-1.1', 'deprecated': True},
273
+ 'gfdl-1.1-invariants-only': {'id': 'GFDL-1.1-invariants-only', 'deprecated': False},
274
+ 'gfdl-1.1-invariants-or-later': {'id': 'GFDL-1.1-invariants-or-later', 'deprecated': False},
275
+ 'gfdl-1.1-no-invariants-only': {'id': 'GFDL-1.1-no-invariants-only', 'deprecated': False},
276
+ 'gfdl-1.1-no-invariants-or-later': {'id': 'GFDL-1.1-no-invariants-or-later', 'deprecated': False},
277
+ 'gfdl-1.1-only': {'id': 'GFDL-1.1-only', 'deprecated': False},
278
+ 'gfdl-1.1-or-later': {'id': 'GFDL-1.1-or-later', 'deprecated': False},
279
+ 'gfdl-1.2': {'id': 'GFDL-1.2', 'deprecated': True},
280
+ 'gfdl-1.2-invariants-only': {'id': 'GFDL-1.2-invariants-only', 'deprecated': False},
281
+ 'gfdl-1.2-invariants-or-later': {'id': 'GFDL-1.2-invariants-or-later', 'deprecated': False},
282
+ 'gfdl-1.2-no-invariants-only': {'id': 'GFDL-1.2-no-invariants-only', 'deprecated': False},
283
+ 'gfdl-1.2-no-invariants-or-later': {'id': 'GFDL-1.2-no-invariants-or-later', 'deprecated': False},
284
+ 'gfdl-1.2-only': {'id': 'GFDL-1.2-only', 'deprecated': False},
285
+ 'gfdl-1.2-or-later': {'id': 'GFDL-1.2-or-later', 'deprecated': False},
286
+ 'gfdl-1.3': {'id': 'GFDL-1.3', 'deprecated': True},
287
+ 'gfdl-1.3-invariants-only': {'id': 'GFDL-1.3-invariants-only', 'deprecated': False},
288
+ 'gfdl-1.3-invariants-or-later': {'id': 'GFDL-1.3-invariants-or-later', 'deprecated': False},
289
+ 'gfdl-1.3-no-invariants-only': {'id': 'GFDL-1.3-no-invariants-only', 'deprecated': False},
290
+ 'gfdl-1.3-no-invariants-or-later': {'id': 'GFDL-1.3-no-invariants-or-later', 'deprecated': False},
291
+ 'gfdl-1.3-only': {'id': 'GFDL-1.3-only', 'deprecated': False},
292
+ 'gfdl-1.3-or-later': {'id': 'GFDL-1.3-or-later', 'deprecated': False},
293
+ 'giftware': {'id': 'Giftware', 'deprecated': False},
294
+ 'gl2ps': {'id': 'GL2PS', 'deprecated': False},
295
+ 'glide': {'id': 'Glide', 'deprecated': False},
296
+ 'glulxe': {'id': 'Glulxe', 'deprecated': False},
297
+ 'glwtpl': {'id': 'GLWTPL', 'deprecated': False},
298
+ 'gnuplot': {'id': 'gnuplot', 'deprecated': False},
299
+ 'gpl-1.0': {'id': 'GPL-1.0', 'deprecated': True},
300
+ 'gpl-1.0+': {'id': 'GPL-1.0+', 'deprecated': True},
301
+ 'gpl-1.0-only': {'id': 'GPL-1.0-only', 'deprecated': False},
302
+ 'gpl-1.0-or-later': {'id': 'GPL-1.0-or-later', 'deprecated': False},
303
+ 'gpl-2.0': {'id': 'GPL-2.0', 'deprecated': True},
304
+ 'gpl-2.0+': {'id': 'GPL-2.0+', 'deprecated': True},
305
+ 'gpl-2.0-only': {'id': 'GPL-2.0-only', 'deprecated': False},
306
+ 'gpl-2.0-or-later': {'id': 'GPL-2.0-or-later', 'deprecated': False},
307
+ 'gpl-2.0-with-autoconf-exception': {'id': 'GPL-2.0-with-autoconf-exception', 'deprecated': True},
308
+ 'gpl-2.0-with-bison-exception': {'id': 'GPL-2.0-with-bison-exception', 'deprecated': True},
309
+ 'gpl-2.0-with-classpath-exception': {'id': 'GPL-2.0-with-classpath-exception', 'deprecated': True},
310
+ 'gpl-2.0-with-font-exception': {'id': 'GPL-2.0-with-font-exception', 'deprecated': True},
311
+ 'gpl-2.0-with-gcc-exception': {'id': 'GPL-2.0-with-GCC-exception', 'deprecated': True},
312
+ 'gpl-3.0': {'id': 'GPL-3.0', 'deprecated': True},
313
+ 'gpl-3.0+': {'id': 'GPL-3.0+', 'deprecated': True},
314
+ 'gpl-3.0-only': {'id': 'GPL-3.0-only', 'deprecated': False},
315
+ 'gpl-3.0-or-later': {'id': 'GPL-3.0-or-later', 'deprecated': False},
316
+ 'gpl-3.0-with-autoconf-exception': {'id': 'GPL-3.0-with-autoconf-exception', 'deprecated': True},
317
+ 'gpl-3.0-with-gcc-exception': {'id': 'GPL-3.0-with-GCC-exception', 'deprecated': True},
318
+ 'graphics-gems': {'id': 'Graphics-Gems', 'deprecated': False},
319
+ 'gsoap-1.3b': {'id': 'gSOAP-1.3b', 'deprecated': False},
320
+ 'gtkbook': {'id': 'gtkbook', 'deprecated': False},
321
+ 'gutmann': {'id': 'Gutmann', 'deprecated': False},
322
+ 'haskellreport': {'id': 'HaskellReport', 'deprecated': False},
323
+ 'hdparm': {'id': 'hdparm', 'deprecated': False},
324
+ 'hidapi': {'id': 'HIDAPI', 'deprecated': False},
325
+ 'hippocratic-2.1': {'id': 'Hippocratic-2.1', 'deprecated': False},
326
+ 'hp-1986': {'id': 'HP-1986', 'deprecated': False},
327
+ 'hp-1989': {'id': 'HP-1989', 'deprecated': False},
328
+ 'hpnd': {'id': 'HPND', 'deprecated': False},
329
+ 'hpnd-dec': {'id': 'HPND-DEC', 'deprecated': False},
330
+ 'hpnd-doc': {'id': 'HPND-doc', 'deprecated': False},
331
+ 'hpnd-doc-sell': {'id': 'HPND-doc-sell', 'deprecated': False},
332
+ 'hpnd-export-us': {'id': 'HPND-export-US', 'deprecated': False},
333
+ 'hpnd-export-us-acknowledgement': {'id': 'HPND-export-US-acknowledgement', 'deprecated': False},
334
+ 'hpnd-export-us-modify': {'id': 'HPND-export-US-modify', 'deprecated': False},
335
+ 'hpnd-export2-us': {'id': 'HPND-export2-US', 'deprecated': False},
336
+ 'hpnd-fenneberg-livingston': {'id': 'HPND-Fenneberg-Livingston', 'deprecated': False},
337
+ 'hpnd-inria-imag': {'id': 'HPND-INRIA-IMAG', 'deprecated': False},
338
+ 'hpnd-intel': {'id': 'HPND-Intel', 'deprecated': False},
339
+ 'hpnd-kevlin-henney': {'id': 'HPND-Kevlin-Henney', 'deprecated': False},
340
+ 'hpnd-markus-kuhn': {'id': 'HPND-Markus-Kuhn', 'deprecated': False},
341
+ 'hpnd-merchantability-variant': {'id': 'HPND-merchantability-variant', 'deprecated': False},
342
+ 'hpnd-mit-disclaimer': {'id': 'HPND-MIT-disclaimer', 'deprecated': False},
343
+ 'hpnd-netrek': {'id': 'HPND-Netrek', 'deprecated': False},
344
+ 'hpnd-pbmplus': {'id': 'HPND-Pbmplus', 'deprecated': False},
345
+ 'hpnd-sell-mit-disclaimer-xserver': {'id': 'HPND-sell-MIT-disclaimer-xserver', 'deprecated': False},
346
+ 'hpnd-sell-regexpr': {'id': 'HPND-sell-regexpr', 'deprecated': False},
347
+ 'hpnd-sell-variant': {'id': 'HPND-sell-variant', 'deprecated': False},
348
+ 'hpnd-sell-variant-mit-disclaimer': {'id': 'HPND-sell-variant-MIT-disclaimer', 'deprecated': False},
349
+ 'hpnd-sell-variant-mit-disclaimer-rev': {'id': 'HPND-sell-variant-MIT-disclaimer-rev', 'deprecated': False},
350
+ 'hpnd-uc': {'id': 'HPND-UC', 'deprecated': False},
351
+ 'hpnd-uc-export-us': {'id': 'HPND-UC-export-US', 'deprecated': False},
352
+ 'htmltidy': {'id': 'HTMLTIDY', 'deprecated': False},
353
+ 'ibm-pibs': {'id': 'IBM-pibs', 'deprecated': False},
354
+ 'icu': {'id': 'ICU', 'deprecated': False},
355
+ 'iec-code-components-eula': {'id': 'IEC-Code-Components-EULA', 'deprecated': False},
356
+ 'ijg': {'id': 'IJG', 'deprecated': False},
357
+ 'ijg-short': {'id': 'IJG-short', 'deprecated': False},
358
+ 'imagemagick': {'id': 'ImageMagick', 'deprecated': False},
359
+ 'imatix': {'id': 'iMatix', 'deprecated': False},
360
+ 'imlib2': {'id': 'Imlib2', 'deprecated': False},
361
+ 'info-zip': {'id': 'Info-ZIP', 'deprecated': False},
362
+ 'inner-net-2.0': {'id': 'Inner-Net-2.0', 'deprecated': False},
363
+ 'intel': {'id': 'Intel', 'deprecated': False},
364
+ 'intel-acpi': {'id': 'Intel-ACPI', 'deprecated': False},
365
+ 'interbase-1.0': {'id': 'Interbase-1.0', 'deprecated': False},
366
+ 'ipa': {'id': 'IPA', 'deprecated': False},
367
+ 'ipl-1.0': {'id': 'IPL-1.0', 'deprecated': False},
368
+ 'isc': {'id': 'ISC', 'deprecated': False},
369
+ 'isc-veillard': {'id': 'ISC-Veillard', 'deprecated': False},
370
+ 'jam': {'id': 'Jam', 'deprecated': False},
371
+ 'jasper-2.0': {'id': 'JasPer-2.0', 'deprecated': False},
372
+ 'jpl-image': {'id': 'JPL-image', 'deprecated': False},
373
+ 'jpnic': {'id': 'JPNIC', 'deprecated': False},
374
+ 'json': {'id': 'JSON', 'deprecated': False},
375
+ 'kastrup': {'id': 'Kastrup', 'deprecated': False},
376
+ 'kazlib': {'id': 'Kazlib', 'deprecated': False},
377
+ 'knuth-ctan': {'id': 'Knuth-CTAN', 'deprecated': False},
378
+ 'lal-1.2': {'id': 'LAL-1.2', 'deprecated': False},
379
+ 'lal-1.3': {'id': 'LAL-1.3', 'deprecated': False},
380
+ 'latex2e': {'id': 'Latex2e', 'deprecated': False},
381
+ 'latex2e-translated-notice': {'id': 'Latex2e-translated-notice', 'deprecated': False},
382
+ 'leptonica': {'id': 'Leptonica', 'deprecated': False},
383
+ 'lgpl-2.0': {'id': 'LGPL-2.0', 'deprecated': True},
384
+ 'lgpl-2.0+': {'id': 'LGPL-2.0+', 'deprecated': True},
385
+ 'lgpl-2.0-only': {'id': 'LGPL-2.0-only', 'deprecated': False},
386
+ 'lgpl-2.0-or-later': {'id': 'LGPL-2.0-or-later', 'deprecated': False},
387
+ 'lgpl-2.1': {'id': 'LGPL-2.1', 'deprecated': True},
388
+ 'lgpl-2.1+': {'id': 'LGPL-2.1+', 'deprecated': True},
389
+ 'lgpl-2.1-only': {'id': 'LGPL-2.1-only', 'deprecated': False},
390
+ 'lgpl-2.1-or-later': {'id': 'LGPL-2.1-or-later', 'deprecated': False},
391
+ 'lgpl-3.0': {'id': 'LGPL-3.0', 'deprecated': True},
392
+ 'lgpl-3.0+': {'id': 'LGPL-3.0+', 'deprecated': True},
393
+ 'lgpl-3.0-only': {'id': 'LGPL-3.0-only', 'deprecated': False},
394
+ 'lgpl-3.0-or-later': {'id': 'LGPL-3.0-or-later', 'deprecated': False},
395
+ 'lgpllr': {'id': 'LGPLLR', 'deprecated': False},
396
+ 'libpng': {'id': 'Libpng', 'deprecated': False},
397
+ 'libpng-2.0': {'id': 'libpng-2.0', 'deprecated': False},
398
+ 'libselinux-1.0': {'id': 'libselinux-1.0', 'deprecated': False},
399
+ 'libtiff': {'id': 'libtiff', 'deprecated': False},
400
+ 'libutil-david-nugent': {'id': 'libutil-David-Nugent', 'deprecated': False},
401
+ 'liliq-p-1.1': {'id': 'LiLiQ-P-1.1', 'deprecated': False},
402
+ 'liliq-r-1.1': {'id': 'LiLiQ-R-1.1', 'deprecated': False},
403
+ 'liliq-rplus-1.1': {'id': 'LiLiQ-Rplus-1.1', 'deprecated': False},
404
+ 'linux-man-pages-1-para': {'id': 'Linux-man-pages-1-para', 'deprecated': False},
405
+ 'linux-man-pages-copyleft': {'id': 'Linux-man-pages-copyleft', 'deprecated': False},
406
+ 'linux-man-pages-copyleft-2-para': {'id': 'Linux-man-pages-copyleft-2-para', 'deprecated': False},
407
+ 'linux-man-pages-copyleft-var': {'id': 'Linux-man-pages-copyleft-var', 'deprecated': False},
408
+ 'linux-openib': {'id': 'Linux-OpenIB', 'deprecated': False},
409
+ 'loop': {'id': 'LOOP', 'deprecated': False},
410
+ 'lpd-document': {'id': 'LPD-document', 'deprecated': False},
411
+ 'lpl-1.0': {'id': 'LPL-1.0', 'deprecated': False},
412
+ 'lpl-1.02': {'id': 'LPL-1.02', 'deprecated': False},
413
+ 'lppl-1.0': {'id': 'LPPL-1.0', 'deprecated': False},
414
+ 'lppl-1.1': {'id': 'LPPL-1.1', 'deprecated': False},
415
+ 'lppl-1.2': {'id': 'LPPL-1.2', 'deprecated': False},
416
+ 'lppl-1.3a': {'id': 'LPPL-1.3a', 'deprecated': False},
417
+ 'lppl-1.3c': {'id': 'LPPL-1.3c', 'deprecated': False},
418
+ 'lsof': {'id': 'lsof', 'deprecated': False},
419
+ 'lucida-bitmap-fonts': {'id': 'Lucida-Bitmap-Fonts', 'deprecated': False},
420
+ 'lzma-sdk-9.11-to-9.20': {'id': 'LZMA-SDK-9.11-to-9.20', 'deprecated': False},
421
+ 'lzma-sdk-9.22': {'id': 'LZMA-SDK-9.22', 'deprecated': False},
422
+ 'mackerras-3-clause': {'id': 'Mackerras-3-Clause', 'deprecated': False},
423
+ 'mackerras-3-clause-acknowledgment': {'id': 'Mackerras-3-Clause-acknowledgment', 'deprecated': False},
424
+ 'magaz': {'id': 'magaz', 'deprecated': False},
425
+ 'mailprio': {'id': 'mailprio', 'deprecated': False},
426
+ 'makeindex': {'id': 'MakeIndex', 'deprecated': False},
427
+ 'martin-birgmeier': {'id': 'Martin-Birgmeier', 'deprecated': False},
428
+ 'mcphee-slideshow': {'id': 'McPhee-slideshow', 'deprecated': False},
429
+ 'metamail': {'id': 'metamail', 'deprecated': False},
430
+ 'minpack': {'id': 'Minpack', 'deprecated': False},
431
+ 'miros': {'id': 'MirOS', 'deprecated': False},
432
+ 'mit': {'id': 'MIT', 'deprecated': False},
433
+ 'mit-0': {'id': 'MIT-0', 'deprecated': False},
434
+ 'mit-advertising': {'id': 'MIT-advertising', 'deprecated': False},
435
+ 'mit-cmu': {'id': 'MIT-CMU', 'deprecated': False},
436
+ 'mit-enna': {'id': 'MIT-enna', 'deprecated': False},
437
+ 'mit-feh': {'id': 'MIT-feh', 'deprecated': False},
438
+ 'mit-festival': {'id': 'MIT-Festival', 'deprecated': False},
439
+ 'mit-khronos-old': {'id': 'MIT-Khronos-old', 'deprecated': False},
440
+ 'mit-modern-variant': {'id': 'MIT-Modern-Variant', 'deprecated': False},
441
+ 'mit-open-group': {'id': 'MIT-open-group', 'deprecated': False},
442
+ 'mit-testregex': {'id': 'MIT-testregex', 'deprecated': False},
443
+ 'mit-wu': {'id': 'MIT-Wu', 'deprecated': False},
444
+ 'mitnfa': {'id': 'MITNFA', 'deprecated': False},
445
+ 'mmixware': {'id': 'MMIXware', 'deprecated': False},
446
+ 'motosoto': {'id': 'Motosoto', 'deprecated': False},
447
+ 'mpeg-ssg': {'id': 'MPEG-SSG', 'deprecated': False},
448
+ 'mpi-permissive': {'id': 'mpi-permissive', 'deprecated': False},
449
+ 'mpich2': {'id': 'mpich2', 'deprecated': False},
450
+ 'mpl-1.0': {'id': 'MPL-1.0', 'deprecated': False},
451
+ 'mpl-1.1': {'id': 'MPL-1.1', 'deprecated': False},
452
+ 'mpl-2.0': {'id': 'MPL-2.0', 'deprecated': False},
453
+ 'mpl-2.0-no-copyleft-exception': {'id': 'MPL-2.0-no-copyleft-exception', 'deprecated': False},
454
+ 'mplus': {'id': 'mplus', 'deprecated': False},
455
+ 'ms-lpl': {'id': 'MS-LPL', 'deprecated': False},
456
+ 'ms-pl': {'id': 'MS-PL', 'deprecated': False},
457
+ 'ms-rl': {'id': 'MS-RL', 'deprecated': False},
458
+ 'mtll': {'id': 'MTLL', 'deprecated': False},
459
+ 'mulanpsl-1.0': {'id': 'MulanPSL-1.0', 'deprecated': False},
460
+ 'mulanpsl-2.0': {'id': 'MulanPSL-2.0', 'deprecated': False},
461
+ 'multics': {'id': 'Multics', 'deprecated': False},
462
+ 'mup': {'id': 'Mup', 'deprecated': False},
463
+ 'naist-2003': {'id': 'NAIST-2003', 'deprecated': False},
464
+ 'nasa-1.3': {'id': 'NASA-1.3', 'deprecated': False},
465
+ 'naumen': {'id': 'Naumen', 'deprecated': False},
466
+ 'nbpl-1.0': {'id': 'NBPL-1.0', 'deprecated': False},
467
+ 'ncbi-pd': {'id': 'NCBI-PD', 'deprecated': False},
468
+ 'ncgl-uk-2.0': {'id': 'NCGL-UK-2.0', 'deprecated': False},
469
+ 'ncl': {'id': 'NCL', 'deprecated': False},
470
+ 'ncsa': {'id': 'NCSA', 'deprecated': False},
471
+ 'net-snmp': {'id': 'Net-SNMP', 'deprecated': True},
472
+ 'netcdf': {'id': 'NetCDF', 'deprecated': False},
473
+ 'newsletr': {'id': 'Newsletr', 'deprecated': False},
474
+ 'ngpl': {'id': 'NGPL', 'deprecated': False},
475
+ 'nicta-1.0': {'id': 'NICTA-1.0', 'deprecated': False},
476
+ 'nist-pd': {'id': 'NIST-PD', 'deprecated': False},
477
+ 'nist-pd-fallback': {'id': 'NIST-PD-fallback', 'deprecated': False},
478
+ 'nist-software': {'id': 'NIST-Software', 'deprecated': False},
479
+ 'nlod-1.0': {'id': 'NLOD-1.0', 'deprecated': False},
480
+ 'nlod-2.0': {'id': 'NLOD-2.0', 'deprecated': False},
481
+ 'nlpl': {'id': 'NLPL', 'deprecated': False},
482
+ 'nokia': {'id': 'Nokia', 'deprecated': False},
483
+ 'nosl': {'id': 'NOSL', 'deprecated': False},
484
+ 'noweb': {'id': 'Noweb', 'deprecated': False},
485
+ 'npl-1.0': {'id': 'NPL-1.0', 'deprecated': False},
486
+ 'npl-1.1': {'id': 'NPL-1.1', 'deprecated': False},
487
+ 'nposl-3.0': {'id': 'NPOSL-3.0', 'deprecated': False},
488
+ 'nrl': {'id': 'NRL', 'deprecated': False},
489
+ 'ntp': {'id': 'NTP', 'deprecated': False},
490
+ 'ntp-0': {'id': 'NTP-0', 'deprecated': False},
491
+ 'nunit': {'id': 'Nunit', 'deprecated': True},
492
+ 'o-uda-1.0': {'id': 'O-UDA-1.0', 'deprecated': False},
493
+ 'oar': {'id': 'OAR', 'deprecated': False},
494
+ 'occt-pl': {'id': 'OCCT-PL', 'deprecated': False},
495
+ 'oclc-2.0': {'id': 'OCLC-2.0', 'deprecated': False},
496
+ 'odbl-1.0': {'id': 'ODbL-1.0', 'deprecated': False},
497
+ 'odc-by-1.0': {'id': 'ODC-By-1.0', 'deprecated': False},
498
+ 'offis': {'id': 'OFFIS', 'deprecated': False},
499
+ 'ofl-1.0': {'id': 'OFL-1.0', 'deprecated': False},
500
+ 'ofl-1.0-no-rfn': {'id': 'OFL-1.0-no-RFN', 'deprecated': False},
501
+ 'ofl-1.0-rfn': {'id': 'OFL-1.0-RFN', 'deprecated': False},
502
+ 'ofl-1.1': {'id': 'OFL-1.1', 'deprecated': False},
503
+ 'ofl-1.1-no-rfn': {'id': 'OFL-1.1-no-RFN', 'deprecated': False},
504
+ 'ofl-1.1-rfn': {'id': 'OFL-1.1-RFN', 'deprecated': False},
505
+ 'ogc-1.0': {'id': 'OGC-1.0', 'deprecated': False},
506
+ 'ogdl-taiwan-1.0': {'id': 'OGDL-Taiwan-1.0', 'deprecated': False},
507
+ 'ogl-canada-2.0': {'id': 'OGL-Canada-2.0', 'deprecated': False},
508
+ 'ogl-uk-1.0': {'id': 'OGL-UK-1.0', 'deprecated': False},
509
+ 'ogl-uk-2.0': {'id': 'OGL-UK-2.0', 'deprecated': False},
510
+ 'ogl-uk-3.0': {'id': 'OGL-UK-3.0', 'deprecated': False},
511
+ 'ogtsl': {'id': 'OGTSL', 'deprecated': False},
512
+ 'oldap-1.1': {'id': 'OLDAP-1.1', 'deprecated': False},
513
+ 'oldap-1.2': {'id': 'OLDAP-1.2', 'deprecated': False},
514
+ 'oldap-1.3': {'id': 'OLDAP-1.3', 'deprecated': False},
515
+ 'oldap-1.4': {'id': 'OLDAP-1.4', 'deprecated': False},
516
+ 'oldap-2.0': {'id': 'OLDAP-2.0', 'deprecated': False},
517
+ 'oldap-2.0.1': {'id': 'OLDAP-2.0.1', 'deprecated': False},
518
+ 'oldap-2.1': {'id': 'OLDAP-2.1', 'deprecated': False},
519
+ 'oldap-2.2': {'id': 'OLDAP-2.2', 'deprecated': False},
520
+ 'oldap-2.2.1': {'id': 'OLDAP-2.2.1', 'deprecated': False},
521
+ 'oldap-2.2.2': {'id': 'OLDAP-2.2.2', 'deprecated': False},
522
+ 'oldap-2.3': {'id': 'OLDAP-2.3', 'deprecated': False},
523
+ 'oldap-2.4': {'id': 'OLDAP-2.4', 'deprecated': False},
524
+ 'oldap-2.5': {'id': 'OLDAP-2.5', 'deprecated': False},
525
+ 'oldap-2.6': {'id': 'OLDAP-2.6', 'deprecated': False},
526
+ 'oldap-2.7': {'id': 'OLDAP-2.7', 'deprecated': False},
527
+ 'oldap-2.8': {'id': 'OLDAP-2.8', 'deprecated': False},
528
+ 'olfl-1.3': {'id': 'OLFL-1.3', 'deprecated': False},
529
+ 'oml': {'id': 'OML', 'deprecated': False},
530
+ 'openpbs-2.3': {'id': 'OpenPBS-2.3', 'deprecated': False},
531
+ 'openssl': {'id': 'OpenSSL', 'deprecated': False},
532
+ 'openssl-standalone': {'id': 'OpenSSL-standalone', 'deprecated': False},
533
+ 'openvision': {'id': 'OpenVision', 'deprecated': False},
534
+ 'opl-1.0': {'id': 'OPL-1.0', 'deprecated': False},
535
+ 'opl-uk-3.0': {'id': 'OPL-UK-3.0', 'deprecated': False},
536
+ 'opubl-1.0': {'id': 'OPUBL-1.0', 'deprecated': False},
537
+ 'oset-pl-2.1': {'id': 'OSET-PL-2.1', 'deprecated': False},
538
+ 'osl-1.0': {'id': 'OSL-1.0', 'deprecated': False},
539
+ 'osl-1.1': {'id': 'OSL-1.1', 'deprecated': False},
540
+ 'osl-2.0': {'id': 'OSL-2.0', 'deprecated': False},
541
+ 'osl-2.1': {'id': 'OSL-2.1', 'deprecated': False},
542
+ 'osl-3.0': {'id': 'OSL-3.0', 'deprecated': False},
543
+ 'padl': {'id': 'PADL', 'deprecated': False},
544
+ 'parity-6.0.0': {'id': 'Parity-6.0.0', 'deprecated': False},
545
+ 'parity-7.0.0': {'id': 'Parity-7.0.0', 'deprecated': False},
546
+ 'pddl-1.0': {'id': 'PDDL-1.0', 'deprecated': False},
547
+ 'php-3.0': {'id': 'PHP-3.0', 'deprecated': False},
548
+ 'php-3.01': {'id': 'PHP-3.01', 'deprecated': False},
549
+ 'pixar': {'id': 'Pixar', 'deprecated': False},
550
+ 'pkgconf': {'id': 'pkgconf', 'deprecated': False},
551
+ 'plexus': {'id': 'Plexus', 'deprecated': False},
552
+ 'pnmstitch': {'id': 'pnmstitch', 'deprecated': False},
553
+ 'polyform-noncommercial-1.0.0': {'id': 'PolyForm-Noncommercial-1.0.0', 'deprecated': False},
554
+ 'polyform-small-business-1.0.0': {'id': 'PolyForm-Small-Business-1.0.0', 'deprecated': False},
555
+ 'postgresql': {'id': 'PostgreSQL', 'deprecated': False},
556
+ 'ppl': {'id': 'PPL', 'deprecated': False},
557
+ 'psf-2.0': {'id': 'PSF-2.0', 'deprecated': False},
558
+ 'psfrag': {'id': 'psfrag', 'deprecated': False},
559
+ 'psutils': {'id': 'psutils', 'deprecated': False},
560
+ 'python-2.0': {'id': 'Python-2.0', 'deprecated': False},
561
+ 'python-2.0.1': {'id': 'Python-2.0.1', 'deprecated': False},
562
+ 'python-ldap': {'id': 'python-ldap', 'deprecated': False},
563
+ 'qhull': {'id': 'Qhull', 'deprecated': False},
564
+ 'qpl-1.0': {'id': 'QPL-1.0', 'deprecated': False},
565
+ 'qpl-1.0-inria-2004': {'id': 'QPL-1.0-INRIA-2004', 'deprecated': False},
566
+ 'radvd': {'id': 'radvd', 'deprecated': False},
567
+ 'rdisc': {'id': 'Rdisc', 'deprecated': False},
568
+ 'rhecos-1.1': {'id': 'RHeCos-1.1', 'deprecated': False},
569
+ 'rpl-1.1': {'id': 'RPL-1.1', 'deprecated': False},
570
+ 'rpl-1.5': {'id': 'RPL-1.5', 'deprecated': False},
571
+ 'rpsl-1.0': {'id': 'RPSL-1.0', 'deprecated': False},
572
+ 'rsa-md': {'id': 'RSA-MD', 'deprecated': False},
573
+ 'rscpl': {'id': 'RSCPL', 'deprecated': False},
574
+ 'ruby': {'id': 'Ruby', 'deprecated': False},
575
+ 'ruby-pty': {'id': 'Ruby-pty', 'deprecated': False},
576
+ 'sax-pd': {'id': 'SAX-PD', 'deprecated': False},
577
+ 'sax-pd-2.0': {'id': 'SAX-PD-2.0', 'deprecated': False},
578
+ 'saxpath': {'id': 'Saxpath', 'deprecated': False},
579
+ 'scea': {'id': 'SCEA', 'deprecated': False},
580
+ 'schemereport': {'id': 'SchemeReport', 'deprecated': False},
581
+ 'sendmail': {'id': 'Sendmail', 'deprecated': False},
582
+ 'sendmail-8.23': {'id': 'Sendmail-8.23', 'deprecated': False},
583
+ 'sgi-b-1.0': {'id': 'SGI-B-1.0', 'deprecated': False},
584
+ 'sgi-b-1.1': {'id': 'SGI-B-1.1', 'deprecated': False},
585
+ 'sgi-b-2.0': {'id': 'SGI-B-2.0', 'deprecated': False},
586
+ 'sgi-opengl': {'id': 'SGI-OpenGL', 'deprecated': False},
587
+ 'sgp4': {'id': 'SGP4', 'deprecated': False},
588
+ 'shl-0.5': {'id': 'SHL-0.5', 'deprecated': False},
589
+ 'shl-0.51': {'id': 'SHL-0.51', 'deprecated': False},
590
+ 'simpl-2.0': {'id': 'SimPL-2.0', 'deprecated': False},
591
+ 'sissl': {'id': 'SISSL', 'deprecated': False},
592
+ 'sissl-1.2': {'id': 'SISSL-1.2', 'deprecated': False},
593
+ 'sl': {'id': 'SL', 'deprecated': False},
594
+ 'sleepycat': {'id': 'Sleepycat', 'deprecated': False},
595
+ 'smlnj': {'id': 'SMLNJ', 'deprecated': False},
596
+ 'smppl': {'id': 'SMPPL', 'deprecated': False},
597
+ 'snia': {'id': 'SNIA', 'deprecated': False},
598
+ 'snprintf': {'id': 'snprintf', 'deprecated': False},
599
+ 'softsurfer': {'id': 'softSurfer', 'deprecated': False},
600
+ 'soundex': {'id': 'Soundex', 'deprecated': False},
601
+ 'spencer-86': {'id': 'Spencer-86', 'deprecated': False},
602
+ 'spencer-94': {'id': 'Spencer-94', 'deprecated': False},
603
+ 'spencer-99': {'id': 'Spencer-99', 'deprecated': False},
604
+ 'spl-1.0': {'id': 'SPL-1.0', 'deprecated': False},
605
+ 'ssh-keyscan': {'id': 'ssh-keyscan', 'deprecated': False},
606
+ 'ssh-openssh': {'id': 'SSH-OpenSSH', 'deprecated': False},
607
+ 'ssh-short': {'id': 'SSH-short', 'deprecated': False},
608
+ 'ssleay-standalone': {'id': 'SSLeay-standalone', 'deprecated': False},
609
+ 'sspl-1.0': {'id': 'SSPL-1.0', 'deprecated': False},
610
+ 'standardml-nj': {'id': 'StandardML-NJ', 'deprecated': True},
611
+ 'sugarcrm-1.1.3': {'id': 'SugarCRM-1.1.3', 'deprecated': False},
612
+ 'sun-ppp': {'id': 'Sun-PPP', 'deprecated': False},
613
+ 'sun-ppp-2000': {'id': 'Sun-PPP-2000', 'deprecated': False},
614
+ 'sunpro': {'id': 'SunPro', 'deprecated': False},
615
+ 'swl': {'id': 'SWL', 'deprecated': False},
616
+ 'swrule': {'id': 'swrule', 'deprecated': False},
617
+ 'symlinks': {'id': 'Symlinks', 'deprecated': False},
618
+ 'tapr-ohl-1.0': {'id': 'TAPR-OHL-1.0', 'deprecated': False},
619
+ 'tcl': {'id': 'TCL', 'deprecated': False},
620
+ 'tcp-wrappers': {'id': 'TCP-wrappers', 'deprecated': False},
621
+ 'termreadkey': {'id': 'TermReadKey', 'deprecated': False},
622
+ 'tgppl-1.0': {'id': 'TGPPL-1.0', 'deprecated': False},
623
+ 'threeparttable': {'id': 'threeparttable', 'deprecated': False},
624
+ 'tmate': {'id': 'TMate', 'deprecated': False},
625
+ 'torque-1.1': {'id': 'TORQUE-1.1', 'deprecated': False},
626
+ 'tosl': {'id': 'TOSL', 'deprecated': False},
627
+ 'tpdl': {'id': 'TPDL', 'deprecated': False},
628
+ 'tpl-1.0': {'id': 'TPL-1.0', 'deprecated': False},
629
+ 'ttwl': {'id': 'TTWL', 'deprecated': False},
630
+ 'ttyp0': {'id': 'TTYP0', 'deprecated': False},
631
+ 'tu-berlin-1.0': {'id': 'TU-Berlin-1.0', 'deprecated': False},
632
+ 'tu-berlin-2.0': {'id': 'TU-Berlin-2.0', 'deprecated': False},
633
+ 'ubuntu-font-1.0': {'id': 'Ubuntu-font-1.0', 'deprecated': False},
634
+ 'ucar': {'id': 'UCAR', 'deprecated': False},
635
+ 'ucl-1.0': {'id': 'UCL-1.0', 'deprecated': False},
636
+ 'ulem': {'id': 'ulem', 'deprecated': False},
637
+ 'umich-merit': {'id': 'UMich-Merit', 'deprecated': False},
638
+ 'unicode-3.0': {'id': 'Unicode-3.0', 'deprecated': False},
639
+ 'unicode-dfs-2015': {'id': 'Unicode-DFS-2015', 'deprecated': False},
640
+ 'unicode-dfs-2016': {'id': 'Unicode-DFS-2016', 'deprecated': False},
641
+ 'unicode-tou': {'id': 'Unicode-TOU', 'deprecated': False},
642
+ 'unixcrypt': {'id': 'UnixCrypt', 'deprecated': False},
643
+ 'unlicense': {'id': 'Unlicense', 'deprecated': False},
644
+ 'upl-1.0': {'id': 'UPL-1.0', 'deprecated': False},
645
+ 'urt-rle': {'id': 'URT-RLE', 'deprecated': False},
646
+ 'vim': {'id': 'Vim', 'deprecated': False},
647
+ 'vostrom': {'id': 'VOSTROM', 'deprecated': False},
648
+ 'vsl-1.0': {'id': 'VSL-1.0', 'deprecated': False},
649
+ 'w3c': {'id': 'W3C', 'deprecated': False},
650
+ 'w3c-19980720': {'id': 'W3C-19980720', 'deprecated': False},
651
+ 'w3c-20150513': {'id': 'W3C-20150513', 'deprecated': False},
652
+ 'w3m': {'id': 'w3m', 'deprecated': False},
653
+ 'watcom-1.0': {'id': 'Watcom-1.0', 'deprecated': False},
654
+ 'widget-workshop': {'id': 'Widget-Workshop', 'deprecated': False},
655
+ 'wsuipa': {'id': 'Wsuipa', 'deprecated': False},
656
+ 'wtfpl': {'id': 'WTFPL', 'deprecated': False},
657
+ 'wxwindows': {'id': 'wxWindows', 'deprecated': True},
658
+ 'x11': {'id': 'X11', 'deprecated': False},
659
+ 'x11-distribute-modifications-variant': {'id': 'X11-distribute-modifications-variant', 'deprecated': False},
660
+ 'x11-swapped': {'id': 'X11-swapped', 'deprecated': False},
661
+ 'xdebug-1.03': {'id': 'Xdebug-1.03', 'deprecated': False},
662
+ 'xerox': {'id': 'Xerox', 'deprecated': False},
663
+ 'xfig': {'id': 'Xfig', 'deprecated': False},
664
+ 'xfree86-1.1': {'id': 'XFree86-1.1', 'deprecated': False},
665
+ 'xinetd': {'id': 'xinetd', 'deprecated': False},
666
+ 'xkeyboard-config-zinoviev': {'id': 'xkeyboard-config-Zinoviev', 'deprecated': False},
667
+ 'xlock': {'id': 'xlock', 'deprecated': False},
668
+ 'xnet': {'id': 'Xnet', 'deprecated': False},
669
+ 'xpp': {'id': 'xpp', 'deprecated': False},
670
+ 'xskat': {'id': 'XSkat', 'deprecated': False},
671
+ 'xzoom': {'id': 'xzoom', 'deprecated': False},
672
+ 'ypl-1.0': {'id': 'YPL-1.0', 'deprecated': False},
673
+ 'ypl-1.1': {'id': 'YPL-1.1', 'deprecated': False},
674
+ 'zed': {'id': 'Zed', 'deprecated': False},
675
+ 'zeeff': {'id': 'Zeeff', 'deprecated': False},
676
+ 'zend-2.0': {'id': 'Zend-2.0', 'deprecated': False},
677
+ 'zimbra-1.3': {'id': 'Zimbra-1.3', 'deprecated': False},
678
+ 'zimbra-1.4': {'id': 'Zimbra-1.4', 'deprecated': False},
679
+ 'zlib': {'id': 'Zlib', 'deprecated': False},
680
+ 'zlib-acknowledgement': {'id': 'zlib-acknowledgement', 'deprecated': False},
681
+ 'zpl-1.1': {'id': 'ZPL-1.1', 'deprecated': False},
682
+ 'zpl-2.0': {'id': 'ZPL-2.0', 'deprecated': False},
683
+ 'zpl-2.1': {'id': 'ZPL-2.1', 'deprecated': False},
684
+ }
685
+
686
+ EXCEPTIONS: dict[str, SPDXException] = {
687
+ '389-exception': {'id': '389-exception', 'deprecated': False},
688
+ 'asterisk-exception': {'id': 'Asterisk-exception', 'deprecated': False},
689
+ 'asterisk-linking-protocols-exception': {'id': 'Asterisk-linking-protocols-exception', 'deprecated': False},
690
+ 'autoconf-exception-2.0': {'id': 'Autoconf-exception-2.0', 'deprecated': False},
691
+ 'autoconf-exception-3.0': {'id': 'Autoconf-exception-3.0', 'deprecated': False},
692
+ 'autoconf-exception-generic': {'id': 'Autoconf-exception-generic', 'deprecated': False},
693
+ 'autoconf-exception-generic-3.0': {'id': 'Autoconf-exception-generic-3.0', 'deprecated': False},
694
+ 'autoconf-exception-macro': {'id': 'Autoconf-exception-macro', 'deprecated': False},
695
+ 'bison-exception-1.24': {'id': 'Bison-exception-1.24', 'deprecated': False},
696
+ 'bison-exception-2.2': {'id': 'Bison-exception-2.2', 'deprecated': False},
697
+ 'bootloader-exception': {'id': 'Bootloader-exception', 'deprecated': False},
698
+ 'classpath-exception-2.0': {'id': 'Classpath-exception-2.0', 'deprecated': False},
699
+ 'clisp-exception-2.0': {'id': 'CLISP-exception-2.0', 'deprecated': False},
700
+ 'cryptsetup-openssl-exception': {'id': 'cryptsetup-OpenSSL-exception', 'deprecated': False},
701
+ 'digirule-foss-exception': {'id': 'DigiRule-FOSS-exception', 'deprecated': False},
702
+ 'ecos-exception-2.0': {'id': 'eCos-exception-2.0', 'deprecated': False},
703
+ 'erlang-otp-linking-exception': {'id': 'erlang-otp-linking-exception', 'deprecated': False},
704
+ 'fawkes-runtime-exception': {'id': 'Fawkes-Runtime-exception', 'deprecated': False},
705
+ 'fltk-exception': {'id': 'FLTK-exception', 'deprecated': False},
706
+ 'fmt-exception': {'id': 'fmt-exception', 'deprecated': False},
707
+ 'font-exception-2.0': {'id': 'Font-exception-2.0', 'deprecated': False},
708
+ 'freertos-exception-2.0': {'id': 'freertos-exception-2.0', 'deprecated': False},
709
+ 'gcc-exception-2.0': {'id': 'GCC-exception-2.0', 'deprecated': False},
710
+ 'gcc-exception-2.0-note': {'id': 'GCC-exception-2.0-note', 'deprecated': False},
711
+ 'gcc-exception-3.1': {'id': 'GCC-exception-3.1', 'deprecated': False},
712
+ 'gmsh-exception': {'id': 'Gmsh-exception', 'deprecated': False},
713
+ 'gnat-exception': {'id': 'GNAT-exception', 'deprecated': False},
714
+ 'gnome-examples-exception': {'id': 'GNOME-examples-exception', 'deprecated': False},
715
+ 'gnu-compiler-exception': {'id': 'GNU-compiler-exception', 'deprecated': False},
716
+ 'gnu-javamail-exception': {'id': 'gnu-javamail-exception', 'deprecated': False},
717
+ 'gpl-3.0-interface-exception': {'id': 'GPL-3.0-interface-exception', 'deprecated': False},
718
+ 'gpl-3.0-linking-exception': {'id': 'GPL-3.0-linking-exception', 'deprecated': False},
719
+ 'gpl-3.0-linking-source-exception': {'id': 'GPL-3.0-linking-source-exception', 'deprecated': False},
720
+ 'gpl-cc-1.0': {'id': 'GPL-CC-1.0', 'deprecated': False},
721
+ 'gstreamer-exception-2005': {'id': 'GStreamer-exception-2005', 'deprecated': False},
722
+ 'gstreamer-exception-2008': {'id': 'GStreamer-exception-2008', 'deprecated': False},
723
+ 'i2p-gpl-java-exception': {'id': 'i2p-gpl-java-exception', 'deprecated': False},
724
+ 'kicad-libraries-exception': {'id': 'KiCad-libraries-exception', 'deprecated': False},
725
+ 'lgpl-3.0-linking-exception': {'id': 'LGPL-3.0-linking-exception', 'deprecated': False},
726
+ 'libpri-openh323-exception': {'id': 'libpri-OpenH323-exception', 'deprecated': False},
727
+ 'libtool-exception': {'id': 'Libtool-exception', 'deprecated': False},
728
+ 'linux-syscall-note': {'id': 'Linux-syscall-note', 'deprecated': False},
729
+ 'llgpl': {'id': 'LLGPL', 'deprecated': False},
730
+ 'llvm-exception': {'id': 'LLVM-exception', 'deprecated': False},
731
+ 'lzma-exception': {'id': 'LZMA-exception', 'deprecated': False},
732
+ 'mif-exception': {'id': 'mif-exception', 'deprecated': False},
733
+ 'nokia-qt-exception-1.1': {'id': 'Nokia-Qt-exception-1.1', 'deprecated': True},
734
+ 'ocaml-lgpl-linking-exception': {'id': 'OCaml-LGPL-linking-exception', 'deprecated': False},
735
+ 'occt-exception-1.0': {'id': 'OCCT-exception-1.0', 'deprecated': False},
736
+ 'openjdk-assembly-exception-1.0': {'id': 'OpenJDK-assembly-exception-1.0', 'deprecated': False},
737
+ 'openvpn-openssl-exception': {'id': 'openvpn-openssl-exception', 'deprecated': False},
738
+ 'pcre2-exception': {'id': 'PCRE2-exception', 'deprecated': False},
739
+ 'ps-or-pdf-font-exception-20170817': {'id': 'PS-or-PDF-font-exception-20170817', 'deprecated': False},
740
+ 'qpl-1.0-inria-2004-exception': {'id': 'QPL-1.0-INRIA-2004-exception', 'deprecated': False},
741
+ 'qt-gpl-exception-1.0': {'id': 'Qt-GPL-exception-1.0', 'deprecated': False},
742
+ 'qt-lgpl-exception-1.1': {'id': 'Qt-LGPL-exception-1.1', 'deprecated': False},
743
+ 'qwt-exception-1.0': {'id': 'Qwt-exception-1.0', 'deprecated': False},
744
+ 'romic-exception': {'id': 'romic-exception', 'deprecated': False},
745
+ 'rrdtool-floss-exception-2.0': {'id': 'RRDtool-FLOSS-exception-2.0', 'deprecated': False},
746
+ 'sane-exception': {'id': 'SANE-exception', 'deprecated': False},
747
+ 'shl-2.0': {'id': 'SHL-2.0', 'deprecated': False},
748
+ 'shl-2.1': {'id': 'SHL-2.1', 'deprecated': False},
749
+ 'stunnel-exception': {'id': 'stunnel-exception', 'deprecated': False},
750
+ 'swi-exception': {'id': 'SWI-exception', 'deprecated': False},
751
+ 'swift-exception': {'id': 'Swift-exception', 'deprecated': False},
752
+ 'texinfo-exception': {'id': 'Texinfo-exception', 'deprecated': False},
753
+ 'u-boot-exception-2.0': {'id': 'u-boot-exception-2.0', 'deprecated': False},
754
+ 'ubdl-exception': {'id': 'UBDL-exception', 'deprecated': False},
755
+ 'universal-foss-exception-1.0': {'id': 'Universal-FOSS-exception-1.0', 'deprecated': False},
756
+ 'vsftpd-openssl-exception': {'id': 'vsftpd-openssl-exception', 'deprecated': False},
757
+ 'wxwindows-exception-3.1': {'id': 'WxWindows-exception-3.1', 'deprecated': False},
758
+ 'x11vnc-openssl-exception': {'id': 'x11vnc-openssl-exception', 'deprecated': False},
759
+ }
miniconda3/lib/python3.13/site-packages/packaging/markers.py ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from __future__ import annotations
6
+
7
+ import operator
8
+ import os
9
+ import platform
10
+ import sys
11
+ from typing import AbstractSet, Any, Callable, Literal, TypedDict, Union, cast
12
+
13
+ from ._parser import MarkerAtom, MarkerList, Op, Value, Variable
14
+ from ._parser import parse_marker as _parse_marker
15
+ from ._tokenizer import ParserSyntaxError
16
+ from .specifiers import InvalidSpecifier, Specifier
17
+ from .utils import canonicalize_name
18
+
19
+ __all__ = [
20
+ "EvaluateContext",
21
+ "InvalidMarker",
22
+ "Marker",
23
+ "UndefinedComparison",
24
+ "UndefinedEnvironmentName",
25
+ "default_environment",
26
+ ]
27
+
28
+ Operator = Callable[[str, Union[str, AbstractSet[str]]], bool]
29
+ EvaluateContext = Literal["metadata", "lock_file", "requirement"]
30
+ MARKERS_ALLOWING_SET = {"extras", "dependency_groups"}
31
+
32
+
33
+ class InvalidMarker(ValueError):
34
+ """
35
+ An invalid marker was found, users should refer to PEP 508.
36
+ """
37
+
38
+
39
+ class UndefinedComparison(ValueError):
40
+ """
41
+ An invalid operation was attempted on a value that doesn't support it.
42
+ """
43
+
44
+
45
+ class UndefinedEnvironmentName(ValueError):
46
+ """
47
+ A name was attempted to be used that does not exist inside of the
48
+ environment.
49
+ """
50
+
51
+
52
+ class Environment(TypedDict):
53
+ implementation_name: str
54
+ """The implementation's identifier, e.g. ``'cpython'``."""
55
+
56
+ implementation_version: str
57
+ """
58
+ The implementation's version, e.g. ``'3.13.0a2'`` for CPython 3.13.0a2, or
59
+ ``'7.3.13'`` for PyPy3.10 v7.3.13.
60
+ """
61
+
62
+ os_name: str
63
+ """
64
+ The value of :py:data:`os.name`. The name of the operating system dependent module
65
+ imported, e.g. ``'posix'``.
66
+ """
67
+
68
+ platform_machine: str
69
+ """
70
+ Returns the machine type, e.g. ``'i386'``.
71
+
72
+ An empty string if the value cannot be determined.
73
+ """
74
+
75
+ platform_release: str
76
+ """
77
+ The system's release, e.g. ``'2.2.0'`` or ``'NT'``.
78
+
79
+ An empty string if the value cannot be determined.
80
+ """
81
+
82
+ platform_system: str
83
+ """
84
+ The system/OS name, e.g. ``'Linux'``, ``'Windows'`` or ``'Java'``.
85
+
86
+ An empty string if the value cannot be determined.
87
+ """
88
+
89
+ platform_version: str
90
+ """
91
+ The system's release version, e.g. ``'#3 on degas'``.
92
+
93
+ An empty string if the value cannot be determined.
94
+ """
95
+
96
+ python_full_version: str
97
+ """
98
+ The Python version as string ``'major.minor.patchlevel'``.
99
+
100
+ Note that unlike the Python :py:data:`sys.version`, this value will always include
101
+ the patchlevel (it defaults to 0).
102
+ """
103
+
104
+ platform_python_implementation: str
105
+ """
106
+ A string identifying the Python implementation, e.g. ``'CPython'``.
107
+ """
108
+
109
+ python_version: str
110
+ """The Python version as string ``'major.minor'``."""
111
+
112
+ sys_platform: str
113
+ """
114
+ This string contains a platform identifier that can be used to append
115
+ platform-specific components to :py:data:`sys.path`, for instance.
116
+
117
+ For Unix systems, except on Linux and AIX, this is the lowercased OS name as
118
+ returned by ``uname -s`` with the first part of the version as returned by
119
+ ``uname -r`` appended, e.g. ``'sunos5'`` or ``'freebsd8'``, at the time when Python
120
+ was built.
121
+ """
122
+
123
+
124
+ def _normalize_extra_values(results: Any) -> Any:
125
+ """
126
+ Normalize extra values.
127
+ """
128
+ if isinstance(results[0], tuple):
129
+ lhs, op, rhs = results[0]
130
+ if isinstance(lhs, Variable) and lhs.value == "extra":
131
+ normalized_extra = canonicalize_name(rhs.value)
132
+ rhs = Value(normalized_extra)
133
+ elif isinstance(rhs, Variable) and rhs.value == "extra":
134
+ normalized_extra = canonicalize_name(lhs.value)
135
+ lhs = Value(normalized_extra)
136
+ results[0] = lhs, op, rhs
137
+ return results
138
+
139
+
140
+ def _format_marker(
141
+ marker: list[str] | MarkerAtom | str, first: bool | None = True
142
+ ) -> str:
143
+ assert isinstance(marker, (list, tuple, str))
144
+
145
+ # Sometimes we have a structure like [[...]] which is a single item list
146
+ # where the single item is itself it's own list. In that case we want skip
147
+ # the rest of this function so that we don't get extraneous () on the
148
+ # outside.
149
+ if (
150
+ isinstance(marker, list)
151
+ and len(marker) == 1
152
+ and isinstance(marker[0], (list, tuple))
153
+ ):
154
+ return _format_marker(marker[0])
155
+
156
+ if isinstance(marker, list):
157
+ inner = (_format_marker(m, first=False) for m in marker)
158
+ if first:
159
+ return " ".join(inner)
160
+ else:
161
+ return "(" + " ".join(inner) + ")"
162
+ elif isinstance(marker, tuple):
163
+ return " ".join([m.serialize() for m in marker])
164
+ else:
165
+ return marker
166
+
167
+
168
+ _operators: dict[str, Operator] = {
169
+ "in": lambda lhs, rhs: lhs in rhs,
170
+ "not in": lambda lhs, rhs: lhs not in rhs,
171
+ "<": operator.lt,
172
+ "<=": operator.le,
173
+ "==": operator.eq,
174
+ "!=": operator.ne,
175
+ ">=": operator.ge,
176
+ ">": operator.gt,
177
+ }
178
+
179
+
180
+ def _eval_op(lhs: str, op: Op, rhs: str | AbstractSet[str]) -> bool:
181
+ if isinstance(rhs, str):
182
+ try:
183
+ spec = Specifier("".join([op.serialize(), rhs]))
184
+ except InvalidSpecifier:
185
+ pass
186
+ else:
187
+ return spec.contains(lhs, prereleases=True)
188
+
189
+ oper: Operator | None = _operators.get(op.serialize())
190
+ if oper is None:
191
+ raise UndefinedComparison(f"Undefined {op!r} on {lhs!r} and {rhs!r}.")
192
+
193
+ return oper(lhs, rhs)
194
+
195
+
196
+ def _normalize(
197
+ lhs: str, rhs: str | AbstractSet[str], key: str
198
+ ) -> tuple[str, str | AbstractSet[str]]:
199
+ # PEP 685 – Comparison of extra names for optional distribution dependencies
200
+ # https://peps.python.org/pep-0685/
201
+ # > When comparing extra names, tools MUST normalize the names being
202
+ # > compared using the semantics outlined in PEP 503 for names
203
+ if key == "extra":
204
+ assert isinstance(rhs, str), "extra value must be a string"
205
+ return (canonicalize_name(lhs), canonicalize_name(rhs))
206
+ if key in MARKERS_ALLOWING_SET:
207
+ if isinstance(rhs, str): # pragma: no cover
208
+ return (canonicalize_name(lhs), canonicalize_name(rhs))
209
+ else:
210
+ return (canonicalize_name(lhs), {canonicalize_name(v) for v in rhs})
211
+
212
+ # other environment markers don't have such standards
213
+ return lhs, rhs
214
+
215
+
216
+ def _evaluate_markers(
217
+ markers: MarkerList, environment: dict[str, str | AbstractSet[str]]
218
+ ) -> bool:
219
+ groups: list[list[bool]] = [[]]
220
+
221
+ for marker in markers:
222
+ assert isinstance(marker, (list, tuple, str))
223
+
224
+ if isinstance(marker, list):
225
+ groups[-1].append(_evaluate_markers(marker, environment))
226
+ elif isinstance(marker, tuple):
227
+ lhs, op, rhs = marker
228
+
229
+ if isinstance(lhs, Variable):
230
+ environment_key = lhs.value
231
+ lhs_value = environment[environment_key]
232
+ rhs_value = rhs.value
233
+ else:
234
+ lhs_value = lhs.value
235
+ environment_key = rhs.value
236
+ rhs_value = environment[environment_key]
237
+ assert isinstance(lhs_value, str), "lhs must be a string"
238
+ lhs_value, rhs_value = _normalize(lhs_value, rhs_value, key=environment_key)
239
+ groups[-1].append(_eval_op(lhs_value, op, rhs_value))
240
+ else:
241
+ assert marker in ["and", "or"]
242
+ if marker == "or":
243
+ groups.append([])
244
+
245
+ return any(all(item) for item in groups)
246
+
247
+
248
+ def format_full_version(info: sys._version_info) -> str:
249
+ version = f"{info.major}.{info.minor}.{info.micro}"
250
+ kind = info.releaselevel
251
+ if kind != "final":
252
+ version += kind[0] + str(info.serial)
253
+ return version
254
+
255
+
256
+ def default_environment() -> Environment:
257
+ iver = format_full_version(sys.implementation.version)
258
+ implementation_name = sys.implementation.name
259
+ return {
260
+ "implementation_name": implementation_name,
261
+ "implementation_version": iver,
262
+ "os_name": os.name,
263
+ "platform_machine": platform.machine(),
264
+ "platform_release": platform.release(),
265
+ "platform_system": platform.system(),
266
+ "platform_version": platform.version(),
267
+ "python_full_version": platform.python_version(),
268
+ "platform_python_implementation": platform.python_implementation(),
269
+ "python_version": ".".join(platform.python_version_tuple()[:2]),
270
+ "sys_platform": sys.platform,
271
+ }
272
+
273
+
274
+ class Marker:
275
+ def __init__(self, marker: str) -> None:
276
+ # Note: We create a Marker object without calling this constructor in
277
+ # packaging.requirements.Requirement. If any additional logic is
278
+ # added here, make sure to mirror/adapt Requirement.
279
+ try:
280
+ self._markers = _normalize_extra_values(_parse_marker(marker))
281
+ # The attribute `_markers` can be described in terms of a recursive type:
282
+ # MarkerList = List[Union[Tuple[Node, ...], str, MarkerList]]
283
+ #
284
+ # For example, the following expression:
285
+ # python_version > "3.6" or (python_version == "3.6" and os_name == "unix")
286
+ #
287
+ # is parsed into:
288
+ # [
289
+ # (<Variable('python_version')>, <Op('>')>, <Value('3.6')>),
290
+ # 'and',
291
+ # [
292
+ # (<Variable('python_version')>, <Op('==')>, <Value('3.6')>),
293
+ # 'or',
294
+ # (<Variable('os_name')>, <Op('==')>, <Value('unix')>)
295
+ # ]
296
+ # ]
297
+ except ParserSyntaxError as e:
298
+ raise InvalidMarker(str(e)) from e
299
+
300
+ def __str__(self) -> str:
301
+ return _format_marker(self._markers)
302
+
303
+ def __repr__(self) -> str:
304
+ return f"<Marker('{self}')>"
305
+
306
+ def __hash__(self) -> int:
307
+ return hash((self.__class__.__name__, str(self)))
308
+
309
+ def __eq__(self, other: Any) -> bool:
310
+ if not isinstance(other, Marker):
311
+ return NotImplemented
312
+
313
+ return str(self) == str(other)
314
+
315
+ def evaluate(
316
+ self,
317
+ environment: dict[str, str] | None = None,
318
+ context: EvaluateContext = "metadata",
319
+ ) -> bool:
320
+ """Evaluate a marker.
321
+
322
+ Return the boolean from evaluating the given marker against the
323
+ environment. environment is an optional argument to override all or
324
+ part of the determined environment. The *context* parameter specifies what
325
+ context the markers are being evaluated for, which influences what markers
326
+ are considered valid. Acceptable values are "metadata" (for core metadata;
327
+ default), "lock_file", and "requirement" (i.e. all other situations).
328
+
329
+ The environment is determined from the current Python process.
330
+ """
331
+ current_environment = cast(
332
+ "dict[str, str | AbstractSet[str]]", default_environment()
333
+ )
334
+ if context == "lock_file":
335
+ current_environment.update(
336
+ extras=frozenset(), dependency_groups=frozenset()
337
+ )
338
+ elif context == "metadata":
339
+ current_environment["extra"] = ""
340
+ if environment is not None:
341
+ current_environment.update(environment)
342
+ # The API used to allow setting extra to None. We need to handle this
343
+ # case for backwards compatibility.
344
+ if "extra" in current_environment and current_environment["extra"] is None:
345
+ current_environment["extra"] = ""
346
+
347
+ return _evaluate_markers(
348
+ self._markers, _repair_python_full_version(current_environment)
349
+ )
350
+
351
+
352
+ def _repair_python_full_version(
353
+ env: dict[str, str | AbstractSet[str]],
354
+ ) -> dict[str, str | AbstractSet[str]]:
355
+ """
356
+ Work around platform.python_version() returning something that is not PEP 440
357
+ compliant for non-tagged Python builds.
358
+ """
359
+ python_full_version = cast(str, env["python_full_version"])
360
+ if python_full_version.endswith("+"):
361
+ env["python_full_version"] = f"{python_full_version}local"
362
+ return env
miniconda3/lib/python3.13/site-packages/packaging/metadata.py ADDED
@@ -0,0 +1,862 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import email.feedparser
4
+ import email.header
5
+ import email.message
6
+ import email.parser
7
+ import email.policy
8
+ import pathlib
9
+ import sys
10
+ import typing
11
+ from typing import (
12
+ Any,
13
+ Callable,
14
+ Generic,
15
+ Literal,
16
+ TypedDict,
17
+ cast,
18
+ )
19
+
20
+ from . import licenses, requirements, specifiers, utils
21
+ from . import version as version_module
22
+ from .licenses import NormalizedLicenseExpression
23
+
24
+ T = typing.TypeVar("T")
25
+
26
+
27
+ if sys.version_info >= (3, 11): # pragma: no cover
28
+ ExceptionGroup = ExceptionGroup
29
+ else: # pragma: no cover
30
+
31
+ class ExceptionGroup(Exception):
32
+ """A minimal implementation of :external:exc:`ExceptionGroup` from Python 3.11.
33
+
34
+ If :external:exc:`ExceptionGroup` is already defined by Python itself,
35
+ that version is used instead.
36
+ """
37
+
38
+ message: str
39
+ exceptions: list[Exception]
40
+
41
+ def __init__(self, message: str, exceptions: list[Exception]) -> None:
42
+ self.message = message
43
+ self.exceptions = exceptions
44
+
45
+ def __repr__(self) -> str:
46
+ return f"{self.__class__.__name__}({self.message!r}, {self.exceptions!r})"
47
+
48
+
49
+ class InvalidMetadata(ValueError):
50
+ """A metadata field contains invalid data."""
51
+
52
+ field: str
53
+ """The name of the field that contains invalid data."""
54
+
55
+ def __init__(self, field: str, message: str) -> None:
56
+ self.field = field
57
+ super().__init__(message)
58
+
59
+
60
+ # The RawMetadata class attempts to make as few assumptions about the underlying
61
+ # serialization formats as possible. The idea is that as long as a serialization
62
+ # formats offer some very basic primitives in *some* way then we can support
63
+ # serializing to and from that format.
64
+ class RawMetadata(TypedDict, total=False):
65
+ """A dictionary of raw core metadata.
66
+
67
+ Each field in core metadata maps to a key of this dictionary (when data is
68
+ provided). The key is lower-case and underscores are used instead of dashes
69
+ compared to the equivalent core metadata field. Any core metadata field that
70
+ can be specified multiple times or can hold multiple values in a single
71
+ field have a key with a plural name. See :class:`Metadata` whose attributes
72
+ match the keys of this dictionary.
73
+
74
+ Core metadata fields that can be specified multiple times are stored as a
75
+ list or dict depending on which is appropriate for the field. Any fields
76
+ which hold multiple values in a single field are stored as a list.
77
+
78
+ """
79
+
80
+ # Metadata 1.0 - PEP 241
81
+ metadata_version: str
82
+ name: str
83
+ version: str
84
+ platforms: list[str]
85
+ summary: str
86
+ description: str
87
+ keywords: list[str]
88
+ home_page: str
89
+ author: str
90
+ author_email: str
91
+ license: str
92
+
93
+ # Metadata 1.1 - PEP 314
94
+ supported_platforms: list[str]
95
+ download_url: str
96
+ classifiers: list[str]
97
+ requires: list[str]
98
+ provides: list[str]
99
+ obsoletes: list[str]
100
+
101
+ # Metadata 1.2 - PEP 345
102
+ maintainer: str
103
+ maintainer_email: str
104
+ requires_dist: list[str]
105
+ provides_dist: list[str]
106
+ obsoletes_dist: list[str]
107
+ requires_python: str
108
+ requires_external: list[str]
109
+ project_urls: dict[str, str]
110
+
111
+ # Metadata 2.0
112
+ # PEP 426 attempted to completely revamp the metadata format
113
+ # but got stuck without ever being able to build consensus on
114
+ # it and ultimately ended up withdrawn.
115
+ #
116
+ # However, a number of tools had started emitting METADATA with
117
+ # `2.0` Metadata-Version, so for historical reasons, this version
118
+ # was skipped.
119
+
120
+ # Metadata 2.1 - PEP 566
121
+ description_content_type: str
122
+ provides_extra: list[str]
123
+
124
+ # Metadata 2.2 - PEP 643
125
+ dynamic: list[str]
126
+
127
+ # Metadata 2.3 - PEP 685
128
+ # No new fields were added in PEP 685, just some edge case were
129
+ # tightened up to provide better interoptability.
130
+
131
+ # Metadata 2.4 - PEP 639
132
+ license_expression: str
133
+ license_files: list[str]
134
+
135
+
136
+ _STRING_FIELDS = {
137
+ "author",
138
+ "author_email",
139
+ "description",
140
+ "description_content_type",
141
+ "download_url",
142
+ "home_page",
143
+ "license",
144
+ "license_expression",
145
+ "maintainer",
146
+ "maintainer_email",
147
+ "metadata_version",
148
+ "name",
149
+ "requires_python",
150
+ "summary",
151
+ "version",
152
+ }
153
+
154
+ _LIST_FIELDS = {
155
+ "classifiers",
156
+ "dynamic",
157
+ "license_files",
158
+ "obsoletes",
159
+ "obsoletes_dist",
160
+ "platforms",
161
+ "provides",
162
+ "provides_dist",
163
+ "provides_extra",
164
+ "requires",
165
+ "requires_dist",
166
+ "requires_external",
167
+ "supported_platforms",
168
+ }
169
+
170
+ _DICT_FIELDS = {
171
+ "project_urls",
172
+ }
173
+
174
+
175
+ def _parse_keywords(data: str) -> list[str]:
176
+ """Split a string of comma-separated keywords into a list of keywords."""
177
+ return [k.strip() for k in data.split(",")]
178
+
179
+
180
+ def _parse_project_urls(data: list[str]) -> dict[str, str]:
181
+ """Parse a list of label/URL string pairings separated by a comma."""
182
+ urls = {}
183
+ for pair in data:
184
+ # Our logic is slightly tricky here as we want to try and do
185
+ # *something* reasonable with malformed data.
186
+ #
187
+ # The main thing that we have to worry about, is data that does
188
+ # not have a ',' at all to split the label from the Value. There
189
+ # isn't a singular right answer here, and we will fail validation
190
+ # later on (if the caller is validating) so it doesn't *really*
191
+ # matter, but since the missing value has to be an empty str
192
+ # and our return value is dict[str, str], if we let the key
193
+ # be the missing value, then they'd have multiple '' values that
194
+ # overwrite each other in a accumulating dict.
195
+ #
196
+ # The other potentional issue is that it's possible to have the
197
+ # same label multiple times in the metadata, with no solid "right"
198
+ # answer with what to do in that case. As such, we'll do the only
199
+ # thing we can, which is treat the field as unparseable and add it
200
+ # to our list of unparsed fields.
201
+ parts = [p.strip() for p in pair.split(",", 1)]
202
+ parts.extend([""] * (max(0, 2 - len(parts)))) # Ensure 2 items
203
+
204
+ # TODO: The spec doesn't say anything about if the keys should be
205
+ # considered case sensitive or not... logically they should
206
+ # be case-preserving and case-insensitive, but doing that
207
+ # would open up more cases where we might have duplicate
208
+ # entries.
209
+ label, url = parts
210
+ if label in urls:
211
+ # The label already exists in our set of urls, so this field
212
+ # is unparseable, and we can just add the whole thing to our
213
+ # unparseable data and stop processing it.
214
+ raise KeyError("duplicate labels in project urls")
215
+ urls[label] = url
216
+
217
+ return urls
218
+
219
+
220
+ def _get_payload(msg: email.message.Message, source: bytes | str) -> str:
221
+ """Get the body of the message."""
222
+ # If our source is a str, then our caller has managed encodings for us,
223
+ # and we don't need to deal with it.
224
+ if isinstance(source, str):
225
+ payload = msg.get_payload()
226
+ assert isinstance(payload, str)
227
+ return payload
228
+ # If our source is a bytes, then we're managing the encoding and we need
229
+ # to deal with it.
230
+ else:
231
+ bpayload = msg.get_payload(decode=True)
232
+ assert isinstance(bpayload, bytes)
233
+ try:
234
+ return bpayload.decode("utf8", "strict")
235
+ except UnicodeDecodeError as exc:
236
+ raise ValueError("payload in an invalid encoding") from exc
237
+
238
+
239
+ # The various parse_FORMAT functions here are intended to be as lenient as
240
+ # possible in their parsing, while still returning a correctly typed
241
+ # RawMetadata.
242
+ #
243
+ # To aid in this, we also generally want to do as little touching of the
244
+ # data as possible, except where there are possibly some historic holdovers
245
+ # that make valid data awkward to work with.
246
+ #
247
+ # While this is a lower level, intermediate format than our ``Metadata``
248
+ # class, some light touch ups can make a massive difference in usability.
249
+
250
+ # Map METADATA fields to RawMetadata.
251
+ _EMAIL_TO_RAW_MAPPING = {
252
+ "author": "author",
253
+ "author-email": "author_email",
254
+ "classifier": "classifiers",
255
+ "description": "description",
256
+ "description-content-type": "description_content_type",
257
+ "download-url": "download_url",
258
+ "dynamic": "dynamic",
259
+ "home-page": "home_page",
260
+ "keywords": "keywords",
261
+ "license": "license",
262
+ "license-expression": "license_expression",
263
+ "license-file": "license_files",
264
+ "maintainer": "maintainer",
265
+ "maintainer-email": "maintainer_email",
266
+ "metadata-version": "metadata_version",
267
+ "name": "name",
268
+ "obsoletes": "obsoletes",
269
+ "obsoletes-dist": "obsoletes_dist",
270
+ "platform": "platforms",
271
+ "project-url": "project_urls",
272
+ "provides": "provides",
273
+ "provides-dist": "provides_dist",
274
+ "provides-extra": "provides_extra",
275
+ "requires": "requires",
276
+ "requires-dist": "requires_dist",
277
+ "requires-external": "requires_external",
278
+ "requires-python": "requires_python",
279
+ "summary": "summary",
280
+ "supported-platform": "supported_platforms",
281
+ "version": "version",
282
+ }
283
+ _RAW_TO_EMAIL_MAPPING = {raw: email for email, raw in _EMAIL_TO_RAW_MAPPING.items()}
284
+
285
+
286
+ def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]:
287
+ """Parse a distribution's metadata stored as email headers (e.g. from ``METADATA``).
288
+
289
+ This function returns a two-item tuple of dicts. The first dict is of
290
+ recognized fields from the core metadata specification. Fields that can be
291
+ parsed and translated into Python's built-in types are converted
292
+ appropriately. All other fields are left as-is. Fields that are allowed to
293
+ appear multiple times are stored as lists.
294
+
295
+ The second dict contains all other fields from the metadata. This includes
296
+ any unrecognized fields. It also includes any fields which are expected to
297
+ be parsed into a built-in type but were not formatted appropriately. Finally,
298
+ any fields that are expected to appear only once but are repeated are
299
+ included in this dict.
300
+
301
+ """
302
+ raw: dict[str, str | list[str] | dict[str, str]] = {}
303
+ unparsed: dict[str, list[str]] = {}
304
+
305
+ if isinstance(data, str):
306
+ parsed = email.parser.Parser(policy=email.policy.compat32).parsestr(data)
307
+ else:
308
+ parsed = email.parser.BytesParser(policy=email.policy.compat32).parsebytes(data)
309
+
310
+ # We have to wrap parsed.keys() in a set, because in the case of multiple
311
+ # values for a key (a list), the key will appear multiple times in the
312
+ # list of keys, but we're avoiding that by using get_all().
313
+ for name in frozenset(parsed.keys()):
314
+ # Header names in RFC are case insensitive, so we'll normalize to all
315
+ # lower case to make comparisons easier.
316
+ name = name.lower()
317
+
318
+ # We use get_all() here, even for fields that aren't multiple use,
319
+ # because otherwise someone could have e.g. two Name fields, and we
320
+ # would just silently ignore it rather than doing something about it.
321
+ headers = parsed.get_all(name) or []
322
+
323
+ # The way the email module works when parsing bytes is that it
324
+ # unconditionally decodes the bytes as ascii using the surrogateescape
325
+ # handler. When you pull that data back out (such as with get_all() ),
326
+ # it looks to see if the str has any surrogate escapes, and if it does
327
+ # it wraps it in a Header object instead of returning the string.
328
+ #
329
+ # As such, we'll look for those Header objects, and fix up the encoding.
330
+ value = []
331
+ # Flag if we have run into any issues processing the headers, thus
332
+ # signalling that the data belongs in 'unparsed'.
333
+ valid_encoding = True
334
+ for h in headers:
335
+ # It's unclear if this can return more types than just a Header or
336
+ # a str, so we'll just assert here to make sure.
337
+ assert isinstance(h, (email.header.Header, str))
338
+
339
+ # If it's a header object, we need to do our little dance to get
340
+ # the real data out of it. In cases where there is invalid data
341
+ # we're going to end up with mojibake, but there's no obvious, good
342
+ # way around that without reimplementing parts of the Header object
343
+ # ourselves.
344
+ #
345
+ # That should be fine since, if mojibacked happens, this key is
346
+ # going into the unparsed dict anyways.
347
+ if isinstance(h, email.header.Header):
348
+ # The Header object stores it's data as chunks, and each chunk
349
+ # can be independently encoded, so we'll need to check each
350
+ # of them.
351
+ chunks: list[tuple[bytes, str | None]] = []
352
+ for bin, encoding in email.header.decode_header(h):
353
+ try:
354
+ bin.decode("utf8", "strict")
355
+ except UnicodeDecodeError:
356
+ # Enable mojibake.
357
+ encoding = "latin1"
358
+ valid_encoding = False
359
+ else:
360
+ encoding = "utf8"
361
+ chunks.append((bin, encoding))
362
+
363
+ # Turn our chunks back into a Header object, then let that
364
+ # Header object do the right thing to turn them into a
365
+ # string for us.
366
+ value.append(str(email.header.make_header(chunks)))
367
+ # This is already a string, so just add it.
368
+ else:
369
+ value.append(h)
370
+
371
+ # We've processed all of our values to get them into a list of str,
372
+ # but we may have mojibake data, in which case this is an unparsed
373
+ # field.
374
+ if not valid_encoding:
375
+ unparsed[name] = value
376
+ continue
377
+
378
+ raw_name = _EMAIL_TO_RAW_MAPPING.get(name)
379
+ if raw_name is None:
380
+ # This is a bit of a weird situation, we've encountered a key that
381
+ # we don't know what it means, so we don't know whether it's meant
382
+ # to be a list or not.
383
+ #
384
+ # Since we can't really tell one way or another, we'll just leave it
385
+ # as a list, even though it may be a single item list, because that's
386
+ # what makes the most sense for email headers.
387
+ unparsed[name] = value
388
+ continue
389
+
390
+ # If this is one of our string fields, then we'll check to see if our
391
+ # value is a list of a single item. If it is then we'll assume that
392
+ # it was emitted as a single string, and unwrap the str from inside
393
+ # the list.
394
+ #
395
+ # If it's any other kind of data, then we haven't the faintest clue
396
+ # what we should parse it as, and we have to just add it to our list
397
+ # of unparsed stuff.
398
+ if raw_name in _STRING_FIELDS and len(value) == 1:
399
+ raw[raw_name] = value[0]
400
+ # If this is one of our list of string fields, then we can just assign
401
+ # the value, since email *only* has strings, and our get_all() call
402
+ # above ensures that this is a list.
403
+ elif raw_name in _LIST_FIELDS:
404
+ raw[raw_name] = value
405
+ # Special Case: Keywords
406
+ # The keywords field is implemented in the metadata spec as a str,
407
+ # but it conceptually is a list of strings, and is serialized using
408
+ # ", ".join(keywords), so we'll do some light data massaging to turn
409
+ # this into what it logically is.
410
+ elif raw_name == "keywords" and len(value) == 1:
411
+ raw[raw_name] = _parse_keywords(value[0])
412
+ # Special Case: Project-URL
413
+ # The project urls is implemented in the metadata spec as a list of
414
+ # specially-formatted strings that represent a key and a value, which
415
+ # is fundamentally a mapping, however the email format doesn't support
416
+ # mappings in a sane way, so it was crammed into a list of strings
417
+ # instead.
418
+ #
419
+ # We will do a little light data massaging to turn this into a map as
420
+ # it logically should be.
421
+ elif raw_name == "project_urls":
422
+ try:
423
+ raw[raw_name] = _parse_project_urls(value)
424
+ except KeyError:
425
+ unparsed[name] = value
426
+ # Nothing that we've done has managed to parse this, so it'll just
427
+ # throw it in our unparseable data and move on.
428
+ else:
429
+ unparsed[name] = value
430
+
431
+ # We need to support getting the Description from the message payload in
432
+ # addition to getting it from the the headers. This does mean, though, there
433
+ # is the possibility of it being set both ways, in which case we put both
434
+ # in 'unparsed' since we don't know which is right.
435
+ try:
436
+ payload = _get_payload(parsed, data)
437
+ except ValueError:
438
+ unparsed.setdefault("description", []).append(
439
+ parsed.get_payload(decode=isinstance(data, bytes)) # type: ignore[call-overload]
440
+ )
441
+ else:
442
+ if payload:
443
+ # Check to see if we've already got a description, if so then both
444
+ # it, and this body move to unparseable.
445
+ if "description" in raw:
446
+ description_header = cast(str, raw.pop("description"))
447
+ unparsed.setdefault("description", []).extend(
448
+ [description_header, payload]
449
+ )
450
+ elif "description" in unparsed:
451
+ unparsed["description"].append(payload)
452
+ else:
453
+ raw["description"] = payload
454
+
455
+ # We need to cast our `raw` to a metadata, because a TypedDict only support
456
+ # literal key names, but we're computing our key names on purpose, but the
457
+ # way this function is implemented, our `TypedDict` can only have valid key
458
+ # names.
459
+ return cast(RawMetadata, raw), unparsed
460
+
461
+
462
+ _NOT_FOUND = object()
463
+
464
+
465
+ # Keep the two values in sync.
466
+ _VALID_METADATA_VERSIONS = ["1.0", "1.1", "1.2", "2.1", "2.2", "2.3", "2.4"]
467
+ _MetadataVersion = Literal["1.0", "1.1", "1.2", "2.1", "2.2", "2.3", "2.4"]
468
+
469
+ _REQUIRED_ATTRS = frozenset(["metadata_version", "name", "version"])
470
+
471
+
472
+ class _Validator(Generic[T]):
473
+ """Validate a metadata field.
474
+
475
+ All _process_*() methods correspond to a core metadata field. The method is
476
+ called with the field's raw value. If the raw value is valid it is returned
477
+ in its "enriched" form (e.g. ``version.Version`` for the ``Version`` field).
478
+ If the raw value is invalid, :exc:`InvalidMetadata` is raised (with a cause
479
+ as appropriate).
480
+ """
481
+
482
+ name: str
483
+ raw_name: str
484
+ added: _MetadataVersion
485
+
486
+ def __init__(
487
+ self,
488
+ *,
489
+ added: _MetadataVersion = "1.0",
490
+ ) -> None:
491
+ self.added = added
492
+
493
+ def __set_name__(self, _owner: Metadata, name: str) -> None:
494
+ self.name = name
495
+ self.raw_name = _RAW_TO_EMAIL_MAPPING[name]
496
+
497
+ def __get__(self, instance: Metadata, _owner: type[Metadata]) -> T:
498
+ # With Python 3.8, the caching can be replaced with functools.cached_property().
499
+ # No need to check the cache as attribute lookup will resolve into the
500
+ # instance's __dict__ before __get__ is called.
501
+ cache = instance.__dict__
502
+ value = instance._raw.get(self.name)
503
+
504
+ # To make the _process_* methods easier, we'll check if the value is None
505
+ # and if this field is NOT a required attribute, and if both of those
506
+ # things are true, we'll skip the the converter. This will mean that the
507
+ # converters never have to deal with the None union.
508
+ if self.name in _REQUIRED_ATTRS or value is not None:
509
+ try:
510
+ converter: Callable[[Any], T] = getattr(self, f"_process_{self.name}")
511
+ except AttributeError:
512
+ pass
513
+ else:
514
+ value = converter(value)
515
+
516
+ cache[self.name] = value
517
+ try:
518
+ del instance._raw[self.name] # type: ignore[misc]
519
+ except KeyError:
520
+ pass
521
+
522
+ return cast(T, value)
523
+
524
+ def _invalid_metadata(
525
+ self, msg: str, cause: Exception | None = None
526
+ ) -> InvalidMetadata:
527
+ exc = InvalidMetadata(
528
+ self.raw_name, msg.format_map({"field": repr(self.raw_name)})
529
+ )
530
+ exc.__cause__ = cause
531
+ return exc
532
+
533
+ def _process_metadata_version(self, value: str) -> _MetadataVersion:
534
+ # Implicitly makes Metadata-Version required.
535
+ if value not in _VALID_METADATA_VERSIONS:
536
+ raise self._invalid_metadata(f"{value!r} is not a valid metadata version")
537
+ return cast(_MetadataVersion, value)
538
+
539
+ def _process_name(self, value: str) -> str:
540
+ if not value:
541
+ raise self._invalid_metadata("{field} is a required field")
542
+ # Validate the name as a side-effect.
543
+ try:
544
+ utils.canonicalize_name(value, validate=True)
545
+ except utils.InvalidName as exc:
546
+ raise self._invalid_metadata(
547
+ f"{value!r} is invalid for {{field}}", cause=exc
548
+ ) from exc
549
+ else:
550
+ return value
551
+
552
+ def _process_version(self, value: str) -> version_module.Version:
553
+ if not value:
554
+ raise self._invalid_metadata("{field} is a required field")
555
+ try:
556
+ return version_module.parse(value)
557
+ except version_module.InvalidVersion as exc:
558
+ raise self._invalid_metadata(
559
+ f"{value!r} is invalid for {{field}}", cause=exc
560
+ ) from exc
561
+
562
+ def _process_summary(self, value: str) -> str:
563
+ """Check the field contains no newlines."""
564
+ if "\n" in value:
565
+ raise self._invalid_metadata("{field} must be a single line")
566
+ return value
567
+
568
+ def _process_description_content_type(self, value: str) -> str:
569
+ content_types = {"text/plain", "text/x-rst", "text/markdown"}
570
+ message = email.message.EmailMessage()
571
+ message["content-type"] = value
572
+
573
+ content_type, parameters = (
574
+ # Defaults to `text/plain` if parsing failed.
575
+ message.get_content_type().lower(),
576
+ message["content-type"].params,
577
+ )
578
+ # Check if content-type is valid or defaulted to `text/plain` and thus was
579
+ # not parseable.
580
+ if content_type not in content_types or content_type not in value.lower():
581
+ raise self._invalid_metadata(
582
+ f"{{field}} must be one of {list(content_types)}, not {value!r}"
583
+ )
584
+
585
+ charset = parameters.get("charset", "UTF-8")
586
+ if charset != "UTF-8":
587
+ raise self._invalid_metadata(
588
+ f"{{field}} can only specify the UTF-8 charset, not {list(charset)}"
589
+ )
590
+
591
+ markdown_variants = {"GFM", "CommonMark"}
592
+ variant = parameters.get("variant", "GFM") # Use an acceptable default.
593
+ if content_type == "text/markdown" and variant not in markdown_variants:
594
+ raise self._invalid_metadata(
595
+ f"valid Markdown variants for {{field}} are {list(markdown_variants)}, "
596
+ f"not {variant!r}",
597
+ )
598
+ return value
599
+
600
+ def _process_dynamic(self, value: list[str]) -> list[str]:
601
+ for dynamic_field in map(str.lower, value):
602
+ if dynamic_field in {"name", "version", "metadata-version"}:
603
+ raise self._invalid_metadata(
604
+ f"{dynamic_field!r} is not allowed as a dynamic field"
605
+ )
606
+ elif dynamic_field not in _EMAIL_TO_RAW_MAPPING:
607
+ raise self._invalid_metadata(
608
+ f"{dynamic_field!r} is not a valid dynamic field"
609
+ )
610
+ return list(map(str.lower, value))
611
+
612
+ def _process_provides_extra(
613
+ self,
614
+ value: list[str],
615
+ ) -> list[utils.NormalizedName]:
616
+ normalized_names = []
617
+ try:
618
+ for name in value:
619
+ normalized_names.append(utils.canonicalize_name(name, validate=True))
620
+ except utils.InvalidName as exc:
621
+ raise self._invalid_metadata(
622
+ f"{name!r} is invalid for {{field}}", cause=exc
623
+ ) from exc
624
+ else:
625
+ return normalized_names
626
+
627
+ def _process_requires_python(self, value: str) -> specifiers.SpecifierSet:
628
+ try:
629
+ return specifiers.SpecifierSet(value)
630
+ except specifiers.InvalidSpecifier as exc:
631
+ raise self._invalid_metadata(
632
+ f"{value!r} is invalid for {{field}}", cause=exc
633
+ ) from exc
634
+
635
+ def _process_requires_dist(
636
+ self,
637
+ value: list[str],
638
+ ) -> list[requirements.Requirement]:
639
+ reqs = []
640
+ try:
641
+ for req in value:
642
+ reqs.append(requirements.Requirement(req))
643
+ except requirements.InvalidRequirement as exc:
644
+ raise self._invalid_metadata(
645
+ f"{req!r} is invalid for {{field}}", cause=exc
646
+ ) from exc
647
+ else:
648
+ return reqs
649
+
650
+ def _process_license_expression(
651
+ self, value: str
652
+ ) -> NormalizedLicenseExpression | None:
653
+ try:
654
+ return licenses.canonicalize_license_expression(value)
655
+ except ValueError as exc:
656
+ raise self._invalid_metadata(
657
+ f"{value!r} is invalid for {{field}}", cause=exc
658
+ ) from exc
659
+
660
+ def _process_license_files(self, value: list[str]) -> list[str]:
661
+ paths = []
662
+ for path in value:
663
+ if ".." in path:
664
+ raise self._invalid_metadata(
665
+ f"{path!r} is invalid for {{field}}, "
666
+ "parent directory indicators are not allowed"
667
+ )
668
+ if "*" in path:
669
+ raise self._invalid_metadata(
670
+ f"{path!r} is invalid for {{field}}, paths must be resolved"
671
+ )
672
+ if (
673
+ pathlib.PurePosixPath(path).is_absolute()
674
+ or pathlib.PureWindowsPath(path).is_absolute()
675
+ ):
676
+ raise self._invalid_metadata(
677
+ f"{path!r} is invalid for {{field}}, paths must be relative"
678
+ )
679
+ if pathlib.PureWindowsPath(path).as_posix() != path:
680
+ raise self._invalid_metadata(
681
+ f"{path!r} is invalid for {{field}}, paths must use '/' delimiter"
682
+ )
683
+ paths.append(path)
684
+ return paths
685
+
686
+
687
+ class Metadata:
688
+ """Representation of distribution metadata.
689
+
690
+ Compared to :class:`RawMetadata`, this class provides objects representing
691
+ metadata fields instead of only using built-in types. Any invalid metadata
692
+ will cause :exc:`InvalidMetadata` to be raised (with a
693
+ :py:attr:`~BaseException.__cause__` attribute as appropriate).
694
+ """
695
+
696
+ _raw: RawMetadata
697
+
698
+ @classmethod
699
+ def from_raw(cls, data: RawMetadata, *, validate: bool = True) -> Metadata:
700
+ """Create an instance from :class:`RawMetadata`.
701
+
702
+ If *validate* is true, all metadata will be validated. All exceptions
703
+ related to validation will be gathered and raised as an :class:`ExceptionGroup`.
704
+ """
705
+ ins = cls()
706
+ ins._raw = data.copy() # Mutations occur due to caching enriched values.
707
+
708
+ if validate:
709
+ exceptions: list[Exception] = []
710
+ try:
711
+ metadata_version = ins.metadata_version
712
+ metadata_age = _VALID_METADATA_VERSIONS.index(metadata_version)
713
+ except InvalidMetadata as metadata_version_exc:
714
+ exceptions.append(metadata_version_exc)
715
+ metadata_version = None
716
+
717
+ # Make sure to check for the fields that are present, the required
718
+ # fields (so their absence can be reported).
719
+ fields_to_check = frozenset(ins._raw) | _REQUIRED_ATTRS
720
+ # Remove fields that have already been checked.
721
+ fields_to_check -= {"metadata_version"}
722
+
723
+ for key in fields_to_check:
724
+ try:
725
+ if metadata_version:
726
+ # Can't use getattr() as that triggers descriptor protocol which
727
+ # will fail due to no value for the instance argument.
728
+ try:
729
+ field_metadata_version = cls.__dict__[key].added
730
+ except KeyError:
731
+ exc = InvalidMetadata(key, f"unrecognized field: {key!r}")
732
+ exceptions.append(exc)
733
+ continue
734
+ field_age = _VALID_METADATA_VERSIONS.index(
735
+ field_metadata_version
736
+ )
737
+ if field_age > metadata_age:
738
+ field = _RAW_TO_EMAIL_MAPPING[key]
739
+ exc = InvalidMetadata(
740
+ field,
741
+ f"{field} introduced in metadata version "
742
+ f"{field_metadata_version}, not {metadata_version}",
743
+ )
744
+ exceptions.append(exc)
745
+ continue
746
+ getattr(ins, key)
747
+ except InvalidMetadata as exc:
748
+ exceptions.append(exc)
749
+
750
+ if exceptions:
751
+ raise ExceptionGroup("invalid metadata", exceptions)
752
+
753
+ return ins
754
+
755
+ @classmethod
756
+ def from_email(cls, data: bytes | str, *, validate: bool = True) -> Metadata:
757
+ """Parse metadata from email headers.
758
+
759
+ If *validate* is true, the metadata will be validated. All exceptions
760
+ related to validation will be gathered and raised as an :class:`ExceptionGroup`.
761
+ """
762
+ raw, unparsed = parse_email(data)
763
+
764
+ if validate:
765
+ exceptions: list[Exception] = []
766
+ for unparsed_key in unparsed:
767
+ if unparsed_key in _EMAIL_TO_RAW_MAPPING:
768
+ message = f"{unparsed_key!r} has invalid data"
769
+ else:
770
+ message = f"unrecognized field: {unparsed_key!r}"
771
+ exceptions.append(InvalidMetadata(unparsed_key, message))
772
+
773
+ if exceptions:
774
+ raise ExceptionGroup("unparsed", exceptions)
775
+
776
+ try:
777
+ return cls.from_raw(raw, validate=validate)
778
+ except ExceptionGroup as exc_group:
779
+ raise ExceptionGroup(
780
+ "invalid or unparsed metadata", exc_group.exceptions
781
+ ) from None
782
+
783
+ metadata_version: _Validator[_MetadataVersion] = _Validator()
784
+ """:external:ref:`core-metadata-metadata-version`
785
+ (required; validated to be a valid metadata version)"""
786
+ # `name` is not normalized/typed to NormalizedName so as to provide access to
787
+ # the original/raw name.
788
+ name: _Validator[str] = _Validator()
789
+ """:external:ref:`core-metadata-name`
790
+ (required; validated using :func:`~packaging.utils.canonicalize_name` and its
791
+ *validate* parameter)"""
792
+ version: _Validator[version_module.Version] = _Validator()
793
+ """:external:ref:`core-metadata-version` (required)"""
794
+ dynamic: _Validator[list[str] | None] = _Validator(
795
+ added="2.2",
796
+ )
797
+ """:external:ref:`core-metadata-dynamic`
798
+ (validated against core metadata field names and lowercased)"""
799
+ platforms: _Validator[list[str] | None] = _Validator()
800
+ """:external:ref:`core-metadata-platform`"""
801
+ supported_platforms: _Validator[list[str] | None] = _Validator(added="1.1")
802
+ """:external:ref:`core-metadata-supported-platform`"""
803
+ summary: _Validator[str | None] = _Validator()
804
+ """:external:ref:`core-metadata-summary` (validated to contain no newlines)"""
805
+ description: _Validator[str | None] = _Validator() # TODO 2.1: can be in body
806
+ """:external:ref:`core-metadata-description`"""
807
+ description_content_type: _Validator[str | None] = _Validator(added="2.1")
808
+ """:external:ref:`core-metadata-description-content-type` (validated)"""
809
+ keywords: _Validator[list[str] | None] = _Validator()
810
+ """:external:ref:`core-metadata-keywords`"""
811
+ home_page: _Validator[str | None] = _Validator()
812
+ """:external:ref:`core-metadata-home-page`"""
813
+ download_url: _Validator[str | None] = _Validator(added="1.1")
814
+ """:external:ref:`core-metadata-download-url`"""
815
+ author: _Validator[str | None] = _Validator()
816
+ """:external:ref:`core-metadata-author`"""
817
+ author_email: _Validator[str | None] = _Validator()
818
+ """:external:ref:`core-metadata-author-email`"""
819
+ maintainer: _Validator[str | None] = _Validator(added="1.2")
820
+ """:external:ref:`core-metadata-maintainer`"""
821
+ maintainer_email: _Validator[str | None] = _Validator(added="1.2")
822
+ """:external:ref:`core-metadata-maintainer-email`"""
823
+ license: _Validator[str | None] = _Validator()
824
+ """:external:ref:`core-metadata-license`"""
825
+ license_expression: _Validator[NormalizedLicenseExpression | None] = _Validator(
826
+ added="2.4"
827
+ )
828
+ """:external:ref:`core-metadata-license-expression`"""
829
+ license_files: _Validator[list[str] | None] = _Validator(added="2.4")
830
+ """:external:ref:`core-metadata-license-file`"""
831
+ classifiers: _Validator[list[str] | None] = _Validator(added="1.1")
832
+ """:external:ref:`core-metadata-classifier`"""
833
+ requires_dist: _Validator[list[requirements.Requirement] | None] = _Validator(
834
+ added="1.2"
835
+ )
836
+ """:external:ref:`core-metadata-requires-dist`"""
837
+ requires_python: _Validator[specifiers.SpecifierSet | None] = _Validator(
838
+ added="1.2"
839
+ )
840
+ """:external:ref:`core-metadata-requires-python`"""
841
+ # Because `Requires-External` allows for non-PEP 440 version specifiers, we
842
+ # don't do any processing on the values.
843
+ requires_external: _Validator[list[str] | None] = _Validator(added="1.2")
844
+ """:external:ref:`core-metadata-requires-external`"""
845
+ project_urls: _Validator[dict[str, str] | None] = _Validator(added="1.2")
846
+ """:external:ref:`core-metadata-project-url`"""
847
+ # PEP 685 lets us raise an error if an extra doesn't pass `Name` validation
848
+ # regardless of metadata version.
849
+ provides_extra: _Validator[list[utils.NormalizedName] | None] = _Validator(
850
+ added="2.1",
851
+ )
852
+ """:external:ref:`core-metadata-provides-extra`"""
853
+ provides_dist: _Validator[list[str] | None] = _Validator(added="1.2")
854
+ """:external:ref:`core-metadata-provides-dist`"""
855
+ obsoletes_dist: _Validator[list[str] | None] = _Validator(added="1.2")
856
+ """:external:ref:`core-metadata-obsoletes-dist`"""
857
+ requires: _Validator[list[str] | None] = _Validator(added="1.1")
858
+ """``Requires`` (deprecated)"""
859
+ provides: _Validator[list[str] | None] = _Validator(added="1.1")
860
+ """``Provides`` (deprecated)"""
861
+ obsoletes: _Validator[list[str] | None] = _Validator(added="1.1")
862
+ """``Obsoletes`` (deprecated)"""
miniconda3/lib/python3.13/site-packages/packaging/py.typed ADDED
File without changes
miniconda3/lib/python3.13/site-packages/packaging/requirements.py ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+ from __future__ import annotations
5
+
6
+ from typing import Any, Iterator
7
+
8
+ from ._parser import parse_requirement as _parse_requirement
9
+ from ._tokenizer import ParserSyntaxError
10
+ from .markers import Marker, _normalize_extra_values
11
+ from .specifiers import SpecifierSet
12
+ from .utils import canonicalize_name
13
+
14
+
15
+ class InvalidRequirement(ValueError):
16
+ """
17
+ An invalid requirement was found, users should refer to PEP 508.
18
+ """
19
+
20
+
21
+ class Requirement:
22
+ """Parse a requirement.
23
+
24
+ Parse a given requirement string into its parts, such as name, specifier,
25
+ URL, and extras. Raises InvalidRequirement on a badly-formed requirement
26
+ string.
27
+ """
28
+
29
+ # TODO: Can we test whether something is contained within a requirement?
30
+ # If so how do we do that? Do we need to test against the _name_ of
31
+ # the thing as well as the version? What about the markers?
32
+ # TODO: Can we normalize the name and extra name?
33
+
34
+ def __init__(self, requirement_string: str) -> None:
35
+ try:
36
+ parsed = _parse_requirement(requirement_string)
37
+ except ParserSyntaxError as e:
38
+ raise InvalidRequirement(str(e)) from e
39
+
40
+ self.name: str = parsed.name
41
+ self.url: str | None = parsed.url or None
42
+ self.extras: set[str] = set(parsed.extras or [])
43
+ self.specifier: SpecifierSet = SpecifierSet(parsed.specifier)
44
+ self.marker: Marker | None = None
45
+ if parsed.marker is not None:
46
+ self.marker = Marker.__new__(Marker)
47
+ self.marker._markers = _normalize_extra_values(parsed.marker)
48
+
49
+ def _iter_parts(self, name: str) -> Iterator[str]:
50
+ yield name
51
+
52
+ if self.extras:
53
+ formatted_extras = ",".join(sorted(self.extras))
54
+ yield f"[{formatted_extras}]"
55
+
56
+ if self.specifier:
57
+ yield str(self.specifier)
58
+
59
+ if self.url:
60
+ yield f"@ {self.url}"
61
+ if self.marker:
62
+ yield " "
63
+
64
+ if self.marker:
65
+ yield f"; {self.marker}"
66
+
67
+ def __str__(self) -> str:
68
+ return "".join(self._iter_parts(self.name))
69
+
70
+ def __repr__(self) -> str:
71
+ return f"<Requirement('{self}')>"
72
+
73
+ def __hash__(self) -> int:
74
+ return hash(
75
+ (
76
+ self.__class__.__name__,
77
+ *self._iter_parts(canonicalize_name(self.name)),
78
+ )
79
+ )
80
+
81
+ def __eq__(self, other: Any) -> bool:
82
+ if not isinstance(other, Requirement):
83
+ return NotImplemented
84
+
85
+ return (
86
+ canonicalize_name(self.name) == canonicalize_name(other.name)
87
+ and self.extras == other.extras
88
+ and self.specifier == other.specifier
89
+ and self.url == other.url
90
+ and self.marker == other.marker
91
+ )
miniconda3/lib/python3.13/site-packages/packaging/specifiers.py ADDED
@@ -0,0 +1,1019 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+ """
5
+ .. testsetup::
6
+
7
+ from packaging.specifiers import Specifier, SpecifierSet, InvalidSpecifier
8
+ from packaging.version import Version
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ import abc
14
+ import itertools
15
+ import re
16
+ from typing import Callable, Iterable, Iterator, TypeVar, Union
17
+
18
+ from .utils import canonicalize_version
19
+ from .version import Version
20
+
21
+ UnparsedVersion = Union[Version, str]
22
+ UnparsedVersionVar = TypeVar("UnparsedVersionVar", bound=UnparsedVersion)
23
+ CallableOperator = Callable[[Version, str], bool]
24
+
25
+
26
+ def _coerce_version(version: UnparsedVersion) -> Version:
27
+ if not isinstance(version, Version):
28
+ version = Version(version)
29
+ return version
30
+
31
+
32
+ class InvalidSpecifier(ValueError):
33
+ """
34
+ Raised when attempting to create a :class:`Specifier` with a specifier
35
+ string that is invalid.
36
+
37
+ >>> Specifier("lolwat")
38
+ Traceback (most recent call last):
39
+ ...
40
+ packaging.specifiers.InvalidSpecifier: Invalid specifier: 'lolwat'
41
+ """
42
+
43
+
44
+ class BaseSpecifier(metaclass=abc.ABCMeta):
45
+ @abc.abstractmethod
46
+ def __str__(self) -> str:
47
+ """
48
+ Returns the str representation of this Specifier-like object. This
49
+ should be representative of the Specifier itself.
50
+ """
51
+
52
+ @abc.abstractmethod
53
+ def __hash__(self) -> int:
54
+ """
55
+ Returns a hash value for this Specifier-like object.
56
+ """
57
+
58
+ @abc.abstractmethod
59
+ def __eq__(self, other: object) -> bool:
60
+ """
61
+ Returns a boolean representing whether or not the two Specifier-like
62
+ objects are equal.
63
+
64
+ :param other: The other object to check against.
65
+ """
66
+
67
+ @property
68
+ @abc.abstractmethod
69
+ def prereleases(self) -> bool | None:
70
+ """Whether or not pre-releases as a whole are allowed.
71
+
72
+ This can be set to either ``True`` or ``False`` to explicitly enable or disable
73
+ prereleases or it can be set to ``None`` (the default) to use default semantics.
74
+ """
75
+
76
+ @prereleases.setter
77
+ def prereleases(self, value: bool) -> None:
78
+ """Setter for :attr:`prereleases`.
79
+
80
+ :param value: The value to set.
81
+ """
82
+
83
+ @abc.abstractmethod
84
+ def contains(self, item: str, prereleases: bool | None = None) -> bool:
85
+ """
86
+ Determines if the given item is contained within this specifier.
87
+ """
88
+
89
+ @abc.abstractmethod
90
+ def filter(
91
+ self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None
92
+ ) -> Iterator[UnparsedVersionVar]:
93
+ """
94
+ Takes an iterable of items and filters them so that only items which
95
+ are contained within this specifier are allowed in it.
96
+ """
97
+
98
+
99
+ class Specifier(BaseSpecifier):
100
+ """This class abstracts handling of version specifiers.
101
+
102
+ .. tip::
103
+
104
+ It is generally not required to instantiate this manually. You should instead
105
+ prefer to work with :class:`SpecifierSet` instead, which can parse
106
+ comma-separated version specifiers (which is what package metadata contains).
107
+ """
108
+
109
+ _operator_regex_str = r"""
110
+ (?P<operator>(~=|==|!=|<=|>=|<|>|===))
111
+ """
112
+ _version_regex_str = r"""
113
+ (?P<version>
114
+ (?:
115
+ # The identity operators allow for an escape hatch that will
116
+ # do an exact string match of the version you wish to install.
117
+ # This will not be parsed by PEP 440 and we cannot determine
118
+ # any semantic meaning from it. This operator is discouraged
119
+ # but included entirely as an escape hatch.
120
+ (?<====) # Only match for the identity operator
121
+ \s*
122
+ [^\s;)]* # The arbitrary version can be just about anything,
123
+ # we match everything except for whitespace, a
124
+ # semi-colon for marker support, and a closing paren
125
+ # since versions can be enclosed in them.
126
+ )
127
+ |
128
+ (?:
129
+ # The (non)equality operators allow for wild card and local
130
+ # versions to be specified so we have to define these two
131
+ # operators separately to enable that.
132
+ (?<===|!=) # Only match for equals and not equals
133
+
134
+ \s*
135
+ v?
136
+ (?:[0-9]+!)? # epoch
137
+ [0-9]+(?:\.[0-9]+)* # release
138
+
139
+ # You cannot use a wild card and a pre-release, post-release, a dev or
140
+ # local version together so group them with a | and make them optional.
141
+ (?:
142
+ \.\* # Wild card syntax of .*
143
+ |
144
+ (?: # pre release
145
+ [-_\.]?
146
+ (alpha|beta|preview|pre|a|b|c|rc)
147
+ [-_\.]?
148
+ [0-9]*
149
+ )?
150
+ (?: # post release
151
+ (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*)
152
+ )?
153
+ (?:[-_\.]?dev[-_\.]?[0-9]*)? # dev release
154
+ (?:\+[a-z0-9]+(?:[-_\.][a-z0-9]+)*)? # local
155
+ )?
156
+ )
157
+ |
158
+ (?:
159
+ # The compatible operator requires at least two digits in the
160
+ # release segment.
161
+ (?<=~=) # Only match for the compatible operator
162
+
163
+ \s*
164
+ v?
165
+ (?:[0-9]+!)? # epoch
166
+ [0-9]+(?:\.[0-9]+)+ # release (We have a + instead of a *)
167
+ (?: # pre release
168
+ [-_\.]?
169
+ (alpha|beta|preview|pre|a|b|c|rc)
170
+ [-_\.]?
171
+ [0-9]*
172
+ )?
173
+ (?: # post release
174
+ (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*)
175
+ )?
176
+ (?:[-_\.]?dev[-_\.]?[0-9]*)? # dev release
177
+ )
178
+ |
179
+ (?:
180
+ # All other operators only allow a sub set of what the
181
+ # (non)equality operators do. Specifically they do not allow
182
+ # local versions to be specified nor do they allow the prefix
183
+ # matching wild cards.
184
+ (?<!==|!=|~=) # We have special cases for these
185
+ # operators so we want to make sure they
186
+ # don't match here.
187
+
188
+ \s*
189
+ v?
190
+ (?:[0-9]+!)? # epoch
191
+ [0-9]+(?:\.[0-9]+)* # release
192
+ (?: # pre release
193
+ [-_\.]?
194
+ (alpha|beta|preview|pre|a|b|c|rc)
195
+ [-_\.]?
196
+ [0-9]*
197
+ )?
198
+ (?: # post release
199
+ (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*)
200
+ )?
201
+ (?:[-_\.]?dev[-_\.]?[0-9]*)? # dev release
202
+ )
203
+ )
204
+ """
205
+
206
+ _regex = re.compile(
207
+ r"^\s*" + _operator_regex_str + _version_regex_str + r"\s*$",
208
+ re.VERBOSE | re.IGNORECASE,
209
+ )
210
+
211
+ _operators = {
212
+ "~=": "compatible",
213
+ "==": "equal",
214
+ "!=": "not_equal",
215
+ "<=": "less_than_equal",
216
+ ">=": "greater_than_equal",
217
+ "<": "less_than",
218
+ ">": "greater_than",
219
+ "===": "arbitrary",
220
+ }
221
+
222
+ def __init__(self, spec: str = "", prereleases: bool | None = None) -> None:
223
+ """Initialize a Specifier instance.
224
+
225
+ :param spec:
226
+ The string representation of a specifier which will be parsed and
227
+ normalized before use.
228
+ :param prereleases:
229
+ This tells the specifier if it should accept prerelease versions if
230
+ applicable or not. The default of ``None`` will autodetect it from the
231
+ given specifiers.
232
+ :raises InvalidSpecifier:
233
+ If the given specifier is invalid (i.e. bad syntax).
234
+ """
235
+ match = self._regex.search(spec)
236
+ if not match:
237
+ raise InvalidSpecifier(f"Invalid specifier: {spec!r}")
238
+
239
+ self._spec: tuple[str, str] = (
240
+ match.group("operator").strip(),
241
+ match.group("version").strip(),
242
+ )
243
+
244
+ # Store whether or not this Specifier should accept prereleases
245
+ self._prereleases = prereleases
246
+
247
+ # https://github.com/python/mypy/pull/13475#pullrequestreview-1079784515
248
+ @property # type: ignore[override]
249
+ def prereleases(self) -> bool:
250
+ # If there is an explicit prereleases set for this, then we'll just
251
+ # blindly use that.
252
+ if self._prereleases is not None:
253
+ return self._prereleases
254
+
255
+ # Look at all of our specifiers and determine if they are inclusive
256
+ # operators, and if they are if they are including an explicit
257
+ # prerelease.
258
+ operator, version = self._spec
259
+ if operator in ["==", ">=", "<=", "~=", "===", ">", "<"]:
260
+ # The == specifier can include a trailing .*, if it does we
261
+ # want to remove before parsing.
262
+ if operator == "==" and version.endswith(".*"):
263
+ version = version[:-2]
264
+
265
+ # Parse the version, and if it is a pre-release than this
266
+ # specifier allows pre-releases.
267
+ if Version(version).is_prerelease:
268
+ return True
269
+
270
+ return False
271
+
272
+ @prereleases.setter
273
+ def prereleases(self, value: bool) -> None:
274
+ self._prereleases = value
275
+
276
+ @property
277
+ def operator(self) -> str:
278
+ """The operator of this specifier.
279
+
280
+ >>> Specifier("==1.2.3").operator
281
+ '=='
282
+ """
283
+ return self._spec[0]
284
+
285
+ @property
286
+ def version(self) -> str:
287
+ """The version of this specifier.
288
+
289
+ >>> Specifier("==1.2.3").version
290
+ '1.2.3'
291
+ """
292
+ return self._spec[1]
293
+
294
+ def __repr__(self) -> str:
295
+ """A representation of the Specifier that shows all internal state.
296
+
297
+ >>> Specifier('>=1.0.0')
298
+ <Specifier('>=1.0.0')>
299
+ >>> Specifier('>=1.0.0', prereleases=False)
300
+ <Specifier('>=1.0.0', prereleases=False)>
301
+ >>> Specifier('>=1.0.0', prereleases=True)
302
+ <Specifier('>=1.0.0', prereleases=True)>
303
+ """
304
+ pre = (
305
+ f", prereleases={self.prereleases!r}"
306
+ if self._prereleases is not None
307
+ else ""
308
+ )
309
+
310
+ return f"<{self.__class__.__name__}({str(self)!r}{pre})>"
311
+
312
+ def __str__(self) -> str:
313
+ """A string representation of the Specifier that can be round-tripped.
314
+
315
+ >>> str(Specifier('>=1.0.0'))
316
+ '>=1.0.0'
317
+ >>> str(Specifier('>=1.0.0', prereleases=False))
318
+ '>=1.0.0'
319
+ """
320
+ return "{}{}".format(*self._spec)
321
+
322
+ @property
323
+ def _canonical_spec(self) -> tuple[str, str]:
324
+ canonical_version = canonicalize_version(
325
+ self._spec[1],
326
+ strip_trailing_zero=(self._spec[0] != "~="),
327
+ )
328
+ return self._spec[0], canonical_version
329
+
330
+ def __hash__(self) -> int:
331
+ return hash(self._canonical_spec)
332
+
333
+ def __eq__(self, other: object) -> bool:
334
+ """Whether or not the two Specifier-like objects are equal.
335
+
336
+ :param other: The other object to check against.
337
+
338
+ The value of :attr:`prereleases` is ignored.
339
+
340
+ >>> Specifier("==1.2.3") == Specifier("== 1.2.3.0")
341
+ True
342
+ >>> (Specifier("==1.2.3", prereleases=False) ==
343
+ ... Specifier("==1.2.3", prereleases=True))
344
+ True
345
+ >>> Specifier("==1.2.3") == "==1.2.3"
346
+ True
347
+ >>> Specifier("==1.2.3") == Specifier("==1.2.4")
348
+ False
349
+ >>> Specifier("==1.2.3") == Specifier("~=1.2.3")
350
+ False
351
+ """
352
+ if isinstance(other, str):
353
+ try:
354
+ other = self.__class__(str(other))
355
+ except InvalidSpecifier:
356
+ return NotImplemented
357
+ elif not isinstance(other, self.__class__):
358
+ return NotImplemented
359
+
360
+ return self._canonical_spec == other._canonical_spec
361
+
362
+ def _get_operator(self, op: str) -> CallableOperator:
363
+ operator_callable: CallableOperator = getattr(
364
+ self, f"_compare_{self._operators[op]}"
365
+ )
366
+ return operator_callable
367
+
368
+ def _compare_compatible(self, prospective: Version, spec: str) -> bool:
369
+ # Compatible releases have an equivalent combination of >= and ==. That
370
+ # is that ~=2.2 is equivalent to >=2.2,==2.*. This allows us to
371
+ # implement this in terms of the other specifiers instead of
372
+ # implementing it ourselves. The only thing we need to do is construct
373
+ # the other specifiers.
374
+
375
+ # We want everything but the last item in the version, but we want to
376
+ # ignore suffix segments.
377
+ prefix = _version_join(
378
+ list(itertools.takewhile(_is_not_suffix, _version_split(spec)))[:-1]
379
+ )
380
+
381
+ # Add the prefix notation to the end of our string
382
+ prefix += ".*"
383
+
384
+ return self._get_operator(">=")(prospective, spec) and self._get_operator("==")(
385
+ prospective, prefix
386
+ )
387
+
388
+ def _compare_equal(self, prospective: Version, spec: str) -> bool:
389
+ # We need special logic to handle prefix matching
390
+ if spec.endswith(".*"):
391
+ # In the case of prefix matching we want to ignore local segment.
392
+ normalized_prospective = canonicalize_version(
393
+ prospective.public, strip_trailing_zero=False
394
+ )
395
+ # Get the normalized version string ignoring the trailing .*
396
+ normalized_spec = canonicalize_version(spec[:-2], strip_trailing_zero=False)
397
+ # Split the spec out by bangs and dots, and pretend that there is
398
+ # an implicit dot in between a release segment and a pre-release segment.
399
+ split_spec = _version_split(normalized_spec)
400
+
401
+ # Split the prospective version out by bangs and dots, and pretend
402
+ # that there is an implicit dot in between a release segment and
403
+ # a pre-release segment.
404
+ split_prospective = _version_split(normalized_prospective)
405
+
406
+ # 0-pad the prospective version before shortening it to get the correct
407
+ # shortened version.
408
+ padded_prospective, _ = _pad_version(split_prospective, split_spec)
409
+
410
+ # Shorten the prospective version to be the same length as the spec
411
+ # so that we can determine if the specifier is a prefix of the
412
+ # prospective version or not.
413
+ shortened_prospective = padded_prospective[: len(split_spec)]
414
+
415
+ return shortened_prospective == split_spec
416
+ else:
417
+ # Convert our spec string into a Version
418
+ spec_version = Version(spec)
419
+
420
+ # If the specifier does not have a local segment, then we want to
421
+ # act as if the prospective version also does not have a local
422
+ # segment.
423
+ if not spec_version.local:
424
+ prospective = Version(prospective.public)
425
+
426
+ return prospective == spec_version
427
+
428
+ def _compare_not_equal(self, prospective: Version, spec: str) -> bool:
429
+ return not self._compare_equal(prospective, spec)
430
+
431
+ def _compare_less_than_equal(self, prospective: Version, spec: str) -> bool:
432
+ # NB: Local version identifiers are NOT permitted in the version
433
+ # specifier, so local version labels can be universally removed from
434
+ # the prospective version.
435
+ return Version(prospective.public) <= Version(spec)
436
+
437
+ def _compare_greater_than_equal(self, prospective: Version, spec: str) -> bool:
438
+ # NB: Local version identifiers are NOT permitted in the version
439
+ # specifier, so local version labels can be universally removed from
440
+ # the prospective version.
441
+ return Version(prospective.public) >= Version(spec)
442
+
443
+ def _compare_less_than(self, prospective: Version, spec_str: str) -> bool:
444
+ # Convert our spec to a Version instance, since we'll want to work with
445
+ # it as a version.
446
+ spec = Version(spec_str)
447
+
448
+ # Check to see if the prospective version is less than the spec
449
+ # version. If it's not we can short circuit and just return False now
450
+ # instead of doing extra unneeded work.
451
+ if not prospective < spec:
452
+ return False
453
+
454
+ # This special case is here so that, unless the specifier itself
455
+ # includes is a pre-release version, that we do not accept pre-release
456
+ # versions for the version mentioned in the specifier (e.g. <3.1 should
457
+ # not match 3.1.dev0, but should match 3.0.dev0).
458
+ if not spec.is_prerelease and prospective.is_prerelease:
459
+ if Version(prospective.base_version) == Version(spec.base_version):
460
+ return False
461
+
462
+ # If we've gotten to here, it means that prospective version is both
463
+ # less than the spec version *and* it's not a pre-release of the same
464
+ # version in the spec.
465
+ return True
466
+
467
+ def _compare_greater_than(self, prospective: Version, spec_str: str) -> bool:
468
+ # Convert our spec to a Version instance, since we'll want to work with
469
+ # it as a version.
470
+ spec = Version(spec_str)
471
+
472
+ # Check to see if the prospective version is greater than the spec
473
+ # version. If it's not we can short circuit and just return False now
474
+ # instead of doing extra unneeded work.
475
+ if not prospective > spec:
476
+ return False
477
+
478
+ # This special case is here so that, unless the specifier itself
479
+ # includes is a post-release version, that we do not accept
480
+ # post-release versions for the version mentioned in the specifier
481
+ # (e.g. >3.1 should not match 3.0.post0, but should match 3.2.post0).
482
+ if not spec.is_postrelease and prospective.is_postrelease:
483
+ if Version(prospective.base_version) == Version(spec.base_version):
484
+ return False
485
+
486
+ # Ensure that we do not allow a local version of the version mentioned
487
+ # in the specifier, which is technically greater than, to match.
488
+ if prospective.local is not None:
489
+ if Version(prospective.base_version) == Version(spec.base_version):
490
+ return False
491
+
492
+ # If we've gotten to here, it means that prospective version is both
493
+ # greater than the spec version *and* it's not a pre-release of the
494
+ # same version in the spec.
495
+ return True
496
+
497
+ def _compare_arbitrary(self, prospective: Version, spec: str) -> bool:
498
+ return str(prospective).lower() == str(spec).lower()
499
+
500
+ def __contains__(self, item: str | Version) -> bool:
501
+ """Return whether or not the item is contained in this specifier.
502
+
503
+ :param item: The item to check for.
504
+
505
+ This is used for the ``in`` operator and behaves the same as
506
+ :meth:`contains` with no ``prereleases`` argument passed.
507
+
508
+ >>> "1.2.3" in Specifier(">=1.2.3")
509
+ True
510
+ >>> Version("1.2.3") in Specifier(">=1.2.3")
511
+ True
512
+ >>> "1.0.0" in Specifier(">=1.2.3")
513
+ False
514
+ >>> "1.3.0a1" in Specifier(">=1.2.3")
515
+ False
516
+ >>> "1.3.0a1" in Specifier(">=1.2.3", prereleases=True)
517
+ True
518
+ """
519
+ return self.contains(item)
520
+
521
+ def contains(self, item: UnparsedVersion, prereleases: bool | None = None) -> bool:
522
+ """Return whether or not the item is contained in this specifier.
523
+
524
+ :param item:
525
+ The item to check for, which can be a version string or a
526
+ :class:`Version` instance.
527
+ :param prereleases:
528
+ Whether or not to match prereleases with this Specifier. If set to
529
+ ``None`` (the default), it uses :attr:`prereleases` to determine
530
+ whether or not prereleases are allowed.
531
+
532
+ >>> Specifier(">=1.2.3").contains("1.2.3")
533
+ True
534
+ >>> Specifier(">=1.2.3").contains(Version("1.2.3"))
535
+ True
536
+ >>> Specifier(">=1.2.3").contains("1.0.0")
537
+ False
538
+ >>> Specifier(">=1.2.3").contains("1.3.0a1")
539
+ False
540
+ >>> Specifier(">=1.2.3", prereleases=True).contains("1.3.0a1")
541
+ True
542
+ >>> Specifier(">=1.2.3").contains("1.3.0a1", prereleases=True)
543
+ True
544
+ """
545
+
546
+ # Determine if prereleases are to be allowed or not.
547
+ if prereleases is None:
548
+ prereleases = self.prereleases
549
+
550
+ # Normalize item to a Version, this allows us to have a shortcut for
551
+ # "2.0" in Specifier(">=2")
552
+ normalized_item = _coerce_version(item)
553
+
554
+ # Determine if we should be supporting prereleases in this specifier
555
+ # or not, if we do not support prereleases than we can short circuit
556
+ # logic if this version is a prereleases.
557
+ if normalized_item.is_prerelease and not prereleases:
558
+ return False
559
+
560
+ # Actually do the comparison to determine if this item is contained
561
+ # within this Specifier or not.
562
+ operator_callable: CallableOperator = self._get_operator(self.operator)
563
+ return operator_callable(normalized_item, self.version)
564
+
565
+ def filter(
566
+ self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None
567
+ ) -> Iterator[UnparsedVersionVar]:
568
+ """Filter items in the given iterable, that match the specifier.
569
+
570
+ :param iterable:
571
+ An iterable that can contain version strings and :class:`Version` instances.
572
+ The items in the iterable will be filtered according to the specifier.
573
+ :param prereleases:
574
+ Whether or not to allow prereleases in the returned iterator. If set to
575
+ ``None`` (the default), it will be intelligently decide whether to allow
576
+ prereleases or not (based on the :attr:`prereleases` attribute, and
577
+ whether the only versions matching are prereleases).
578
+
579
+ This method is smarter than just ``filter(Specifier().contains, [...])``
580
+ because it implements the rule from :pep:`440` that a prerelease item
581
+ SHOULD be accepted if no other versions match the given specifier.
582
+
583
+ >>> list(Specifier(">=1.2.3").filter(["1.2", "1.3", "1.5a1"]))
584
+ ['1.3']
585
+ >>> list(Specifier(">=1.2.3").filter(["1.2", "1.2.3", "1.3", Version("1.4")]))
586
+ ['1.2.3', '1.3', <Version('1.4')>]
587
+ >>> list(Specifier(">=1.2.3").filter(["1.2", "1.5a1"]))
588
+ ['1.5a1']
589
+ >>> list(Specifier(">=1.2.3").filter(["1.3", "1.5a1"], prereleases=True))
590
+ ['1.3', '1.5a1']
591
+ >>> list(Specifier(">=1.2.3", prereleases=True).filter(["1.3", "1.5a1"]))
592
+ ['1.3', '1.5a1']
593
+ """
594
+
595
+ yielded = False
596
+ found_prereleases = []
597
+
598
+ kw = {"prereleases": prereleases if prereleases is not None else True}
599
+
600
+ # Attempt to iterate over all the values in the iterable and if any of
601
+ # them match, yield them.
602
+ for version in iterable:
603
+ parsed_version = _coerce_version(version)
604
+
605
+ if self.contains(parsed_version, **kw):
606
+ # If our version is a prerelease, and we were not set to allow
607
+ # prereleases, then we'll store it for later in case nothing
608
+ # else matches this specifier.
609
+ if parsed_version.is_prerelease and not (
610
+ prereleases or self.prereleases
611
+ ):
612
+ found_prereleases.append(version)
613
+ # Either this is not a prerelease, or we should have been
614
+ # accepting prereleases from the beginning.
615
+ else:
616
+ yielded = True
617
+ yield version
618
+
619
+ # Now that we've iterated over everything, determine if we've yielded
620
+ # any values, and if we have not and we have any prereleases stored up
621
+ # then we will go ahead and yield the prereleases.
622
+ if not yielded and found_prereleases:
623
+ for version in found_prereleases:
624
+ yield version
625
+
626
+
627
+ _prefix_regex = re.compile(r"^([0-9]+)((?:a|b|c|rc)[0-9]+)$")
628
+
629
+
630
+ def _version_split(version: str) -> list[str]:
631
+ """Split version into components.
632
+
633
+ The split components are intended for version comparison. The logic does
634
+ not attempt to retain the original version string, so joining the
635
+ components back with :func:`_version_join` may not produce the original
636
+ version string.
637
+ """
638
+ result: list[str] = []
639
+
640
+ epoch, _, rest = version.rpartition("!")
641
+ result.append(epoch or "0")
642
+
643
+ for item in rest.split("."):
644
+ match = _prefix_regex.search(item)
645
+ if match:
646
+ result.extend(match.groups())
647
+ else:
648
+ result.append(item)
649
+ return result
650
+
651
+
652
+ def _version_join(components: list[str]) -> str:
653
+ """Join split version components into a version string.
654
+
655
+ This function assumes the input came from :func:`_version_split`, where the
656
+ first component must be the epoch (either empty or numeric), and all other
657
+ components numeric.
658
+ """
659
+ epoch, *rest = components
660
+ return f"{epoch}!{'.'.join(rest)}"
661
+
662
+
663
+ def _is_not_suffix(segment: str) -> bool:
664
+ return not any(
665
+ segment.startswith(prefix) for prefix in ("dev", "a", "b", "rc", "post")
666
+ )
667
+
668
+
669
+ def _pad_version(left: list[str], right: list[str]) -> tuple[list[str], list[str]]:
670
+ left_split, right_split = [], []
671
+
672
+ # Get the release segment of our versions
673
+ left_split.append(list(itertools.takewhile(lambda x: x.isdigit(), left)))
674
+ right_split.append(list(itertools.takewhile(lambda x: x.isdigit(), right)))
675
+
676
+ # Get the rest of our versions
677
+ left_split.append(left[len(left_split[0]) :])
678
+ right_split.append(right[len(right_split[0]) :])
679
+
680
+ # Insert our padding
681
+ left_split.insert(1, ["0"] * max(0, len(right_split[0]) - len(left_split[0])))
682
+ right_split.insert(1, ["0"] * max(0, len(left_split[0]) - len(right_split[0])))
683
+
684
+ return (
685
+ list(itertools.chain.from_iterable(left_split)),
686
+ list(itertools.chain.from_iterable(right_split)),
687
+ )
688
+
689
+
690
+ class SpecifierSet(BaseSpecifier):
691
+ """This class abstracts handling of a set of version specifiers.
692
+
693
+ It can be passed a single specifier (``>=3.0``), a comma-separated list of
694
+ specifiers (``>=3.0,!=3.1``), or no specifier at all.
695
+ """
696
+
697
+ def __init__(
698
+ self,
699
+ specifiers: str | Iterable[Specifier] = "",
700
+ prereleases: bool | None = None,
701
+ ) -> None:
702
+ """Initialize a SpecifierSet instance.
703
+
704
+ :param specifiers:
705
+ The string representation of a specifier or a comma-separated list of
706
+ specifiers which will be parsed and normalized before use.
707
+ May also be an iterable of ``Specifier`` instances, which will be used
708
+ as is.
709
+ :param prereleases:
710
+ This tells the SpecifierSet if it should accept prerelease versions if
711
+ applicable or not. The default of ``None`` will autodetect it from the
712
+ given specifiers.
713
+
714
+ :raises InvalidSpecifier:
715
+ If the given ``specifiers`` are not parseable than this exception will be
716
+ raised.
717
+ """
718
+
719
+ if isinstance(specifiers, str):
720
+ # Split on `,` to break each individual specifier into its own item, and
721
+ # strip each item to remove leading/trailing whitespace.
722
+ split_specifiers = [s.strip() for s in specifiers.split(",") if s.strip()]
723
+
724
+ # Make each individual specifier a Specifier and save in a frozen set
725
+ # for later.
726
+ self._specs = frozenset(map(Specifier, split_specifiers))
727
+ else:
728
+ # Save the supplied specifiers in a frozen set.
729
+ self._specs = frozenset(specifiers)
730
+
731
+ # Store our prereleases value so we can use it later to determine if
732
+ # we accept prereleases or not.
733
+ self._prereleases = prereleases
734
+
735
+ @property
736
+ def prereleases(self) -> bool | None:
737
+ # If we have been given an explicit prerelease modifier, then we'll
738
+ # pass that through here.
739
+ if self._prereleases is not None:
740
+ return self._prereleases
741
+
742
+ # If we don't have any specifiers, and we don't have a forced value,
743
+ # then we'll just return None since we don't know if this should have
744
+ # pre-releases or not.
745
+ if not self._specs:
746
+ return None
747
+
748
+ # Otherwise we'll see if any of the given specifiers accept
749
+ # prereleases, if any of them do we'll return True, otherwise False.
750
+ return any(s.prereleases for s in self._specs)
751
+
752
+ @prereleases.setter
753
+ def prereleases(self, value: bool) -> None:
754
+ self._prereleases = value
755
+
756
+ def __repr__(self) -> str:
757
+ """A representation of the specifier set that shows all internal state.
758
+
759
+ Note that the ordering of the individual specifiers within the set may not
760
+ match the input string.
761
+
762
+ >>> SpecifierSet('>=1.0.0,!=2.0.0')
763
+ <SpecifierSet('!=2.0.0,>=1.0.0')>
764
+ >>> SpecifierSet('>=1.0.0,!=2.0.0', prereleases=False)
765
+ <SpecifierSet('!=2.0.0,>=1.0.0', prereleases=False)>
766
+ >>> SpecifierSet('>=1.0.0,!=2.0.0', prereleases=True)
767
+ <SpecifierSet('!=2.0.0,>=1.0.0', prereleases=True)>
768
+ """
769
+ pre = (
770
+ f", prereleases={self.prereleases!r}"
771
+ if self._prereleases is not None
772
+ else ""
773
+ )
774
+
775
+ return f"<SpecifierSet({str(self)!r}{pre})>"
776
+
777
+ def __str__(self) -> str:
778
+ """A string representation of the specifier set that can be round-tripped.
779
+
780
+ Note that the ordering of the individual specifiers within the set may not
781
+ match the input string.
782
+
783
+ >>> str(SpecifierSet(">=1.0.0,!=1.0.1"))
784
+ '!=1.0.1,>=1.0.0'
785
+ >>> str(SpecifierSet(">=1.0.0,!=1.0.1", prereleases=False))
786
+ '!=1.0.1,>=1.0.0'
787
+ """
788
+ return ",".join(sorted(str(s) for s in self._specs))
789
+
790
+ def __hash__(self) -> int:
791
+ return hash(self._specs)
792
+
793
+ def __and__(self, other: SpecifierSet | str) -> SpecifierSet:
794
+ """Return a SpecifierSet which is a combination of the two sets.
795
+
796
+ :param other: The other object to combine with.
797
+
798
+ >>> SpecifierSet(">=1.0.0,!=1.0.1") & '<=2.0.0,!=2.0.1'
799
+ <SpecifierSet('!=1.0.1,!=2.0.1,<=2.0.0,>=1.0.0')>
800
+ >>> SpecifierSet(">=1.0.0,!=1.0.1") & SpecifierSet('<=2.0.0,!=2.0.1')
801
+ <SpecifierSet('!=1.0.1,!=2.0.1,<=2.0.0,>=1.0.0')>
802
+ """
803
+ if isinstance(other, str):
804
+ other = SpecifierSet(other)
805
+ elif not isinstance(other, SpecifierSet):
806
+ return NotImplemented
807
+
808
+ specifier = SpecifierSet()
809
+ specifier._specs = frozenset(self._specs | other._specs)
810
+
811
+ if self._prereleases is None and other._prereleases is not None:
812
+ specifier._prereleases = other._prereleases
813
+ elif self._prereleases is not None and other._prereleases is None:
814
+ specifier._prereleases = self._prereleases
815
+ elif self._prereleases == other._prereleases:
816
+ specifier._prereleases = self._prereleases
817
+ else:
818
+ raise ValueError(
819
+ "Cannot combine SpecifierSets with True and False prerelease overrides."
820
+ )
821
+
822
+ return specifier
823
+
824
+ def __eq__(self, other: object) -> bool:
825
+ """Whether or not the two SpecifierSet-like objects are equal.
826
+
827
+ :param other: The other object to check against.
828
+
829
+ The value of :attr:`prereleases` is ignored.
830
+
831
+ >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0,!=1.0.1")
832
+ True
833
+ >>> (SpecifierSet(">=1.0.0,!=1.0.1", prereleases=False) ==
834
+ ... SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True))
835
+ True
836
+ >>> SpecifierSet(">=1.0.0,!=1.0.1") == ">=1.0.0,!=1.0.1"
837
+ True
838
+ >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0")
839
+ False
840
+ >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0,!=1.0.2")
841
+ False
842
+ """
843
+ if isinstance(other, (str, Specifier)):
844
+ other = SpecifierSet(str(other))
845
+ elif not isinstance(other, SpecifierSet):
846
+ return NotImplemented
847
+
848
+ return self._specs == other._specs
849
+
850
+ def __len__(self) -> int:
851
+ """Returns the number of specifiers in this specifier set."""
852
+ return len(self._specs)
853
+
854
+ def __iter__(self) -> Iterator[Specifier]:
855
+ """
856
+ Returns an iterator over all the underlying :class:`Specifier` instances
857
+ in this specifier set.
858
+
859
+ >>> sorted(SpecifierSet(">=1.0.0,!=1.0.1"), key=str)
860
+ [<Specifier('!=1.0.1')>, <Specifier('>=1.0.0')>]
861
+ """
862
+ return iter(self._specs)
863
+
864
+ def __contains__(self, item: UnparsedVersion) -> bool:
865
+ """Return whether or not the item is contained in this specifier.
866
+
867
+ :param item: The item to check for.
868
+
869
+ This is used for the ``in`` operator and behaves the same as
870
+ :meth:`contains` with no ``prereleases`` argument passed.
871
+
872
+ >>> "1.2.3" in SpecifierSet(">=1.0.0,!=1.0.1")
873
+ True
874
+ >>> Version("1.2.3") in SpecifierSet(">=1.0.0,!=1.0.1")
875
+ True
876
+ >>> "1.0.1" in SpecifierSet(">=1.0.0,!=1.0.1")
877
+ False
878
+ >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1")
879
+ False
880
+ >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True)
881
+ True
882
+ """
883
+ return self.contains(item)
884
+
885
+ def contains(
886
+ self,
887
+ item: UnparsedVersion,
888
+ prereleases: bool | None = None,
889
+ installed: bool | None = None,
890
+ ) -> bool:
891
+ """Return whether or not the item is contained in this SpecifierSet.
892
+
893
+ :param item:
894
+ The item to check for, which can be a version string or a
895
+ :class:`Version` instance.
896
+ :param prereleases:
897
+ Whether or not to match prereleases with this SpecifierSet. If set to
898
+ ``None`` (the default), it uses :attr:`prereleases` to determine
899
+ whether or not prereleases are allowed.
900
+
901
+ >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.2.3")
902
+ True
903
+ >>> SpecifierSet(">=1.0.0,!=1.0.1").contains(Version("1.2.3"))
904
+ True
905
+ >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.0.1")
906
+ False
907
+ >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.3.0a1")
908
+ False
909
+ >>> SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True).contains("1.3.0a1")
910
+ True
911
+ >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.3.0a1", prereleases=True)
912
+ True
913
+ """
914
+ # Ensure that our item is a Version instance.
915
+ if not isinstance(item, Version):
916
+ item = Version(item)
917
+
918
+ # Determine if we're forcing a prerelease or not, if we're not forcing
919
+ # one for this particular filter call, then we'll use whatever the
920
+ # SpecifierSet thinks for whether or not we should support prereleases.
921
+ if prereleases is None:
922
+ prereleases = self.prereleases
923
+
924
+ # We can determine if we're going to allow pre-releases by looking to
925
+ # see if any of the underlying items supports them. If none of them do
926
+ # and this item is a pre-release then we do not allow it and we can
927
+ # short circuit that here.
928
+ # Note: This means that 1.0.dev1 would not be contained in something
929
+ # like >=1.0.devabc however it would be in >=1.0.debabc,>0.0.dev0
930
+ if not prereleases and item.is_prerelease:
931
+ return False
932
+
933
+ if installed and item.is_prerelease:
934
+ item = Version(item.base_version)
935
+
936
+ # We simply dispatch to the underlying specs here to make sure that the
937
+ # given version is contained within all of them.
938
+ # Note: This use of all() here means that an empty set of specifiers
939
+ # will always return True, this is an explicit design decision.
940
+ return all(s.contains(item, prereleases=prereleases) for s in self._specs)
941
+
942
+ def filter(
943
+ self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None
944
+ ) -> Iterator[UnparsedVersionVar]:
945
+ """Filter items in the given iterable, that match the specifiers in this set.
946
+
947
+ :param iterable:
948
+ An iterable that can contain version strings and :class:`Version` instances.
949
+ The items in the iterable will be filtered according to the specifier.
950
+ :param prereleases:
951
+ Whether or not to allow prereleases in the returned iterator. If set to
952
+ ``None`` (the default), it will be intelligently decide whether to allow
953
+ prereleases or not (based on the :attr:`prereleases` attribute, and
954
+ whether the only versions matching are prereleases).
955
+
956
+ This method is smarter than just ``filter(SpecifierSet(...).contains, [...])``
957
+ because it implements the rule from :pep:`440` that a prerelease item
958
+ SHOULD be accepted if no other versions match the given specifier.
959
+
960
+ >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.3", "1.5a1"]))
961
+ ['1.3']
962
+ >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.3", Version("1.4")]))
963
+ ['1.3', <Version('1.4')>]
964
+ >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.5a1"]))
965
+ []
966
+ >>> list(SpecifierSet(">=1.2.3").filter(["1.3", "1.5a1"], prereleases=True))
967
+ ['1.3', '1.5a1']
968
+ >>> list(SpecifierSet(">=1.2.3", prereleases=True).filter(["1.3", "1.5a1"]))
969
+ ['1.3', '1.5a1']
970
+
971
+ An "empty" SpecifierSet will filter items based on the presence of prerelease
972
+ versions in the set.
973
+
974
+ >>> list(SpecifierSet("").filter(["1.3", "1.5a1"]))
975
+ ['1.3']
976
+ >>> list(SpecifierSet("").filter(["1.5a1"]))
977
+ ['1.5a1']
978
+ >>> list(SpecifierSet("", prereleases=True).filter(["1.3", "1.5a1"]))
979
+ ['1.3', '1.5a1']
980
+ >>> list(SpecifierSet("").filter(["1.3", "1.5a1"], prereleases=True))
981
+ ['1.3', '1.5a1']
982
+ """
983
+ # Determine if we're forcing a prerelease or not, if we're not forcing
984
+ # one for this particular filter call, then we'll use whatever the
985
+ # SpecifierSet thinks for whether or not we should support prereleases.
986
+ if prereleases is None:
987
+ prereleases = self.prereleases
988
+
989
+ # If we have any specifiers, then we want to wrap our iterable in the
990
+ # filter method for each one, this will act as a logical AND amongst
991
+ # each specifier.
992
+ if self._specs:
993
+ for spec in self._specs:
994
+ iterable = spec.filter(iterable, prereleases=bool(prereleases))
995
+ return iter(iterable)
996
+ # If we do not have any specifiers, then we need to have a rough filter
997
+ # which will filter out any pre-releases, unless there are no final
998
+ # releases.
999
+ else:
1000
+ filtered: list[UnparsedVersionVar] = []
1001
+ found_prereleases: list[UnparsedVersionVar] = []
1002
+
1003
+ for item in iterable:
1004
+ parsed_version = _coerce_version(item)
1005
+
1006
+ # Store any item which is a pre-release for later unless we've
1007
+ # already found a final version or we are accepting prereleases
1008
+ if parsed_version.is_prerelease and not prereleases:
1009
+ if not filtered:
1010
+ found_prereleases.append(item)
1011
+ else:
1012
+ filtered.append(item)
1013
+
1014
+ # If we've found no items except for pre-releases, then we'll go
1015
+ # ahead and use the pre-releases
1016
+ if not filtered and found_prereleases and prereleases is None:
1017
+ return iter(found_prereleases)
1018
+
1019
+ return iter(filtered)
miniconda3/lib/python3.13/site-packages/packaging/tags.py ADDED
@@ -0,0 +1,656 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from __future__ import annotations
6
+
7
+ import logging
8
+ import platform
9
+ import re
10
+ import struct
11
+ import subprocess
12
+ import sys
13
+ import sysconfig
14
+ from importlib.machinery import EXTENSION_SUFFIXES
15
+ from typing import (
16
+ Iterable,
17
+ Iterator,
18
+ Sequence,
19
+ Tuple,
20
+ cast,
21
+ )
22
+
23
+ from . import _manylinux, _musllinux
24
+
25
+ logger = logging.getLogger(__name__)
26
+
27
+ PythonVersion = Sequence[int]
28
+ AppleVersion = Tuple[int, int]
29
+
30
+ INTERPRETER_SHORT_NAMES: dict[str, str] = {
31
+ "python": "py", # Generic.
32
+ "cpython": "cp",
33
+ "pypy": "pp",
34
+ "ironpython": "ip",
35
+ "jython": "jy",
36
+ }
37
+
38
+
39
+ _32_BIT_INTERPRETER = struct.calcsize("P") == 4
40
+
41
+
42
+ class Tag:
43
+ """
44
+ A representation of the tag triple for a wheel.
45
+
46
+ Instances are considered immutable and thus are hashable. Equality checking
47
+ is also supported.
48
+ """
49
+
50
+ __slots__ = ["_abi", "_hash", "_interpreter", "_platform"]
51
+
52
+ def __init__(self, interpreter: str, abi: str, platform: str) -> None:
53
+ self._interpreter = interpreter.lower()
54
+ self._abi = abi.lower()
55
+ self._platform = platform.lower()
56
+ # The __hash__ of every single element in a Set[Tag] will be evaluated each time
57
+ # that a set calls its `.disjoint()` method, which may be called hundreds of
58
+ # times when scanning a page of links for packages with tags matching that
59
+ # Set[Tag]. Pre-computing the value here produces significant speedups for
60
+ # downstream consumers.
61
+ self._hash = hash((self._interpreter, self._abi, self._platform))
62
+
63
+ @property
64
+ def interpreter(self) -> str:
65
+ return self._interpreter
66
+
67
+ @property
68
+ def abi(self) -> str:
69
+ return self._abi
70
+
71
+ @property
72
+ def platform(self) -> str:
73
+ return self._platform
74
+
75
+ def __eq__(self, other: object) -> bool:
76
+ if not isinstance(other, Tag):
77
+ return NotImplemented
78
+
79
+ return (
80
+ (self._hash == other._hash) # Short-circuit ASAP for perf reasons.
81
+ and (self._platform == other._platform)
82
+ and (self._abi == other._abi)
83
+ and (self._interpreter == other._interpreter)
84
+ )
85
+
86
+ def __hash__(self) -> int:
87
+ return self._hash
88
+
89
+ def __str__(self) -> str:
90
+ return f"{self._interpreter}-{self._abi}-{self._platform}"
91
+
92
+ def __repr__(self) -> str:
93
+ return f"<{self} @ {id(self)}>"
94
+
95
+
96
+ def parse_tag(tag: str) -> frozenset[Tag]:
97
+ """
98
+ Parses the provided tag (e.g. `py3-none-any`) into a frozenset of Tag instances.
99
+
100
+ Returning a set is required due to the possibility that the tag is a
101
+ compressed tag set.
102
+ """
103
+ tags = set()
104
+ interpreters, abis, platforms = tag.split("-")
105
+ for interpreter in interpreters.split("."):
106
+ for abi in abis.split("."):
107
+ for platform_ in platforms.split("."):
108
+ tags.add(Tag(interpreter, abi, platform_))
109
+ return frozenset(tags)
110
+
111
+
112
+ def _get_config_var(name: str, warn: bool = False) -> int | str | None:
113
+ value: int | str | None = sysconfig.get_config_var(name)
114
+ if value is None and warn:
115
+ logger.debug(
116
+ "Config variable '%s' is unset, Python ABI tag may be incorrect", name
117
+ )
118
+ return value
119
+
120
+
121
+ def _normalize_string(string: str) -> str:
122
+ return string.replace(".", "_").replace("-", "_").replace(" ", "_")
123
+
124
+
125
+ def _is_threaded_cpython(abis: list[str]) -> bool:
126
+ """
127
+ Determine if the ABI corresponds to a threaded (`--disable-gil`) build.
128
+
129
+ The threaded builds are indicated by a "t" in the abiflags.
130
+ """
131
+ if len(abis) == 0:
132
+ return False
133
+ # expect e.g., cp313
134
+ m = re.match(r"cp\d+(.*)", abis[0])
135
+ if not m:
136
+ return False
137
+ abiflags = m.group(1)
138
+ return "t" in abiflags
139
+
140
+
141
+ def _abi3_applies(python_version: PythonVersion, threading: bool) -> bool:
142
+ """
143
+ Determine if the Python version supports abi3.
144
+
145
+ PEP 384 was first implemented in Python 3.2. The threaded (`--disable-gil`)
146
+ builds do not support abi3.
147
+ """
148
+ return len(python_version) > 1 and tuple(python_version) >= (3, 2) and not threading
149
+
150
+
151
+ def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> list[str]:
152
+ py_version = tuple(py_version) # To allow for version comparison.
153
+ abis = []
154
+ version = _version_nodot(py_version[:2])
155
+ threading = debug = pymalloc = ucs4 = ""
156
+ with_debug = _get_config_var("Py_DEBUG", warn)
157
+ has_refcount = hasattr(sys, "gettotalrefcount")
158
+ # Windows doesn't set Py_DEBUG, so checking for support of debug-compiled
159
+ # extension modules is the best option.
160
+ # https://github.com/pypa/pip/issues/3383#issuecomment-173267692
161
+ has_ext = "_d.pyd" in EXTENSION_SUFFIXES
162
+ if with_debug or (with_debug is None and (has_refcount or has_ext)):
163
+ debug = "d"
164
+ if py_version >= (3, 13) and _get_config_var("Py_GIL_DISABLED", warn):
165
+ threading = "t"
166
+ if py_version < (3, 8):
167
+ with_pymalloc = _get_config_var("WITH_PYMALLOC", warn)
168
+ if with_pymalloc or with_pymalloc is None:
169
+ pymalloc = "m"
170
+ if py_version < (3, 3):
171
+ unicode_size = _get_config_var("Py_UNICODE_SIZE", warn)
172
+ if unicode_size == 4 or (
173
+ unicode_size is None and sys.maxunicode == 0x10FFFF
174
+ ):
175
+ ucs4 = "u"
176
+ elif debug:
177
+ # Debug builds can also load "normal" extension modules.
178
+ # We can also assume no UCS-4 or pymalloc requirement.
179
+ abis.append(f"cp{version}{threading}")
180
+ abis.insert(0, f"cp{version}{threading}{debug}{pymalloc}{ucs4}")
181
+ return abis
182
+
183
+
184
+ def cpython_tags(
185
+ python_version: PythonVersion | None = None,
186
+ abis: Iterable[str] | None = None,
187
+ platforms: Iterable[str] | None = None,
188
+ *,
189
+ warn: bool = False,
190
+ ) -> Iterator[Tag]:
191
+ """
192
+ Yields the tags for a CPython interpreter.
193
+
194
+ The tags consist of:
195
+ - cp<python_version>-<abi>-<platform>
196
+ - cp<python_version>-abi3-<platform>
197
+ - cp<python_version>-none-<platform>
198
+ - cp<less than python_version>-abi3-<platform> # Older Python versions down to 3.2.
199
+
200
+ If python_version only specifies a major version then user-provided ABIs and
201
+ the 'none' ABItag will be used.
202
+
203
+ If 'abi3' or 'none' are specified in 'abis' then they will be yielded at
204
+ their normal position and not at the beginning.
205
+ """
206
+ if not python_version:
207
+ python_version = sys.version_info[:2]
208
+
209
+ interpreter = f"cp{_version_nodot(python_version[:2])}"
210
+
211
+ if abis is None:
212
+ if len(python_version) > 1:
213
+ abis = _cpython_abis(python_version, warn)
214
+ else:
215
+ abis = []
216
+ abis = list(abis)
217
+ # 'abi3' and 'none' are explicitly handled later.
218
+ for explicit_abi in ("abi3", "none"):
219
+ try:
220
+ abis.remove(explicit_abi)
221
+ except ValueError:
222
+ pass
223
+
224
+ platforms = list(platforms or platform_tags())
225
+ for abi in abis:
226
+ for platform_ in platforms:
227
+ yield Tag(interpreter, abi, platform_)
228
+
229
+ threading = _is_threaded_cpython(abis)
230
+ use_abi3 = _abi3_applies(python_version, threading)
231
+ if use_abi3:
232
+ yield from (Tag(interpreter, "abi3", platform_) for platform_ in platforms)
233
+ yield from (Tag(interpreter, "none", platform_) for platform_ in platforms)
234
+
235
+ if use_abi3:
236
+ for minor_version in range(python_version[1] - 1, 1, -1):
237
+ for platform_ in platforms:
238
+ version = _version_nodot((python_version[0], minor_version))
239
+ interpreter = f"cp{version}"
240
+ yield Tag(interpreter, "abi3", platform_)
241
+
242
+
243
+ def _generic_abi() -> list[str]:
244
+ """
245
+ Return the ABI tag based on EXT_SUFFIX.
246
+ """
247
+ # The following are examples of `EXT_SUFFIX`.
248
+ # We want to keep the parts which are related to the ABI and remove the
249
+ # parts which are related to the platform:
250
+ # - linux: '.cpython-310-x86_64-linux-gnu.so' => cp310
251
+ # - mac: '.cpython-310-darwin.so' => cp310
252
+ # - win: '.cp310-win_amd64.pyd' => cp310
253
+ # - win: '.pyd' => cp37 (uses _cpython_abis())
254
+ # - pypy: '.pypy38-pp73-x86_64-linux-gnu.so' => pypy38_pp73
255
+ # - graalpy: '.graalpy-38-native-x86_64-darwin.dylib'
256
+ # => graalpy_38_native
257
+
258
+ ext_suffix = _get_config_var("EXT_SUFFIX", warn=True)
259
+ if not isinstance(ext_suffix, str) or ext_suffix[0] != ".":
260
+ raise SystemError("invalid sysconfig.get_config_var('EXT_SUFFIX')")
261
+ parts = ext_suffix.split(".")
262
+ if len(parts) < 3:
263
+ # CPython3.7 and earlier uses ".pyd" on Windows.
264
+ return _cpython_abis(sys.version_info[:2])
265
+ soabi = parts[1]
266
+ if soabi.startswith("cpython"):
267
+ # non-windows
268
+ abi = "cp" + soabi.split("-")[1]
269
+ elif soabi.startswith("cp"):
270
+ # windows
271
+ abi = soabi.split("-")[0]
272
+ elif soabi.startswith("pypy"):
273
+ abi = "-".join(soabi.split("-")[:2])
274
+ elif soabi.startswith("graalpy"):
275
+ abi = "-".join(soabi.split("-")[:3])
276
+ elif soabi:
277
+ # pyston, ironpython, others?
278
+ abi = soabi
279
+ else:
280
+ return []
281
+ return [_normalize_string(abi)]
282
+
283
+
284
+ def generic_tags(
285
+ interpreter: str | None = None,
286
+ abis: Iterable[str] | None = None,
287
+ platforms: Iterable[str] | None = None,
288
+ *,
289
+ warn: bool = False,
290
+ ) -> Iterator[Tag]:
291
+ """
292
+ Yields the tags for a generic interpreter.
293
+
294
+ The tags consist of:
295
+ - <interpreter>-<abi>-<platform>
296
+
297
+ The "none" ABI will be added if it was not explicitly provided.
298
+ """
299
+ if not interpreter:
300
+ interp_name = interpreter_name()
301
+ interp_version = interpreter_version(warn=warn)
302
+ interpreter = "".join([interp_name, interp_version])
303
+ if abis is None:
304
+ abis = _generic_abi()
305
+ else:
306
+ abis = list(abis)
307
+ platforms = list(platforms or platform_tags())
308
+ if "none" not in abis:
309
+ abis.append("none")
310
+ for abi in abis:
311
+ for platform_ in platforms:
312
+ yield Tag(interpreter, abi, platform_)
313
+
314
+
315
+ def _py_interpreter_range(py_version: PythonVersion) -> Iterator[str]:
316
+ """
317
+ Yields Python versions in descending order.
318
+
319
+ After the latest version, the major-only version will be yielded, and then
320
+ all previous versions of that major version.
321
+ """
322
+ if len(py_version) > 1:
323
+ yield f"py{_version_nodot(py_version[:2])}"
324
+ yield f"py{py_version[0]}"
325
+ if len(py_version) > 1:
326
+ for minor in range(py_version[1] - 1, -1, -1):
327
+ yield f"py{_version_nodot((py_version[0], minor))}"
328
+
329
+
330
+ def compatible_tags(
331
+ python_version: PythonVersion | None = None,
332
+ interpreter: str | None = None,
333
+ platforms: Iterable[str] | None = None,
334
+ ) -> Iterator[Tag]:
335
+ """
336
+ Yields the sequence of tags that are compatible with a specific version of Python.
337
+
338
+ The tags consist of:
339
+ - py*-none-<platform>
340
+ - <interpreter>-none-any # ... if `interpreter` is provided.
341
+ - py*-none-any
342
+ """
343
+ if not python_version:
344
+ python_version = sys.version_info[:2]
345
+ platforms = list(platforms or platform_tags())
346
+ for version in _py_interpreter_range(python_version):
347
+ for platform_ in platforms:
348
+ yield Tag(version, "none", platform_)
349
+ if interpreter:
350
+ yield Tag(interpreter, "none", "any")
351
+ for version in _py_interpreter_range(python_version):
352
+ yield Tag(version, "none", "any")
353
+
354
+
355
+ def _mac_arch(arch: str, is_32bit: bool = _32_BIT_INTERPRETER) -> str:
356
+ if not is_32bit:
357
+ return arch
358
+
359
+ if arch.startswith("ppc"):
360
+ return "ppc"
361
+
362
+ return "i386"
363
+
364
+
365
+ def _mac_binary_formats(version: AppleVersion, cpu_arch: str) -> list[str]:
366
+ formats = [cpu_arch]
367
+ if cpu_arch == "x86_64":
368
+ if version < (10, 4):
369
+ return []
370
+ formats.extend(["intel", "fat64", "fat32"])
371
+
372
+ elif cpu_arch == "i386":
373
+ if version < (10, 4):
374
+ return []
375
+ formats.extend(["intel", "fat32", "fat"])
376
+
377
+ elif cpu_arch == "ppc64":
378
+ # TODO: Need to care about 32-bit PPC for ppc64 through 10.2?
379
+ if version > (10, 5) or version < (10, 4):
380
+ return []
381
+ formats.append("fat64")
382
+
383
+ elif cpu_arch == "ppc":
384
+ if version > (10, 6):
385
+ return []
386
+ formats.extend(["fat32", "fat"])
387
+
388
+ if cpu_arch in {"arm64", "x86_64"}:
389
+ formats.append("universal2")
390
+
391
+ if cpu_arch in {"x86_64", "i386", "ppc64", "ppc", "intel"}:
392
+ formats.append("universal")
393
+
394
+ return formats
395
+
396
+
397
+ def mac_platforms(
398
+ version: AppleVersion | None = None, arch: str | None = None
399
+ ) -> Iterator[str]:
400
+ """
401
+ Yields the platform tags for a macOS system.
402
+
403
+ The `version` parameter is a two-item tuple specifying the macOS version to
404
+ generate platform tags for. The `arch` parameter is the CPU architecture to
405
+ generate platform tags for. Both parameters default to the appropriate value
406
+ for the current system.
407
+ """
408
+ version_str, _, cpu_arch = platform.mac_ver()
409
+ if version is None:
410
+ version = cast("AppleVersion", tuple(map(int, version_str.split(".")[:2])))
411
+ if version == (10, 16):
412
+ # When built against an older macOS SDK, Python will report macOS 10.16
413
+ # instead of the real version.
414
+ version_str = subprocess.run(
415
+ [
416
+ sys.executable,
417
+ "-sS",
418
+ "-c",
419
+ "import platform; print(platform.mac_ver()[0])",
420
+ ],
421
+ check=True,
422
+ env={"SYSTEM_VERSION_COMPAT": "0"},
423
+ stdout=subprocess.PIPE,
424
+ text=True,
425
+ ).stdout
426
+ version = cast("AppleVersion", tuple(map(int, version_str.split(".")[:2])))
427
+ else:
428
+ version = version
429
+ if arch is None:
430
+ arch = _mac_arch(cpu_arch)
431
+ else:
432
+ arch = arch
433
+
434
+ if (10, 0) <= version and version < (11, 0):
435
+ # Prior to Mac OS 11, each yearly release of Mac OS bumped the
436
+ # "minor" version number. The major version was always 10.
437
+ major_version = 10
438
+ for minor_version in range(version[1], -1, -1):
439
+ compat_version = major_version, minor_version
440
+ binary_formats = _mac_binary_formats(compat_version, arch)
441
+ for binary_format in binary_formats:
442
+ yield f"macosx_{major_version}_{minor_version}_{binary_format}"
443
+
444
+ if version >= (11, 0):
445
+ # Starting with Mac OS 11, each yearly release bumps the major version
446
+ # number. The minor versions are now the midyear updates.
447
+ minor_version = 0
448
+ for major_version in range(version[0], 10, -1):
449
+ compat_version = major_version, minor_version
450
+ binary_formats = _mac_binary_formats(compat_version, arch)
451
+ for binary_format in binary_formats:
452
+ yield f"macosx_{major_version}_{minor_version}_{binary_format}"
453
+
454
+ if version >= (11, 0):
455
+ # Mac OS 11 on x86_64 is compatible with binaries from previous releases.
456
+ # Arm64 support was introduced in 11.0, so no Arm binaries from previous
457
+ # releases exist.
458
+ #
459
+ # However, the "universal2" binary format can have a
460
+ # macOS version earlier than 11.0 when the x86_64 part of the binary supports
461
+ # that version of macOS.
462
+ major_version = 10
463
+ if arch == "x86_64":
464
+ for minor_version in range(16, 3, -1):
465
+ compat_version = major_version, minor_version
466
+ binary_formats = _mac_binary_formats(compat_version, arch)
467
+ for binary_format in binary_formats:
468
+ yield f"macosx_{major_version}_{minor_version}_{binary_format}"
469
+ else:
470
+ for minor_version in range(16, 3, -1):
471
+ compat_version = major_version, minor_version
472
+ binary_format = "universal2"
473
+ yield f"macosx_{major_version}_{minor_version}_{binary_format}"
474
+
475
+
476
+ def ios_platforms(
477
+ version: AppleVersion | None = None, multiarch: str | None = None
478
+ ) -> Iterator[str]:
479
+ """
480
+ Yields the platform tags for an iOS system.
481
+
482
+ :param version: A two-item tuple specifying the iOS version to generate
483
+ platform tags for. Defaults to the current iOS version.
484
+ :param multiarch: The CPU architecture+ABI to generate platform tags for -
485
+ (the value used by `sys.implementation._multiarch` e.g.,
486
+ `arm64_iphoneos` or `x84_64_iphonesimulator`). Defaults to the current
487
+ multiarch value.
488
+ """
489
+ if version is None:
490
+ # if iOS is the current platform, ios_ver *must* be defined. However,
491
+ # it won't exist for CPython versions before 3.13, which causes a mypy
492
+ # error.
493
+ _, release, _, _ = platform.ios_ver() # type: ignore[attr-defined, unused-ignore]
494
+ version = cast("AppleVersion", tuple(map(int, release.split(".")[:2])))
495
+
496
+ if multiarch is None:
497
+ multiarch = sys.implementation._multiarch
498
+ multiarch = multiarch.replace("-", "_")
499
+
500
+ ios_platform_template = "ios_{major}_{minor}_{multiarch}"
501
+
502
+ # Consider any iOS major.minor version from the version requested, down to
503
+ # 12.0. 12.0 is the first iOS version that is known to have enough features
504
+ # to support CPython. Consider every possible minor release up to X.9. There
505
+ # highest the minor has ever gone is 8 (14.8 and 15.8) but having some extra
506
+ # candidates that won't ever match doesn't really hurt, and it saves us from
507
+ # having to keep an explicit list of known iOS versions in the code. Return
508
+ # the results descending order of version number.
509
+
510
+ # If the requested major version is less than 12, there won't be any matches.
511
+ if version[0] < 12:
512
+ return
513
+
514
+ # Consider the actual X.Y version that was requested.
515
+ yield ios_platform_template.format(
516
+ major=version[0], minor=version[1], multiarch=multiarch
517
+ )
518
+
519
+ # Consider every minor version from X.0 to the minor version prior to the
520
+ # version requested by the platform.
521
+ for minor in range(version[1] - 1, -1, -1):
522
+ yield ios_platform_template.format(
523
+ major=version[0], minor=minor, multiarch=multiarch
524
+ )
525
+
526
+ for major in range(version[0] - 1, 11, -1):
527
+ for minor in range(9, -1, -1):
528
+ yield ios_platform_template.format(
529
+ major=major, minor=minor, multiarch=multiarch
530
+ )
531
+
532
+
533
+ def android_platforms(
534
+ api_level: int | None = None, abi: str | None = None
535
+ ) -> Iterator[str]:
536
+ """
537
+ Yields the :attr:`~Tag.platform` tags for Android. If this function is invoked on
538
+ non-Android platforms, the ``api_level`` and ``abi`` arguments are required.
539
+
540
+ :param int api_level: The maximum `API level
541
+ <https://developer.android.com/tools/releases/platforms>`__ to return. Defaults
542
+ to the current system's version, as returned by ``platform.android_ver``.
543
+ :param str abi: The `Android ABI <https://developer.android.com/ndk/guides/abis>`__,
544
+ e.g. ``arm64_v8a``. Defaults to the current system's ABI , as returned by
545
+ ``sysconfig.get_platform``. Hyphens and periods will be replaced with
546
+ underscores.
547
+ """
548
+ if platform.system() != "Android" and (api_level is None or abi is None):
549
+ raise TypeError(
550
+ "on non-Android platforms, the api_level and abi arguments are required"
551
+ )
552
+
553
+ if api_level is None:
554
+ # Python 3.13 was the first version to return platform.system() == "Android",
555
+ # and also the first version to define platform.android_ver().
556
+ api_level = platform.android_ver().api_level # type: ignore[attr-defined]
557
+
558
+ if abi is None:
559
+ abi = sysconfig.get_platform().split("-")[-1]
560
+ abi = _normalize_string(abi)
561
+
562
+ # 16 is the minimum API level known to have enough features to support CPython
563
+ # without major patching. Yield every API level from the maximum down to the
564
+ # minimum, inclusive.
565
+ min_api_level = 16
566
+ for ver in range(api_level, min_api_level - 1, -1):
567
+ yield f"android_{ver}_{abi}"
568
+
569
+
570
+ def _linux_platforms(is_32bit: bool = _32_BIT_INTERPRETER) -> Iterator[str]:
571
+ linux = _normalize_string(sysconfig.get_platform())
572
+ if not linux.startswith("linux_"):
573
+ # we should never be here, just yield the sysconfig one and return
574
+ yield linux
575
+ return
576
+ if is_32bit:
577
+ if linux == "linux_x86_64":
578
+ linux = "linux_i686"
579
+ elif linux == "linux_aarch64":
580
+ linux = "linux_armv8l"
581
+ _, arch = linux.split("_", 1)
582
+ archs = {"armv8l": ["armv8l", "armv7l"]}.get(arch, [arch])
583
+ yield from _manylinux.platform_tags(archs)
584
+ yield from _musllinux.platform_tags(archs)
585
+ for arch in archs:
586
+ yield f"linux_{arch}"
587
+
588
+
589
+ def _generic_platforms() -> Iterator[str]:
590
+ yield _normalize_string(sysconfig.get_platform())
591
+
592
+
593
+ def platform_tags() -> Iterator[str]:
594
+ """
595
+ Provides the platform tags for this installation.
596
+ """
597
+ if platform.system() == "Darwin":
598
+ return mac_platforms()
599
+ elif platform.system() == "iOS":
600
+ return ios_platforms()
601
+ elif platform.system() == "Android":
602
+ return android_platforms()
603
+ elif platform.system() == "Linux":
604
+ return _linux_platforms()
605
+ else:
606
+ return _generic_platforms()
607
+
608
+
609
+ def interpreter_name() -> str:
610
+ """
611
+ Returns the name of the running interpreter.
612
+
613
+ Some implementations have a reserved, two-letter abbreviation which will
614
+ be returned when appropriate.
615
+ """
616
+ name = sys.implementation.name
617
+ return INTERPRETER_SHORT_NAMES.get(name) or name
618
+
619
+
620
+ def interpreter_version(*, warn: bool = False) -> str:
621
+ """
622
+ Returns the version of the running interpreter.
623
+ """
624
+ version = _get_config_var("py_version_nodot", warn=warn)
625
+ if version:
626
+ version = str(version)
627
+ else:
628
+ version = _version_nodot(sys.version_info[:2])
629
+ return version
630
+
631
+
632
+ def _version_nodot(version: PythonVersion) -> str:
633
+ return "".join(map(str, version))
634
+
635
+
636
+ def sys_tags(*, warn: bool = False) -> Iterator[Tag]:
637
+ """
638
+ Returns the sequence of tag triples for the running interpreter.
639
+
640
+ The order of the sequence corresponds to priority order for the
641
+ interpreter, from most to least important.
642
+ """
643
+
644
+ interp_name = interpreter_name()
645
+ if interp_name == "cp":
646
+ yield from cpython_tags(warn=warn)
647
+ else:
648
+ yield from generic_tags()
649
+
650
+ if interp_name == "pp":
651
+ interp = "pp3"
652
+ elif interp_name == "cp":
653
+ interp = "cp" + interpreter_version(warn=warn)
654
+ else:
655
+ interp = None
656
+ yield from compatible_tags(interpreter=interp)
miniconda3/lib/python3.13/site-packages/packaging/utils.py ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ from __future__ import annotations
6
+
7
+ import functools
8
+ import re
9
+ from typing import NewType, Tuple, Union, cast
10
+
11
+ from .tags import Tag, parse_tag
12
+ from .version import InvalidVersion, Version, _TrimmedRelease
13
+
14
+ BuildTag = Union[Tuple[()], Tuple[int, str]]
15
+ NormalizedName = NewType("NormalizedName", str)
16
+
17
+
18
+ class InvalidName(ValueError):
19
+ """
20
+ An invalid distribution name; users should refer to the packaging user guide.
21
+ """
22
+
23
+
24
+ class InvalidWheelFilename(ValueError):
25
+ """
26
+ An invalid wheel filename was found, users should refer to PEP 427.
27
+ """
28
+
29
+
30
+ class InvalidSdistFilename(ValueError):
31
+ """
32
+ An invalid sdist filename was found, users should refer to the packaging user guide.
33
+ """
34
+
35
+
36
+ # Core metadata spec for `Name`
37
+ _validate_regex = re.compile(
38
+ r"^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$", re.IGNORECASE
39
+ )
40
+ _canonicalize_regex = re.compile(r"[-_.]+")
41
+ _normalized_regex = re.compile(r"^([a-z0-9]|[a-z0-9]([a-z0-9-](?!--))*[a-z0-9])$")
42
+ # PEP 427: The build number must start with a digit.
43
+ _build_tag_regex = re.compile(r"(\d+)(.*)")
44
+
45
+
46
+ def canonicalize_name(name: str, *, validate: bool = False) -> NormalizedName:
47
+ if validate and not _validate_regex.match(name):
48
+ raise InvalidName(f"name is invalid: {name!r}")
49
+ # This is taken from PEP 503.
50
+ value = _canonicalize_regex.sub("-", name).lower()
51
+ return cast(NormalizedName, value)
52
+
53
+
54
+ def is_normalized_name(name: str) -> bool:
55
+ return _normalized_regex.match(name) is not None
56
+
57
+
58
+ @functools.singledispatch
59
+ def canonicalize_version(
60
+ version: Version | str, *, strip_trailing_zero: bool = True
61
+ ) -> str:
62
+ """
63
+ Return a canonical form of a version as a string.
64
+
65
+ >>> canonicalize_version('1.0.1')
66
+ '1.0.1'
67
+
68
+ Per PEP 625, versions may have multiple canonical forms, differing
69
+ only by trailing zeros.
70
+
71
+ >>> canonicalize_version('1.0.0')
72
+ '1'
73
+ >>> canonicalize_version('1.0.0', strip_trailing_zero=False)
74
+ '1.0.0'
75
+
76
+ Invalid versions are returned unaltered.
77
+
78
+ >>> canonicalize_version('foo bar baz')
79
+ 'foo bar baz'
80
+ """
81
+ return str(_TrimmedRelease(str(version)) if strip_trailing_zero else version)
82
+
83
+
84
+ @canonicalize_version.register
85
+ def _(version: str, *, strip_trailing_zero: bool = True) -> str:
86
+ try:
87
+ parsed = Version(version)
88
+ except InvalidVersion:
89
+ # Legacy versions cannot be normalized
90
+ return version
91
+ return canonicalize_version(parsed, strip_trailing_zero=strip_trailing_zero)
92
+
93
+
94
+ def parse_wheel_filename(
95
+ filename: str,
96
+ ) -> tuple[NormalizedName, Version, BuildTag, frozenset[Tag]]:
97
+ if not filename.endswith(".whl"):
98
+ raise InvalidWheelFilename(
99
+ f"Invalid wheel filename (extension must be '.whl'): {filename!r}"
100
+ )
101
+
102
+ filename = filename[:-4]
103
+ dashes = filename.count("-")
104
+ if dashes not in (4, 5):
105
+ raise InvalidWheelFilename(
106
+ f"Invalid wheel filename (wrong number of parts): {filename!r}"
107
+ )
108
+
109
+ parts = filename.split("-", dashes - 2)
110
+ name_part = parts[0]
111
+ # See PEP 427 for the rules on escaping the project name.
112
+ if "__" in name_part or re.match(r"^[\w\d._]*$", name_part, re.UNICODE) is None:
113
+ raise InvalidWheelFilename(f"Invalid project name: {filename!r}")
114
+ name = canonicalize_name(name_part)
115
+
116
+ try:
117
+ version = Version(parts[1])
118
+ except InvalidVersion as e:
119
+ raise InvalidWheelFilename(
120
+ f"Invalid wheel filename (invalid version): {filename!r}"
121
+ ) from e
122
+
123
+ if dashes == 5:
124
+ build_part = parts[2]
125
+ build_match = _build_tag_regex.match(build_part)
126
+ if build_match is None:
127
+ raise InvalidWheelFilename(
128
+ f"Invalid build number: {build_part} in {filename!r}"
129
+ )
130
+ build = cast(BuildTag, (int(build_match.group(1)), build_match.group(2)))
131
+ else:
132
+ build = ()
133
+ tags = parse_tag(parts[-1])
134
+ return (name, version, build, tags)
135
+
136
+
137
+ def parse_sdist_filename(filename: str) -> tuple[NormalizedName, Version]:
138
+ if filename.endswith(".tar.gz"):
139
+ file_stem = filename[: -len(".tar.gz")]
140
+ elif filename.endswith(".zip"):
141
+ file_stem = filename[: -len(".zip")]
142
+ else:
143
+ raise InvalidSdistFilename(
144
+ f"Invalid sdist filename (extension must be '.tar.gz' or '.zip'):"
145
+ f" {filename!r}"
146
+ )
147
+
148
+ # We are requiring a PEP 440 version, which cannot contain dashes,
149
+ # so we split on the last dash.
150
+ name_part, sep, version_part = file_stem.rpartition("-")
151
+ if not sep:
152
+ raise InvalidSdistFilename(f"Invalid sdist filename: {filename!r}")
153
+
154
+ name = canonicalize_name(name_part)
155
+
156
+ try:
157
+ version = Version(version_part)
158
+ except InvalidVersion as e:
159
+ raise InvalidSdistFilename(
160
+ f"Invalid sdist filename (invalid version): {filename!r}"
161
+ ) from e
162
+
163
+ return (name, version)
miniconda3/lib/python3.13/site-packages/packaging/version.py ADDED
@@ -0,0 +1,582 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+ """
5
+ .. testsetup::
6
+
7
+ from packaging.version import parse, Version
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ import itertools
13
+ import re
14
+ from typing import Any, Callable, NamedTuple, SupportsInt, Tuple, Union
15
+
16
+ from ._structures import Infinity, InfinityType, NegativeInfinity, NegativeInfinityType
17
+
18
+ __all__ = ["VERSION_PATTERN", "InvalidVersion", "Version", "parse"]
19
+
20
+ LocalType = Tuple[Union[int, str], ...]
21
+
22
+ CmpPrePostDevType = Union[InfinityType, NegativeInfinityType, Tuple[str, int]]
23
+ CmpLocalType = Union[
24
+ NegativeInfinityType,
25
+ Tuple[Union[Tuple[int, str], Tuple[NegativeInfinityType, Union[int, str]]], ...],
26
+ ]
27
+ CmpKey = Tuple[
28
+ int,
29
+ Tuple[int, ...],
30
+ CmpPrePostDevType,
31
+ CmpPrePostDevType,
32
+ CmpPrePostDevType,
33
+ CmpLocalType,
34
+ ]
35
+ VersionComparisonMethod = Callable[[CmpKey, CmpKey], bool]
36
+
37
+
38
+ class _Version(NamedTuple):
39
+ epoch: int
40
+ release: tuple[int, ...]
41
+ dev: tuple[str, int] | None
42
+ pre: tuple[str, int] | None
43
+ post: tuple[str, int] | None
44
+ local: LocalType | None
45
+
46
+
47
+ def parse(version: str) -> Version:
48
+ """Parse the given version string.
49
+
50
+ >>> parse('1.0.dev1')
51
+ <Version('1.0.dev1')>
52
+
53
+ :param version: The version string to parse.
54
+ :raises InvalidVersion: When the version string is not a valid version.
55
+ """
56
+ return Version(version)
57
+
58
+
59
+ class InvalidVersion(ValueError):
60
+ """Raised when a version string is not a valid version.
61
+
62
+ >>> Version("invalid")
63
+ Traceback (most recent call last):
64
+ ...
65
+ packaging.version.InvalidVersion: Invalid version: 'invalid'
66
+ """
67
+
68
+
69
+ class _BaseVersion:
70
+ _key: tuple[Any, ...]
71
+
72
+ def __hash__(self) -> int:
73
+ return hash(self._key)
74
+
75
+ # Please keep the duplicated `isinstance` check
76
+ # in the six comparisons hereunder
77
+ # unless you find a way to avoid adding overhead function calls.
78
+ def __lt__(self, other: _BaseVersion) -> bool:
79
+ if not isinstance(other, _BaseVersion):
80
+ return NotImplemented
81
+
82
+ return self._key < other._key
83
+
84
+ def __le__(self, other: _BaseVersion) -> bool:
85
+ if not isinstance(other, _BaseVersion):
86
+ return NotImplemented
87
+
88
+ return self._key <= other._key
89
+
90
+ def __eq__(self, other: object) -> bool:
91
+ if not isinstance(other, _BaseVersion):
92
+ return NotImplemented
93
+
94
+ return self._key == other._key
95
+
96
+ def __ge__(self, other: _BaseVersion) -> bool:
97
+ if not isinstance(other, _BaseVersion):
98
+ return NotImplemented
99
+
100
+ return self._key >= other._key
101
+
102
+ def __gt__(self, other: _BaseVersion) -> bool:
103
+ if not isinstance(other, _BaseVersion):
104
+ return NotImplemented
105
+
106
+ return self._key > other._key
107
+
108
+ def __ne__(self, other: object) -> bool:
109
+ if not isinstance(other, _BaseVersion):
110
+ return NotImplemented
111
+
112
+ return self._key != other._key
113
+
114
+
115
+ # Deliberately not anchored to the start and end of the string, to make it
116
+ # easier for 3rd party code to reuse
117
+ _VERSION_PATTERN = r"""
118
+ v?
119
+ (?:
120
+ (?:(?P<epoch>[0-9]+)!)? # epoch
121
+ (?P<release>[0-9]+(?:\.[0-9]+)*) # release segment
122
+ (?P<pre> # pre-release
123
+ [-_\.]?
124
+ (?P<pre_l>alpha|a|beta|b|preview|pre|c|rc)
125
+ [-_\.]?
126
+ (?P<pre_n>[0-9]+)?
127
+ )?
128
+ (?P<post> # post release
129
+ (?:-(?P<post_n1>[0-9]+))
130
+ |
131
+ (?:
132
+ [-_\.]?
133
+ (?P<post_l>post|rev|r)
134
+ [-_\.]?
135
+ (?P<post_n2>[0-9]+)?
136
+ )
137
+ )?
138
+ (?P<dev> # dev release
139
+ [-_\.]?
140
+ (?P<dev_l>dev)
141
+ [-_\.]?
142
+ (?P<dev_n>[0-9]+)?
143
+ )?
144
+ )
145
+ (?:\+(?P<local>[a-z0-9]+(?:[-_\.][a-z0-9]+)*))? # local version
146
+ """
147
+
148
+ VERSION_PATTERN = _VERSION_PATTERN
149
+ """
150
+ A string containing the regular expression used to match a valid version.
151
+
152
+ The pattern is not anchored at either end, and is intended for embedding in larger
153
+ expressions (for example, matching a version number as part of a file name). The
154
+ regular expression should be compiled with the ``re.VERBOSE`` and ``re.IGNORECASE``
155
+ flags set.
156
+
157
+ :meta hide-value:
158
+ """
159
+
160
+
161
+ class Version(_BaseVersion):
162
+ """This class abstracts handling of a project's versions.
163
+
164
+ A :class:`Version` instance is comparison aware and can be compared and
165
+ sorted using the standard Python interfaces.
166
+
167
+ >>> v1 = Version("1.0a5")
168
+ >>> v2 = Version("1.0")
169
+ >>> v1
170
+ <Version('1.0a5')>
171
+ >>> v2
172
+ <Version('1.0')>
173
+ >>> v1 < v2
174
+ True
175
+ >>> v1 == v2
176
+ False
177
+ >>> v1 > v2
178
+ False
179
+ >>> v1 >= v2
180
+ False
181
+ >>> v1 <= v2
182
+ True
183
+ """
184
+
185
+ _regex = re.compile(r"^\s*" + VERSION_PATTERN + r"\s*$", re.VERBOSE | re.IGNORECASE)
186
+ _key: CmpKey
187
+
188
+ def __init__(self, version: str) -> None:
189
+ """Initialize a Version object.
190
+
191
+ :param version:
192
+ The string representation of a version which will be parsed and normalized
193
+ before use.
194
+ :raises InvalidVersion:
195
+ If the ``version`` does not conform to PEP 440 in any way then this
196
+ exception will be raised.
197
+ """
198
+
199
+ # Validate the version and parse it into pieces
200
+ match = self._regex.search(version)
201
+ if not match:
202
+ raise InvalidVersion(f"Invalid version: {version!r}")
203
+
204
+ # Store the parsed out pieces of the version
205
+ self._version = _Version(
206
+ epoch=int(match.group("epoch")) if match.group("epoch") else 0,
207
+ release=tuple(int(i) for i in match.group("release").split(".")),
208
+ pre=_parse_letter_version(match.group("pre_l"), match.group("pre_n")),
209
+ post=_parse_letter_version(
210
+ match.group("post_l"), match.group("post_n1") or match.group("post_n2")
211
+ ),
212
+ dev=_parse_letter_version(match.group("dev_l"), match.group("dev_n")),
213
+ local=_parse_local_version(match.group("local")),
214
+ )
215
+
216
+ # Generate a key which will be used for sorting
217
+ self._key = _cmpkey(
218
+ self._version.epoch,
219
+ self._version.release,
220
+ self._version.pre,
221
+ self._version.post,
222
+ self._version.dev,
223
+ self._version.local,
224
+ )
225
+
226
+ def __repr__(self) -> str:
227
+ """A representation of the Version that shows all internal state.
228
+
229
+ >>> Version('1.0.0')
230
+ <Version('1.0.0')>
231
+ """
232
+ return f"<Version('{self}')>"
233
+
234
+ def __str__(self) -> str:
235
+ """A string representation of the version that can be round-tripped.
236
+
237
+ >>> str(Version("1.0a5"))
238
+ '1.0a5'
239
+ """
240
+ parts = []
241
+
242
+ # Epoch
243
+ if self.epoch != 0:
244
+ parts.append(f"{self.epoch}!")
245
+
246
+ # Release segment
247
+ parts.append(".".join(str(x) for x in self.release))
248
+
249
+ # Pre-release
250
+ if self.pre is not None:
251
+ parts.append("".join(str(x) for x in self.pre))
252
+
253
+ # Post-release
254
+ if self.post is not None:
255
+ parts.append(f".post{self.post}")
256
+
257
+ # Development release
258
+ if self.dev is not None:
259
+ parts.append(f".dev{self.dev}")
260
+
261
+ # Local version segment
262
+ if self.local is not None:
263
+ parts.append(f"+{self.local}")
264
+
265
+ return "".join(parts)
266
+
267
+ @property
268
+ def epoch(self) -> int:
269
+ """The epoch of the version.
270
+
271
+ >>> Version("2.0.0").epoch
272
+ 0
273
+ >>> Version("1!2.0.0").epoch
274
+ 1
275
+ """
276
+ return self._version.epoch
277
+
278
+ @property
279
+ def release(self) -> tuple[int, ...]:
280
+ """The components of the "release" segment of the version.
281
+
282
+ >>> Version("1.2.3").release
283
+ (1, 2, 3)
284
+ >>> Version("2.0.0").release
285
+ (2, 0, 0)
286
+ >>> Version("1!2.0.0.post0").release
287
+ (2, 0, 0)
288
+
289
+ Includes trailing zeroes but not the epoch or any pre-release / development /
290
+ post-release suffixes.
291
+ """
292
+ return self._version.release
293
+
294
+ @property
295
+ def pre(self) -> tuple[str, int] | None:
296
+ """The pre-release segment of the version.
297
+
298
+ >>> print(Version("1.2.3").pre)
299
+ None
300
+ >>> Version("1.2.3a1").pre
301
+ ('a', 1)
302
+ >>> Version("1.2.3b1").pre
303
+ ('b', 1)
304
+ >>> Version("1.2.3rc1").pre
305
+ ('rc', 1)
306
+ """
307
+ return self._version.pre
308
+
309
+ @property
310
+ def post(self) -> int | None:
311
+ """The post-release number of the version.
312
+
313
+ >>> print(Version("1.2.3").post)
314
+ None
315
+ >>> Version("1.2.3.post1").post
316
+ 1
317
+ """
318
+ return self._version.post[1] if self._version.post else None
319
+
320
+ @property
321
+ def dev(self) -> int | None:
322
+ """The development number of the version.
323
+
324
+ >>> print(Version("1.2.3").dev)
325
+ None
326
+ >>> Version("1.2.3.dev1").dev
327
+ 1
328
+ """
329
+ return self._version.dev[1] if self._version.dev else None
330
+
331
+ @property
332
+ def local(self) -> str | None:
333
+ """The local version segment of the version.
334
+
335
+ >>> print(Version("1.2.3").local)
336
+ None
337
+ >>> Version("1.2.3+abc").local
338
+ 'abc'
339
+ """
340
+ if self._version.local:
341
+ return ".".join(str(x) for x in self._version.local)
342
+ else:
343
+ return None
344
+
345
+ @property
346
+ def public(self) -> str:
347
+ """The public portion of the version.
348
+
349
+ >>> Version("1.2.3").public
350
+ '1.2.3'
351
+ >>> Version("1.2.3+abc").public
352
+ '1.2.3'
353
+ >>> Version("1!1.2.3dev1+abc").public
354
+ '1!1.2.3.dev1'
355
+ """
356
+ return str(self).split("+", 1)[0]
357
+
358
+ @property
359
+ def base_version(self) -> str:
360
+ """The "base version" of the version.
361
+
362
+ >>> Version("1.2.3").base_version
363
+ '1.2.3'
364
+ >>> Version("1.2.3+abc").base_version
365
+ '1.2.3'
366
+ >>> Version("1!1.2.3dev1+abc").base_version
367
+ '1!1.2.3'
368
+
369
+ The "base version" is the public version of the project without any pre or post
370
+ release markers.
371
+ """
372
+ parts = []
373
+
374
+ # Epoch
375
+ if self.epoch != 0:
376
+ parts.append(f"{self.epoch}!")
377
+
378
+ # Release segment
379
+ parts.append(".".join(str(x) for x in self.release))
380
+
381
+ return "".join(parts)
382
+
383
+ @property
384
+ def is_prerelease(self) -> bool:
385
+ """Whether this version is a pre-release.
386
+
387
+ >>> Version("1.2.3").is_prerelease
388
+ False
389
+ >>> Version("1.2.3a1").is_prerelease
390
+ True
391
+ >>> Version("1.2.3b1").is_prerelease
392
+ True
393
+ >>> Version("1.2.3rc1").is_prerelease
394
+ True
395
+ >>> Version("1.2.3dev1").is_prerelease
396
+ True
397
+ """
398
+ return self.dev is not None or self.pre is not None
399
+
400
+ @property
401
+ def is_postrelease(self) -> bool:
402
+ """Whether this version is a post-release.
403
+
404
+ >>> Version("1.2.3").is_postrelease
405
+ False
406
+ >>> Version("1.2.3.post1").is_postrelease
407
+ True
408
+ """
409
+ return self.post is not None
410
+
411
+ @property
412
+ def is_devrelease(self) -> bool:
413
+ """Whether this version is a development release.
414
+
415
+ >>> Version("1.2.3").is_devrelease
416
+ False
417
+ >>> Version("1.2.3.dev1").is_devrelease
418
+ True
419
+ """
420
+ return self.dev is not None
421
+
422
+ @property
423
+ def major(self) -> int:
424
+ """The first item of :attr:`release` or ``0`` if unavailable.
425
+
426
+ >>> Version("1.2.3").major
427
+ 1
428
+ """
429
+ return self.release[0] if len(self.release) >= 1 else 0
430
+
431
+ @property
432
+ def minor(self) -> int:
433
+ """The second item of :attr:`release` or ``0`` if unavailable.
434
+
435
+ >>> Version("1.2.3").minor
436
+ 2
437
+ >>> Version("1").minor
438
+ 0
439
+ """
440
+ return self.release[1] if len(self.release) >= 2 else 0
441
+
442
+ @property
443
+ def micro(self) -> int:
444
+ """The third item of :attr:`release` or ``0`` if unavailable.
445
+
446
+ >>> Version("1.2.3").micro
447
+ 3
448
+ >>> Version("1").micro
449
+ 0
450
+ """
451
+ return self.release[2] if len(self.release) >= 3 else 0
452
+
453
+
454
+ class _TrimmedRelease(Version):
455
+ @property
456
+ def release(self) -> tuple[int, ...]:
457
+ """
458
+ Release segment without any trailing zeros.
459
+
460
+ >>> _TrimmedRelease('1.0.0').release
461
+ (1,)
462
+ >>> _TrimmedRelease('0.0').release
463
+ (0,)
464
+ """
465
+ rel = super().release
466
+ nonzeros = (index for index, val in enumerate(rel) if val)
467
+ last_nonzero = max(nonzeros, default=0)
468
+ return rel[: last_nonzero + 1]
469
+
470
+
471
+ def _parse_letter_version(
472
+ letter: str | None, number: str | bytes | SupportsInt | None
473
+ ) -> tuple[str, int] | None:
474
+ if letter:
475
+ # We consider there to be an implicit 0 in a pre-release if there is
476
+ # not a numeral associated with it.
477
+ if number is None:
478
+ number = 0
479
+
480
+ # We normalize any letters to their lower case form
481
+ letter = letter.lower()
482
+
483
+ # We consider some words to be alternate spellings of other words and
484
+ # in those cases we want to normalize the spellings to our preferred
485
+ # spelling.
486
+ if letter == "alpha":
487
+ letter = "a"
488
+ elif letter == "beta":
489
+ letter = "b"
490
+ elif letter in ["c", "pre", "preview"]:
491
+ letter = "rc"
492
+ elif letter in ["rev", "r"]:
493
+ letter = "post"
494
+
495
+ return letter, int(number)
496
+
497
+ assert not letter
498
+ if number:
499
+ # We assume if we are given a number, but we are not given a letter
500
+ # then this is using the implicit post release syntax (e.g. 1.0-1)
501
+ letter = "post"
502
+
503
+ return letter, int(number)
504
+
505
+ return None
506
+
507
+
508
+ _local_version_separators = re.compile(r"[\._-]")
509
+
510
+
511
+ def _parse_local_version(local: str | None) -> LocalType | None:
512
+ """
513
+ Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
514
+ """
515
+ if local is not None:
516
+ return tuple(
517
+ part.lower() if not part.isdigit() else int(part)
518
+ for part in _local_version_separators.split(local)
519
+ )
520
+ return None
521
+
522
+
523
+ def _cmpkey(
524
+ epoch: int,
525
+ release: tuple[int, ...],
526
+ pre: tuple[str, int] | None,
527
+ post: tuple[str, int] | None,
528
+ dev: tuple[str, int] | None,
529
+ local: LocalType | None,
530
+ ) -> CmpKey:
531
+ # When we compare a release version, we want to compare it with all of the
532
+ # trailing zeros removed. So we'll use a reverse the list, drop all the now
533
+ # leading zeros until we come to something non zero, then take the rest
534
+ # re-reverse it back into the correct order and make it a tuple and use
535
+ # that for our sorting key.
536
+ _release = tuple(
537
+ reversed(list(itertools.dropwhile(lambda x: x == 0, reversed(release))))
538
+ )
539
+
540
+ # We need to "trick" the sorting algorithm to put 1.0.dev0 before 1.0a0.
541
+ # We'll do this by abusing the pre segment, but we _only_ want to do this
542
+ # if there is not a pre or a post segment. If we have one of those then
543
+ # the normal sorting rules will handle this case correctly.
544
+ if pre is None and post is None and dev is not None:
545
+ _pre: CmpPrePostDevType = NegativeInfinity
546
+ # Versions without a pre-release (except as noted above) should sort after
547
+ # those with one.
548
+ elif pre is None:
549
+ _pre = Infinity
550
+ else:
551
+ _pre = pre
552
+
553
+ # Versions without a post segment should sort before those with one.
554
+ if post is None:
555
+ _post: CmpPrePostDevType = NegativeInfinity
556
+
557
+ else:
558
+ _post = post
559
+
560
+ # Versions without a development segment should sort after those with one.
561
+ if dev is None:
562
+ _dev: CmpPrePostDevType = Infinity
563
+
564
+ else:
565
+ _dev = dev
566
+
567
+ if local is None:
568
+ # Versions without a local segment should sort before those with one.
569
+ _local: CmpLocalType = NegativeInfinity
570
+ else:
571
+ # Versions with a local segment need that segment parsed to implement
572
+ # the sorting rules in PEP440.
573
+ # - Alpha numeric segments sort before numeric segments
574
+ # - Alpha numeric segments sort lexicographically
575
+ # - Numeric segments sort numerically
576
+ # - Shorter versions sort before longer versions when the prefixes
577
+ # match exactly
578
+ _local = tuple(
579
+ (i, "") if isinstance(i, int) else (NegativeInfinity, i) for i in local
580
+ )
581
+
582
+ return epoch, _release, _pre, _post, _dev, _local
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ conda
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/METADATA ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: pip
3
+ Version: 26.0.1
4
+ Summary: The PyPA recommended tool for installing Python packages.
5
+ Author-email: The pip developers <distutils-sig@python.org>
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/x-rst
8
+ License-Expression: MIT
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Topic :: Software Development :: Build Tools
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Programming Language :: Python :: Implementation :: CPython
22
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
23
+ License-File: AUTHORS.txt
24
+ License-File: LICENSE.txt
25
+ License-File: src/pip/_vendor/cachecontrol/LICENSE.txt
26
+ License-File: src/pip/_vendor/certifi/LICENSE
27
+ License-File: src/pip/_vendor/dependency_groups/LICENSE.txt
28
+ License-File: src/pip/_vendor/distlib/LICENSE.txt
29
+ License-File: src/pip/_vendor/distro/LICENSE
30
+ License-File: src/pip/_vendor/idna/LICENSE.md
31
+ License-File: src/pip/_vendor/msgpack/COPYING
32
+ License-File: src/pip/_vendor/packaging/LICENSE
33
+ License-File: src/pip/_vendor/packaging/LICENSE.APACHE
34
+ License-File: src/pip/_vendor/packaging/LICENSE.BSD
35
+ License-File: src/pip/_vendor/pkg_resources/LICENSE
36
+ License-File: src/pip/_vendor/platformdirs/LICENSE
37
+ License-File: src/pip/_vendor/pygments/LICENSE
38
+ License-File: src/pip/_vendor/pyproject_hooks/LICENSE
39
+ License-File: src/pip/_vendor/requests/LICENSE
40
+ License-File: src/pip/_vendor/resolvelib/LICENSE
41
+ License-File: src/pip/_vendor/rich/LICENSE
42
+ License-File: src/pip/_vendor/tomli/LICENSE
43
+ License-File: src/pip/_vendor/tomli_w/LICENSE
44
+ License-File: src/pip/_vendor/truststore/LICENSE
45
+ License-File: src/pip/_vendor/urllib3/LICENSE.txt
46
+ Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
47
+ Project-URL: Documentation, https://pip.pypa.io
48
+ Project-URL: Homepage, https://pip.pypa.io/
49
+ Project-URL: Source, https://github.com/pypa/pip
50
+
51
+ pip - The Python Package Installer
52
+ ==================================
53
+
54
+ .. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg
55
+ :target: https://pypi.org/project/pip/
56
+ :alt: PyPI
57
+
58
+ .. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip
59
+ :target: https://pypi.org/project/pip
60
+ :alt: PyPI - Python Version
61
+
62
+ .. |docs-badge| image:: https://readthedocs.org/projects/pip/badge/?version=latest
63
+ :target: https://pip.pypa.io/en/latest
64
+ :alt: Documentation
65
+
66
+ |pypi-version| |python-versions| |docs-badge|
67
+
68
+ pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
69
+
70
+ Please take a look at our documentation for how to install and use pip:
71
+
72
+ * `Installation`_
73
+ * `Usage`_
74
+
75
+ We release updates regularly, with a new version every 3 months. Find more details in our documentation:
76
+
77
+ * `Release notes`_
78
+ * `Release process`_
79
+
80
+ If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:
81
+
82
+ * `Issue tracking`_
83
+ * `Discourse channel`_
84
+ * `User IRC`_
85
+
86
+ 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:
87
+
88
+ * `GitHub page`_
89
+ * `Development documentation`_
90
+ * `Development IRC`_
91
+
92
+ Code of Conduct
93
+ ---------------
94
+
95
+ Everyone interacting in the pip project's codebases, issue trackers, chat
96
+ rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
97
+
98
+ .. _package installer: https://packaging.python.org/guides/tool-recommendations/
99
+ .. _Python Package Index: https://pypi.org
100
+ .. _Installation: https://pip.pypa.io/en/stable/installation/
101
+ .. _Usage: https://pip.pypa.io/en/stable/
102
+ .. _Release notes: https://pip.pypa.io/en/stable/news.html
103
+ .. _Release process: https://pip.pypa.io/en/latest/development/release-process/
104
+ .. _GitHub page: https://github.com/pypa/pip
105
+ .. _Development documentation: https://pip.pypa.io/en/latest/development
106
+ .. _Issue tracking: https://github.com/pypa/pip/issues
107
+ .. _Discourse channel: https://discuss.python.org/c/packaging
108
+ .. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa
109
+ .. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev
110
+ .. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
111
+
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/RECORD ADDED
@@ -0,0 +1,879 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ../../../bin/pip,sha256=MvKETmUGeoi_0-TT9qYZvQGfY6HadtDctusGe1nIlis,452
2
+ ../../../bin/pip3,sha256=MvKETmUGeoi_0-TT9qYZvQGfY6HadtDctusGe1nIlis,452
3
+ ../../../bin/pip3.14,sha256=MvKETmUGeoi_0-TT9qYZvQGfY6HadtDctusGe1nIlis,452
4
+ pip-26.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
5
+ pip-26.0.1.dist-info/METADATA,sha256=ZqIZuNGsG6l2gHiKlQjVQghFQhgSWfhEDHuCVPW3aN8,4675
6
+ pip-26.0.1.dist-info/RECORD,,
7
+ pip-26.0.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ pip-26.0.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
9
+ pip-26.0.1.dist-info/direct_url.json,sha256=_O_Uz3DTKmUItFu3Hr0AfvnehDtMBHFCGmqwW1MPbGQ,89
10
+ pip-26.0.1.dist-info/entry_points.txt,sha256=Vhf8s0IYgX37mtd4vGL73BPcxdKnqeCFPzB5-d30x8o,84
11
+ pip-26.0.1.dist-info/licenses/AUTHORS.txt,sha256=grSl9YDNOpOFFJTX8ZYKSdgfouXi_DzlRyYGE2-u5aI,11731
12
+ pip-26.0.1.dist-info/licenses/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
13
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt,sha256=hu7uh74qQ_P_H1ZJb0UfaSQ5JvAl_tuwM2ZsMExMFhs,558
14
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE,sha256=6TcW2mucDVpKHfYP5pWzcPBpVgPSH2-D8FPkLPwQyvc,989
15
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt,sha256=GrNuPipLqGMWJThPh-ngkdsfrtA0xbIzJbMjmr8sxSU,1099
16
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt,sha256=gI4QyKarjesUn_mz-xn0R6gICUYG1xKpylf-rTVSWZ0,14531
17
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
18
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md,sha256=t6M2q_OwThgOwGXN0W5wXQeeHMehT5EKpukYfza5zYc,1541
19
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/msgpack/COPYING,sha256=SS3tuoXaWHL3jmCRvNH-pHTWYNNay03ulkuKqz8AdCc,614
20
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197
21
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
22
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344
23
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023
24
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE,sha256=KeD9YukphQ6G6yjD_czwzv30-pSHkBHP-z0NS-1tTbY,1089
25
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/pygments/LICENSE,sha256=qdZvHVJt8C4p3Oc0NtNOVuhjL0bCdbvf_HBWnogvnxc,1331
26
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE,sha256=GyKwSbUmfW38I6Z79KhNjsBLn9-xpR02DkK0NCyLQVQ,1081
27
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/requests/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
28
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE,sha256=84j9OMrRMRLB3A9mm76A5_hFQe26-3LzAw0sp2QsPJ0,751
29
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/rich/LICENSE,sha256=3u18F6QxgVgZCj6iOcyHmlpQJxzruYrnAl9I--WNyhU,1056
30
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
31
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
32
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/truststore/LICENSE,sha256=M757fo-k_Rmxdg4ajtimaL2rhSyRtpLdQUJLy3Jan8o,1086
33
+ pip-26.0.1.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt,sha256=w3vxhuJ8-dvpYZ5V7f486nswCRzrPaY8fay-Dm13kHs,1115
34
+ pip/__init__.py,sha256=3EhKF2588Ab15tmBszgD3Bp0N26sJx7VhS2Akn_qY38,355
35
+ pip/__main__.py,sha256=WzbhHXTbSE6gBY19mNN9m4s5o_365LOvTYSgqgbdBhE,854
36
+ pip/__pip-runner__.py,sha256=JOoEZTwrtv7jRaXBkgSQKAE04yNyfFmGHxqpHiGHvL0,1450
37
+ pip/__pycache__/__init__.cpython-314.pyc,,
38
+ pip/__pycache__/__main__.cpython-314.pyc,,
39
+ pip/__pycache__/__pip-runner__.cpython-314.pyc,,
40
+ pip/_internal/__init__.py,sha256=S7i9Dn9aSZS0MG-2Wrve3dV9TImPzvQn5jjhp9t_uf0,511
41
+ pip/_internal/__pycache__/__init__.cpython-314.pyc,,
42
+ pip/_internal/__pycache__/build_env.cpython-314.pyc,,
43
+ pip/_internal/__pycache__/cache.cpython-314.pyc,,
44
+ pip/_internal/__pycache__/configuration.cpython-314.pyc,,
45
+ pip/_internal/__pycache__/exceptions.cpython-314.pyc,,
46
+ pip/_internal/__pycache__/main.cpython-314.pyc,,
47
+ pip/_internal/__pycache__/pyproject.cpython-314.pyc,,
48
+ pip/_internal/__pycache__/self_outdated_check.cpython-314.pyc,,
49
+ pip/_internal/__pycache__/wheel_builder.cpython-314.pyc,,
50
+ pip/_internal/build_env.py,sha256=XpgOIlTQLgz3PvDT2n7j2NzX_rVFZLCIG7t7b2ddhcM,21911
51
+ pip/_internal/cache.py,sha256=nMh48Yv3yu1HS1yCdscouu6B6B5zYBWdV6bhqs7gL-E,10345
52
+ pip/_internal/cli/__init__.py,sha256=Iqg_tKA771XuMO1P4t_sDHnSKPzkUb9D0DqunAmw_ko,131
53
+ pip/_internal/cli/__pycache__/__init__.cpython-314.pyc,,
54
+ pip/_internal/cli/__pycache__/autocompletion.cpython-314.pyc,,
55
+ pip/_internal/cli/__pycache__/base_command.cpython-314.pyc,,
56
+ pip/_internal/cli/__pycache__/cmdoptions.cpython-314.pyc,,
57
+ pip/_internal/cli/__pycache__/command_context.cpython-314.pyc,,
58
+ pip/_internal/cli/__pycache__/index_command.cpython-314.pyc,,
59
+ pip/_internal/cli/__pycache__/main.cpython-314.pyc,,
60
+ pip/_internal/cli/__pycache__/main_parser.cpython-314.pyc,,
61
+ pip/_internal/cli/__pycache__/parser.cpython-314.pyc,,
62
+ pip/_internal/cli/__pycache__/progress_bars.cpython-314.pyc,,
63
+ pip/_internal/cli/__pycache__/req_command.cpython-314.pyc,,
64
+ pip/_internal/cli/__pycache__/spinners.cpython-314.pyc,,
65
+ pip/_internal/cli/__pycache__/status_codes.cpython-314.pyc,,
66
+ pip/_internal/cli/autocompletion.py,sha256=ZG2cM03nlcNrs-WG_SFTW46isx9s2Go5lUD_8-iv70o,7193
67
+ pip/_internal/cli/base_command.py,sha256=6OW75PSGzkH8Fz761WZ3OSz1TsuO3-suc6iap-sQjTM,9168
68
+ pip/_internal/cli/cmdoptions.py,sha256=hfA9B29Nnq2vYMWhFVg7EcWjdlfdPBPU4WwWT2Lkq4A,36164
69
+ pip/_internal/cli/command_context.py,sha256=kmu3EWZbfBega1oDamnGJTA_UaejhIQNuMj2CVmMXu0,817
70
+ pip/_internal/cli/index_command.py,sha256=s3x75lpDXWJtCkBacTQ3qAAprldHMJCniEQ5qkQ0FiI,6484
71
+ pip/_internal/cli/main.py,sha256=ljDQBkvBtC8xTjOdb6rDJzJUNi1s-PnVR_W5C-Mq0Dk,3137
72
+ pip/_internal/cli/main_parser.py,sha256=YjzJAjqf78ARNsLlnJT9l6fNbpyDPJA-arOIXYsK5Ik,4403
73
+ pip/_internal/cli/parser.py,sha256=EIFExrWX_1nrl1Ib--GOor70WYqLtduHByenb1u9xH4,13827
74
+ pip/_internal/cli/progress_bars.py,sha256=IW1PH5n2FPqUBTP7ULQ5Yu-wyNNO9XGY3g1PT4RMu44,4706
75
+ pip/_internal/cli/req_command.py,sha256=QjDXId0hFdopwE8hNx2eustumxUNbnOCvG_ORmUC7vM,16482
76
+ pip/_internal/cli/spinners.py,sha256=EJzZIZNyUtJljp3-WjcsyIrqxW-HUsfWzhuW84n_Tqw,7362
77
+ pip/_internal/cli/status_codes.py,sha256=sEFHUaUJbqv8iArL3HAtcztWZmGOFX01hTesSytDEh0,116
78
+ pip/_internal/commands/__init__.py,sha256=aNeCbQurGWihfhQq7BqaLXHqWDQ0i3I04OS7kxK6plQ,4026
79
+ pip/_internal/commands/__pycache__/__init__.cpython-314.pyc,,
80
+ pip/_internal/commands/__pycache__/cache.cpython-314.pyc,,
81
+ pip/_internal/commands/__pycache__/check.cpython-314.pyc,,
82
+ pip/_internal/commands/__pycache__/completion.cpython-314.pyc,,
83
+ pip/_internal/commands/__pycache__/configuration.cpython-314.pyc,,
84
+ pip/_internal/commands/__pycache__/debug.cpython-314.pyc,,
85
+ pip/_internal/commands/__pycache__/download.cpython-314.pyc,,
86
+ pip/_internal/commands/__pycache__/freeze.cpython-314.pyc,,
87
+ pip/_internal/commands/__pycache__/hash.cpython-314.pyc,,
88
+ pip/_internal/commands/__pycache__/help.cpython-314.pyc,,
89
+ pip/_internal/commands/__pycache__/index.cpython-314.pyc,,
90
+ pip/_internal/commands/__pycache__/inspect.cpython-314.pyc,,
91
+ pip/_internal/commands/__pycache__/install.cpython-314.pyc,,
92
+ pip/_internal/commands/__pycache__/list.cpython-314.pyc,,
93
+ pip/_internal/commands/__pycache__/lock.cpython-314.pyc,,
94
+ pip/_internal/commands/__pycache__/search.cpython-314.pyc,,
95
+ pip/_internal/commands/__pycache__/show.cpython-314.pyc,,
96
+ pip/_internal/commands/__pycache__/uninstall.cpython-314.pyc,,
97
+ pip/_internal/commands/__pycache__/wheel.cpython-314.pyc,,
98
+ pip/_internal/commands/cache.py,sha256=XjT7kjY8GSISMksFHsLvjS9Ogfi5extNlUUv-dUoWCM,9142
99
+ pip/_internal/commands/check.py,sha256=hVFBQezQ3zj4EydoWbFQj_afPUppMt7r9JPAlY22U6Y,2244
100
+ pip/_internal/commands/completion.py,sha256=LjvRIZ6QUiDXJL3IOMFeD-_J97HfjMGgEk0j2tWGu1U,4565
101
+ pip/_internal/commands/configuration.py,sha256=6gNOGrVWnOLU15zUnAiNuOMhf76RRIZvCdVD0degPRk,10105
102
+ pip/_internal/commands/debug.py,sha256=_8IqM8Fx1_lY2STu_qspr63tufF7zyFJCyYAXtxz0N4,6805
103
+ pip/_internal/commands/download.py,sha256=LUNVobuvCdagjLBuPBaxHeBiHEiIe03fTO2m6ahC8qw,5178
104
+ pip/_internal/commands/freeze.py,sha256=fxoW8AAc-bAqB_fXdNq2VnZ3JfWkFMg-bR6LcdDVO7A,3099
105
+ pip/_internal/commands/hash.py,sha256=GO9pRN3wXC2kQaovK57TaLYBMc3IltOH92O6QEw6YE0,1679
106
+ pip/_internal/commands/help.py,sha256=Bz3LcjNQXkz4Cu__pL4CZ86o4-HNLZj1NZWdlJhjuu0,1108
107
+ pip/_internal/commands/index.py,sha256=kDpx2MO6ZxTt5PpeY4jqcssVbYhzxpkpreDe_6PPhks,5520
108
+ pip/_internal/commands/inspect.py,sha256=ogm4UT7LRo8bIQcWUS1IiA25QdD4VHLa7JaPAodDttM,3177
109
+ pip/_internal/commands/install.py,sha256=L6X1qi49ROVTGABhwwxDgBBTijlOpVn6XSDVZ7QW1Kc,30588
110
+ pip/_internal/commands/list.py,sha256=L5nWuwawqSrBNsuxfyHLAagfz7XJP86tC9nK3L9YiI8,13497
111
+ pip/_internal/commands/lock.py,sha256=145ihjUK_-7gP8O65XPDi_xMhlh5hne1ptkHdfnbAnQ,6027
112
+ pip/_internal/commands/search.py,sha256=zbMsX_YASj6kXA6XIBgTDv0bGK51xG-CV3IynZJcE-c,5782
113
+ pip/_internal/commands/show.py,sha256=oLVJIfKWmDKm0SsQGEi3pozNiqrXjTras_fbBSYKpBA,8066
114
+ pip/_internal/commands/uninstall.py,sha256=CsOihqvb6ZA6O67L70oXeoLHeOfNzMM88H9g-9aocgw,3868
115
+ pip/_internal/commands/wheel.py,sha256=L9vEzJ_E42scF_Hgh5X4Hk39nqJDKxGg4u7glDYbNWc,5880
116
+ pip/_internal/configuration.py,sha256=WxwwSwY_Bm6QzDgf32BsujEyO8dgRedegCpgbUfDvM8,14568
117
+ pip/_internal/distributions/__init__.py,sha256=Hq6kt6gXBgjNit5hTTWLAzeCNOKoB-N0pGYSqehrli8,858
118
+ pip/_internal/distributions/__pycache__/__init__.cpython-314.pyc,,
119
+ pip/_internal/distributions/__pycache__/base.cpython-314.pyc,,
120
+ pip/_internal/distributions/__pycache__/installed.cpython-314.pyc,,
121
+ pip/_internal/distributions/__pycache__/sdist.cpython-314.pyc,,
122
+ pip/_internal/distributions/__pycache__/wheel.cpython-314.pyc,,
123
+ pip/_internal/distributions/base.py,sha256=l-OTCAIs25lsapejA6IYpPZxSM5-BET4sdZDkql8jiY,1830
124
+ pip/_internal/distributions/installed.py,sha256=kgIEE_1NzjZxLBSC-v5s64uOFZlVEt3aPrjTtL6x2XY,929
125
+ pip/_internal/distributions/sdist.py,sha256=RYwQIbuxpKy6OjlBZCAefxpMDaoocUQ4dFtheGsiTOQ,6627
126
+ pip/_internal/distributions/wheel.py,sha256=_HbG0OehF8dwj4UX-xV__tXLwgPus9OjMEf2NTRqBbE,1364
127
+ pip/_internal/exceptions.py,sha256=JdPCrQ9iTLvE-GBebzBEeGP3hoTffWEKqbYEsa6cEZc,32165
128
+ pip/_internal/index/__init__.py,sha256=tzwMH_fhQeubwMqHdSivasg1cRgTSbNg2CiMVnzMmyU,29
129
+ pip/_internal/index/__pycache__/__init__.cpython-314.pyc,,
130
+ pip/_internal/index/__pycache__/collector.cpython-314.pyc,,
131
+ pip/_internal/index/__pycache__/package_finder.cpython-314.pyc,,
132
+ pip/_internal/index/__pycache__/sources.cpython-314.pyc,,
133
+ pip/_internal/index/collector.py,sha256=R7Gcx_4GEoSEI-iazfAZVEPG3Lp6mbZT4lbAD6NjAc0,16144
134
+ pip/_internal/index/package_finder.py,sha256=a3_L4FDNsuDf3y8Af9J7sfsHR1ahs8o13Ths-WYwFh0,41776
135
+ pip/_internal/index/sources.py,sha256=nXJkOjhLy-O2FsrKU9RIqCOqgY2PsoKWybtZjjRgqU0,8639
136
+ pip/_internal/locations/__init__.py,sha256=Sd67ap1LIemvXArUDFqm8U-HuZvj9i3ApEuiIwUc9UE,14157
137
+ pip/_internal/locations/__pycache__/__init__.cpython-314.pyc,,
138
+ pip/_internal/locations/__pycache__/_distutils.cpython-314.pyc,,
139
+ pip/_internal/locations/__pycache__/_sysconfig.cpython-314.pyc,,
140
+ pip/_internal/locations/__pycache__/base.cpython-314.pyc,,
141
+ pip/_internal/locations/_distutils.py,sha256=jpFj4V00rD9IR3vA9TqrGkwcdNVFc58LsChZavge9JY,5975
142
+ pip/_internal/locations/_sysconfig.py,sha256=8CpTjtxaCzHSCrKpaxWnHE7aKcJrRJRmntR1ZLVysLk,7779
143
+ pip/_internal/locations/base.py,sha256=AImjYJWxOtDkc0KKc6Y4Gz677cg91caMA4L94B9FZEg,2550
144
+ pip/_internal/main.py,sha256=1cHqjsfFCrMFf3B5twzocxTJUdHMLoXUpy5lJoFqUi8,338
145
+ pip/_internal/metadata/__init__.py,sha256=vp-JAxiWg_-l5F8AT0Jcey72uUnh8CDwwol9-KktHZ8,5824
146
+ pip/_internal/metadata/__pycache__/__init__.cpython-314.pyc,,
147
+ pip/_internal/metadata/__pycache__/_json.cpython-314.pyc,,
148
+ pip/_internal/metadata/__pycache__/base.cpython-314.pyc,,
149
+ pip/_internal/metadata/__pycache__/pkg_resources.cpython-314.pyc,,
150
+ pip/_internal/metadata/_json.py,sha256=hNvnMHOXLAyNlzirWhPL9Nx2CvCqa1iRma6Osq1YfV8,2711
151
+ pip/_internal/metadata/base.py,sha256=BGuMenlcQT8i7j9iclrfdC3vSwgvhr8gjn955cCy16s,25420
152
+ pip/_internal/metadata/importlib/__init__.py,sha256=jUUidoxnHcfITHHaAWG1G2i5fdBYklv_uJcjo2x7VYE,135
153
+ pip/_internal/metadata/importlib/__pycache__/__init__.cpython-314.pyc,,
154
+ pip/_internal/metadata/importlib/__pycache__/_compat.cpython-314.pyc,,
155
+ pip/_internal/metadata/importlib/__pycache__/_dists.cpython-314.pyc,,
156
+ pip/_internal/metadata/importlib/__pycache__/_envs.cpython-314.pyc,,
157
+ pip/_internal/metadata/importlib/_compat.py,sha256=sneVh4_6WxQZK4ljdl3ylVuP-q0ttSqbgl9mWt0HnOg,2804
158
+ pip/_internal/metadata/importlib/_dists.py,sha256=znZD7MN4RC73-87KXAn6tKZv9lAQRI0AxxK2bubDvPw,8420
159
+ pip/_internal/metadata/importlib/_envs.py,sha256=H3qVLXVh4LWvrPvu_ekXf3dfbtwnlhNJQP2pxXpccfU,5333
160
+ pip/_internal/metadata/pkg_resources.py,sha256=NO76ZrfR2-LKJTyaXrmQoGhmJMArALvacrlZHViSDT8,10544
161
+ pip/_internal/models/__init__.py,sha256=AjmCEBxX_MH9f_jVjIGNCFJKYCYeSEe18yyvNx4uRKQ,62
162
+ pip/_internal/models/__pycache__/__init__.cpython-314.pyc,,
163
+ pip/_internal/models/__pycache__/candidate.cpython-314.pyc,,
164
+ pip/_internal/models/__pycache__/direct_url.cpython-314.pyc,,
165
+ pip/_internal/models/__pycache__/format_control.cpython-314.pyc,,
166
+ pip/_internal/models/__pycache__/index.cpython-314.pyc,,
167
+ pip/_internal/models/__pycache__/installation_report.cpython-314.pyc,,
168
+ pip/_internal/models/__pycache__/link.cpython-314.pyc,,
169
+ pip/_internal/models/__pycache__/release_control.cpython-314.pyc,,
170
+ pip/_internal/models/__pycache__/scheme.cpython-314.pyc,,
171
+ pip/_internal/models/__pycache__/search_scope.cpython-314.pyc,,
172
+ pip/_internal/models/__pycache__/selection_prefs.cpython-314.pyc,,
173
+ pip/_internal/models/__pycache__/target_python.cpython-314.pyc,,
174
+ pip/_internal/models/__pycache__/wheel.cpython-314.pyc,,
175
+ pip/_internal/models/candidate.py,sha256=zzgFRuw_kWPjKpGw7LC0ZUMD2CQ2EberUIYs8izjdCA,753
176
+ pip/_internal/models/direct_url.py,sha256=4NMWacu_QzPPWREC1te7v6Wfv-2HkI4tvSJF-CBgLh4,6555
177
+ pip/_internal/models/format_control.py,sha256=PwemYG1L27BM0f1KP61rm24wShENFyxqlD1TWu34alc,2471
178
+ pip/_internal/models/index.py,sha256=tYnL8oxGi4aSNWur0mG8DAP7rC6yuha_MwJO8xw0crI,1030
179
+ pip/_internal/models/installation_report.py,sha256=cqfWJ93ThCxjcacqSWryOCD2XtIn1CZrgzZxAv5FQZ0,2839
180
+ pip/_internal/models/link.py,sha256=zti5UCx1hT03etYqm6MCqFd714clmTgX8rTZT9CKZDQ,21992
181
+ pip/_internal/models/release_control.py,sha256=XD14Hy_XLh9xWR1p7JHqPZPEv3Nnb1BZGMpClk76sLs,3403
182
+ pip/_internal/models/scheme.py,sha256=PakmHJM3e8OOWSZFtfz1Az7f1meONJnkGuQxFlt3wBE,575
183
+ pip/_internal/models/search_scope.py,sha256=1hxU2IVsAaLZVjp0CbzJbYaYzCxv72_Qbg3JL0qhXo0,4507
184
+ pip/_internal/models/selection_prefs.py,sha256=IDOA3euRtyqWUyIK7lX2bzIZasYiEvunKA6H3Mngk-M,2221
185
+ pip/_internal/models/target_python.py,sha256=I0eFS-eia3kwhrOvgsphFZtNAB2IwXZ9Sr9fp6IjBP4,4243
186
+ pip/_internal/models/wheel.py,sha256=1SdfDvN7ALTsbyZ9EOsNy1GPirP1n6EjHyzPrZyLSh8,2920
187
+ pip/_internal/network/__init__.py,sha256=FMy06P__y6jMjUc8z3ZcQdKF-pmZ2zM14_vBeHPGhUI,49
188
+ pip/_internal/network/__pycache__/__init__.cpython-314.pyc,,
189
+ pip/_internal/network/__pycache__/auth.cpython-314.pyc,,
190
+ pip/_internal/network/__pycache__/cache.cpython-314.pyc,,
191
+ pip/_internal/network/__pycache__/download.cpython-314.pyc,,
192
+ pip/_internal/network/__pycache__/lazy_wheel.cpython-314.pyc,,
193
+ pip/_internal/network/__pycache__/session.cpython-314.pyc,,
194
+ pip/_internal/network/__pycache__/utils.cpython-314.pyc,,
195
+ pip/_internal/network/__pycache__/xmlrpc.cpython-314.pyc,,
196
+ pip/_internal/network/auth.py,sha256=azFp14I9cyWAAzkxF2VM0Q_xtHnbNz3_NQXszy87KQo,20806
197
+ pip/_internal/network/cache.py,sha256=kmRXKQrG9E26xQRj211LHeEGpDg_SlYU9Dn1fJ-AMeI,4862
198
+ pip/_internal/network/download.py,sha256=8sVwIc9MWwpGlMPYCkO1S9U-FD8TA2utw42tj00skjM,12667
199
+ pip/_internal/network/lazy_wheel.py,sha256=y9gVksdJCSjnLfYzs_m3DYUAtl3hc_k-xFPDBd9DgOs,7646
200
+ pip/_internal/network/session.py,sha256=7zK7EeQCSRFipu4ZzcWl1V3AMKkiXdtGqFr7GvU2LrY,19555
201
+ pip/_internal/network/utils.py,sha256=ACsXd1msqNCidHVXsu7LHUSr8NgaypcOKQ4KG-Z_wJM,4091
202
+ pip/_internal/network/xmlrpc.py,sha256=_-Rnk3vOff8uF9hAGmT6SLALflY1gMBcbGwS12fb_Y4,1830
203
+ pip/_internal/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
204
+ pip/_internal/operations/__pycache__/__init__.cpython-314.pyc,,
205
+ pip/_internal/operations/__pycache__/check.cpython-314.pyc,,
206
+ pip/_internal/operations/__pycache__/freeze.cpython-314.pyc,,
207
+ pip/_internal/operations/__pycache__/prepare.cpython-314.pyc,,
208
+ pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
209
+ pip/_internal/operations/build/__pycache__/__init__.cpython-314.pyc,,
210
+ pip/_internal/operations/build/__pycache__/build_tracker.cpython-314.pyc,,
211
+ pip/_internal/operations/build/__pycache__/metadata.cpython-314.pyc,,
212
+ pip/_internal/operations/build/__pycache__/metadata_editable.cpython-314.pyc,,
213
+ pip/_internal/operations/build/__pycache__/wheel.cpython-314.pyc,,
214
+ pip/_internal/operations/build/__pycache__/wheel_editable.cpython-314.pyc,,
215
+ pip/_internal/operations/build/build_tracker.py,sha256=W3b5cmkMWPaE6QIwfzsTayJo7-OlxFHWDxfPuax1KcE,4771
216
+ pip/_internal/operations/build/metadata.py,sha256=INHaeiRfOiLYCXApfDNRo9Cw2xI4VwTc0KItvfdfOjk,1421
217
+ pip/_internal/operations/build/metadata_editable.py,sha256=oWudMsnjy4loO_Jy7g4N9nxsnaEX_iDlVRgCy7pu1rs,1509
218
+ pip/_internal/operations/build/wheel.py,sha256=3bP-nNiJ4S8JvMaBnyessXQUBhxTqt1GBx6DQ1iPJDY,1136
219
+ pip/_internal/operations/build/wheel_editable.py,sha256=q3kfElclM6FutVbFwE87JOTpVWt5ixDf3_UkHAIVfz4,1478
220
+ pip/_internal/operations/check.py,sha256=yC2XWth6iehGGE_fj7XRJLjVKBsTIG3ZoWRkFi3rOwc,5894
221
+ pip/_internal/operations/freeze.py,sha256=PDdY-y_ZtZZJLAKcaWPIGRKAGW7DXR48f0aMRU0j7BA,9854
222
+ pip/_internal/operations/install/__init__.py,sha256=ak-UETcQPKlFZaWoYKWu5QVXbpFBvg0sXc3i0O4vSYY,50
223
+ pip/_internal/operations/install/__pycache__/__init__.cpython-314.pyc,,
224
+ pip/_internal/operations/install/__pycache__/wheel.cpython-314.pyc,,
225
+ pip/_internal/operations/install/wheel.py,sha256=FQIl2AnNadHV5YGGOVEmOHtUUNO8lpzj3Icoo4S2xis,27923
226
+ pip/_internal/operations/prepare.py,sha256=ptVsmQf0Mo6jirk1Q5Djdse_wJw5Zdh1Fla2iL9HAJM,28830
227
+ pip/_internal/pyproject.py,sha256=J-sTWqC-XfsKQgz9m1bypMWZPHItsSHzIN_NWeIRmhM,4555
228
+ pip/_internal/req/__init__.py,sha256=WcY9z7D3rlIKX1QY8_tRnAsS_poebiGGdtQ7EJ5JQQo,3041
229
+ pip/_internal/req/__pycache__/__init__.cpython-314.pyc,,
230
+ pip/_internal/req/__pycache__/constructors.cpython-314.pyc,,
231
+ pip/_internal/req/__pycache__/pep723.cpython-314.pyc,,
232
+ pip/_internal/req/__pycache__/req_dependency_group.cpython-314.pyc,,
233
+ pip/_internal/req/__pycache__/req_file.cpython-314.pyc,,
234
+ pip/_internal/req/__pycache__/req_install.cpython-314.pyc,,
235
+ pip/_internal/req/__pycache__/req_set.cpython-314.pyc,,
236
+ pip/_internal/req/__pycache__/req_uninstall.cpython-314.pyc,,
237
+ pip/_internal/req/constructors.py,sha256=R-6n8irjnaa2DMMXlR4YMouXzykFBlzUFjhOZ1NcUUg,18688
238
+ pip/_internal/req/pep723.py,sha256=olZL3tLmHWJhyLNfbD6U9UuikuzTcLDB06qd9WavTjs,1225
239
+ pip/_internal/req/req_dependency_group.py,sha256=0yEQCUaO5Bza66Y3D5o9JRf0qII5QgCRugn1x5aRivA,2618
240
+ pip/_internal/req/req_file.py,sha256=e32ZQ3kJaL_Sdtf32twGKqIau_AqR43MeSycl0iS2Mw,20685
241
+ pip/_internal/req/req_install.py,sha256=vv5cbs3P5gf43e_1v72gwSQ2N_D_qpsfuXOyerMhDuI,31273
242
+ pip/_internal/req/req_set.py,sha256=awkqIXnYA4Prmsj0Qb3zhqdbYUmXd-1o0P-KZ3mvRQs,2828
243
+ pip/_internal/req/req_uninstall.py,sha256=dCmOHt-9RaJBq921L4tMH3PmIBDetGplnbjRKXmGt00,24099
244
+ pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
245
+ pip/_internal/resolution/__pycache__/__init__.cpython-314.pyc,,
246
+ pip/_internal/resolution/__pycache__/base.cpython-314.pyc,,
247
+ pip/_internal/resolution/base.py,sha256=RIsqSP79olPdOgtPKW-oOQ364ICVopehA6RfGkRfe2s,577
248
+ pip/_internal/resolution/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
249
+ pip/_internal/resolution/legacy/__pycache__/__init__.cpython-314.pyc,,
250
+ pip/_internal/resolution/legacy/__pycache__/resolver.cpython-314.pyc,,
251
+ pip/_internal/resolution/legacy/resolver.py,sha256=bwUqE66etz2bcPabqxed18-iyqqb-kx3Er2aT6GeUJY,24060
252
+ pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
253
+ pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-314.pyc,,
254
+ pip/_internal/resolution/resolvelib/__pycache__/base.cpython-314.pyc,,
255
+ pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-314.pyc,,
256
+ pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-314.pyc,,
257
+ pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-314.pyc,,
258
+ pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-314.pyc,,
259
+ pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-314.pyc,,
260
+ pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-314.pyc,,
261
+ pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-314.pyc,,
262
+ pip/_internal/resolution/resolvelib/base.py,sha256=_AoP0ZWlaSct8CRDn2ol3CbNn4zDtnh_0zQGjXASDKI,5047
263
+ pip/_internal/resolution/resolvelib/candidates.py,sha256=50AN7BfB-pCfEmbKNlFZSXtdC0C8ms1waJrF2arknQE,20454
264
+ pip/_internal/resolution/resolvelib/factory.py,sha256=82mLwnPlig37mMrDwcgKHJTE9mPczVuJIxeaUb7CQ0Y,34028
265
+ pip/_internal/resolution/resolvelib/found_candidates.py,sha256=8bZYDCZLXSdLHy_s1o5f4r15HmKvqFUhzBUQOF21Lr4,6018
266
+ pip/_internal/resolution/resolvelib/provider.py,sha256=tbVPfFv4Vg780yZ2_XGoGFP5LVo0U2bFnZov3jpSAIk,11441
267
+ pip/_internal/resolution/resolvelib/reporter.py,sha256=faSgjqme0k_uzv1fvM5T0ZatPQ2eEktNvKBqfvXeGjc,3909
268
+ pip/_internal/resolution/resolvelib/requirements.py,sha256=Izl9n8nc188lA1BSPS8QxfudfDQPHgngw-ij6hXt0nQ,8239
269
+ pip/_internal/resolution/resolvelib/resolver.py,sha256=wQ94Hkep-7kWEHAc-NbMJhmzeEzgEAtxeBxyKVzZoeo,13437
270
+ pip/_internal/self_outdated_check.py,sha256=zDKsyLMufFHuEZY16WRu129FBbBp-ADuxyWMIN4ihPE,8284
271
+ pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
272
+ pip/_internal/utils/__pycache__/__init__.cpython-314.pyc,,
273
+ pip/_internal/utils/__pycache__/_jaraco_text.cpython-314.pyc,,
274
+ pip/_internal/utils/__pycache__/_log.cpython-314.pyc,,
275
+ pip/_internal/utils/__pycache__/appdirs.cpython-314.pyc,,
276
+ pip/_internal/utils/__pycache__/compat.cpython-314.pyc,,
277
+ pip/_internal/utils/__pycache__/compatibility_tags.cpython-314.pyc,,
278
+ pip/_internal/utils/__pycache__/datetime.cpython-314.pyc,,
279
+ pip/_internal/utils/__pycache__/deprecation.cpython-314.pyc,,
280
+ pip/_internal/utils/__pycache__/direct_url_helpers.cpython-314.pyc,,
281
+ pip/_internal/utils/__pycache__/egg_link.cpython-314.pyc,,
282
+ pip/_internal/utils/__pycache__/entrypoints.cpython-314.pyc,,
283
+ pip/_internal/utils/__pycache__/filesystem.cpython-314.pyc,,
284
+ pip/_internal/utils/__pycache__/filetypes.cpython-314.pyc,,
285
+ pip/_internal/utils/__pycache__/glibc.cpython-314.pyc,,
286
+ pip/_internal/utils/__pycache__/hashes.cpython-314.pyc,,
287
+ pip/_internal/utils/__pycache__/logging.cpython-314.pyc,,
288
+ pip/_internal/utils/__pycache__/misc.cpython-314.pyc,,
289
+ pip/_internal/utils/__pycache__/packaging.cpython-314.pyc,,
290
+ pip/_internal/utils/__pycache__/pylock.cpython-314.pyc,,
291
+ pip/_internal/utils/__pycache__/retry.cpython-314.pyc,,
292
+ pip/_internal/utils/__pycache__/subprocess.cpython-314.pyc,,
293
+ pip/_internal/utils/__pycache__/temp_dir.cpython-314.pyc,,
294
+ pip/_internal/utils/__pycache__/unpacking.cpython-314.pyc,,
295
+ pip/_internal/utils/__pycache__/urls.cpython-314.pyc,,
296
+ pip/_internal/utils/__pycache__/virtualenv.cpython-314.pyc,,
297
+ pip/_internal/utils/__pycache__/wheel.cpython-314.pyc,,
298
+ pip/_internal/utils/_jaraco_text.py,sha256=M15uUPIh5NpP1tdUGBxRau6q1ZAEtI8-XyLEETscFfE,3350
299
+ pip/_internal/utils/_log.py,sha256=-jHLOE_THaZz5BFcCnoSL9EYAtJ0nXem49s9of4jvKw,1015
300
+ pip/_internal/utils/appdirs.py,sha256=LrzDPZMKVh0rubtCx9vu3XlZbLCSug6VSj4Qsvt66BA,1681
301
+ pip/_internal/utils/compat.py,sha256=C9LHXJAKkwAH8Hn3nPkz9EYK3rqPBeO_IXkOG2zzsdQ,2514
302
+ pip/_internal/utils/compatibility_tags.py,sha256=DiNSLqpuruXUamGQwOJ2WZByDGLTGaXi9O-Xf8fOi34,6630
303
+ pip/_internal/utils/datetime.py,sha256=kuJOf1mW8G5tRFN6jWardddS-9qSaR53lK1jmx3NTZY,868
304
+ pip/_internal/utils/deprecation.py,sha256=HVhvyO5qiRFcG88PhZlp_87qdKQNwPTUIIHWtsTR2yI,3696
305
+ pip/_internal/utils/direct_url_helpers.py,sha256=ttKv4GMUqlRwPPog9_CUopy6SDgoxVILzeBJzgfn2tg,3200
306
+ pip/_internal/utils/egg_link.py,sha256=YWfsrbmfcrfWgqQYy6OuIjsyb9IfL1q_2v4zsms1WjI,2459
307
+ pip/_internal/utils/entrypoints.py,sha256=uPjAyShKObdotjQjJUzprQ6r3xQvDIZwUYfHHqZ7Dok,3324
308
+ pip/_internal/utils/filesystem.py,sha256=mJ_PP8z1V1x4HMhydWIWDyEmWikLX0f-NXPCXEcjiLo,6892
309
+ pip/_internal/utils/filetypes.py,sha256=sEMa38qaqjvx1Zid3OCAUja31BOBU-USuSMPBvU3yjo,689
310
+ pip/_internal/utils/glibc.py,sha256=sEh8RJJLYSdRvTqAO4THVPPA-YSDVLD4SI9So-bxX1U,3726
311
+ pip/_internal/utils/hashes.py,sha256=d32UI1en8nyqZzdZQvxUVdfeBoe4ADWx7HtrIM4-XQ4,4998
312
+ pip/_internal/utils/logging.py,sha256=6lJWMC6c7_aD_i4sdgaaeb-Tm3kWpYg0hba_V1-OLnE,13414
313
+ pip/_internal/utils/misc.py,sha256=phFIbHm2kmliHDXJ0eNPxgGP423ZpvZoMKKtJ1_Zvjs,23722
314
+ pip/_internal/utils/packaging.py,sha256=s5tpUmFumwV0H9JSTzryrIY4JwQM8paGt7Sm7eNwt2Y,1601
315
+ pip/_internal/utils/pylock.py,sha256=nKQknZgyswWgzi--hRQX_DLUYQ3g5wGTCwVNQNdoJ54,3817
316
+ pip/_internal/utils/retry.py,sha256=83wReEB2rcntMZ5VLd7ascaYSjn_kLdlQCqxILxWkPM,1461
317
+ pip/_internal/utils/subprocess.py,sha256=r4-Ba_Yc3uZXQpi0K4pZFsCT_QqdSvtF3XJ-204QWaA,8983
318
+ pip/_internal/utils/temp_dir.py,sha256=D9c8D7WOProOO8GGDqpBeVSj10NGFmunG0o2TodjjIU,9307
319
+ pip/_internal/utils/unpacking.py,sha256=4hNg6dqHOn_KzGCzSC76nChG97d_UjtF9AnLSof672o,12972
320
+ pip/_internal/utils/urls.py,sha256=aF_eg9ul5d8bMCxfSSSxQcfs-OpJdbStYqZHoy2K1RE,1601
321
+ pip/_internal/utils/virtualenv.py,sha256=mX-UPyw1MPxhwUxKhbqWWX70J6PHXAJjVVrRnG0h9mc,3455
322
+ pip/_internal/utils/wheel.py,sha256=YdRuj6MicG-Q9Mg03FbUv1WTLam6Lc7AgijY4voVyis,4468
323
+ pip/_internal/vcs/__init__.py,sha256=UAqvzpbi0VbZo3Ub6skEeZAw-ooIZR-zX_WpCbxyCoU,596
324
+ pip/_internal/vcs/__pycache__/__init__.cpython-314.pyc,,
325
+ pip/_internal/vcs/__pycache__/bazaar.cpython-314.pyc,,
326
+ pip/_internal/vcs/__pycache__/git.cpython-314.pyc,,
327
+ pip/_internal/vcs/__pycache__/mercurial.cpython-314.pyc,,
328
+ pip/_internal/vcs/__pycache__/subversion.cpython-314.pyc,,
329
+ pip/_internal/vcs/__pycache__/versioncontrol.cpython-314.pyc,,
330
+ pip/_internal/vcs/bazaar.py,sha256=3W1eHjkYx2vc6boeb2NBh4I_rlGAXM-vrzfNhLm1Rxg,3734
331
+ pip/_internal/vcs/git.py,sha256=TTeqDuzS-_BFSNuUStVWmE2nGDpKuvUhBBJk_CCQXV0,19144
332
+ pip/_internal/vcs/mercurial.py,sha256=w1ZJWLKqNP1onEjkfjlwBVnMqPZNSIER8ayjQcnTq4w,5575
333
+ pip/_internal/vcs/subversion.py,sha256=uUgdPvxmvEB8Qwtjr0Hc0XgFjbiNi5cbvI4vARLOJXo,11787
334
+ pip/_internal/vcs/versioncontrol.py,sha256=Ma_HMZBVveSkeYvxacvqeujnkSIaF1XjxTsS3BwcJ8E,22599
335
+ pip/_internal/wheel_builder.py,sha256=yvEULStZtty9Kplp89tDis3hGdyKQ-2BUbFLmJ_5ink,9010
336
+ pip/_vendor/README.rst,sha256=pKKBwCWhu3M3qQ9dDnsmxb3KdsRr-nWmMq2srbH_Bi0,9394
337
+ pip/_vendor/__init__.py,sha256=WzusPTGWIMeQQWSVJ0h2rafGkVTa9WKJ2HT-2-EoZrU,4907
338
+ pip/_vendor/__pycache__/__init__.cpython-314.pyc,,
339
+ pip/_vendor/cachecontrol/LICENSE.txt,sha256=hu7uh74qQ_P_H1ZJb0UfaSQ5JvAl_tuwM2ZsMExMFhs,558
340
+ pip/_vendor/cachecontrol/__init__.py,sha256=GxwRkm_TQBtPZpfpVK9r6S9dAy2DVnVgDVHJKTiPZ1k,820
341
+ pip/_vendor/cachecontrol/__pycache__/__init__.cpython-314.pyc,,
342
+ pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-314.pyc,,
343
+ pip/_vendor/cachecontrol/__pycache__/adapter.cpython-314.pyc,,
344
+ pip/_vendor/cachecontrol/__pycache__/cache.cpython-314.pyc,,
345
+ pip/_vendor/cachecontrol/__pycache__/controller.cpython-314.pyc,,
346
+ pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-314.pyc,,
347
+ pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-314.pyc,,
348
+ pip/_vendor/cachecontrol/__pycache__/serialize.cpython-314.pyc,,
349
+ pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-314.pyc,,
350
+ pip/_vendor/cachecontrol/_cmd.py,sha256=iist2EpzJvDVIhMAxXq8iFnTBsiZAd6iplxfmNboNyk,1737
351
+ pip/_vendor/cachecontrol/adapter.py,sha256=W-HW-l01gyCsnxkOyCbqx7sxrWYoBbKrDsKkVVQN6NE,6586
352
+ pip/_vendor/cachecontrol/cache.py,sha256=OXwv7Fn2AwnKNiahJHnjtvaKLndvVLv_-zO-ltlV9qI,1953
353
+ pip/_vendor/cachecontrol/caches/__init__.py,sha256=dtrrroK5BnADR1GWjCZ19aZ0tFsMfvFBtLQQU1sp_ag,303
354
+ pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-314.pyc,,
355
+ pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-314.pyc,,
356
+ pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-314.pyc,,
357
+ pip/_vendor/cachecontrol/caches/file_cache.py,sha256=d8upFmy_zwaCmlbWEVBlLXFddt8Zw8c5SFpxeOZsdfw,4117
358
+ pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=9rmqwtYu_ljVkW6_oLqbC7EaX_a8YT_yLuna-eS0dgo,1386
359
+ pip/_vendor/cachecontrol/controller.py,sha256=xBauC-vUSu5GsJsxD4-W-JaKqqbBz0MN6Zv8PA2N8hI,19102
360
+ pip/_vendor/cachecontrol/filewrapper.py,sha256=DhxC_rSk-beKdbsYhfvBUDovQHX9r3gHH_jP9-q_mKk,4354
361
+ pip/_vendor/cachecontrol/heuristics.py,sha256=gqMXU8w0gQuEQiSdu3Yg-0vd9kW7nrWKbLca75rheGE,4881
362
+ pip/_vendor/cachecontrol/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
363
+ pip/_vendor/cachecontrol/serialize.py,sha256=HQd2IllQ05HzPkVLMXTF2uX5mjEQjDBkxCqUJUODpZk,5163
364
+ pip/_vendor/cachecontrol/wrapper.py,sha256=hsGc7g8QGQTT-4f8tgz3AM5qwScg6FO0BSdLSRdEvpU,1417
365
+ pip/_vendor/certifi/LICENSE,sha256=6TcW2mucDVpKHfYP5pWzcPBpVgPSH2-D8FPkLPwQyvc,989
366
+ pip/_vendor/certifi/__init__.py,sha256=969deMMS7Uchipr0oO4dbRBUvRi0uNYCn07VmG1aTrg,94
367
+ pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255
368
+ pip/_vendor/certifi/__pycache__/__init__.cpython-314.pyc,,
369
+ pip/_vendor/certifi/__pycache__/__main__.cpython-314.pyc,,
370
+ pip/_vendor/certifi/__pycache__/core.cpython-314.pyc,,
371
+ pip/_vendor/certifi/cacert.pem,sha256=Tzl1_zCrvzVEO0hgZK6Ly0Hf9wf_31dsdtKS-0WKoKk,270954
372
+ pip/_vendor/certifi/core.py,sha256=gu_ECVI1m3Rq0ytpsNE61hgQGcKaOAt9Rs9G8KsTCOI,3442
373
+ pip/_vendor/certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
374
+ pip/_vendor/dependency_groups/LICENSE.txt,sha256=GrNuPipLqGMWJThPh-ngkdsfrtA0xbIzJbMjmr8sxSU,1099
375
+ pip/_vendor/dependency_groups/__init__.py,sha256=C3OFu0NGwDzQ4LOmmSOFPsRSvkbBn-mdd4j_5YqJw-s,250
376
+ pip/_vendor/dependency_groups/__main__.py,sha256=UNTM7P5mfVtT7wDi9kOTXWgV3fu3e8bTrt1Qp1jvjKo,1709
377
+ pip/_vendor/dependency_groups/__pycache__/__init__.cpython-314.pyc,,
378
+ pip/_vendor/dependency_groups/__pycache__/__main__.cpython-314.pyc,,
379
+ pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-314.pyc,,
380
+ pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-314.pyc,,
381
+ pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-314.pyc,,
382
+ pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-314.pyc,,
383
+ pip/_vendor/dependency_groups/_implementation.py,sha256=Gqb2DlQELRakeHlKf6QtQSW0M-bcEomxHw4JsvID1ls,8041
384
+ pip/_vendor/dependency_groups/_lint_dependency_groups.py,sha256=yp-DDqKXtbkDTNa0ifa-FmOA8ra24lPZEXftW-R5AuI,1710
385
+ pip/_vendor/dependency_groups/_pip_wrapper.py,sha256=nuVW_w_ntVxpE26ELEvngMY0N04sFLsijXRyZZROFG8,1865
386
+ pip/_vendor/dependency_groups/_toml_compat.py,sha256=BHnXnFacm3DeolsA35GjI6qkDApvua-1F20kv3BfZWE,285
387
+ pip/_vendor/dependency_groups/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
388
+ pip/_vendor/distlib/LICENSE.txt,sha256=gI4QyKarjesUn_mz-xn0R6gICUYG1xKpylf-rTVSWZ0,14531
389
+ pip/_vendor/distlib/__init__.py,sha256=Deo3uo98aUyIfdKJNqofeSEFWwDzrV2QeGLXLsgq0Ag,625
390
+ pip/_vendor/distlib/__pycache__/__init__.cpython-314.pyc,,
391
+ pip/_vendor/distlib/__pycache__/compat.cpython-314.pyc,,
392
+ pip/_vendor/distlib/__pycache__/resources.cpython-314.pyc,,
393
+ pip/_vendor/distlib/__pycache__/scripts.cpython-314.pyc,,
394
+ pip/_vendor/distlib/__pycache__/util.cpython-314.pyc,,
395
+ pip/_vendor/distlib/compat.py,sha256=2jRSjRI4o-vlXeTK2BCGIUhkc6e9ZGhSsacRM5oseTw,41467
396
+ pip/_vendor/distlib/resources.py,sha256=LwbPksc0A1JMbi6XnuPdMBUn83X7BPuFNWqPGEKI698,10820
397
+ pip/_vendor/distlib/scripts.py,sha256=Qvp76E9Jc3IgyYubnpqI9fS7eseGOe4FjpeVKqKt9Iw,18612
398
+ pip/_vendor/distlib/t32.exe,sha256=a0GV5kCoWsMutvliiCKmIgV98eRZ33wXoS-XrqvJQVs,97792
399
+ pip/_vendor/distlib/t64-arm.exe,sha256=68TAa32V504xVBnufojh0PcenpR3U4wAqTqf-MZqbPw,182784
400
+ pip/_vendor/distlib/t64.exe,sha256=gaYY8hy4fbkHYTTnA4i26ct8IQZzkBG2pRdy0iyuBrc,108032
401
+ pip/_vendor/distlib/util.py,sha256=vMPGvsS4j9hF6Y9k3Tyom1aaHLb0rFmZAEyzeAdel9w,66682
402
+ pip/_vendor/distlib/w32.exe,sha256=R4csx3-OGM9kL4aPIzQKRo5TfmRSHZo6QWyLhDhNBks,91648
403
+ pip/_vendor/distlib/w64-arm.exe,sha256=xdyYhKj0WDcVUOCb05blQYvzdYIKMbmJn2SZvzkcey4,168448
404
+ pip/_vendor/distlib/w64.exe,sha256=ejGf-rojoBfXseGLpya6bFTFPWRG21X5KvU8J5iU-K0,101888
405
+ pip/_vendor/distro/LICENSE,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
406
+ pip/_vendor/distro/__init__.py,sha256=2fHjF-SfgPvjyNZ1iHh_wjqWdR_Yo5ODHwZC0jLBPhc,981
407
+ pip/_vendor/distro/__main__.py,sha256=bu9d3TifoKciZFcqRBuygV3GSuThnVD_m2IK4cz96Vs,64
408
+ pip/_vendor/distro/__pycache__/__init__.cpython-314.pyc,,
409
+ pip/_vendor/distro/__pycache__/__main__.cpython-314.pyc,,
410
+ pip/_vendor/distro/__pycache__/distro.cpython-314.pyc,,
411
+ pip/_vendor/distro/distro.py,sha256=XqbefacAhDT4zr_trnbA15eY8vdK4GTghgmvUGrEM_4,49430
412
+ pip/_vendor/distro/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
413
+ pip/_vendor/idna/LICENSE.md,sha256=t6M2q_OwThgOwGXN0W5wXQeeHMehT5EKpukYfza5zYc,1541
414
+ pip/_vendor/idna/__init__.py,sha256=MPqNDLZbXqGaNdXxAFhiqFPKEQXju2jNQhCey6-5eJM,868
415
+ pip/_vendor/idna/__pycache__/__init__.cpython-314.pyc,,
416
+ pip/_vendor/idna/__pycache__/codec.cpython-314.pyc,,
417
+ pip/_vendor/idna/__pycache__/compat.cpython-314.pyc,,
418
+ pip/_vendor/idna/__pycache__/core.cpython-314.pyc,,
419
+ pip/_vendor/idna/__pycache__/idnadata.cpython-314.pyc,,
420
+ pip/_vendor/idna/__pycache__/intranges.cpython-314.pyc,,
421
+ pip/_vendor/idna/__pycache__/package_data.cpython-314.pyc,,
422
+ pip/_vendor/idna/__pycache__/uts46data.cpython-314.pyc,,
423
+ pip/_vendor/idna/codec.py,sha256=M2SGWN7cs_6B32QmKTyTN6xQGZeYQgQ2wiX3_DR6loE,3438
424
+ pip/_vendor/idna/compat.py,sha256=RzLy6QQCdl9784aFhb2EX9EKGCJjg0P3PilGdeXXcx8,316
425
+ pip/_vendor/idna/core.py,sha256=P26_XVycuMTZ1R2mNK1ZREVzM5mvTzdabBXfyZVU1Lc,13246
426
+ pip/_vendor/idna/idnadata.py,sha256=SG8jhaGE53iiD6B49pt2pwTv_UvClciWE-N54oR2p4U,79623
427
+ pip/_vendor/idna/intranges.py,sha256=amUtkdhYcQG8Zr-CoMM_kVRacxkivC1WgxN1b63KKdU,1898
428
+ pip/_vendor/idna/package_data.py,sha256=_CUavOxobnbyNG2FLyHoN8QHP3QM9W1tKuw7eq9QwBk,21
429
+ pip/_vendor/idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
430
+ pip/_vendor/idna/uts46data.py,sha256=H9J35VkD0F9L9mKOqjeNGd2A-Va6FlPoz6Jz4K7h-ps,243725
431
+ pip/_vendor/msgpack/COPYING,sha256=SS3tuoXaWHL3jmCRvNH-pHTWYNNay03ulkuKqz8AdCc,614
432
+ pip/_vendor/msgpack/__init__.py,sha256=RA8gcqK17YpkxBnNwXJVa1oa2LygWDgfF1nA1NPw3mo,1109
433
+ pip/_vendor/msgpack/__pycache__/__init__.cpython-314.pyc,,
434
+ pip/_vendor/msgpack/__pycache__/exceptions.cpython-314.pyc,,
435
+ pip/_vendor/msgpack/__pycache__/ext.cpython-314.pyc,,
436
+ pip/_vendor/msgpack/__pycache__/fallback.cpython-314.pyc,,
437
+ pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
438
+ pip/_vendor/msgpack/ext.py,sha256=kteJv03n9tYzd5oo3xYopVTo4vRaAxonBQQJhXohZZo,5726
439
+ pip/_vendor/msgpack/fallback.py,sha256=0g1Pzp0vtmBEmJ5w9F3s_-JMVURP8RS4G1cc5TRaAsI,32390
440
+ pip/_vendor/packaging/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197
441
+ pip/_vendor/packaging/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
442
+ pip/_vendor/packaging/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344
443
+ pip/_vendor/packaging/__init__.py,sha256=y4lVbpeBzCGk-IPDw5BGBZ_b0P3ukEEJZAbGYc6Ey8c,494
444
+ pip/_vendor/packaging/__pycache__/__init__.cpython-314.pyc,,
445
+ pip/_vendor/packaging/__pycache__/_elffile.cpython-314.pyc,,
446
+ pip/_vendor/packaging/__pycache__/_manylinux.cpython-314.pyc,,
447
+ pip/_vendor/packaging/__pycache__/_musllinux.cpython-314.pyc,,
448
+ pip/_vendor/packaging/__pycache__/_parser.cpython-314.pyc,,
449
+ pip/_vendor/packaging/__pycache__/_structures.cpython-314.pyc,,
450
+ pip/_vendor/packaging/__pycache__/_tokenizer.cpython-314.pyc,,
451
+ pip/_vendor/packaging/__pycache__/markers.cpython-314.pyc,,
452
+ pip/_vendor/packaging/__pycache__/metadata.cpython-314.pyc,,
453
+ pip/_vendor/packaging/__pycache__/pylock.cpython-314.pyc,,
454
+ pip/_vendor/packaging/__pycache__/requirements.cpython-314.pyc,,
455
+ pip/_vendor/packaging/__pycache__/specifiers.cpython-314.pyc,,
456
+ pip/_vendor/packaging/__pycache__/tags.cpython-314.pyc,,
457
+ pip/_vendor/packaging/__pycache__/utils.cpython-314.pyc,,
458
+ pip/_vendor/packaging/__pycache__/version.cpython-314.pyc,,
459
+ pip/_vendor/packaging/_elffile.py,sha256=-sKkptYqzYw2-x3QByJa5mB4rfPWu1pxkZHRx1WAFCY,3211
460
+ pip/_vendor/packaging/_manylinux.py,sha256=Hf6nB0cOrayEs96-p3oIXAgGnFquv20DO5l-o2_Xnv0,9559
461
+ pip/_vendor/packaging/_musllinux.py,sha256=Z6swjH3MA7XS3qXnmMN7QPhqP3fnoYI0eQ18e9-HgAE,2707
462
+ pip/_vendor/packaging/_parser.py,sha256=U_DajsEx2VoC_F46fSVV3hDKNCWoQYkPkasO3dld0ig,10518
463
+ pip/_vendor/packaging/_structures.py,sha256=Hn49Ta8zV9Wo8GiCL8Nl2ARZY983Un3pruZGVNldPwE,1514
464
+ pip/_vendor/packaging/_tokenizer.py,sha256=M8EwNIdXeL9NMFuFrQtiOKwjka_xFx8KjRQnfE8O_z8,5421
465
+ pip/_vendor/packaging/licenses/__init__.py,sha256=TwXLHZCXwSgdFwRLPxW602T6mSieunSFHM6fp8pgW78,5819
466
+ pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-314.pyc,,
467
+ pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-314.pyc,,
468
+ pip/_vendor/packaging/licenses/_spdx.py,sha256=WW7DXiyg68up_YND_wpRYlr1SHhiV4FfJLQffghhMxQ,51122
469
+ pip/_vendor/packaging/markers.py,sha256=ZX-cLvW1S3cZcEc0fHI4z7zSx5U2T19yMpDP_mE-CYw,12771
470
+ pip/_vendor/packaging/metadata.py,sha256=CWVZpN_HfoYMSSDuCP7igOvGgqA9AOmpW8f3qTisfnc,39360
471
+ pip/_vendor/packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
472
+ pip/_vendor/packaging/pylock.py,sha256=-R1uNfJ4PaLto7Mg62YsGOHgvskuiIEqPwxOywl42Jk,22537
473
+ pip/_vendor/packaging/requirements.py,sha256=PMCAWD8aNMnVD-6uZMedhBuAVX2573eZ4yPBLXmz04I,2870
474
+ pip/_vendor/packaging/specifiers.py,sha256=tF2nC-jwW94FYe6So9dNGenQx1Hdif7ErmWlVp1QiXE,40821
475
+ pip/_vendor/packaging/tags.py,sha256=cXLV1pJD3UtJlDg7Wz3zrfdQhRZqr8jumSAKKAAd2xE,22856
476
+ pip/_vendor/packaging/utils.py,sha256=N4c6oZzFJy6klTZ3AnkNz7sSkJesuFWPp68LA3B5dAo,5040
477
+ pip/_vendor/packaging/version.py,sha256=RVRKq8_GD5Bcak6E1kGG8K7siNZYW9n_XK8M2ZLl0H8,23284
478
+ pip/_vendor/pkg_resources/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023
479
+ pip/_vendor/pkg_resources/__init__.py,sha256=vbTJ0_ruUgGxQjlEqsruFmiNPVyh2t9q-zyTDT053xI,124451
480
+ pip/_vendor/pkg_resources/__pycache__/__init__.cpython-314.pyc,,
481
+ pip/_vendor/platformdirs/LICENSE,sha256=KeD9YukphQ6G6yjD_czwzv30-pSHkBHP-z0NS-1tTbY,1089
482
+ pip/_vendor/platformdirs/__init__.py,sha256=UfeSHWl8AeTtbOBOoHAxK4dODOWkZtfy-m_i7cWdJ8c,22344
483
+ pip/_vendor/platformdirs/__main__.py,sha256=jBJ8zb7Mpx5ebcqF83xrpO94MaeCpNGHVf9cvDN2JLg,1505
484
+ pip/_vendor/platformdirs/__pycache__/__init__.cpython-314.pyc,,
485
+ pip/_vendor/platformdirs/__pycache__/__main__.cpython-314.pyc,,
486
+ pip/_vendor/platformdirs/__pycache__/android.cpython-314.pyc,,
487
+ pip/_vendor/platformdirs/__pycache__/api.cpython-314.pyc,,
488
+ pip/_vendor/platformdirs/__pycache__/macos.cpython-314.pyc,,
489
+ pip/_vendor/platformdirs/__pycache__/unix.cpython-314.pyc,,
490
+ pip/_vendor/platformdirs/__pycache__/version.cpython-314.pyc,,
491
+ pip/_vendor/platformdirs/__pycache__/windows.cpython-314.pyc,,
492
+ pip/_vendor/platformdirs/android.py,sha256=r0DshVBf-RO1jXJGX8C4Til7F1XWt-bkdWMgmvEiaYg,9013
493
+ pip/_vendor/platformdirs/api.py,sha256=wPHOlwOsfz2oqQZ6A2FcCu5kEAj-JondzoNOHYFQ0h8,9281
494
+ pip/_vendor/platformdirs/macos.py,sha256=0XoOgin1NK7Qki7iskD-oS8xKxw6bXgoKEgdqpCRAFQ,6322
495
+ pip/_vendor/platformdirs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
496
+ pip/_vendor/platformdirs/unix.py,sha256=WZmkUA--L3JNRGmz32s35YfoD3ica6xKIPdCV_HhLcs,10458
497
+ pip/_vendor/platformdirs/version.py,sha256=BI_dKLSMwlkl57vlxZnT8oVjPiUC2W_sdx_8_h99HeQ,704
498
+ pip/_vendor/platformdirs/windows.py,sha256=XvCfklGUMVxJbXit51jpYMN-lNeScPB82qS1CAeplL0,10362
499
+ pip/_vendor/pygments/LICENSE,sha256=qdZvHVJt8C4p3Oc0NtNOVuhjL0bCdbvf_HBWnogvnxc,1331
500
+ pip/_vendor/pygments/__init__.py,sha256=8uNqJCCwXqbEx5aSsBr0FykUQOBDKBihO5mPqiw1aqo,2983
501
+ pip/_vendor/pygments/__main__.py,sha256=WrndpSe6i1ckX_SQ1KaxD9CTKGzD0EuCOFxcbwFpoLU,353
502
+ pip/_vendor/pygments/__pycache__/__init__.cpython-314.pyc,,
503
+ pip/_vendor/pygments/__pycache__/__main__.cpython-314.pyc,,
504
+ pip/_vendor/pygments/__pycache__/console.cpython-314.pyc,,
505
+ pip/_vendor/pygments/__pycache__/filter.cpython-314.pyc,,
506
+ pip/_vendor/pygments/__pycache__/formatter.cpython-314.pyc,,
507
+ pip/_vendor/pygments/__pycache__/lexer.cpython-314.pyc,,
508
+ pip/_vendor/pygments/__pycache__/modeline.cpython-314.pyc,,
509
+ pip/_vendor/pygments/__pycache__/plugin.cpython-314.pyc,,
510
+ pip/_vendor/pygments/__pycache__/regexopt.cpython-314.pyc,,
511
+ pip/_vendor/pygments/__pycache__/scanner.cpython-314.pyc,,
512
+ pip/_vendor/pygments/__pycache__/sphinxext.cpython-314.pyc,,
513
+ pip/_vendor/pygments/__pycache__/style.cpython-314.pyc,,
514
+ pip/_vendor/pygments/__pycache__/token.cpython-314.pyc,,
515
+ pip/_vendor/pygments/__pycache__/unistring.cpython-314.pyc,,
516
+ pip/_vendor/pygments/__pycache__/util.cpython-314.pyc,,
517
+ pip/_vendor/pygments/console.py,sha256=AagDWqwea2yBWf10KC9ptBgMpMjxKp8yABAmh-NQOVk,1718
518
+ pip/_vendor/pygments/filter.py,sha256=YLtpTnZiu07nY3oK9nfR6E9Y1FBHhP5PX8gvkJWcfag,1910
519
+ pip/_vendor/pygments/filters/__init__.py,sha256=4U4jtA0X3iP83uQnB9-TI-HDSw8E8y8zMYHa0UjbbaI,40392
520
+ pip/_vendor/pygments/filters/__pycache__/__init__.cpython-314.pyc,,
521
+ pip/_vendor/pygments/formatter.py,sha256=KZQMmyo_xkOIkQG8g66LYEkBh1bx7a0HyGCBcvhI9Ew,4390
522
+ pip/_vendor/pygments/formatters/__init__.py,sha256=KTwBmnXlaopJhQDOemVHYHskiDghuq-08YtP6xPNJPg,5385
523
+ pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-314.pyc,,
524
+ pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-314.pyc,,
525
+ pip/_vendor/pygments/formatters/_mapping.py,sha256=1Cw37FuQlNacnxRKmtlPX4nyLoX9_ttko5ZwscNUZZ4,4176
526
+ pip/_vendor/pygments/lexer.py,sha256=_kBrOJ_NT5Tl0IVM0rA9c8eysP6_yrlGzEQI0eVYB-A,35349
527
+ pip/_vendor/pygments/lexers/__init__.py,sha256=wbIME35GH7bI1B9rNPJFqWT-ij_RApZDYPUlZycaLzA,12115
528
+ pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-314.pyc,,
529
+ pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-314.pyc,,
530
+ pip/_vendor/pygments/lexers/__pycache__/python.cpython-314.pyc,,
531
+ pip/_vendor/pygments/lexers/_mapping.py,sha256=l4tCXM8e9aPC2BD6sjIr0deT-J-z5tHgCwL-p1fS0PE,77602
532
+ pip/_vendor/pygments/lexers/python.py,sha256=vxjn1cOHclIKJKxoyiBsQTY65GHbkZtZRuKQ2AVCKaw,53853
533
+ pip/_vendor/pygments/modeline.py,sha256=K5eSkR8GS1r5OkXXTHOcV0aM_6xpk9eWNEIAW-OOJ2g,1005
534
+ pip/_vendor/pygments/plugin.py,sha256=tPx0rJCTIZ9ioRgLNYG4pifCbAwTRUZddvLw-NfAk2w,1891
535
+ pip/_vendor/pygments/regexopt.py,sha256=wXaP9Gjp_hKAdnICqoDkRxAOQJSc4v3X6mcxx3z-TNs,3072
536
+ pip/_vendor/pygments/scanner.py,sha256=nNcETRR1tRuiTaHmHSTTECVYFPcLf6mDZu1e4u91A9E,3092
537
+ pip/_vendor/pygments/sphinxext.py,sha256=5x7Zh9YlU6ISJ31dMwduiaanb5dWZnKg3MyEQsseNnQ,7981
538
+ pip/_vendor/pygments/style.py,sha256=PlOZqlsnTVd58RGy50vkA2cXQ_lP5bF5EGMEBTno6DA,6420
539
+ pip/_vendor/pygments/styles/__init__.py,sha256=x9ebctfyvCAFpMTlMJ5YxwcNYBzjgq6zJaKkNm78r4M,2042
540
+ pip/_vendor/pygments/styles/__pycache__/__init__.cpython-314.pyc,,
541
+ pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-314.pyc,,
542
+ pip/_vendor/pygments/styles/_mapping.py,sha256=6lovFUE29tz6EsV3XYY4hgozJ7q1JL7cfO3UOlgnS8w,3312
543
+ pip/_vendor/pygments/token.py,sha256=WbdWGhYm_Vosb0DDxW9lHNPgITXfWTsQmHt6cy9RbcM,6226
544
+ pip/_vendor/pygments/unistring.py,sha256=al-_rBemRuGvinsrM6atNsHTmJ6DUbw24q2O2Ru1cBc,63208
545
+ pip/_vendor/pygments/util.py,sha256=oRtSpiAo5jM9ulntkvVbgXUdiAW57jnuYGB7t9fYuhc,10031
546
+ pip/_vendor/pyproject_hooks/LICENSE,sha256=GyKwSbUmfW38I6Z79KhNjsBLn9-xpR02DkK0NCyLQVQ,1081
547
+ pip/_vendor/pyproject_hooks/__init__.py,sha256=cPB_a9LXz5xvsRbX1o2qyAdjLatZJdQ_Lc5McNX-X7Y,691
548
+ pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-314.pyc,,
549
+ pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-314.pyc,,
550
+ pip/_vendor/pyproject_hooks/_impl.py,sha256=jY-raxnmyRyB57ruAitrJRUzEexuAhGTpgMygqx67Z4,14936
551
+ pip/_vendor/pyproject_hooks/_in_process/__init__.py,sha256=MJNPpfIxcO-FghxpBbxkG1rFiQf6HOUbV4U5mq0HFns,557
552
+ pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-314.pyc,,
553
+ pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-314.pyc,,
554
+ pip/_vendor/pyproject_hooks/_in_process/_in_process.py,sha256=qcXMhmx__MIJq10gGHW3mA4Tl8dy8YzHMccwnNoKlw0,12216
555
+ pip/_vendor/pyproject_hooks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
556
+ pip/_vendor/requests/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
557
+ pip/_vendor/requests/__init__.py,sha256=HlB_HzhrzGtfD_aaYUwUh1zWXLZ75_YCLyit75d0Vz8,5057
558
+ pip/_vendor/requests/__pycache__/__init__.cpython-314.pyc,,
559
+ pip/_vendor/requests/__pycache__/__version__.cpython-314.pyc,,
560
+ pip/_vendor/requests/__pycache__/_internal_utils.cpython-314.pyc,,
561
+ pip/_vendor/requests/__pycache__/adapters.cpython-314.pyc,,
562
+ pip/_vendor/requests/__pycache__/api.cpython-314.pyc,,
563
+ pip/_vendor/requests/__pycache__/auth.cpython-314.pyc,,
564
+ pip/_vendor/requests/__pycache__/certs.cpython-314.pyc,,
565
+ pip/_vendor/requests/__pycache__/compat.cpython-314.pyc,,
566
+ pip/_vendor/requests/__pycache__/cookies.cpython-314.pyc,,
567
+ pip/_vendor/requests/__pycache__/exceptions.cpython-314.pyc,,
568
+ pip/_vendor/requests/__pycache__/help.cpython-314.pyc,,
569
+ pip/_vendor/requests/__pycache__/hooks.cpython-314.pyc,,
570
+ pip/_vendor/requests/__pycache__/models.cpython-314.pyc,,
571
+ pip/_vendor/requests/__pycache__/packages.cpython-314.pyc,,
572
+ pip/_vendor/requests/__pycache__/sessions.cpython-314.pyc,,
573
+ pip/_vendor/requests/__pycache__/status_codes.cpython-314.pyc,,
574
+ pip/_vendor/requests/__pycache__/structures.cpython-314.pyc,,
575
+ pip/_vendor/requests/__pycache__/utils.cpython-314.pyc,,
576
+ pip/_vendor/requests/__version__.py,sha256=QKDceK8K_ujqwDDc3oYrR0odOBYgKVOQQ5vFap_G_cg,435
577
+ pip/_vendor/requests/_internal_utils.py,sha256=nMQymr4hs32TqVo5AbCrmcJEhvPUh7xXlluyqwslLiQ,1495
578
+ pip/_vendor/requests/adapters.py,sha256=2MLFOK9GpYNhiTd6zLDUrAgSkIB-76i6pmSuUJjHC2w,26429
579
+ pip/_vendor/requests/api.py,sha256=_Zb9Oa7tzVIizTKwFrPjDEY9ejtm_OnSRERnADxGsQs,6449
580
+ pip/_vendor/requests/auth.py,sha256=kF75tqnLctZ9Mf_hm9TZIj4cQWnN5uxRz8oWsx5wmR0,10186
581
+ pip/_vendor/requests/certs.py,sha256=kHDlkK_beuHXeMPc5jta2wgl8gdKeUWt5f2nTDVrvt8,441
582
+ pip/_vendor/requests/compat.py,sha256=QfbmdTFiZzjSHMXiMrd4joCRU6RabtQ9zIcPoVaHIus,1822
583
+ pip/_vendor/requests/cookies.py,sha256=bNi-iqEj4NPZ00-ob-rHvzkvObzN3lEpgw3g6paS3Xw,18590
584
+ pip/_vendor/requests/exceptions.py,sha256=D1wqzYWne1mS2rU43tP9CeN1G7QAy7eqL9o1god6Ejw,4272
585
+ pip/_vendor/requests/help.py,sha256=hRKaf9u0G7fdwrqMHtF3oG16RKktRf6KiwtSq2Fo1_0,3813
586
+ pip/_vendor/requests/hooks.py,sha256=CiuysiHA39V5UfcCBXFIx83IrDpuwfN9RcTUgv28ftQ,733
587
+ pip/_vendor/requests/models.py,sha256=taljlg6vJ4b-xMu2TaMNFFkaiwMex_VsEQ6qUTN3wzY,35575
588
+ pip/_vendor/requests/packages.py,sha256=_ZQDCJTJ8SP3kVWunSqBsRZNPzj2c1WFVqbdr08pz3U,1057
589
+ pip/_vendor/requests/sessions.py,sha256=Cl1dpEnOfwrzzPbku-emepNeN4Rt_0_58Iy2x-JGTm8,30503
590
+ pip/_vendor/requests/status_codes.py,sha256=iJUAeA25baTdw-6PfD0eF4qhpINDJRJI-yaMqxs4LEI,4322
591
+ pip/_vendor/requests/structures.py,sha256=-IbmhVz06S-5aPSZuUthZ6-6D9XOjRuTXHOabY041XM,2912
592
+ pip/_vendor/requests/utils.py,sha256=WS3wHSQaaEfceu1syiFo5jf4e_CWKUTep_IabOVI_J0,33225
593
+ pip/_vendor/resolvelib/LICENSE,sha256=84j9OMrRMRLB3A9mm76A5_hFQe26-3LzAw0sp2QsPJ0,751
594
+ pip/_vendor/resolvelib/__init__.py,sha256=yoX-d4STvwGGCiQRE5cJC9Cter69SgVgqClxOCvSP7M,541
595
+ pip/_vendor/resolvelib/__pycache__/__init__.cpython-314.pyc,,
596
+ pip/_vendor/resolvelib/__pycache__/providers.cpython-314.pyc,,
597
+ pip/_vendor/resolvelib/__pycache__/reporters.cpython-314.pyc,,
598
+ pip/_vendor/resolvelib/__pycache__/structs.cpython-314.pyc,,
599
+ pip/_vendor/resolvelib/providers.py,sha256=pIWJbIdJJ9GFtNbtwTH0Ia43Vj6hYCEJj2DOLue15FM,8914
600
+ pip/_vendor/resolvelib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
601
+ pip/_vendor/resolvelib/reporters.py,sha256=pNJf4nFxLpAeKxlBUi2GEj0a2Ij1nikY0UabTKXesT4,2037
602
+ pip/_vendor/resolvelib/resolvers/__init__.py,sha256=728M3EvmnPbVXS7ExXlv2kMu6b7wEsoPutEfl-uVk_I,640
603
+ pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-314.pyc,,
604
+ pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-314.pyc,,
605
+ pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-314.pyc,,
606
+ pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-314.pyc,,
607
+ pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-314.pyc,,
608
+ pip/_vendor/resolvelib/resolvers/abstract.py,sha256=CNeQPnpAudY77nmzOkONSmAgRlzIf06X-X9mvRYODms,1543
609
+ pip/_vendor/resolvelib/resolvers/criterion.py,sha256=lcmZGv5sKHOnFD_RzZwvlGSj19MeA-5rCMpdf2Sgw7Y,1768
610
+ pip/_vendor/resolvelib/resolvers/exceptions.py,sha256=ln_jaQtgLlRUSFY627yiHG2gD7AgaXzRKaElFVh7fDQ,1768
611
+ pip/_vendor/resolvelib/resolvers/resolution.py,sha256=3J_zkW-sD3EY-BlNXjyln__njpyH5n0UZJT6uV7CheA,24212
612
+ pip/_vendor/resolvelib/structs.py,sha256=pu-EJiR2IBITr2SQeNPRa0rXhjlStfmO_GEgAhr3004,6420
613
+ pip/_vendor/rich/LICENSE,sha256=3u18F6QxgVgZCj6iOcyHmlpQJxzruYrnAl9I--WNyhU,1056
614
+ pip/_vendor/rich/__init__.py,sha256=dRxjIL-SbFVY0q3IjSMrfgBTHrm1LZDgLOygVBwiYZc,6090
615
+ pip/_vendor/rich/__main__.py,sha256=e_aVC-tDzarWQW9SuZMuCgBr6ODV_iDNV2Wh2xkxOlw,7896
616
+ pip/_vendor/rich/__pycache__/__init__.cpython-314.pyc,,
617
+ pip/_vendor/rich/__pycache__/__main__.cpython-314.pyc,,
618
+ pip/_vendor/rich/__pycache__/_cell_widths.cpython-314.pyc,,
619
+ pip/_vendor/rich/__pycache__/_emoji_codes.cpython-314.pyc,,
620
+ pip/_vendor/rich/__pycache__/_emoji_replace.cpython-314.pyc,,
621
+ pip/_vendor/rich/__pycache__/_export_format.cpython-314.pyc,,
622
+ pip/_vendor/rich/__pycache__/_extension.cpython-314.pyc,,
623
+ pip/_vendor/rich/__pycache__/_fileno.cpython-314.pyc,,
624
+ pip/_vendor/rich/__pycache__/_inspect.cpython-314.pyc,,
625
+ pip/_vendor/rich/__pycache__/_log_render.cpython-314.pyc,,
626
+ pip/_vendor/rich/__pycache__/_loop.cpython-314.pyc,,
627
+ pip/_vendor/rich/__pycache__/_null_file.cpython-314.pyc,,
628
+ pip/_vendor/rich/__pycache__/_palettes.cpython-314.pyc,,
629
+ pip/_vendor/rich/__pycache__/_pick.cpython-314.pyc,,
630
+ pip/_vendor/rich/__pycache__/_ratio.cpython-314.pyc,,
631
+ pip/_vendor/rich/__pycache__/_spinners.cpython-314.pyc,,
632
+ pip/_vendor/rich/__pycache__/_stack.cpython-314.pyc,,
633
+ pip/_vendor/rich/__pycache__/_timer.cpython-314.pyc,,
634
+ pip/_vendor/rich/__pycache__/_win32_console.cpython-314.pyc,,
635
+ pip/_vendor/rich/__pycache__/_windows.cpython-314.pyc,,
636
+ pip/_vendor/rich/__pycache__/_windows_renderer.cpython-314.pyc,,
637
+ pip/_vendor/rich/__pycache__/_wrap.cpython-314.pyc,,
638
+ pip/_vendor/rich/__pycache__/abc.cpython-314.pyc,,
639
+ pip/_vendor/rich/__pycache__/align.cpython-314.pyc,,
640
+ pip/_vendor/rich/__pycache__/ansi.cpython-314.pyc,,
641
+ pip/_vendor/rich/__pycache__/bar.cpython-314.pyc,,
642
+ pip/_vendor/rich/__pycache__/box.cpython-314.pyc,,
643
+ pip/_vendor/rich/__pycache__/cells.cpython-314.pyc,,
644
+ pip/_vendor/rich/__pycache__/color.cpython-314.pyc,,
645
+ pip/_vendor/rich/__pycache__/color_triplet.cpython-314.pyc,,
646
+ pip/_vendor/rich/__pycache__/columns.cpython-314.pyc,,
647
+ pip/_vendor/rich/__pycache__/console.cpython-314.pyc,,
648
+ pip/_vendor/rich/__pycache__/constrain.cpython-314.pyc,,
649
+ pip/_vendor/rich/__pycache__/containers.cpython-314.pyc,,
650
+ pip/_vendor/rich/__pycache__/control.cpython-314.pyc,,
651
+ pip/_vendor/rich/__pycache__/default_styles.cpython-314.pyc,,
652
+ pip/_vendor/rich/__pycache__/diagnose.cpython-314.pyc,,
653
+ pip/_vendor/rich/__pycache__/emoji.cpython-314.pyc,,
654
+ pip/_vendor/rich/__pycache__/errors.cpython-314.pyc,,
655
+ pip/_vendor/rich/__pycache__/file_proxy.cpython-314.pyc,,
656
+ pip/_vendor/rich/__pycache__/filesize.cpython-314.pyc,,
657
+ pip/_vendor/rich/__pycache__/highlighter.cpython-314.pyc,,
658
+ pip/_vendor/rich/__pycache__/json.cpython-314.pyc,,
659
+ pip/_vendor/rich/__pycache__/jupyter.cpython-314.pyc,,
660
+ pip/_vendor/rich/__pycache__/layout.cpython-314.pyc,,
661
+ pip/_vendor/rich/__pycache__/live.cpython-314.pyc,,
662
+ pip/_vendor/rich/__pycache__/live_render.cpython-314.pyc,,
663
+ pip/_vendor/rich/__pycache__/logging.cpython-314.pyc,,
664
+ pip/_vendor/rich/__pycache__/markup.cpython-314.pyc,,
665
+ pip/_vendor/rich/__pycache__/measure.cpython-314.pyc,,
666
+ pip/_vendor/rich/__pycache__/padding.cpython-314.pyc,,
667
+ pip/_vendor/rich/__pycache__/pager.cpython-314.pyc,,
668
+ pip/_vendor/rich/__pycache__/palette.cpython-314.pyc,,
669
+ pip/_vendor/rich/__pycache__/panel.cpython-314.pyc,,
670
+ pip/_vendor/rich/__pycache__/pretty.cpython-314.pyc,,
671
+ pip/_vendor/rich/__pycache__/progress.cpython-314.pyc,,
672
+ pip/_vendor/rich/__pycache__/progress_bar.cpython-314.pyc,,
673
+ pip/_vendor/rich/__pycache__/prompt.cpython-314.pyc,,
674
+ pip/_vendor/rich/__pycache__/protocol.cpython-314.pyc,,
675
+ pip/_vendor/rich/__pycache__/region.cpython-314.pyc,,
676
+ pip/_vendor/rich/__pycache__/repr.cpython-314.pyc,,
677
+ pip/_vendor/rich/__pycache__/rule.cpython-314.pyc,,
678
+ pip/_vendor/rich/__pycache__/scope.cpython-314.pyc,,
679
+ pip/_vendor/rich/__pycache__/screen.cpython-314.pyc,,
680
+ pip/_vendor/rich/__pycache__/segment.cpython-314.pyc,,
681
+ pip/_vendor/rich/__pycache__/spinner.cpython-314.pyc,,
682
+ pip/_vendor/rich/__pycache__/status.cpython-314.pyc,,
683
+ pip/_vendor/rich/__pycache__/style.cpython-314.pyc,,
684
+ pip/_vendor/rich/__pycache__/styled.cpython-314.pyc,,
685
+ pip/_vendor/rich/__pycache__/syntax.cpython-314.pyc,,
686
+ pip/_vendor/rich/__pycache__/table.cpython-314.pyc,,
687
+ pip/_vendor/rich/__pycache__/terminal_theme.cpython-314.pyc,,
688
+ pip/_vendor/rich/__pycache__/text.cpython-314.pyc,,
689
+ pip/_vendor/rich/__pycache__/theme.cpython-314.pyc,,
690
+ pip/_vendor/rich/__pycache__/themes.cpython-314.pyc,,
691
+ pip/_vendor/rich/__pycache__/traceback.cpython-314.pyc,,
692
+ pip/_vendor/rich/__pycache__/tree.cpython-314.pyc,,
693
+ pip/_vendor/rich/_cell_widths.py,sha256=fbmeyetEdHjzE_Vx2l1uK7tnPOhMs2X1lJfO3vsKDpA,10209
694
+ pip/_vendor/rich/_emoji_codes.py,sha256=hu1VL9nbVdppJrVoijVshRlcRRe_v3dju3Mmd2sKZdY,140235
695
+ pip/_vendor/rich/_emoji_replace.py,sha256=n-kcetsEUx2ZUmhQrfeMNc-teeGhpuSQ5F8VPBsyvDo,1064
696
+ pip/_vendor/rich/_export_format.py,sha256=RI08pSrm5tBSzPMvnbTqbD9WIalaOoN5d4M1RTmLq1Y,2128
697
+ pip/_vendor/rich/_extension.py,sha256=Xt47QacCKwYruzjDi-gOBq724JReDj9Cm9xUi5fr-34,265
698
+ pip/_vendor/rich/_fileno.py,sha256=HWZxP5C2ajMbHryvAQZseflVfQoGzsKOHzKGsLD8ynQ,799
699
+ pip/_vendor/rich/_inspect.py,sha256=ROT0PLC2GMWialWZkqJIjmYq7INRijQQkoSokWTaAiI,9656
700
+ pip/_vendor/rich/_log_render.py,sha256=1ByI0PA1ZpxZY3CGJOK54hjlq4X-Bz_boIjIqCd8Kns,3225
701
+ pip/_vendor/rich/_loop.py,sha256=hV_6CLdoPm0va22Wpw4zKqM0RYsz3TZxXj0PoS-9eDQ,1236
702
+ pip/_vendor/rich/_null_file.py,sha256=ADGKp1yt-k70FMKV6tnqCqecB-rSJzp-WQsD7LPL-kg,1394
703
+ pip/_vendor/rich/_palettes.py,sha256=cdev1JQKZ0JvlguV9ipHgznTdnvlIzUFDBb0It2PzjI,7063
704
+ pip/_vendor/rich/_pick.py,sha256=evDt8QN4lF5CiwrUIXlOJCntitBCOsI3ZLPEIAVRLJU,423
705
+ pip/_vendor/rich/_ratio.py,sha256=IOtl78sQCYZsmHyxhe45krkb68u9xVz7zFsXVJD-b2Y,5325
706
+ pip/_vendor/rich/_spinners.py,sha256=U2r1_g_1zSjsjiUdAESc2iAMc3i4ri_S8PYP6kQ5z1I,19919
707
+ pip/_vendor/rich/_stack.py,sha256=-C8OK7rxn3sIUdVwxZBBpeHhIzX0eI-VM3MemYfaXm0,351
708
+ pip/_vendor/rich/_timer.py,sha256=zelxbT6oPFZnNrwWPpc1ktUeAT-Vc4fuFcRZLQGLtMI,417
709
+ pip/_vendor/rich/_win32_console.py,sha256=BSaDRIMwBLITn_m0mTRLPqME5q-quGdSMuYMpYeYJwc,22755
710
+ pip/_vendor/rich/_windows.py,sha256=aBwaD_S56SbgopIvayVmpk0Y28uwY2C5Bab1wl3Bp-I,1925
711
+ pip/_vendor/rich/_windows_renderer.py,sha256=t74ZL3xuDCP3nmTp9pH1L5LiI2cakJuQRQleHCJerlk,2783
712
+ pip/_vendor/rich/_wrap.py,sha256=FlSsom5EX0LVkA3KWy34yHnCfLtqX-ZIepXKh-70rpc,3404
713
+ pip/_vendor/rich/abc.py,sha256=ON-E-ZqSSheZ88VrKX2M3PXpFbGEUUZPMa_Af0l-4f0,890
714
+ pip/_vendor/rich/align.py,sha256=dg-7uY0ukMLLlUEsBDRLva22_sQgIJD4BK0dmZHFHug,10324
715
+ pip/_vendor/rich/ansi.py,sha256=Avs1LHbSdcyOvDOdpELZUoULcBiYewY76eNBp6uFBhs,6921
716
+ pip/_vendor/rich/bar.py,sha256=ldbVHOzKJOnflVNuv1xS7g6dLX2E3wMnXkdPbpzJTcs,3263
717
+ pip/_vendor/rich/box.py,sha256=kmavBc_dn73L_g_8vxWSwYJD2uzBXOUFTtJOfpbczcM,10686
718
+ pip/_vendor/rich/cells.py,sha256=KrQkj5-LghCCpJLSNQIyAZjndc4bnEqOEmi5YuZ9UCY,5130
719
+ pip/_vendor/rich/color.py,sha256=3HSULVDj7qQkXUdFWv78JOiSZzfy5y1nkcYhna296V0,18211
720
+ pip/_vendor/rich/color_triplet.py,sha256=3lhQkdJbvWPoLDO-AnYImAWmJvV5dlgYNCVZ97ORaN4,1054
721
+ pip/_vendor/rich/columns.py,sha256=HUX0KcMm9dsKNi11fTbiM_h2iDtl8ySCaVcxlalEzq8,7131
722
+ pip/_vendor/rich/console.py,sha256=t9azZpmRMVU5cphVBZSShNsmBxd2-IAWcTTlhor-E1s,100849
723
+ pip/_vendor/rich/constrain.py,sha256=1VIPuC8AgtKWrcncQrjBdYqA3JVWysu6jZo1rrh7c7Q,1288
724
+ pip/_vendor/rich/containers.py,sha256=c_56TxcedGYqDepHBMTuZdUIijitAQgnox-Qde0Z1qo,5502
725
+ pip/_vendor/rich/control.py,sha256=EUTSUFLQbxY6Zmo_sdM-5Ls323vIHTBfN8TPulqeHUY,6487
726
+ pip/_vendor/rich/default_styles.py,sha256=khQFqqaoDs3bprMqWpHw8nO5UpG2DN6QtuTd6LzZwYc,8257
727
+ pip/_vendor/rich/diagnose.py,sha256=fJl1TItRn19gGwouqTg-8zPUW3YqQBqGltrfPQs1H9w,1025
728
+ pip/_vendor/rich/emoji.py,sha256=Wd4bQubZdSy6-PyrRQNuMHtn2VkljK9uPZPVlu2cmx0,2367
729
+ pip/_vendor/rich/errors.py,sha256=5pP3Kc5d4QJ_c0KFsxrfyhjiPVe7J1zOqSFbFAzcV-Y,642
730
+ pip/_vendor/rich/file_proxy.py,sha256=Tl9THMDZ-Pk5Wm8sI1gGg_U5DhusmxD-FZ0fUbcU0W0,1683
731
+ pip/_vendor/rich/filesize.py,sha256=_iz9lIpRgvW7MNSeCZnLg-HwzbP4GETg543WqD8SFs0,2484
732
+ pip/_vendor/rich/highlighter.py,sha256=G_sn-8DKjM1sEjLG_oc4ovkWmiUpWvj8bXi0yed2LnY,9586
733
+ pip/_vendor/rich/json.py,sha256=vVEoKdawoJRjAFayPwXkMBPLy7RSTs-f44wSQDR2nJ0,5031
734
+ pip/_vendor/rich/jupyter.py,sha256=QyoKoE_8IdCbrtiSHp9TsTSNyTHY0FO5whE7jOTd9UE,3252
735
+ pip/_vendor/rich/layout.py,sha256=ajkSFAtEVv9EFTcFs-w4uZfft7nEXhNzL7ZVdgrT5rI,14004
736
+ pip/_vendor/rich/live.py,sha256=tF3ukAAJZ_N2ZbGclqZ-iwLoIoZ8f0HHUz79jAyJqj8,15180
737
+ pip/_vendor/rich/live_render.py,sha256=It_39YdzrBm8o3LL0kaGorPFg-BfZWAcrBjLjFokbx4,3521
738
+ pip/_vendor/rich/logging.py,sha256=5KaPPSMP9FxcXPBcKM4cGd_zW78PMgf-YbMVnvfSw0o,12468
739
+ pip/_vendor/rich/markup.py,sha256=3euGKP5s41NCQwaSjTnJxus5iZMHjxpIM0W6fCxra38,8451
740
+ pip/_vendor/rich/measure.py,sha256=HmrIJX8sWRTHbgh8MxEay_83VkqNW_70s8aKP5ZcYI8,5305
741
+ pip/_vendor/rich/padding.py,sha256=KVEI3tOwo9sgK1YNSuH__M1_jUWmLZwRVV_KmOtVzyM,4908
742
+ pip/_vendor/rich/pager.py,sha256=SO_ETBFKbg3n_AgOzXm41Sv36YxXAyI3_R-KOY2_uSc,828
743
+ pip/_vendor/rich/palette.py,sha256=lInvR1ODDT2f3UZMfL1grq7dY_pDdKHw4bdUgOGaM4Y,3396
744
+ pip/_vendor/rich/panel.py,sha256=9sQl00hPIqH5G2gALQo4NepFwpP0k9wT-s_gOms5pIc,11157
745
+ pip/_vendor/rich/pretty.py,sha256=gy3S72u4FRg2ytoo7N1ZDWDIvB4unbzd5iUGdgm-8fc,36391
746
+ pip/_vendor/rich/progress.py,sha256=CUc2lkU-X59mVdGfjMCBkZeiGPL3uxdONjhNJF2T7wY,60408
747
+ pip/_vendor/rich/progress_bar.py,sha256=mZTPpJUwcfcdgQCTTz3kyY-fc79ddLwtx6Ghhxfo064,8162
748
+ pip/_vendor/rich/prompt.py,sha256=l0RhQU-0UVTV9e08xW1BbIj0Jq2IXyChX4lC0lFNzt4,12447
749
+ pip/_vendor/rich/protocol.py,sha256=5hHHDDNHckdk8iWH5zEbi-zuIVSF5hbU2jIo47R7lTE,1391
750
+ pip/_vendor/rich/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
751
+ pip/_vendor/rich/region.py,sha256=rNT9xZrVZTYIXZC0NYn41CJQwYNbR-KecPOxTgQvB8Y,166
752
+ pip/_vendor/rich/repr.py,sha256=5MZJZmONgC6kud-QW-_m1okXwL2aR6u6y-pUcUCJz28,4431
753
+ pip/_vendor/rich/rule.py,sha256=0fNaS_aERa3UMRc3T5WMpN_sumtDxfaor2y3of1ftBk,4602
754
+ pip/_vendor/rich/scope.py,sha256=TMUU8qo17thyqQCPqjDLYpg_UU1k5qVd-WwiJvnJVas,2843
755
+ pip/_vendor/rich/screen.py,sha256=YoeReESUhx74grqb0mSSb9lghhysWmFHYhsbMVQjXO8,1591
756
+ pip/_vendor/rich/segment.py,sha256=otnKeKGEV-WRlQVosfJVeFDcDxAKHpvJ_hLzSu5lumM,24743
757
+ pip/_vendor/rich/spinner.py,sha256=onIhpKlljRHppTZasxO8kXgtYyCHUkpSgKglRJ3o51g,4214
758
+ pip/_vendor/rich/status.py,sha256=kkPph3YeAZBo-X-4wPp8gTqZyU466NLwZBA4PZTTewo,4424
759
+ pip/_vendor/rich/style.py,sha256=W9Ccy8Py8lNICtlfcp-ryzMTuQaGxAU3av7-g5fHu0s,26990
760
+ pip/_vendor/rich/styled.py,sha256=eZNnzGrI4ki_54pgY3Oj0T-x3lxdXTYh4_ryDB24wBU,1258
761
+ pip/_vendor/rich/syntax.py,sha256=eDKIRwl--eZ0Lwo2da2RRtfutXGavrJO61Cl5OkS59U,36371
762
+ pip/_vendor/rich/table.py,sha256=ZmT7V7MMCOYKw7TGY9SZLyYDf6JdM-WVf07FdVuVhTI,40049
763
+ pip/_vendor/rich/terminal_theme.py,sha256=1j5-ufJfnvlAo5Qsi_ACZiXDmwMXzqgmFByObT9-yJY,3370
764
+ pip/_vendor/rich/text.py,sha256=AO7JPCz6-gaN1thVLXMBntEmDPVYFgFNG1oM61_sanU,47552
765
+ pip/_vendor/rich/theme.py,sha256=oNyhXhGagtDlbDye3tVu3esWOWk0vNkuxFw-_unlaK0,3771
766
+ pip/_vendor/rich/themes.py,sha256=0xgTLozfabebYtcJtDdC5QkX5IVUEaviqDUJJh4YVFk,102
767
+ pip/_vendor/rich/traceback.py,sha256=c0WmB_L04_UfZbLaoH982_U_s7eosxKMUiAVmDPdRYU,35861
768
+ pip/_vendor/rich/tree.py,sha256=yWnQ6rAvRGJ3qZGqBrxS2SW2TKBTNrP0SdY8QxOFPuw,9451
769
+ pip/_vendor/tomli/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
770
+ pip/_vendor/tomli/__init__.py,sha256=qzEGl8QHhqgQPCuLzfKyPIuH3KKPspf-UVPbZ0ppBD4,314
771
+ pip/_vendor/tomli/__pycache__/__init__.cpython-314.pyc,,
772
+ pip/_vendor/tomli/__pycache__/_parser.cpython-314.pyc,,
773
+ pip/_vendor/tomli/__pycache__/_re.cpython-314.pyc,,
774
+ pip/_vendor/tomli/__pycache__/_types.cpython-314.pyc,,
775
+ pip/_vendor/tomli/_parser.py,sha256=bO8tUYmnyA2K6m4TnbQbfUqmIFcDv7mG1KuC9gqRVmA,25778
776
+ pip/_vendor/tomli/_re.py,sha256=n8-Io8ZK1U-F6jzlg7Pabc40hLFJsawE2uNLKH9w7iU,3235
777
+ pip/_vendor/tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254
778
+ pip/_vendor/tomli/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
779
+ pip/_vendor/tomli_w/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
780
+ pip/_vendor/tomli_w/__init__.py,sha256=0F8yDtXx3Uunhm874KrAcP76srsM98y7WyHQwCulZbo,169
781
+ pip/_vendor/tomli_w/__pycache__/__init__.cpython-314.pyc,,
782
+ pip/_vendor/tomli_w/__pycache__/_writer.cpython-314.pyc,,
783
+ pip/_vendor/tomli_w/_writer.py,sha256=dsifFS2xYf1i76mmRyfz9y125xC7Z_HQ845ZKhJsYXs,6961
784
+ pip/_vendor/tomli_w/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
785
+ pip/_vendor/truststore/LICENSE,sha256=M757fo-k_Rmxdg4ajtimaL2rhSyRtpLdQUJLy3Jan8o,1086
786
+ pip/_vendor/truststore/__init__.py,sha256=Bu7kqkmpunhLsj5xCu8gT_25ktoPXcSnwe8VHk1GmJo,1320
787
+ pip/_vendor/truststore/__pycache__/__init__.cpython-314.pyc,,
788
+ pip/_vendor/truststore/__pycache__/_api.cpython-314.pyc,,
789
+ pip/_vendor/truststore/__pycache__/_macos.cpython-314.pyc,,
790
+ pip/_vendor/truststore/__pycache__/_openssl.cpython-314.pyc,,
791
+ pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-314.pyc,,
792
+ pip/_vendor/truststore/__pycache__/_windows.cpython-314.pyc,,
793
+ pip/_vendor/truststore/_api.py,sha256=CYJCV5BTfttZYfqY3movdMBE-8az7uhET_LYbKT2Nn4,11413
794
+ pip/_vendor/truststore/_macos.py,sha256=nZlLkOmszUE0g6ryRwBVGY5COzPyudcsiJtDWarM5LQ,20503
795
+ pip/_vendor/truststore/_openssl.py,sha256=zB-SQvJydks7tQ0yIwrP6GD3fQNSSaPiq7zw4yF5T40,2412
796
+ pip/_vendor/truststore/_ssl_constants.py,sha256=NUD4fVKdSD02ri7-db0tnO0VqLP9aHuzmStcW7tAl08,1130
797
+ pip/_vendor/truststore/_windows.py,sha256=rAHyKYD8M7t-bXfG8VgOVa3TpfhVhbt4rZQlO45YuP8,17993
798
+ pip/_vendor/truststore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
799
+ pip/_vendor/urllib3/LICENSE.txt,sha256=w3vxhuJ8-dvpYZ5V7f486nswCRzrPaY8fay-Dm13kHs,1115
800
+ pip/_vendor/urllib3/__init__.py,sha256=iXLcYiJySn0GNbWOOZDDApgBL1JgP44EZ8i1760S8Mc,3333
801
+ pip/_vendor/urllib3/__pycache__/__init__.cpython-314.pyc,,
802
+ pip/_vendor/urllib3/__pycache__/_collections.cpython-314.pyc,,
803
+ pip/_vendor/urllib3/__pycache__/_version.cpython-314.pyc,,
804
+ pip/_vendor/urllib3/__pycache__/connection.cpython-314.pyc,,
805
+ pip/_vendor/urllib3/__pycache__/connectionpool.cpython-314.pyc,,
806
+ pip/_vendor/urllib3/__pycache__/exceptions.cpython-314.pyc,,
807
+ pip/_vendor/urllib3/__pycache__/fields.cpython-314.pyc,,
808
+ pip/_vendor/urllib3/__pycache__/filepost.cpython-314.pyc,,
809
+ pip/_vendor/urllib3/__pycache__/poolmanager.cpython-314.pyc,,
810
+ pip/_vendor/urllib3/__pycache__/request.cpython-314.pyc,,
811
+ pip/_vendor/urllib3/__pycache__/response.cpython-314.pyc,,
812
+ pip/_vendor/urllib3/_collections.py,sha256=pyASJJhW7wdOpqJj9QJA8FyGRfr8E8uUUhqUvhF0728,11372
813
+ pip/_vendor/urllib3/_version.py,sha256=t9wGB6ooOTXXgiY66K1m6BZS1CJyXHAU8EoWDTe6Shk,64
814
+ pip/_vendor/urllib3/connection.py,sha256=ttIA909BrbTUzwkqEe_TzZVh4JOOj7g61Ysei2mrwGg,20314
815
+ pip/_vendor/urllib3/connectionpool.py,sha256=e2eiAwNbFNCKxj4bwDKNK-w7HIdSz3OmMxU_TIt-evQ,40408
816
+ pip/_vendor/urllib3/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
817
+ pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-314.pyc,,
818
+ pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-314.pyc,,
819
+ pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-314.pyc,,
820
+ pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-314.pyc,,
821
+ pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-314.pyc,,
822
+ pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-314.pyc,,
823
+ pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-314.pyc,,
824
+ pip/_vendor/urllib3/contrib/_appengine_environ.py,sha256=bDbyOEhW2CKLJcQqAKAyrEHN-aklsyHFKq6vF8ZFsmk,957
825
+ pip/_vendor/urllib3/contrib/_securetransport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
826
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-314.pyc,,
827
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-314.pyc,,
828
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-314.pyc,,
829
+ pip/_vendor/urllib3/contrib/_securetransport/bindings.py,sha256=4Xk64qIkPBt09A5q-RIFUuDhNc9mXilVapm7WnYnzRw,17632
830
+ pip/_vendor/urllib3/contrib/_securetransport/low_level.py,sha256=B2JBB2_NRP02xK6DCa1Pa9IuxrPwxzDzZbixQkb7U9M,13922
831
+ pip/_vendor/urllib3/contrib/appengine.py,sha256=VR68eAVE137lxTgjBDwCna5UiBZTOKa01Aj_-5BaCz4,11036
832
+ pip/_vendor/urllib3/contrib/ntlmpool.py,sha256=NlfkW7WMdW8ziqudopjHoW299og1BTWi0IeIibquFwk,4528
833
+ pip/_vendor/urllib3/contrib/pyopenssl.py,sha256=hDJh4MhyY_p-oKlFcYcQaVQRDv6GMmBGuW9yjxyeejM,17081
834
+ pip/_vendor/urllib3/contrib/securetransport.py,sha256=Fef1IIUUFHqpevzXiDPbIGkDKchY2FVKeVeLGR1Qq3g,34446
835
+ pip/_vendor/urllib3/contrib/socks.py,sha256=aRi9eWXo9ZEb95XUxef4Z21CFlnnjbEiAo9HOseoMt4,7097
836
+ pip/_vendor/urllib3/exceptions.py,sha256=0Mnno3KHTNfXRfY7638NufOPkUb6mXOm-Lqj-4x2w8A,8217
837
+ pip/_vendor/urllib3/fields.py,sha256=kvLDCg_JmH1lLjUUEY_FLS8UhY7hBvDPuVETbY8mdrM,8579
838
+ pip/_vendor/urllib3/filepost.py,sha256=5b_qqgRHVlL7uLtdAYBzBh-GHmU5AfJVt_2N0XS3PeY,2440
839
+ pip/_vendor/urllib3/packages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
840
+ pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-314.pyc,,
841
+ pip/_vendor/urllib3/packages/__pycache__/six.cpython-314.pyc,,
842
+ pip/_vendor/urllib3/packages/backports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
843
+ pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-314.pyc,,
844
+ pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-314.pyc,,
845
+ pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-314.pyc,,
846
+ pip/_vendor/urllib3/packages/backports/makefile.py,sha256=nbzt3i0agPVP07jqqgjhaYjMmuAi_W5E0EywZivVO8E,1417
847
+ pip/_vendor/urllib3/packages/backports/weakref_finalize.py,sha256=tRCal5OAhNSRyb0DhHp-38AtIlCsRP8BxF3NX-6rqIA,5343
848
+ pip/_vendor/urllib3/packages/six.py,sha256=b9LM0wBXv7E7SrbCjAm4wwN-hrH-iNxv18LgWNMMKPo,34665
849
+ pip/_vendor/urllib3/poolmanager.py,sha256=aWyhXRtNO4JUnCSVVqKTKQd8EXTvUm1VN9pgs2bcONo,19990
850
+ pip/_vendor/urllib3/request.py,sha256=YTWFNr7QIwh7E1W9dde9LM77v2VWTJ5V78XuTTw7D1A,6691
851
+ pip/_vendor/urllib3/response.py,sha256=fmDJAFkG71uFTn-sVSTh2Iw0WmcXQYqkbRjihvwBjU8,30641
852
+ pip/_vendor/urllib3/util/__init__.py,sha256=JEmSmmqqLyaw8P51gUImZh8Gwg9i1zSe-DoqAitn2nc,1155
853
+ pip/_vendor/urllib3/util/__pycache__/__init__.cpython-314.pyc,,
854
+ pip/_vendor/urllib3/util/__pycache__/connection.cpython-314.pyc,,
855
+ pip/_vendor/urllib3/util/__pycache__/proxy.cpython-314.pyc,,
856
+ pip/_vendor/urllib3/util/__pycache__/queue.cpython-314.pyc,,
857
+ pip/_vendor/urllib3/util/__pycache__/request.cpython-314.pyc,,
858
+ pip/_vendor/urllib3/util/__pycache__/response.cpython-314.pyc,,
859
+ pip/_vendor/urllib3/util/__pycache__/retry.cpython-314.pyc,,
860
+ pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-314.pyc,,
861
+ pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-314.pyc,,
862
+ pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-314.pyc,,
863
+ pip/_vendor/urllib3/util/__pycache__/timeout.cpython-314.pyc,,
864
+ pip/_vendor/urllib3/util/__pycache__/url.cpython-314.pyc,,
865
+ pip/_vendor/urllib3/util/__pycache__/wait.cpython-314.pyc,,
866
+ pip/_vendor/urllib3/util/connection.py,sha256=5Lx2B1PW29KxBn2T0xkN1CBgRBa3gGVJBKoQoRogEVk,4901
867
+ pip/_vendor/urllib3/util/proxy.py,sha256=zUvPPCJrp6dOF0N4GAVbOcl6o-4uXKSrGiTkkr5vUS4,1605
868
+ pip/_vendor/urllib3/util/queue.py,sha256=nRgX8_eX-_VkvxoX096QWoz8Ps0QHUAExILCY_7PncM,498
869
+ pip/_vendor/urllib3/util/request.py,sha256=C0OUt2tcU6LRiQJ7YYNP9GvPrSvl7ziIBekQ-5nlBZk,3997
870
+ pip/_vendor/urllib3/util/response.py,sha256=GJpg3Egi9qaJXRwBh5wv-MNuRWan5BIu40oReoxWP28,3510
871
+ pip/_vendor/urllib3/util/retry.py,sha256=6ENvOZ8PBDzh8kgixpql9lIrb2dxH-k7ZmBanJF2Ng4,22050
872
+ pip/_vendor/urllib3/util/ssl_.py,sha256=QDuuTxPSCj1rYtZ4xpD7Ux-r20TD50aHyqKyhQ7Bq4A,17460
873
+ pip/_vendor/urllib3/util/ssl_match_hostname.py,sha256=Ir4cZVEjmAk8gUAIHWSi7wtOO83UCYABY2xFD1Ql_WA,5758
874
+ pip/_vendor/urllib3/util/ssltransport.py,sha256=NA-u5rMTrDFDFC8QzRKUEKMG0561hOD4qBTr3Z4pv6E,6895
875
+ pip/_vendor/urllib3/util/timeout.py,sha256=cwq4dMk87mJHSBktK1miYJ-85G-3T3RmT20v7SFCpno,10168
876
+ pip/_vendor/urllib3/util/url.py,sha256=lCAE7M5myA8EDdW0sJuyyZhVB9K_j38ljWhHAnFaWoE,14296
877
+ pip/_vendor/urllib3/util/wait.py,sha256=fOX0_faozG2P7iVojQoE1mbydweNyTcm-hXEfFrTtLI,5403
878
+ pip/_vendor/vendor.txt,sha256=f2msFLZ-chXWIZSKW31NLGyMWmt_-Vfy7sY5dHYgmnw,342
879
+ pip/py.typed,sha256=EBVvvPRTn_eIpz5e5QztSCdrMX7Qwd7VP93RSoIlZ2I,286
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/REQUESTED ADDED
File without changes
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: flit 3.12.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/direct_url.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"dir_info": {}, "url": "file:///home/task_177071101768311/croot/pip_1770711076895/work"}
miniconda3/lib/python3.13/site-packages/pip-26.0.1.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
+
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/AUTHORS.txt ADDED
@@ -0,0 +1,860 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @Switch01
2
+ A_Rog
3
+ Aakanksha Agrawal
4
+ Aarni Koskela
5
+ Abhinav Sagar
6
+ ABHYUDAY PRATAP SINGH
7
+ abs51295
8
+ AceGentile
9
+ Adam Chainz
10
+ Adam Tse
11
+ Adam Turner
12
+ Adam Wentz
13
+ admin
14
+ Adolfo Ochagavía
15
+ Adrien Morison
16
+ Agus
17
+ ahayrapetyan
18
+ Ahilya
19
+ AinsworthK
20
+ Akash Srivastava
21
+ Alan Yee
22
+ Albert Tugushev
23
+ Albert-Guan
24
+ albertg
25
+ Alberto Sottile
26
+ Aleks Bunin
27
+ Ales Erjavec
28
+ Alessandro Molina
29
+ Alethea Flowers
30
+ Alex Gaynor
31
+ Alex Grönholm
32
+ Alex Hedges
33
+ Alex Loosley
34
+ Alex Morega
35
+ Alex Stachowiak
36
+ Alexander Regueiro
37
+ Alexander Shtyrov
38
+ Alexandre Conrad
39
+ Alexey Popravka
40
+ Aleš Erjavec
41
+ Alli
42
+ Aman
43
+ Ami Fischman
44
+ Ananya Maiti
45
+ Anatoly Techtonik
46
+ Anders Kaseorg
47
+ Andre Aguiar
48
+ Andreas Lutro
49
+ Andrei Geacar
50
+ Andrew Gaul
51
+ Andrew Shymanel
52
+ Andrey Bienkowski
53
+ Andrey Bulgakov
54
+ Andrés Delfino
55
+ Andy Freeland
56
+ Andy Kluger
57
+ Ani Hayrapetyan
58
+ Aniruddha Basak
59
+ Anish Tambe
60
+ Anrs Hu
61
+ Anthony Sottile
62
+ Antoine Lambert
63
+ Antoine Musso
64
+ Anton Ovchinnikov
65
+ Anton Patrushev
66
+ Anton Zelenov
67
+ Antonio Alvarado Hernandez
68
+ Antony Lee
69
+ Antti Kaihola
70
+ Anubhav Patel
71
+ Anudit Nagar
72
+ Anuj Godase
73
+ AQNOUCH Mohammed
74
+ AraHaan
75
+ arena
76
+ arenasys
77
+ Arindam Choudhury
78
+ Armin Ronacher
79
+ Arnon Yaari
80
+ Artem
81
+ Arun Babu Neelicattu
82
+ Ashley Manton
83
+ Ashwin Ramaswami
84
+ atse
85
+ Atsushi Odagiri
86
+ Avinash Karhana
87
+ Avner Cohen
88
+ Awit (Ah-Wit) Ghirmai
89
+ Baptiste Mispelon
90
+ Barney Gale
91
+ barneygale
92
+ Bartek Ogryczak
93
+ Bastian Venthur
94
+ Ben Bodenmiller
95
+ Ben Darnell
96
+ Ben Hoyt
97
+ Ben Mares
98
+ Ben Rosser
99
+ Bence Nagy
100
+ Benjamin Peterson
101
+ Benjamin VanEvery
102
+ Benoit Pierre
103
+ Berker Peksag
104
+ Bernard
105
+ Bernard Tyers
106
+ Bernardo B. Marques
107
+ Bernhard M. Wiedemann
108
+ Bertil Hatt
109
+ Bhavam Vidyarthi
110
+ Blazej Michalik
111
+ Bogdan Opanchuk
112
+ BorisZZZ
113
+ Brad Erickson
114
+ Bradley Ayers
115
+ Bradley Reynolds
116
+ Branch Vincent
117
+ Brandon L. Reiss
118
+ Brandt Bucher
119
+ Brannon Dorsey
120
+ Brett Randall
121
+ Brett Rosen
122
+ Brian Cristante
123
+ Brian Rosner
124
+ briantracy
125
+ BrownTruck
126
+ Bruno Oliveira
127
+ Bruno Renié
128
+ Bruno S
129
+ Bstrdsmkr
130
+ Buck Golemon
131
+ burrows
132
+ Bussonnier Matthias
133
+ bwoodsend
134
+ c22
135
+ Caleb Brown
136
+ Caleb Martinez
137
+ Calvin Smith
138
+ Carl Meyer
139
+ Carlos Liam
140
+ Carol Willing
141
+ Carter Thayer
142
+ Cass
143
+ Chandrasekhar Atina
144
+ Charlie Marsh
145
+ charwick
146
+ Chih-Hsuan Yen
147
+ Chris Brinker
148
+ Chris Hunt
149
+ Chris Jerdonek
150
+ Chris Kuehl
151
+ Chris Markiewicz
152
+ Chris McDonough
153
+ Chris Pawley
154
+ Chris Pryer
155
+ Chris Wolfe
156
+ Christian Clauss
157
+ Christian Heimes
158
+ Christian Oudard
159
+ Christoph Reiter
160
+ Christopher Hunt
161
+ Christopher Snyder
162
+ chrysle
163
+ cjc7373
164
+ Clark Boylan
165
+ Claudio Jolowicz
166
+ Clay McClure
167
+ Cody
168
+ Cody Soyland
169
+ Colin Watson
170
+ Collin Anderson
171
+ Connor Osborn
172
+ Cooper Lees
173
+ Cooper Ry Lees
174
+ Cory Benfield
175
+ Cory Wright
176
+ Craig Kerstiens
177
+ Cristian Sorinel
178
+ Cristina
179
+ Cristina Muñoz
180
+ ctg123
181
+ Curtis Doty
182
+ cytolentino
183
+ Daan De Meyer
184
+ Dale
185
+ Damian
186
+ Damian Quiroga
187
+ Damian Shaw
188
+ Dan Black
189
+ Dan Savilonis
190
+ Dan Sully
191
+ Dane Hillard
192
+ daniel
193
+ Daniel Collins
194
+ Daniel Hahler
195
+ Daniel Hollas
196
+ Daniel Holth
197
+ Daniel Jost
198
+ Daniel Katz
199
+ Daniel Shaulov
200
+ Daniele Esposti
201
+ Daniele Nicolodi
202
+ Daniele Procida
203
+ Daniil Konovalenko
204
+ Danny Hermes
205
+ Danny McClanahan
206
+ Darren Kavanagh
207
+ Dav Clark
208
+ Dave Abrahams
209
+ Dave Jones
210
+ David Aguilar
211
+ David Black
212
+ David Bordeynik
213
+ David Caro
214
+ David D Lowe
215
+ David Evans
216
+ David Hewitt
217
+ David Linke
218
+ David Poggi
219
+ David Poznik
220
+ David Pursehouse
221
+ David Runge
222
+ David Tucker
223
+ David Wales
224
+ Davidovich
225
+ ddelange
226
+ Deepak Sharma
227
+ Deepyaman Datta
228
+ Denis Roussel (ACSONE)
229
+ Denise Yu
230
+ dependabot[bot]
231
+ derwolfe
232
+ Desetude
233
+ developer
234
+ Devesh Kumar
235
+ Devesh Kumar Singh
236
+ devsagul
237
+ Diego Caraballo
238
+ Diego Ramirez
239
+ DiegoCaraballo
240
+ Dimitri Merejkowsky
241
+ Dimitri Papadopoulos
242
+ Dimitri Papadopoulos Orfanos
243
+ Dirk Stolle
244
+ dkjsone
245
+ Dmitry Gladkov
246
+ Dmitry Volodin
247
+ Domen Kožar
248
+ Dominic Davis-Foster
249
+ Donald Stufft
250
+ Dongweiming
251
+ doron zarhi
252
+ Dos Moonen
253
+ Douglas Thor
254
+ DrFeathers
255
+ Dustin Ingram
256
+ Dustin Rodrigues
257
+ Dwayne Bailey
258
+ Ed Morley
259
+ Edgar Ramírez
260
+ Edgar Ramírez Mondragón
261
+ Ee Durbin
262
+ Efflam Lemaillet
263
+ efflamlemaillet
264
+ Eitan Adler
265
+ ekristina
266
+ elainechan
267
+ Eli Schwartz
268
+ Elisha Hollander
269
+ Ellen Marie Dash
270
+ Emil Burzo
271
+ Emil Styrke
272
+ Emmanuel Arias
273
+ Endoh Takanao
274
+ enoch
275
+ Erdinc Mutlu
276
+ Eric Cousineau
277
+ Eric Gillingham
278
+ Eric Hanchrow
279
+ Eric Hopper
280
+ Erik M. Bray
281
+ Erik Rose
282
+ Erwin Janssen
283
+ Eugene Vereshchagin
284
+ everdimension
285
+ Federico
286
+ Felipe Peter
287
+ Felix Yan
288
+ fiber-space
289
+ Filip Kokosiński
290
+ Filipe Laíns
291
+ Finn Womack
292
+ finnagin
293
+ Flavio Amurrio
294
+ Florian Briand
295
+ Florian Rathgeber
296
+ Francesco
297
+ Francesco Montesano
298
+ Fredrik Orderud
299
+ Fredrik Roubert
300
+ Frost Ming
301
+ Gabriel Curio
302
+ Gabriel de Perthuis
303
+ Garry Polley
304
+ gavin
305
+ gdanielson
306
+ Gene Wood
307
+ Geoffrey Sneddon
308
+ George Margaritis
309
+ George Song
310
+ Georgi Valkov
311
+ Georgy Pchelkin
312
+ ghost
313
+ Giftlin Rajaiah
314
+ gizmoguy1
315
+ gkdoc
316
+ Godefroid Chapelle
317
+ Gopinath M
318
+ GOTO Hayato
319
+ gousaiyang
320
+ gpiks
321
+ Greg Roodt
322
+ Greg Ward
323
+ Guido Diepen
324
+ Guilherme Espada
325
+ Guillaume Seguin
326
+ gutsytechster
327
+ Guy Rozendorn
328
+ Guy Tuval
329
+ gzpan123
330
+ Hanjun Kim
331
+ Hari Charan
332
+ Harsh Vardhan
333
+ Harsha Sai
334
+ harupy
335
+ Harutaka Kawamura
336
+ Hasan-8326
337
+ hauntsaninja
338
+ Henrich Hartzer
339
+ Henry Schreiner
340
+ Herbert Pfennig
341
+ Holly Stotelmyer
342
+ Honnix
343
+ Hsiaoming Yang
344
+ Hugo Lopes Tavares
345
+ Hugo van Kemenade
346
+ Hugues Bruant
347
+ Hynek Schlawack
348
+ iamsrp-deshaw
349
+ Ian Bicking
350
+ Ian Cordasco
351
+ Ian Lee
352
+ Ian Stapleton Cordasco
353
+ Ian Wienand
354
+ Igor Kuzmitshov
355
+ Igor Sobreira
356
+ Ikko Ashimine
357
+ Ilan Schnell
358
+ Illia Volochii
359
+ Ilya Abdolmanafi
360
+ Ilya Baryshev
361
+ Inada Naoki
362
+ Ionel Cristian Mărieș
363
+ Ionel Maries Cristian
364
+ Itamar Turner-Trauring
365
+ iTrooz
366
+ Ivan Pozdeev
367
+ J. Nick Koston
368
+ Jacob Kim
369
+ Jacob Walls
370
+ Jaime Sanz
371
+ Jake Lishman
372
+ jakirkham
373
+ Jakub Kuczys
374
+ Jakub Stasiak
375
+ Jakub Vysoky
376
+ Jakub Wilk
377
+ James
378
+ James Cleveland
379
+ James Curtin
380
+ James Firth
381
+ James Gerity
382
+ James Polley
383
+ Jan Pokorný
384
+ Jannis Leidel
385
+ Jarek Potiuk
386
+ jarondl
387
+ Jason Curtis
388
+ Jason R. Coombs
389
+ JasonMo
390
+ JasonMo1
391
+ Jay Graves
392
+ Jean Abou Samra
393
+ Jean-Christophe Fillion-Robin
394
+ Jeff Barber
395
+ Jeff Dairiki
396
+ Jeff Widman
397
+ Jelmer Vernooij
398
+ jenix21
399
+ Jeremy Fleischman
400
+ Jeremy Stanley
401
+ Jeremy Zafran
402
+ Jesse Rittner
403
+ Jiashuo Li
404
+ Jim Fisher
405
+ Jim Garrison
406
+ Jinzhe Zeng
407
+ Jiun Bae
408
+ Jivan Amara
409
+ Joa
410
+ Joe Bylund
411
+ Joe Michelini
412
+ Johannes Altmanninger
413
+ John Paton
414
+ John Sirois
415
+ John T. Wodder II
416
+ John-Scott Atlakson
417
+ johnthagen
418
+ Jon Banafato
419
+ Jon Dufresne
420
+ Jon Parise
421
+ Jonas Nockert
422
+ Jonathan Herbert
423
+ Joonatan Partanen
424
+ Joost Molenaar
425
+ Jorge Niedbalski
426
+ Joseph Bylund
427
+ Joseph Long
428
+ Josh Bronson
429
+ Josh Cannon
430
+ Josh Hansen
431
+ Josh Schneier
432
+ Joshua
433
+ JoshuaPerdue
434
+ Jost Migenda
435
+ Juan Luis Cano Rodríguez
436
+ Juanjo Bazán
437
+ Judah Rand
438
+ Julian Berman
439
+ Julian Gethmann
440
+ Julien Demoor
441
+ Julien Stephan
442
+ July Tikhonov
443
+ Jussi Kukkonen
444
+ Justin van Heek
445
+ jwg4
446
+ Jyrki Pulliainen
447
+ Kai Chen
448
+ Kai Mueller
449
+ Kamal Bin Mustafa
450
+ Karolina Surma
451
+ kasium
452
+ kaustav haldar
453
+ Kaz Nishimura
454
+ keanemind
455
+ Keith Maxwell
456
+ Kelsey Hightower
457
+ Kenneth Belitzky
458
+ Kenneth Reitz
459
+ Kevin Burke
460
+ Kevin Carter
461
+ Kevin Frommelt
462
+ Kevin R Patterson
463
+ Kexuan Sun
464
+ Kit Randel
465
+ Klaas van Schelven
466
+ KOLANICH
467
+ konstin
468
+ kpinc
469
+ Krishan Bhasin
470
+ Krishna Oza
471
+ Kumar McMillan
472
+ Kuntal Majumder
473
+ Kurt McKee
474
+ Kyle Persohn
475
+ lakshmanaram
476
+ Laszlo Kiss-Kollar
477
+ Laurent Bristiel
478
+ Laurent LAPORTE
479
+ Laurie O
480
+ Laurie Opperman
481
+ layday
482
+ Leon Sasson
483
+ Lev Givon
484
+ Lincoln de Sousa
485
+ Lipis
486
+ lorddavidiii
487
+ Loren Carvalho
488
+ Lucas Cimon
489
+ Ludovic Gasc
490
+ Luis Medel
491
+ Lukas Geiger
492
+ Lukas Juhrich
493
+ Luke Macken
494
+ Luo Jiebin
495
+ luojiebin
496
+ luz.paz
497
+ László Kiss Kollár
498
+ M00nL1ght
499
+ MajorTanya
500
+ Malcolm Smith
501
+ Marc Abramowitz
502
+ Marc Tamlyn
503
+ Marcus Smith
504
+ Mariatta
505
+ Mark Kohler
506
+ Mark McLoughlin
507
+ Mark Williams
508
+ Markus Hametner
509
+ Martey Dodoo
510
+ Martin Fischer
511
+ Martin Häcker
512
+ Martin Pavlasek
513
+ Masaki
514
+ Masklinn
515
+ Matej Stuchlik
516
+ Mateusz Sokół
517
+ Mathew Jennings
518
+ Mathieu Bridon
519
+ Mathieu Kniewallner
520
+ Matt Bacchi
521
+ Matt Good
522
+ Matt Maker
523
+ Matt Robenolt
524
+ Matt Wozniski
525
+ matthew
526
+ Matthew Einhorn
527
+ Matthew Feickert
528
+ Matthew Gilliard
529
+ Matthew Hughes
530
+ Matthew Iversen
531
+ Matthew Treinish
532
+ Matthew Trumbell
533
+ Matthew Willson
534
+ Matthias Bussonnier
535
+ mattip
536
+ Maurits van Rees
537
+ Max W Chase
538
+ Maxim Kurnikov
539
+ Maxime Rouyrre
540
+ mayeut
541
+ mbaluna
542
+ Md Sujauddin Sekh
543
+ mdebi
544
+ Meet Vasita
545
+ memoselyk
546
+ meowmeowcat
547
+ Michael
548
+ Michael Aquilina
549
+ Michael E. Karpeles
550
+ Michael Klich
551
+ Michael Mintz
552
+ Michael Williamson
553
+ michaelpacer
554
+ Michał Górny
555
+ Mickaël Schoentgen
556
+ Miguel Araujo Perez
557
+ Mihir Singh
558
+ Mike
559
+ Mike Hendricks
560
+ Min RK
561
+ MinRK
562
+ Miro Hrončok
563
+ Monica Baluna
564
+ montefra
565
+ Monty Taylor
566
+ morotti
567
+ mrKazzila
568
+ Muha Ajjan
569
+ MUTHUSRIHEMADHARSHINI S A
570
+ Nadav Wexler
571
+ Nahuel Ambrosini
572
+ Nate Coraor
573
+ Nate Prewitt
574
+ Nathan Houghton
575
+ Nathaniel J. Smith
576
+ Nehal J Wani
577
+ Neil Botelho
578
+ Nguyễn Gia Phong
579
+ Nicholas Serra
580
+ Nick Coghlan
581
+ Nick Stenning
582
+ Nick Timkovich
583
+ Nicolas Bock
584
+ Nicole Harris
585
+ Nikhil Benesch
586
+ Nikhil Ladha
587
+ Nikita Chepanov
588
+ Nikolay Korolev
589
+ Nipunn Koorapati
590
+ Nitesh Sharma
591
+ Niyas Sait
592
+ Noah
593
+ Noah Gorny
594
+ Nothing-991
595
+ Nowell Strite
596
+ NtaleGrey
597
+ nucccc
598
+ nvdv
599
+ OBITORASU
600
+ Ofek Lev
601
+ ofrinevo
602
+ Oleg Burnaev
603
+ Oliver Freund
604
+ Oliver Jeeves
605
+ Oliver Mannion
606
+ Oliver Tonnhofer
607
+ Olivier Girardot
608
+ Olivier Grisel
609
+ Ollie Rutherfurd
610
+ OMOTO Kenji
611
+ Omry Yadan
612
+ onlinejudge95
613
+ Oren Held
614
+ Oscar Benjamin
615
+ oxygen dioxide
616
+ Oz N Tiram
617
+ Pachwenko
618
+ Paresh Joshi
619
+ Patrick Dubroy
620
+ Patrick Jenkins
621
+ Patrick Lawson
622
+ patricktokeeffe
623
+ Patrik Kopkan
624
+ Paul Ganssle
625
+ Paul Kehrer
626
+ Paul Moore
627
+ Paul Nasrat
628
+ Paul Oswald
629
+ Paul van der Linden
630
+ Paulus Schoutsen
631
+ Pavel Safronov
632
+ Pavithra Eswaramoorthy
633
+ Pawel Jasinski
634
+ Paweł Szramowski
635
+ Pekka Klärck
636
+ Peter Gessler
637
+ Peter Lisák
638
+ Peter Shen
639
+ Peter Waller
640
+ Petr Viktorin
641
+ petr-tik
642
+ Phaneendra Chiruvella
643
+ Phil Elson
644
+ Phil Freo
645
+ Phil Pennock
646
+ Phil Whelan
647
+ Philip Jägenstedt
648
+ Philip Molloy
649
+ Philippe Ombredanne
650
+ Pi Delport
651
+ Pierre-Yves Rofes
652
+ Pieter Degroote
653
+ pip
654
+ Prabakaran Kumaresshan
655
+ Prabhjyotsing Surjit Singh Sodhi
656
+ Prabhu Marappan
657
+ Pradyun Gedam
658
+ Prashant Sharma
659
+ Pratik Mallya
660
+ pre-commit-ci[bot]
661
+ Preet Thakkar
662
+ Preston Holmes
663
+ Przemek Wrzos
664
+ Pulkit Goyal
665
+ q0w
666
+ Qiangning Hong
667
+ Qiming Xu
668
+ qraqras
669
+ Quentin Lee
670
+ Quentin Pradet
671
+ R. David Murray
672
+ Rafael Caricio
673
+ Ralf Schmitt
674
+ Ran Benita
675
+ Randy Döring
676
+ Razzi Abuissa
677
+ rdb
678
+ Reece Dunham
679
+ Remi Rampin
680
+ Rene Dudfield
681
+ Riccardo Magliocchetti
682
+ Riccardo Schirone
683
+ Richard Jones
684
+ Richard Si
685
+ Ricky Ng-Adam
686
+ Rishi
687
+ rmorotti
688
+ RobberPhex
689
+ Robert Collins
690
+ Robert McGibbon
691
+ Robert Pollak
692
+ Robert T. McGibbon
693
+ robin elisha robinson
694
+ Rodney, Tiara
695
+ Roey Berman
696
+ Rohan Jain
697
+ Roman Bogorodskiy
698
+ Roman Donchenko
699
+ Romuald Brunet
700
+ ronaudinho
701
+ Ronny Pfannschmidt
702
+ Rory McCann
703
+ Ross Brattain
704
+ Roy Wellington Ⅳ
705
+ Ruairidh MacLeod
706
+ Russell Keith-Magee
707
+ Ryan Shepherd
708
+ Ryan Wooden
709
+ ryneeverett
710
+ Ryuma Asai
711
+ S. Guliaev
712
+ Sachi King
713
+ Salvatore Rinchiera
714
+ sandeepkiran-js
715
+ Sander Van Balen
716
+ Savio Jomton
717
+ schlamar
718
+ Scott Kitterman
719
+ Sean
720
+ seanj
721
+ Sebastian Jordan
722
+ Sebastian Schaetz
723
+ Segev Finer
724
+ SeongSoo Cho
725
+ Sepehr Rasouli
726
+ sepehrrasooli
727
+ Sergey Vasilyev
728
+ Seth Michael Larson
729
+ Seth Woodworth
730
+ Shahar Epstein
731
+ Shantanu
732
+ shenxianpeng
733
+ shireenrao
734
+ Shivansh-007
735
+ Shixian Sheng
736
+ Shlomi Fish
737
+ Shovan Maity
738
+ Shubham Nagure
739
+ Simeon Visser
740
+ Simon Cross
741
+ Simon Pichugin
742
+ sinoroc
743
+ sinscary
744
+ snook92
745
+ socketubs
746
+ Sorin Sbarnea
747
+ Srinivas Nyayapati
748
+ Srishti Hegde
749
+ Stavros Korokithakis
750
+ Stefan Scherfke
751
+ Stefano Rivera
752
+ Stephan Erb
753
+ Stephane Chazelas
754
+ Stephen Payne
755
+ Stephen Rosen
756
+ stepshal
757
+ Steve (Gadget) Barnes
758
+ Steve Barnes
759
+ Steve Dower
760
+ Steve Kowalik
761
+ Steven Myint
762
+ Steven Silvester
763
+ stonebig
764
+ studioj
765
+ Stéphane Bidoul
766
+ Stéphane Bidoul (ACSONE)
767
+ Stéphane Klein
768
+ Sumana Harihareswara
769
+ Surbhi Sharma
770
+ Sviatoslav Sydorenko
771
+ Sviatoslav Sydorenko (Святослав Сидоренко)
772
+ Swat009
773
+ Sylvain
774
+ Takayuki SHIMIZUKAWA
775
+ Taneli Hukkinen
776
+ tbeswick
777
+ Terrance
778
+ Thiago
779
+ Thijs Triemstra
780
+ Thomas Fenzl
781
+ Thomas Grainger
782
+ Thomas Guettler
783
+ Thomas Johansson
784
+ Thomas Kluyver
785
+ Thomas Smith
786
+ Thomas VINCENT
787
+ Tim D. Smith
788
+ Tim Gates
789
+ Tim Harder
790
+ Tim Heap
791
+ tim smith
792
+ tinruufu
793
+ Tobias Hermann
794
+ Tom Forbes
795
+ Tom Freudenheim
796
+ Tom V
797
+ Tomas Hrnciar
798
+ Tomas Orsava
799
+ Tomer Chachamu
800
+ Tommi Enenkel | AnB
801
+ Tomáš Hrnčiar
802
+ Tony Beswick
803
+ Tony Narlock
804
+ Tony Zhaocheng Tan
805
+ TonyBeswick
806
+ toonarmycaptain
807
+ Toshio Kuratomi
808
+ toxinu
809
+ Travis Swicegood
810
+ Tushar Sadhwani
811
+ Tzu-ping Chung
812
+ Valentin Haenel
813
+ Victor Stinner
814
+ victorvpaulo
815
+ Vikram - Google
816
+ Viktor Szépe
817
+ Ville Skyttä
818
+ Vinay Sajip
819
+ Vincent Philippon
820
+ Vinicyus Macedo
821
+ Vipul Kumar
822
+ Vitaly Babiy
823
+ Vladimir Fokow
824
+ Vladimir Rutsky
825
+ W. Trevor King
826
+ Weida Hong
827
+ Wil Tan
828
+ Wilfred Hughes
829
+ William Edwards
830
+ William ML Leslie
831
+ William T Olson
832
+ William Woodruff
833
+ Wilson Mo
834
+ wim glenn
835
+ Winson Luk
836
+ Wolfgang Maier
837
+ Wu Zhenyu
838
+ XAMES3
839
+ Xavier Fernandez
840
+ Xianpeng Shen
841
+ xoviat
842
+ xtreak
843
+ YAMAMOTO Takashi
844
+ Yash
845
+ Yashraj
846
+ Yen Chi Hsuan
847
+ Yeray Diaz Diaz
848
+ Yoval P
849
+ Yu Jian
850
+ Yuan Jing Vincent Yan
851
+ Yuki Kobayashi
852
+ Yusuke Hayashi
853
+ zackzack38
854
+ Zearin
855
+ Zhiping Deng
856
+ ziebam
857
+ Zvezdan Petkovic
858
+ Łukasz Langa
859
+ Роман Донченко
860
+ Семён Марьясин
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/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.
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2012-2021 Eric Larson
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This package contains a modified version of ca-bundle.crt:
2
+
3
+ ca-bundle.crt -- Bundle of CA Root Certificates
4
+
5
+ This is a bundle of X.509 certificates of public Certificate Authorities
6
+ (CA). These were automatically extracted from Mozilla's root certificates
7
+ file (certdata.txt). This file can be found in the mozilla source tree:
8
+ https://hg.mozilla.org/mozilla-central/file/tip/security/nss/lib/ckfw/builtins/certdata.txt
9
+ It contains the certificates in PEM format and therefore
10
+ can be directly used with curl / libcurl / php_curl, or with
11
+ an Apache+mod_ssl webserver for SSL client authentication.
12
+ Just configure this file as the SSLCACertificateFile.#
13
+
14
+ ***** BEGIN LICENSE BLOCK *****
15
+ This Source Code Form is subject to the terms of the Mozilla Public License,
16
+ v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain
17
+ one at http://mozilla.org/MPL/2.0/.
18
+
19
+ ***** END LICENSE BLOCK *****
20
+ @(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2024-present Stephen Rosen <sirosen0@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ A. HISTORY OF THE SOFTWARE
2
+ ==========================
3
+
4
+ Python was created in the early 1990s by Guido van Rossum at Stichting
5
+ Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
6
+ as a successor of a language called ABC. Guido remains Python's
7
+ principal author, although it includes many contributions from others.
8
+
9
+ In 1995, Guido continued his work on Python at the Corporation for
10
+ National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
11
+ in Reston, Virginia where he released several versions of the
12
+ software.
13
+
14
+ In May 2000, Guido and the Python core development team moved to
15
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
16
+ year, the PythonLabs team moved to Digital Creations (now Zope
17
+ Corporation, see http://www.zope.com). In 2001, the Python Software
18
+ Foundation (PSF, see http://www.python.org/psf/) was formed, a
19
+ non-profit organization created specifically to own Python-related
20
+ Intellectual Property. Zope Corporation is a sponsoring member of
21
+ the PSF.
22
+
23
+ All Python releases are Open Source (see http://www.opensource.org for
24
+ the Open Source Definition). Historically, most, but not all, Python
25
+ releases have also been GPL-compatible; the table below summarizes
26
+ the various releases.
27
+
28
+ Release Derived Year Owner GPL-
29
+ from compatible? (1)
30
+
31
+ 0.9.0 thru 1.2 1991-1995 CWI yes
32
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
33
+ 1.6 1.5.2 2000 CNRI no
34
+ 2.0 1.6 2000 BeOpen.com no
35
+ 1.6.1 1.6 2001 CNRI yes (2)
36
+ 2.1 2.0+1.6.1 2001 PSF no
37
+ 2.0.1 2.0+1.6.1 2001 PSF yes
38
+ 2.1.1 2.1+2.0.1 2001 PSF yes
39
+ 2.2 2.1.1 2001 PSF yes
40
+ 2.1.2 2.1.1 2002 PSF yes
41
+ 2.1.3 2.1.2 2002 PSF yes
42
+ 2.2.1 2.2 2002 PSF yes
43
+ 2.2.2 2.2.1 2002 PSF yes
44
+ 2.2.3 2.2.2 2003 PSF yes
45
+ 2.3 2.2.2 2002-2003 PSF yes
46
+ 2.3.1 2.3 2002-2003 PSF yes
47
+ 2.3.2 2.3.1 2002-2003 PSF yes
48
+ 2.3.3 2.3.2 2002-2003 PSF yes
49
+ 2.3.4 2.3.3 2004 PSF yes
50
+ 2.3.5 2.3.4 2005 PSF yes
51
+ 2.4 2.3 2004 PSF yes
52
+ 2.4.1 2.4 2005 PSF yes
53
+ 2.4.2 2.4.1 2005 PSF yes
54
+ 2.4.3 2.4.2 2006 PSF yes
55
+ 2.4.4 2.4.3 2006 PSF yes
56
+ 2.5 2.4 2006 PSF yes
57
+ 2.5.1 2.5 2007 PSF yes
58
+ 2.5.2 2.5.1 2008 PSF yes
59
+ 2.5.3 2.5.2 2008 PSF yes
60
+ 2.6 2.5 2008 PSF yes
61
+ 2.6.1 2.6 2008 PSF yes
62
+ 2.6.2 2.6.1 2009 PSF yes
63
+ 2.6.3 2.6.2 2009 PSF yes
64
+ 2.6.4 2.6.3 2009 PSF yes
65
+ 2.6.5 2.6.4 2010 PSF yes
66
+ 3.0 2.6 2008 PSF yes
67
+ 3.0.1 3.0 2009 PSF yes
68
+ 3.1 3.0.1 2009 PSF yes
69
+ 3.1.1 3.1 2009 PSF yes
70
+ 3.1.2 3.1 2010 PSF yes
71
+ 3.2 3.1 2010 PSF yes
72
+
73
+ Footnotes:
74
+
75
+ (1) GPL-compatible doesn't mean that we're distributing Python under
76
+ the GPL. All Python licenses, unlike the GPL, let you distribute
77
+ a modified version without making your changes open source. The
78
+ GPL-compatible licenses make it possible to combine Python with
79
+ other software that is released under the GPL; the others don't.
80
+
81
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
82
+ because its license has a choice of law clause. According to
83
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
84
+ is "not incompatible" with the GPL.
85
+
86
+ Thanks to the many outside volunteers who have worked under Guido's
87
+ direction to make these releases possible.
88
+
89
+
90
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
91
+ ===============================================================
92
+
93
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
94
+ --------------------------------------------
95
+
96
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
97
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
98
+ otherwise using this software ("Python") in source or binary form and
99
+ its associated documentation.
100
+
101
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
102
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
103
+ analyze, test, perform and/or display publicly, prepare derivative works,
104
+ distribute, and otherwise use Python alone or in any derivative version,
105
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
106
+ i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
107
+ Python Software Foundation; All Rights Reserved" are retained in Python alone or
108
+ in any derivative version prepared by Licensee.
109
+
110
+ 3. In the event Licensee prepares a derivative work that is based on
111
+ or incorporates Python or any part thereof, and wants to make
112
+ the derivative work available to others as provided herein, then
113
+ Licensee hereby agrees to include in any such work a brief summary of
114
+ the changes made to Python.
115
+
116
+ 4. PSF is making Python available to Licensee on an "AS IS"
117
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
118
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
119
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
120
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
121
+ INFRINGE ANY THIRD PARTY RIGHTS.
122
+
123
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
124
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
125
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
126
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
127
+
128
+ 6. This License Agreement will automatically terminate upon a material
129
+ breach of its terms and conditions.
130
+
131
+ 7. Nothing in this License Agreement shall be deemed to create any
132
+ relationship of agency, partnership, or joint venture between PSF and
133
+ Licensee. This License Agreement does not grant permission to use PSF
134
+ trademarks or trade name in a trademark sense to endorse or promote
135
+ products or services of Licensee, or any third party.
136
+
137
+ 8. By copying, installing or otherwise using Python, Licensee
138
+ agrees to be bound by the terms and conditions of this License
139
+ Agreement.
140
+
141
+
142
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
143
+ -------------------------------------------
144
+
145
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
146
+
147
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
148
+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
149
+ Individual or Organization ("Licensee") accessing and otherwise using
150
+ this software in source or binary form and its associated
151
+ documentation ("the Software").
152
+
153
+ 2. Subject to the terms and conditions of this BeOpen Python License
154
+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
155
+ royalty-free, world-wide license to reproduce, analyze, test, perform
156
+ and/or display publicly, prepare derivative works, distribute, and
157
+ otherwise use the Software alone or in any derivative version,
158
+ provided, however, that the BeOpen Python License is retained in the
159
+ Software, alone or in any derivative version prepared by Licensee.
160
+
161
+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
162
+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
163
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
164
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
165
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
166
+ INFRINGE ANY THIRD PARTY RIGHTS.
167
+
168
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
169
+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
170
+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
171
+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
172
+
173
+ 5. This License Agreement will automatically terminate upon a material
174
+ breach of its terms and conditions.
175
+
176
+ 6. This License Agreement shall be governed by and interpreted in all
177
+ respects by the law of the State of California, excluding conflict of
178
+ law provisions. Nothing in this License Agreement shall be deemed to
179
+ create any relationship of agency, partnership, or joint venture
180
+ between BeOpen and Licensee. This License Agreement does not grant
181
+ permission to use BeOpen trademarks or trade names in a trademark
182
+ sense to endorse or promote products or services of Licensee, or any
183
+ third party. As an exception, the "BeOpen Python" logos available at
184
+ http://www.pythonlabs.com/logos.html may be used according to the
185
+ permissions granted on that web page.
186
+
187
+ 7. By copying, installing or otherwise using the software, Licensee
188
+ agrees to be bound by the terms and conditions of this License
189
+ Agreement.
190
+
191
+
192
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
193
+ ---------------------------------------
194
+
195
+ 1. This LICENSE AGREEMENT is between the Corporation for National
196
+ Research Initiatives, having an office at 1895 Preston White Drive,
197
+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
198
+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
199
+ source or binary form and its associated documentation.
200
+
201
+ 2. Subject to the terms and conditions of this License Agreement, CNRI
202
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
203
+ license to reproduce, analyze, test, perform and/or display publicly,
204
+ prepare derivative works, distribute, and otherwise use Python 1.6.1
205
+ alone or in any derivative version, provided, however, that CNRI's
206
+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
207
+ 1995-2001 Corporation for National Research Initiatives; All Rights
208
+ Reserved" are retained in Python 1.6.1 alone or in any derivative
209
+ version prepared by Licensee. Alternately, in lieu of CNRI's License
210
+ Agreement, Licensee may substitute the following text (omitting the
211
+ quotes): "Python 1.6.1 is made available subject to the terms and
212
+ conditions in CNRI's License Agreement. This Agreement together with
213
+ Python 1.6.1 may be located on the Internet using the following
214
+ unique, persistent identifier (known as a handle): 1895.22/1013. This
215
+ Agreement may also be obtained from a proxy server on the Internet
216
+ using the following URL: http://hdl.handle.net/1895.22/1013".
217
+
218
+ 3. In the event Licensee prepares a derivative work that is based on
219
+ or incorporates Python 1.6.1 or any part thereof, and wants to make
220
+ the derivative work available to others as provided herein, then
221
+ Licensee hereby agrees to include in any such work a brief summary of
222
+ the changes made to Python 1.6.1.
223
+
224
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
225
+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
226
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
227
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
228
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
229
+ INFRINGE ANY THIRD PARTY RIGHTS.
230
+
231
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
232
+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
233
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
234
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
235
+
236
+ 6. This License Agreement will automatically terminate upon a material
237
+ breach of its terms and conditions.
238
+
239
+ 7. This License Agreement shall be governed by the federal
240
+ intellectual property law of the United States, including without
241
+ limitation the federal copyright law, and, to the extent such
242
+ U.S. federal law does not apply, by the law of the Commonwealth of
243
+ Virginia, excluding Virginia's conflict of law provisions.
244
+ Notwithstanding the foregoing, with regard to derivative works based
245
+ on Python 1.6.1 that incorporate non-separable material that was
246
+ previously distributed under the GNU General Public License (GPL), the
247
+ law of the Commonwealth of Virginia shall govern this License
248
+ Agreement only as to issues arising under or with respect to
249
+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
250
+ License Agreement shall be deemed to create any relationship of
251
+ agency, partnership, or joint venture between CNRI and Licensee. This
252
+ License Agreement does not grant permission to use CNRI trademarks or
253
+ trade name in a trademark sense to endorse or promote products or
254
+ services of Licensee, or any third party.
255
+
256
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
257
+ installing or otherwise using Python 1.6.1, Licensee agrees to be
258
+ bound by the terms and conditions of this License Agreement.
259
+
260
+ ACCEPT
261
+
262
+
263
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
264
+ --------------------------------------------------
265
+
266
+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
267
+ The Netherlands. All rights reserved.
268
+
269
+ Permission to use, copy, modify, and distribute this software and its
270
+ documentation for any purpose and without fee is hereby granted,
271
+ provided that the above copyright notice appear in all copies and that
272
+ both that copyright notice and this permission notice appear in
273
+ supporting documentation, and that the name of Stichting Mathematisch
274
+ Centrum or CWI not be used in advertising or publicity pertaining to
275
+ distribution of the software without specific, written prior
276
+ permission.
277
+
278
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
279
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
280
+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
281
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
282
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
283
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
284
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
miniconda3/lib/python3.13/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright {yyyy} {name of copyright owner}
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+