Datasets:
Formats:
csv
Languages:
English
Size:
< 1K
Tags:
robotics
embodied-ai
human-demonstration
egocentric-video
bimanual-manipulation
tactile-sensing
License:
Upload folder using huggingface_hub (part 17)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +40 -0
- player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/DELVEWHEEL +2 -0
- player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/INSTALLER +1 -0
- player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/LICENSE.txt +945 -0
- player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/METADATA +1065 -0
- player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/RECORD +828 -0
- player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/REQUESTED +0 -0
- player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/WHEEL +4 -0
- player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/entry_points.txt +10 -0
- player/runtime/python/Lib/site-packages/numpy.libs/libscipy_openblas64_-caad452230ae4ddb57899b8b3a33c55c.dll +3 -0
- player/runtime/python/Lib/site-packages/numpy.libs/msvcp140-23ebcc0b37c8e3d074511f362feac48b.dll +3 -0
- player/runtime/python/Lib/site-packages/numpy/_pyinstaller/test_pyinstaller.py +35 -0
- player/runtime/python/Lib/site-packages/numpy/_pytesttester.py +199 -0
- player/runtime/python/Lib/site-packages/numpy/_pytesttester.pyi +18 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__init__.py +224 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/__init__.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_array_like.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_char_codes.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_dtype_like.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_nbit.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_nested_sequence.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_scalars.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_shape.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_add_docstring.py +152 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_array_like.py +167 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_callable.pyi +336 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_char_codes.py +113 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_dtype_like.py +250 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_extended_precision.py +27 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_nbit.py +17 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_nested_sequence.py +86 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_scalars.py +30 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_shape.py +7 -0
- player/runtime/python/Lib/site-packages/numpy/_typing/_ufunc.pyi +426 -0
- player/runtime/python/Lib/site-packages/numpy/_utils/__init__.py +87 -0
- player/runtime/python/Lib/site-packages/numpy/_utils/__pycache__/__init__.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_utils/__pycache__/_convertions.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_utils/__pycache__/_inspect.cpython-312.pyc +0 -0
- player/runtime/python/Lib/site-packages/numpy/_utils/_convertions.py +18 -0
- player/runtime/python/Lib/site-packages/numpy/_utils/_inspect.py +191 -0
- player/runtime/python/Lib/site-packages/numpy/_utils/_pep440.py +487 -0
- player/runtime/python/Lib/site-packages/numpy/char/__init__.py +2 -0
- player/runtime/python/Lib/site-packages/numpy/char/__init__.pyi +57 -0
- player/runtime/python/Lib/site-packages/numpy/compat/__init__.py +29 -0
- player/runtime/python/Lib/site-packages/numpy/compat/py3k.py +145 -0
- player/runtime/python/Lib/site-packages/numpy/compat/tests/__init__.py +0 -0
- player/runtime/python/Lib/site-packages/numpy/conftest.py +138 -0
- player/runtime/python/Lib/site-packages/numpy/core/__init__.py +32 -0
- player/runtime/python/Lib/site-packages/numpy/core/__init__.pyi +0 -0
- player/runtime/python/Lib/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc +0 -0
.gitattributes
CHANGED
|
@@ -103,3 +103,43 @@ player/runtime/python/Lib/site-packages/numpy/_core/__pycache__/fromnumeric.cpyt
|
|
| 103 |
player/runtime/python/Lib/site-packages/numpy/_core/_multiarray_umath.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 104 |
player/runtime/python/Lib/site-packages/numpy/_core/_simd.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 105 |
player/runtime/python/Lib/site-packages/numpy/_core/lib/npymath.lib filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
player/runtime/python/Lib/site-packages/numpy/_core/_multiarray_umath.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 104 |
player/runtime/python/Lib/site-packages/numpy/_core/_simd.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 105 |
player/runtime/python/Lib/site-packages/numpy/_core/lib/npymath.lib filter=lfs diff=lfs merge=lfs -text
|
| 106 |
+
player/runtime/python/Lib/site-packages/numpy/fft/_pocketfft_umath.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 107 |
+
player/runtime/python/Lib/site-packages/numpy/lib/__pycache__/_function_base_impl.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 108 |
+
player/runtime/python/Lib/site-packages/numpy/linalg/__pycache__/_linalg.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 109 |
+
player/runtime/python/Lib/site-packages/numpy/linalg/_umath_linalg.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 110 |
+
player/runtime/python/Lib/site-packages/numpy/random/_bounded_integers.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 111 |
+
player/runtime/python/Lib/site-packages/numpy/random/_common.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 112 |
+
player/runtime/python/Lib/site-packages/numpy/random/_generator.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 113 |
+
player/runtime/python/Lib/site-packages/numpy/random/bit_generator.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 114 |
+
player/runtime/python/Lib/site-packages/numpy/random/lib/npyrandom.lib filter=lfs diff=lfs merge=lfs -text
|
| 115 |
+
player/runtime/python/Lib/site-packages/numpy/random/mtrand.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 116 |
+
player/runtime/python/Lib/site-packages/numpy.libs/libscipy_openblas64_-caad452230ae4ddb57899b8b3a33c55c.dll filter=lfs diff=lfs merge=lfs -text
|
| 117 |
+
player/runtime/python/Lib/site-packages/numpy.libs/msvcp140-23ebcc0b37c8e3d074511f362feac48b.dll filter=lfs diff=lfs merge=lfs -text
|
| 118 |
+
player/runtime/python/Lib/site-packages/pyarrow/_acero.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 119 |
+
player/runtime/python/Lib/site-packages/pyarrow/_compute.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 120 |
+
player/runtime/python/Lib/site-packages/pyarrow/_csv.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 121 |
+
player/runtime/python/Lib/site-packages/pyarrow/_dataset.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 122 |
+
player/runtime/python/Lib/site-packages/pyarrow/_dataset_parquet.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 123 |
+
player/runtime/python/Lib/site-packages/pyarrow/_flight.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 124 |
+
player/runtime/python/Lib/site-packages/pyarrow/_fs.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 125 |
+
player/runtime/python/Lib/site-packages/pyarrow/_json.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 126 |
+
player/runtime/python/Lib/site-packages/pyarrow/_orc.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 127 |
+
player/runtime/python/Lib/site-packages/pyarrow/_parquet.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 128 |
+
player/runtime/python/Lib/site-packages/pyarrow/_parquet_encryption.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 129 |
+
player/runtime/python/Lib/site-packages/pyarrow/_s3fs.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 130 |
+
player/runtime/python/Lib/site-packages/pyarrow/_substrait.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 131 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow.dll filter=lfs diff=lfs merge=lfs -text
|
| 132 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow.lib filter=lfs diff=lfs merge=lfs -text
|
| 133 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_acero.dll filter=lfs diff=lfs merge=lfs -text
|
| 134 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_acero.lib filter=lfs diff=lfs merge=lfs -text
|
| 135 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_compute.dll filter=lfs diff=lfs merge=lfs -text
|
| 136 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_compute.lib filter=lfs diff=lfs merge=lfs -text
|
| 137 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_dataset.dll filter=lfs diff=lfs merge=lfs -text
|
| 138 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_dataset.lib filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_flight.dll filter=lfs diff=lfs merge=lfs -text
|
| 140 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_flight.lib filter=lfs diff=lfs merge=lfs -text
|
| 141 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_python.dll filter=lfs diff=lfs merge=lfs -text
|
| 142 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_python.lib filter=lfs diff=lfs merge=lfs -text
|
| 143 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_s3.dll filter=lfs diff=lfs merge=lfs -text
|
| 144 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_substrait.dll filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
player/runtime/python/Lib/site-packages/pyarrow/arrow_substrait.lib filter=lfs diff=lfs merge=lfs -text
|
player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/DELVEWHEEL
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Version: 1.8.0
|
| 2 |
+
Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-2iyom4cp\\cp312-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '--add-path', 'D:/a/numpy/numpy/.openblas/lib', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-2iyom4cp\\cp312-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-2iyom4cp\\cp312-win_amd64\\built_wheel\\numpy-2.0.2-cp312-cp312-win_amd64.whl']
|
player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
uv
|
player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/LICENSE.txt
ADDED
|
@@ -0,0 +1,945 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2005-2024, NumPy Developers.
|
| 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
|
| 6 |
+
met:
|
| 7 |
+
|
| 8 |
+
* Redistributions of source code must retain the above copyright
|
| 9 |
+
notice, this list of conditions and the following disclaimer.
|
| 10 |
+
|
| 11 |
+
* Redistributions in binary form must reproduce the above
|
| 12 |
+
copyright notice, this list of conditions and the following
|
| 13 |
+
disclaimer in the documentation and/or other materials provided
|
| 14 |
+
with the distribution.
|
| 15 |
+
|
| 16 |
+
* Neither the name of the NumPy Developers nor the names of any
|
| 17 |
+
contributors may be used to endorse or promote products derived
|
| 18 |
+
from this software without specific prior written permission.
|
| 19 |
+
|
| 20 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 21 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 22 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 23 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 24 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 25 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 26 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 27 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 28 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 29 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 30 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 31 |
+
|
| 32 |
+
----
|
| 33 |
+
|
| 34 |
+
The NumPy repository and source distributions bundle several libraries that are
|
| 35 |
+
compatibly licensed. We list these here.
|
| 36 |
+
|
| 37 |
+
Name: lapack-lite
|
| 38 |
+
Files: numpy/linalg/lapack_lite/*
|
| 39 |
+
License: BSD-3-Clause
|
| 40 |
+
For details, see numpy/linalg/lapack_lite/LICENSE.txt
|
| 41 |
+
|
| 42 |
+
Name: dragon4
|
| 43 |
+
Files: numpy/_core/src/multiarray/dragon4.c
|
| 44 |
+
License: MIT
|
| 45 |
+
For license text, see numpy/_core/src/multiarray/dragon4.c
|
| 46 |
+
|
| 47 |
+
Name: libdivide
|
| 48 |
+
Files: numpy/_core/include/numpy/libdivide/*
|
| 49 |
+
License: Zlib
|
| 50 |
+
For license text, see numpy/_core/include/numpy/libdivide/LICENSE.txt
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
Note that the following files are vendored in the repository and sdist but not
|
| 54 |
+
installed in built numpy packages:
|
| 55 |
+
|
| 56 |
+
Name: Meson
|
| 57 |
+
Files: vendored-meson/meson/*
|
| 58 |
+
License: Apache 2.0
|
| 59 |
+
For license text, see vendored-meson/meson/COPYING
|
| 60 |
+
|
| 61 |
+
Name: spin
|
| 62 |
+
Files: .spin/cmds.py
|
| 63 |
+
License: BSD-3
|
| 64 |
+
For license text, see .spin/LICENSE
|
| 65 |
+
|
| 66 |
+
----
|
| 67 |
+
|
| 68 |
+
This binary distribution of NumPy also bundles the following software:
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
Name: OpenBLAS
|
| 72 |
+
Files: numpy.libs\libscipy_openblas*.dll
|
| 73 |
+
Description: bundled as a dynamically linked library
|
| 74 |
+
Availability: https://github.com/OpenMathLib/OpenBLAS/
|
| 75 |
+
License: BSD-3-Clause
|
| 76 |
+
Copyright (c) 2011-2014, The OpenBLAS Project
|
| 77 |
+
All rights reserved.
|
| 78 |
+
|
| 79 |
+
Redistribution and use in source and binary forms, with or without
|
| 80 |
+
modification, are permitted provided that the following conditions are
|
| 81 |
+
met:
|
| 82 |
+
|
| 83 |
+
1. Redistributions of source code must retain the above copyright
|
| 84 |
+
notice, this list of conditions and the following disclaimer.
|
| 85 |
+
|
| 86 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 87 |
+
notice, this list of conditions and the following disclaimer in
|
| 88 |
+
the documentation and/or other materials provided with the
|
| 89 |
+
distribution.
|
| 90 |
+
3. Neither the name of the OpenBLAS project nor the names of
|
| 91 |
+
its contributors may be used to endorse or promote products
|
| 92 |
+
derived from this software without specific prior written
|
| 93 |
+
permission.
|
| 94 |
+
|
| 95 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 96 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 97 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 98 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 99 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 100 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 101 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 102 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 103 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 104 |
+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
Name: LAPACK
|
| 108 |
+
Files: numpy.libs\libscipy_openblas*.dll
|
| 109 |
+
Description: bundled in OpenBLAS
|
| 110 |
+
Availability: https://github.com/OpenMathLib/OpenBLAS/
|
| 111 |
+
License: BSD-3-Clause-Attribution
|
| 112 |
+
Copyright (c) 1992-2013 The University of Tennessee and The University
|
| 113 |
+
of Tennessee Research Foundation. All rights
|
| 114 |
+
reserved.
|
| 115 |
+
Copyright (c) 2000-2013 The University of California Berkeley. All
|
| 116 |
+
rights reserved.
|
| 117 |
+
Copyright (c) 2006-2013 The University of Colorado Denver. All rights
|
| 118 |
+
reserved.
|
| 119 |
+
|
| 120 |
+
$COPYRIGHT$
|
| 121 |
+
|
| 122 |
+
Additional copyrights may follow
|
| 123 |
+
|
| 124 |
+
$HEADER$
|
| 125 |
+
|
| 126 |
+
Redistribution and use in source and binary forms, with or without
|
| 127 |
+
modification, are permitted provided that the following conditions are
|
| 128 |
+
met:
|
| 129 |
+
|
| 130 |
+
- Redistributions of source code must retain the above copyright
|
| 131 |
+
notice, this list of conditions and the following disclaimer.
|
| 132 |
+
|
| 133 |
+
- Redistributions in binary form must reproduce the above copyright
|
| 134 |
+
notice, this list of conditions and the following disclaimer listed
|
| 135 |
+
in this license in the documentation and/or other materials
|
| 136 |
+
provided with the distribution.
|
| 137 |
+
|
| 138 |
+
- Neither the name of the copyright holders nor the names of its
|
| 139 |
+
contributors may be used to endorse or promote products derived from
|
| 140 |
+
this software without specific prior written permission.
|
| 141 |
+
|
| 142 |
+
The copyright holders provide no reassurances that the source code
|
| 143 |
+
provided does not infringe any patent, copyright, or any other
|
| 144 |
+
intellectual property rights of third parties. The copyright holders
|
| 145 |
+
disclaim any liability to any recipient for claims brought against
|
| 146 |
+
recipient by any third party for infringement of that parties
|
| 147 |
+
intellectual property rights.
|
| 148 |
+
|
| 149 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 150 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 151 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 152 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 153 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 154 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 155 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 156 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 157 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 158 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 159 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
Name: GCC runtime library
|
| 163 |
+
Files: numpy.libs\libscipy_openblas*.dll
|
| 164 |
+
Description: statically linked to files compiled with gcc
|
| 165 |
+
Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libgfortran
|
| 166 |
+
License: GPL-3.0-with-GCC-exception
|
| 167 |
+
Copyright (C) 2002-2017 Free Software Foundation, Inc.
|
| 168 |
+
|
| 169 |
+
Libgfortran is free software; you can redistribute it and/or modify
|
| 170 |
+
it under the terms of the GNU General Public License as published by
|
| 171 |
+
the Free Software Foundation; either version 3, or (at your option)
|
| 172 |
+
any later version.
|
| 173 |
+
|
| 174 |
+
Libgfortran is distributed in the hope that it will be useful,
|
| 175 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 176 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 177 |
+
GNU General Public License for more details.
|
| 178 |
+
|
| 179 |
+
Under Section 7 of GPL version 3, you are granted additional
|
| 180 |
+
permissions described in the GCC Runtime Library Exception, version
|
| 181 |
+
3.1, as published by the Free Software Foundation.
|
| 182 |
+
|
| 183 |
+
You should have received a copy of the GNU General Public License and
|
| 184 |
+
a copy of the GCC Runtime Library Exception along with this program;
|
| 185 |
+
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
| 186 |
+
<http://www.gnu.org/licenses/>.
|
| 187 |
+
|
| 188 |
+
----
|
| 189 |
+
|
| 190 |
+
Full text of license texts referred to above follows (that they are
|
| 191 |
+
listed below does not necessarily imply the conditions apply to the
|
| 192 |
+
present binary release):
|
| 193 |
+
|
| 194 |
+
----
|
| 195 |
+
|
| 196 |
+
GCC RUNTIME LIBRARY EXCEPTION
|
| 197 |
+
|
| 198 |
+
Version 3.1, 31 March 2009
|
| 199 |
+
|
| 200 |
+
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
|
| 201 |
+
|
| 202 |
+
Everyone is permitted to copy and distribute verbatim copies of this
|
| 203 |
+
license document, but changing it is not allowed.
|
| 204 |
+
|
| 205 |
+
This GCC Runtime Library Exception ("Exception") is an additional
|
| 206 |
+
permission under section 7 of the GNU General Public License, version
|
| 207 |
+
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
|
| 208 |
+
bears a notice placed by the copyright holder of the file stating that
|
| 209 |
+
the file is governed by GPLv3 along with this Exception.
|
| 210 |
+
|
| 211 |
+
When you use GCC to compile a program, GCC may combine portions of
|
| 212 |
+
certain GCC header files and runtime libraries with the compiled
|
| 213 |
+
program. The purpose of this Exception is to allow compilation of
|
| 214 |
+
non-GPL (including proprietary) programs to use, in this way, the
|
| 215 |
+
header files and runtime libraries covered by this Exception.
|
| 216 |
+
|
| 217 |
+
0. Definitions.
|
| 218 |
+
|
| 219 |
+
A file is an "Independent Module" if it either requires the Runtime
|
| 220 |
+
Library for execution after a Compilation Process, or makes use of an
|
| 221 |
+
interface provided by the Runtime Library, but is not otherwise based
|
| 222 |
+
on the Runtime Library.
|
| 223 |
+
|
| 224 |
+
"GCC" means a version of the GNU Compiler Collection, with or without
|
| 225 |
+
modifications, governed by version 3 (or a specified later version) of
|
| 226 |
+
the GNU General Public License (GPL) with the option of using any
|
| 227 |
+
subsequent versions published by the FSF.
|
| 228 |
+
|
| 229 |
+
"GPL-compatible Software" is software whose conditions of propagation,
|
| 230 |
+
modification and use would permit combination with GCC in accord with
|
| 231 |
+
the license of GCC.
|
| 232 |
+
|
| 233 |
+
"Target Code" refers to output from any compiler for a real or virtual
|
| 234 |
+
target processor architecture, in executable form or suitable for
|
| 235 |
+
input to an assembler, loader, linker and/or execution
|
| 236 |
+
phase. Notwithstanding that, Target Code does not include data in any
|
| 237 |
+
format that is used as a compiler intermediate representation, or used
|
| 238 |
+
for producing a compiler intermediate representation.
|
| 239 |
+
|
| 240 |
+
The "Compilation Process" transforms code entirely represented in
|
| 241 |
+
non-intermediate languages designed for human-written code, and/or in
|
| 242 |
+
Java Virtual Machine byte code, into Target Code. Thus, for example,
|
| 243 |
+
use of source code generators and preprocessors need not be considered
|
| 244 |
+
part of the Compilation Process, since the Compilation Process can be
|
| 245 |
+
understood as starting with the output of the generators or
|
| 246 |
+
preprocessors.
|
| 247 |
+
|
| 248 |
+
A Compilation Process is "Eligible" if it is done using GCC, alone or
|
| 249 |
+
with other GPL-compatible software, or if it is done without using any
|
| 250 |
+
work based on GCC. For example, using non-GPL-compatible Software to
|
| 251 |
+
optimize any GCC intermediate representations would not qualify as an
|
| 252 |
+
Eligible Compilation Process.
|
| 253 |
+
|
| 254 |
+
1. Grant of Additional Permission.
|
| 255 |
+
|
| 256 |
+
You have permission to propagate a work of Target Code formed by
|
| 257 |
+
combining the Runtime Library with Independent Modules, even if such
|
| 258 |
+
propagation would otherwise violate the terms of GPLv3, provided that
|
| 259 |
+
all Target Code was generated by Eligible Compilation Processes. You
|
| 260 |
+
may then convey such a combination under terms of your choice,
|
| 261 |
+
consistent with the licensing of the Independent Modules.
|
| 262 |
+
|
| 263 |
+
2. No Weakening of GCC Copyleft.
|
| 264 |
+
|
| 265 |
+
The availability of this Exception does not imply any general
|
| 266 |
+
presumption that third-party software is unaffected by the copyleft
|
| 267 |
+
requirements of the license of GCC.
|
| 268 |
+
|
| 269 |
+
----
|
| 270 |
+
|
| 271 |
+
GNU GENERAL PUBLIC LICENSE
|
| 272 |
+
Version 3, 29 June 2007
|
| 273 |
+
|
| 274 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
| 275 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 276 |
+
of this license document, but changing it is not allowed.
|
| 277 |
+
|
| 278 |
+
Preamble
|
| 279 |
+
|
| 280 |
+
The GNU General Public License is a free, copyleft license for
|
| 281 |
+
software and other kinds of works.
|
| 282 |
+
|
| 283 |
+
The licenses for most software and other practical works are designed
|
| 284 |
+
to take away your freedom to share and change the works. By contrast,
|
| 285 |
+
the GNU General Public License is intended to guarantee your freedom to
|
| 286 |
+
share and change all versions of a program--to make sure it remains free
|
| 287 |
+
software for all its users. We, the Free Software Foundation, use the
|
| 288 |
+
GNU General Public License for most of our software; it applies also to
|
| 289 |
+
any other work released this way by its authors. You can apply it to
|
| 290 |
+
your programs, too.
|
| 291 |
+
|
| 292 |
+
When we speak of free software, we are referring to freedom, not
|
| 293 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 294 |
+
have the freedom to distribute copies of free software (and charge for
|
| 295 |
+
them if you wish), that you receive source code or can get it if you
|
| 296 |
+
want it, that you can change the software or use pieces of it in new
|
| 297 |
+
free programs, and that you know you can do these things.
|
| 298 |
+
|
| 299 |
+
To protect your rights, we need to prevent others from denying you
|
| 300 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
| 301 |
+
certain responsibilities if you distribute copies of the software, or if
|
| 302 |
+
you modify it: responsibilities to respect the freedom of others.
|
| 303 |
+
|
| 304 |
+
For example, if you distribute copies of such a program, whether
|
| 305 |
+
gratis or for a fee, you must pass on to the recipients the same
|
| 306 |
+
freedoms that you received. You must make sure that they, too, receive
|
| 307 |
+
or can get the source code. And you must show them these terms so they
|
| 308 |
+
know their rights.
|
| 309 |
+
|
| 310 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
| 311 |
+
(1) assert copyright on the software, and (2) offer you this License
|
| 312 |
+
giving you legal permission to copy, distribute and/or modify it.
|
| 313 |
+
|
| 314 |
+
For the developers' and authors' protection, the GPL clearly explains
|
| 315 |
+
that there is no warranty for this free software. For both users' and
|
| 316 |
+
authors' sake, the GPL requires that modified versions be marked as
|
| 317 |
+
changed, so that their problems will not be attributed erroneously to
|
| 318 |
+
authors of previous versions.
|
| 319 |
+
|
| 320 |
+
Some devices are designed to deny users access to install or run
|
| 321 |
+
modified versions of the software inside them, although the manufacturer
|
| 322 |
+
can do so. This is fundamentally incompatible with the aim of
|
| 323 |
+
protecting users' freedom to change the software. The systematic
|
| 324 |
+
pattern of such abuse occurs in the area of products for individuals to
|
| 325 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
| 326 |
+
have designed this version of the GPL to prohibit the practice for those
|
| 327 |
+
products. If such problems arise substantially in other domains, we
|
| 328 |
+
stand ready to extend this provision to those domains in future versions
|
| 329 |
+
of the GPL, as needed to protect the freedom of users.
|
| 330 |
+
|
| 331 |
+
Finally, every program is threatened constantly by software patents.
|
| 332 |
+
States should not allow patents to restrict development and use of
|
| 333 |
+
software on general-purpose computers, but in those that do, we wish to
|
| 334 |
+
avoid the special danger that patents applied to a free program could
|
| 335 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
| 336 |
+
patents cannot be used to render the program non-free.
|
| 337 |
+
|
| 338 |
+
The precise terms and conditions for copying, distribution and
|
| 339 |
+
modification follow.
|
| 340 |
+
|
| 341 |
+
TERMS AND CONDITIONS
|
| 342 |
+
|
| 343 |
+
0. Definitions.
|
| 344 |
+
|
| 345 |
+
"This License" refers to version 3 of the GNU General Public License.
|
| 346 |
+
|
| 347 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 348 |
+
works, such as semiconductor masks.
|
| 349 |
+
|
| 350 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 351 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 352 |
+
"recipients" may be individuals or organizations.
|
| 353 |
+
|
| 354 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 355 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 356 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 357 |
+
earlier work or a work "based on" the earlier work.
|
| 358 |
+
|
| 359 |
+
A "covered work" means either the unmodified Program or a work based
|
| 360 |
+
on the Program.
|
| 361 |
+
|
| 362 |
+
To "propagate" a work means to do anything with it that, without
|
| 363 |
+
permission, would make you directly or secondarily liable for
|
| 364 |
+
infringement under applicable copyright law, except executing it on a
|
| 365 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 366 |
+
distribution (with or without modification), making available to the
|
| 367 |
+
public, and in some countries other activities as well.
|
| 368 |
+
|
| 369 |
+
To "convey" a work means any kind of propagation that enables other
|
| 370 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 371 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 372 |
+
|
| 373 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 374 |
+
to the extent that it includes a convenient and prominently visible
|
| 375 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 376 |
+
tells the user that there is no warranty for the work (except to the
|
| 377 |
+
extent that warranties are provided), that licensees may convey the
|
| 378 |
+
work under this License, and how to view a copy of this License. If
|
| 379 |
+
the interface presents a list of user commands or options, such as a
|
| 380 |
+
menu, a prominent item in the list meets this criterion.
|
| 381 |
+
|
| 382 |
+
1. Source Code.
|
| 383 |
+
|
| 384 |
+
The "source code" for a work means the preferred form of the work
|
| 385 |
+
for making modifications to it. "Object code" means any non-source
|
| 386 |
+
form of a work.
|
| 387 |
+
|
| 388 |
+
A "Standard Interface" means an interface that either is an official
|
| 389 |
+
standard defined by a recognized standards body, or, in the case of
|
| 390 |
+
interfaces specified for a particular programming language, one that
|
| 391 |
+
is widely used among developers working in that language.
|
| 392 |
+
|
| 393 |
+
The "System Libraries" of an executable work include anything, other
|
| 394 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 395 |
+
packaging a Major Component, but which is not part of that Major
|
| 396 |
+
Component, and (b) serves only to enable use of the work with that
|
| 397 |
+
Major Component, or to implement a Standard Interface for which an
|
| 398 |
+
implementation is available to the public in source code form. A
|
| 399 |
+
"Major Component", in this context, means a major essential component
|
| 400 |
+
(kernel, window system, and so on) of the specific operating system
|
| 401 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 402 |
+
produce the work, or an object code interpreter used to run it.
|
| 403 |
+
|
| 404 |
+
The "Corresponding Source" for a work in object code form means all
|
| 405 |
+
the source code needed to generate, install, and (for an executable
|
| 406 |
+
work) run the object code and to modify the work, including scripts to
|
| 407 |
+
control those activities. However, it does not include the work's
|
| 408 |
+
System Libraries, or general-purpose tools or generally available free
|
| 409 |
+
programs which are used unmodified in performing those activities but
|
| 410 |
+
which are not part of the work. For example, Corresponding Source
|
| 411 |
+
includes interface definition files associated with source files for
|
| 412 |
+
the work, and the source code for shared libraries and dynamically
|
| 413 |
+
linked subprograms that the work is specifically designed to require,
|
| 414 |
+
such as by intimate data communication or control flow between those
|
| 415 |
+
subprograms and other parts of the work.
|
| 416 |
+
|
| 417 |
+
The Corresponding Source need not include anything that users
|
| 418 |
+
can regenerate automatically from other parts of the Corresponding
|
| 419 |
+
Source.
|
| 420 |
+
|
| 421 |
+
The Corresponding Source for a work in source code form is that
|
| 422 |
+
same work.
|
| 423 |
+
|
| 424 |
+
2. Basic Permissions.
|
| 425 |
+
|
| 426 |
+
All rights granted under this License are granted for the term of
|
| 427 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 428 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 429 |
+
permission to run the unmodified Program. The output from running a
|
| 430 |
+
covered work is covered by this License only if the output, given its
|
| 431 |
+
content, constitutes a covered work. This License acknowledges your
|
| 432 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 433 |
+
|
| 434 |
+
You may make, run and propagate covered works that you do not
|
| 435 |
+
convey, without conditions so long as your license otherwise remains
|
| 436 |
+
in force. You may convey covered works to others for the sole purpose
|
| 437 |
+
of having them make modifications exclusively for you, or provide you
|
| 438 |
+
with facilities for running those works, provided that you comply with
|
| 439 |
+
the terms of this License in conveying all material for which you do
|
| 440 |
+
not control copyright. Those thus making or running the covered works
|
| 441 |
+
for you must do so exclusively on your behalf, under your direction
|
| 442 |
+
and control, on terms that prohibit them from making any copies of
|
| 443 |
+
your copyrighted material outside their relationship with you.
|
| 444 |
+
|
| 445 |
+
Conveying under any other circumstances is permitted solely under
|
| 446 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 447 |
+
makes it unnecessary.
|
| 448 |
+
|
| 449 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 450 |
+
|
| 451 |
+
No covered work shall be deemed part of an effective technological
|
| 452 |
+
measure under any applicable law fulfilling obligations under article
|
| 453 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 454 |
+
similar laws prohibiting or restricting circumvention of such
|
| 455 |
+
measures.
|
| 456 |
+
|
| 457 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 458 |
+
circumvention of technological measures to the extent such circumvention
|
| 459 |
+
is effected by exercising rights under this License with respect to
|
| 460 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 461 |
+
modification of the work as a means of enforcing, against the work's
|
| 462 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 463 |
+
technological measures.
|
| 464 |
+
|
| 465 |
+
4. Conveying Verbatim Copies.
|
| 466 |
+
|
| 467 |
+
You may convey verbatim copies of the Program's source code as you
|
| 468 |
+
receive it, in any medium, provided that you conspicuously and
|
| 469 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 470 |
+
keep intact all notices stating that this License and any
|
| 471 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 472 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 473 |
+
recipients a copy of this License along with the Program.
|
| 474 |
+
|
| 475 |
+
You may charge any price or no price for each copy that you convey,
|
| 476 |
+
and you may offer support or warranty protection for a fee.
|
| 477 |
+
|
| 478 |
+
5. Conveying Modified Source Versions.
|
| 479 |
+
|
| 480 |
+
You may convey a work based on the Program, or the modifications to
|
| 481 |
+
produce it from the Program, in the form of source code under the
|
| 482 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 483 |
+
|
| 484 |
+
a) The work must carry prominent notices stating that you modified
|
| 485 |
+
it, and giving a relevant date.
|
| 486 |
+
|
| 487 |
+
b) The work must carry prominent notices stating that it is
|
| 488 |
+
released under this License and any conditions added under section
|
| 489 |
+
7. This requirement modifies the requirement in section 4 to
|
| 490 |
+
"keep intact all notices".
|
| 491 |
+
|
| 492 |
+
c) You must license the entire work, as a whole, under this
|
| 493 |
+
License to anyone who comes into possession of a copy. This
|
| 494 |
+
License will therefore apply, along with any applicable section 7
|
| 495 |
+
additional terms, to the whole of the work, and all its parts,
|
| 496 |
+
regardless of how they are packaged. This License gives no
|
| 497 |
+
permission to license the work in any other way, but it does not
|
| 498 |
+
invalidate such permission if you have separately received it.
|
| 499 |
+
|
| 500 |
+
d) If the work has interactive user interfaces, each must display
|
| 501 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 502 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 503 |
+
work need not make them do so.
|
| 504 |
+
|
| 505 |
+
A compilation of a covered work with other separate and independent
|
| 506 |
+
works, which are not by their nature extensions of the covered work,
|
| 507 |
+
and which are not combined with it such as to form a larger program,
|
| 508 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 509 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 510 |
+
used to limit the access or legal rights of the compilation's users
|
| 511 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 512 |
+
in an aggregate does not cause this License to apply to the other
|
| 513 |
+
parts of the aggregate.
|
| 514 |
+
|
| 515 |
+
6. Conveying Non-Source Forms.
|
| 516 |
+
|
| 517 |
+
You may convey a covered work in object code form under the terms
|
| 518 |
+
of sections 4 and 5, provided that you also convey the
|
| 519 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 520 |
+
in one of these ways:
|
| 521 |
+
|
| 522 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 523 |
+
(including a physical distribution medium), accompanied by the
|
| 524 |
+
Corresponding Source fixed on a durable physical medium
|
| 525 |
+
customarily used for software interchange.
|
| 526 |
+
|
| 527 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 528 |
+
(including a physical distribution medium), accompanied by a
|
| 529 |
+
written offer, valid for at least three years and valid for as
|
| 530 |
+
long as you offer spare parts or customer support for that product
|
| 531 |
+
model, to give anyone who possesses the object code either (1) a
|
| 532 |
+
copy of the Corresponding Source for all the software in the
|
| 533 |
+
product that is covered by this License, on a durable physical
|
| 534 |
+
medium customarily used for software interchange, for a price no
|
| 535 |
+
more than your reasonable cost of physically performing this
|
| 536 |
+
conveying of source, or (2) access to copy the
|
| 537 |
+
Corresponding Source from a network server at no charge.
|
| 538 |
+
|
| 539 |
+
c) Convey individual copies of the object code with a copy of the
|
| 540 |
+
written offer to provide the Corresponding Source. This
|
| 541 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 542 |
+
only if you received the object code with such an offer, in accord
|
| 543 |
+
with subsection 6b.
|
| 544 |
+
|
| 545 |
+
d) Convey the object code by offering access from a designated
|
| 546 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 547 |
+
Corresponding Source in the same way through the same place at no
|
| 548 |
+
further charge. You need not require recipients to copy the
|
| 549 |
+
Corresponding Source along with the object code. If the place to
|
| 550 |
+
copy the object code is a network server, the Corresponding Source
|
| 551 |
+
may be on a different server (operated by you or a third party)
|
| 552 |
+
that supports equivalent copying facilities, provided you maintain
|
| 553 |
+
clear directions next to the object code saying where to find the
|
| 554 |
+
Corresponding Source. Regardless of what server hosts the
|
| 555 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 556 |
+
available for as long as needed to satisfy these requirements.
|
| 557 |
+
|
| 558 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 559 |
+
you inform other peers where the object code and Corresponding
|
| 560 |
+
Source of the work are being offered to the general public at no
|
| 561 |
+
charge under subsection 6d.
|
| 562 |
+
|
| 563 |
+
A separable portion of the object code, whose source code is excluded
|
| 564 |
+
from the Corresponding Source as a System Library, need not be
|
| 565 |
+
included in conveying the object code work.
|
| 566 |
+
|
| 567 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 568 |
+
tangible personal property which is normally used for personal, family,
|
| 569 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 570 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 571 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 572 |
+
product received by a particular user, "normally used" refers to a
|
| 573 |
+
typical or common use of that class of product, regardless of the status
|
| 574 |
+
of the particular user or of the way in which the particular user
|
| 575 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 576 |
+
is a consumer product regardless of whether the product has substantial
|
| 577 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 578 |
+
the only significant mode of use of the product.
|
| 579 |
+
|
| 580 |
+
"Installation Information" for a User Product means any methods,
|
| 581 |
+
procedures, authorization keys, or other information required to install
|
| 582 |
+
and execute modified versions of a covered work in that User Product from
|
| 583 |
+
a modified version of its Corresponding Source. The information must
|
| 584 |
+
suffice to ensure that the continued functioning of the modified object
|
| 585 |
+
code is in no case prevented or interfered with solely because
|
| 586 |
+
modification has been made.
|
| 587 |
+
|
| 588 |
+
If you convey an object code work under this section in, or with, or
|
| 589 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 590 |
+
part of a transaction in which the right of possession and use of the
|
| 591 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 592 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 593 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 594 |
+
by the Installation Information. But this requirement does not apply
|
| 595 |
+
if neither you nor any third party retains the ability to install
|
| 596 |
+
modified object code on the User Product (for example, the work has
|
| 597 |
+
been installed in ROM).
|
| 598 |
+
|
| 599 |
+
The requirement to provide Installation Information does not include a
|
| 600 |
+
requirement to continue to provide support service, warranty, or updates
|
| 601 |
+
for a work that has been modified or installed by the recipient, or for
|
| 602 |
+
the User Product in which it has been modified or installed. Access to a
|
| 603 |
+
network may be denied when the modification itself materially and
|
| 604 |
+
adversely affects the operation of the network or violates the rules and
|
| 605 |
+
protocols for communication across the network.
|
| 606 |
+
|
| 607 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 608 |
+
in accord with this section must be in a format that is publicly
|
| 609 |
+
documented (and with an implementation available to the public in
|
| 610 |
+
source code form), and must require no special password or key for
|
| 611 |
+
unpacking, reading or copying.
|
| 612 |
+
|
| 613 |
+
7. Additional Terms.
|
| 614 |
+
|
| 615 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 616 |
+
License by making exceptions from one or more of its conditions.
|
| 617 |
+
Additional permissions that are applicable to the entire Program shall
|
| 618 |
+
be treated as though they were included in this License, to the extent
|
| 619 |
+
that they are valid under applicable law. If additional permissions
|
| 620 |
+
apply only to part of the Program, that part may be used separately
|
| 621 |
+
under those permissions, but the entire Program remains governed by
|
| 622 |
+
this License without regard to the additional permissions.
|
| 623 |
+
|
| 624 |
+
When you convey a copy of a covered work, you may at your option
|
| 625 |
+
remove any additional permissions from that copy, or from any part of
|
| 626 |
+
it. (Additional permissions may be written to require their own
|
| 627 |
+
removal in certain cases when you modify the work.) You may place
|
| 628 |
+
additional permissions on material, added by you to a covered work,
|
| 629 |
+
for which you have or can give appropriate copyright permission.
|
| 630 |
+
|
| 631 |
+
Notwithstanding any other provision of this License, for material you
|
| 632 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 633 |
+
that material) supplement the terms of this License with terms:
|
| 634 |
+
|
| 635 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 636 |
+
terms of sections 15 and 16 of this License; or
|
| 637 |
+
|
| 638 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 639 |
+
author attributions in that material or in the Appropriate Legal
|
| 640 |
+
Notices displayed by works containing it; or
|
| 641 |
+
|
| 642 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 643 |
+
requiring that modified versions of such material be marked in
|
| 644 |
+
reasonable ways as different from the original version; or
|
| 645 |
+
|
| 646 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 647 |
+
authors of the material; or
|
| 648 |
+
|
| 649 |
+
e) Declining to grant rights under trademark law for use of some
|
| 650 |
+
trade names, trademarks, or service marks; or
|
| 651 |
+
|
| 652 |
+
f) Requiring indemnification of licensors and authors of that
|
| 653 |
+
material by anyone who conveys the material (or modified versions of
|
| 654 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 655 |
+
any liability that these contractual assumptions directly impose on
|
| 656 |
+
those licensors and authors.
|
| 657 |
+
|
| 658 |
+
All other non-permissive additional terms are considered "further
|
| 659 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 660 |
+
received it, or any part of it, contains a notice stating that it is
|
| 661 |
+
governed by this License along with a term that is a further
|
| 662 |
+
restriction, you may remove that term. If a license document contains
|
| 663 |
+
a further restriction but permits relicensing or conveying under this
|
| 664 |
+
License, you may add to a covered work material governed by the terms
|
| 665 |
+
of that license document, provided that the further restriction does
|
| 666 |
+
not survive such relicensing or conveying.
|
| 667 |
+
|
| 668 |
+
If you add terms to a covered work in accord with this section, you
|
| 669 |
+
must place, in the relevant source files, a statement of the
|
| 670 |
+
additional terms that apply to those files, or a notice indicating
|
| 671 |
+
where to find the applicable terms.
|
| 672 |
+
|
| 673 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 674 |
+
form of a separately written license, or stated as exceptions;
|
| 675 |
+
the above requirements apply either way.
|
| 676 |
+
|
| 677 |
+
8. Termination.
|
| 678 |
+
|
| 679 |
+
You may not propagate or modify a covered work except as expressly
|
| 680 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 681 |
+
modify it is void, and will automatically terminate your rights under
|
| 682 |
+
this License (including any patent licenses granted under the third
|
| 683 |
+
paragraph of section 11).
|
| 684 |
+
|
| 685 |
+
However, if you cease all violation of this License, then your
|
| 686 |
+
license from a particular copyright holder is reinstated (a)
|
| 687 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 688 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 689 |
+
holder fails to notify you of the violation by some reasonable means
|
| 690 |
+
prior to 60 days after the cessation.
|
| 691 |
+
|
| 692 |
+
Moreover, your license from a particular copyright holder is
|
| 693 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 694 |
+
violation by some reasonable means, this is the first time you have
|
| 695 |
+
received notice of violation of this License (for any work) from that
|
| 696 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 697 |
+
your receipt of the notice.
|
| 698 |
+
|
| 699 |
+
Termination of your rights under this section does not terminate the
|
| 700 |
+
licenses of parties who have received copies or rights from you under
|
| 701 |
+
this License. If your rights have been terminated and not permanently
|
| 702 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 703 |
+
material under section 10.
|
| 704 |
+
|
| 705 |
+
9. Acceptance Not Required for Having Copies.
|
| 706 |
+
|
| 707 |
+
You are not required to accept this License in order to receive or
|
| 708 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 709 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 710 |
+
to receive a copy likewise does not require acceptance. However,
|
| 711 |
+
nothing other than this License grants you permission to propagate or
|
| 712 |
+
modify any covered work. These actions infringe copyright if you do
|
| 713 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 714 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 715 |
+
|
| 716 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 717 |
+
|
| 718 |
+
Each time you convey a covered work, the recipient automatically
|
| 719 |
+
receives a license from the original licensors, to run, modify and
|
| 720 |
+
propagate that work, subject to this License. You are not responsible
|
| 721 |
+
for enforcing compliance by third parties with this License.
|
| 722 |
+
|
| 723 |
+
An "entity transaction" is a transaction transferring control of an
|
| 724 |
+
organization, or substantially all assets of one, or subdividing an
|
| 725 |
+
organization, or merging organizations. If propagation of a covered
|
| 726 |
+
work results from an entity transaction, each party to that
|
| 727 |
+
transaction who receives a copy of the work also receives whatever
|
| 728 |
+
licenses to the work the party's predecessor in interest had or could
|
| 729 |
+
give under the previous paragraph, plus a right to possession of the
|
| 730 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 731 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 732 |
+
|
| 733 |
+
You may not impose any further restrictions on the exercise of the
|
| 734 |
+
rights granted or affirmed under this License. For example, you may
|
| 735 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 736 |
+
rights granted under this License, and you may not initiate litigation
|
| 737 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 738 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 739 |
+
sale, or importing the Program or any portion of it.
|
| 740 |
+
|
| 741 |
+
11. Patents.
|
| 742 |
+
|
| 743 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 744 |
+
License of the Program or a work on which the Program is based. The
|
| 745 |
+
work thus licensed is called the contributor's "contributor version".
|
| 746 |
+
|
| 747 |
+
A contributor's "essential patent claims" are all patent claims
|
| 748 |
+
owned or controlled by the contributor, whether already acquired or
|
| 749 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 750 |
+
by this License, of making, using, or selling its contributor version,
|
| 751 |
+
but do not include claims that would be infringed only as a
|
| 752 |
+
consequence of further modification of the contributor version. For
|
| 753 |
+
purposes of this definition, "control" includes the right to grant
|
| 754 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 755 |
+
this License.
|
| 756 |
+
|
| 757 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 758 |
+
patent license under the contributor's essential patent claims, to
|
| 759 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 760 |
+
propagate the contents of its contributor version.
|
| 761 |
+
|
| 762 |
+
In the following three paragraphs, a "patent license" is any express
|
| 763 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 764 |
+
(such as an express permission to practice a patent or covenant not to
|
| 765 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 766 |
+
party means to make such an agreement or commitment not to enforce a
|
| 767 |
+
patent against the party.
|
| 768 |
+
|
| 769 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 770 |
+
and the Corresponding Source of the work is not available for anyone
|
| 771 |
+
to copy, free of charge and under the terms of this License, through a
|
| 772 |
+
publicly available network server or other readily accessible means,
|
| 773 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 774 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 775 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 776 |
+
consistent with the requirements of this License, to extend the patent
|
| 777 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 778 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 779 |
+
covered work in a country, or your recipient's use of the covered work
|
| 780 |
+
in a country, would infringe one or more identifiable patents in that
|
| 781 |
+
country that you have reason to believe are valid.
|
| 782 |
+
|
| 783 |
+
If, pursuant to or in connection with a single transaction or
|
| 784 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 785 |
+
covered work, and grant a patent license to some of the parties
|
| 786 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 787 |
+
or convey a specific copy of the covered work, then the patent license
|
| 788 |
+
you grant is automatically extended to all recipients of the covered
|
| 789 |
+
work and works based on it.
|
| 790 |
+
|
| 791 |
+
A patent license is "discriminatory" if it does not include within
|
| 792 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 793 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 794 |
+
specifically granted under this License. You may not convey a covered
|
| 795 |
+
work if you are a party to an arrangement with a third party that is
|
| 796 |
+
in the business of distributing software, under which you make payment
|
| 797 |
+
to the third party based on the extent of your activity of conveying
|
| 798 |
+
the work, and under which the third party grants, to any of the
|
| 799 |
+
parties who would receive the covered work from you, a discriminatory
|
| 800 |
+
patent license (a) in connection with copies of the covered work
|
| 801 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 802 |
+
for and in connection with specific products or compilations that
|
| 803 |
+
contain the covered work, unless you entered into that arrangement,
|
| 804 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 805 |
+
|
| 806 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 807 |
+
any implied license or other defenses to infringement that may
|
| 808 |
+
otherwise be available to you under applicable patent law.
|
| 809 |
+
|
| 810 |
+
12. No Surrender of Others' Freedom.
|
| 811 |
+
|
| 812 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 813 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 814 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 815 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 816 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 817 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 818 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 819 |
+
the Program, the only way you could satisfy both those terms and this
|
| 820 |
+
License would be to refrain entirely from conveying the Program.
|
| 821 |
+
|
| 822 |
+
13. Use with the GNU Affero General Public License.
|
| 823 |
+
|
| 824 |
+
Notwithstanding any other provision of this License, you have
|
| 825 |
+
permission to link or combine any covered work with a work licensed
|
| 826 |
+
under version 3 of the GNU Affero General Public License into a single
|
| 827 |
+
combined work, and to convey the resulting work. The terms of this
|
| 828 |
+
License will continue to apply to the part which is the covered work,
|
| 829 |
+
but the special requirements of the GNU Affero General Public License,
|
| 830 |
+
section 13, concerning interaction through a network will apply to the
|
| 831 |
+
combination as such.
|
| 832 |
+
|
| 833 |
+
14. Revised Versions of this License.
|
| 834 |
+
|
| 835 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 836 |
+
the GNU General Public License from time to time. Such new versions will
|
| 837 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 838 |
+
address new problems or concerns.
|
| 839 |
+
|
| 840 |
+
Each version is given a distinguishing version number. If the
|
| 841 |
+
Program specifies that a certain numbered version of the GNU General
|
| 842 |
+
Public License "or any later version" applies to it, you have the
|
| 843 |
+
option of following the terms and conditions either of that numbered
|
| 844 |
+
version or of any later version published by the Free Software
|
| 845 |
+
Foundation. If the Program does not specify a version number of the
|
| 846 |
+
GNU General Public License, you may choose any version ever published
|
| 847 |
+
by the Free Software Foundation.
|
| 848 |
+
|
| 849 |
+
If the Program specifies that a proxy can decide which future
|
| 850 |
+
versions of the GNU General Public License can be used, that proxy's
|
| 851 |
+
public statement of acceptance of a version permanently authorizes you
|
| 852 |
+
to choose that version for the Program.
|
| 853 |
+
|
| 854 |
+
Later license versions may give you additional or different
|
| 855 |
+
permissions. However, no additional obligations are imposed on any
|
| 856 |
+
author or copyright holder as a result of your choosing to follow a
|
| 857 |
+
later version.
|
| 858 |
+
|
| 859 |
+
15. Disclaimer of Warranty.
|
| 860 |
+
|
| 861 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 862 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 863 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 864 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 865 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 866 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 867 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 868 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 869 |
+
|
| 870 |
+
16. Limitation of Liability.
|
| 871 |
+
|
| 872 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 873 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 874 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 875 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 876 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 877 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 878 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 879 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 880 |
+
SUCH DAMAGES.
|
| 881 |
+
|
| 882 |
+
17. Interpretation of Sections 15 and 16.
|
| 883 |
+
|
| 884 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 885 |
+
above cannot be given local legal effect according to their terms,
|
| 886 |
+
reviewing courts shall apply local law that most closely approximates
|
| 887 |
+
an absolute waiver of all civil liability in connection with the
|
| 888 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 889 |
+
copy of the Program in return for a fee.
|
| 890 |
+
|
| 891 |
+
END OF TERMS AND CONDITIONS
|
| 892 |
+
|
| 893 |
+
How to Apply These Terms to Your New Programs
|
| 894 |
+
|
| 895 |
+
If you develop a new program, and you want it to be of the greatest
|
| 896 |
+
possible use to the public, the best way to achieve this is to make it
|
| 897 |
+
free software which everyone can redistribute and change under these terms.
|
| 898 |
+
|
| 899 |
+
To do so, attach the following notices to the program. It is safest
|
| 900 |
+
to attach them to the start of each source file to most effectively
|
| 901 |
+
state the exclusion of warranty; and each file should have at least
|
| 902 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 903 |
+
|
| 904 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 905 |
+
Copyright (C) <year> <name of author>
|
| 906 |
+
|
| 907 |
+
This program is free software: you can redistribute it and/or modify
|
| 908 |
+
it under the terms of the GNU General Public License as published by
|
| 909 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 910 |
+
(at your option) any later version.
|
| 911 |
+
|
| 912 |
+
This program is distributed in the hope that it will be useful,
|
| 913 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 914 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 915 |
+
GNU General Public License for more details.
|
| 916 |
+
|
| 917 |
+
You should have received a copy of the GNU General Public License
|
| 918 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 919 |
+
|
| 920 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 921 |
+
|
| 922 |
+
If the program does terminal interaction, make it output a short
|
| 923 |
+
notice like this when it starts in an interactive mode:
|
| 924 |
+
|
| 925 |
+
<program> Copyright (C) <year> <name of author>
|
| 926 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 927 |
+
This is free software, and you are welcome to redistribute it
|
| 928 |
+
under certain conditions; type `show c' for details.
|
| 929 |
+
|
| 930 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 931 |
+
parts of the General Public License. Of course, your program's commands
|
| 932 |
+
might be different; for a GUI interface, you would use an "about box".
|
| 933 |
+
|
| 934 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 935 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 936 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
| 937 |
+
<http://www.gnu.org/licenses/>.
|
| 938 |
+
|
| 939 |
+
The GNU General Public License does not permit incorporating your program
|
| 940 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 941 |
+
may consider it more useful to permit linking proprietary applications with
|
| 942 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
| 943 |
+
Public License instead of this License. But first, please read
|
| 944 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
| 945 |
+
|
player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/METADATA
ADDED
|
@@ -0,0 +1,1065 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: numpy
|
| 3 |
+
Version: 2.0.2
|
| 4 |
+
Summary: Fundamental package for array computing in Python
|
| 5 |
+
Home-page: https://numpy.org
|
| 6 |
+
Author: Travis E. Oliphant et al.
|
| 7 |
+
Maintainer-Email: NumPy Developers <numpy-discussion@python.org>
|
| 8 |
+
License: Copyright (c) 2005-2024, NumPy Developers.
|
| 9 |
+
All rights reserved.
|
| 10 |
+
|
| 11 |
+
Redistribution and use in source and binary forms, with or without
|
| 12 |
+
modification, are permitted provided that the following conditions are
|
| 13 |
+
met:
|
| 14 |
+
|
| 15 |
+
* Redistributions of source code must retain the above copyright
|
| 16 |
+
notice, this list of conditions and the following disclaimer.
|
| 17 |
+
|
| 18 |
+
* Redistributions in binary form must reproduce the above
|
| 19 |
+
copyright notice, this list of conditions and the following
|
| 20 |
+
disclaimer in the documentation and/or other materials provided
|
| 21 |
+
with the distribution.
|
| 22 |
+
|
| 23 |
+
* Neither the name of the NumPy Developers nor the names of any
|
| 24 |
+
contributors may be used to endorse or promote products derived
|
| 25 |
+
from this software without specific prior written permission.
|
| 26 |
+
|
| 27 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 28 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 29 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 30 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 31 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 32 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 33 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 34 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 35 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 36 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 37 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 38 |
+
|
| 39 |
+
----
|
| 40 |
+
|
| 41 |
+
The NumPy repository and source distributions bundle several libraries that are
|
| 42 |
+
compatibly licensed. We list these here.
|
| 43 |
+
|
| 44 |
+
Name: lapack-lite
|
| 45 |
+
Files: numpy/linalg/lapack_lite/*
|
| 46 |
+
License: BSD-3-Clause
|
| 47 |
+
For details, see numpy/linalg/lapack_lite/LICENSE.txt
|
| 48 |
+
|
| 49 |
+
Name: dragon4
|
| 50 |
+
Files: numpy/_core/src/multiarray/dragon4.c
|
| 51 |
+
License: MIT
|
| 52 |
+
For license text, see numpy/_core/src/multiarray/dragon4.c
|
| 53 |
+
|
| 54 |
+
Name: libdivide
|
| 55 |
+
Files: numpy/_core/include/numpy/libdivide/*
|
| 56 |
+
License: Zlib
|
| 57 |
+
For license text, see numpy/_core/include/numpy/libdivide/LICENSE.txt
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
Note that the following files are vendored in the repository and sdist but not
|
| 61 |
+
installed in built numpy packages:
|
| 62 |
+
|
| 63 |
+
Name: Meson
|
| 64 |
+
Files: vendored-meson/meson/*
|
| 65 |
+
License: Apache 2.0
|
| 66 |
+
For license text, see vendored-meson/meson/COPYING
|
| 67 |
+
|
| 68 |
+
Name: spin
|
| 69 |
+
Files: .spin/cmds.py
|
| 70 |
+
License: BSD-3
|
| 71 |
+
For license text, see .spin/LICENSE
|
| 72 |
+
|
| 73 |
+
----
|
| 74 |
+
|
| 75 |
+
This binary distribution of NumPy also bundles the following software:
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
Name: OpenBLAS
|
| 79 |
+
Files: numpy.libs\libscipy_openblas*.dll
|
| 80 |
+
Description: bundled as a dynamically linked library
|
| 81 |
+
Availability: https://github.com/OpenMathLib/OpenBLAS/
|
| 82 |
+
License: BSD-3-Clause
|
| 83 |
+
Copyright (c) 2011-2014, The OpenBLAS Project
|
| 84 |
+
All rights reserved.
|
| 85 |
+
|
| 86 |
+
Redistribution and use in source and binary forms, with or without
|
| 87 |
+
modification, are permitted provided that the following conditions are
|
| 88 |
+
met:
|
| 89 |
+
|
| 90 |
+
1. Redistributions of source code must retain the above copyright
|
| 91 |
+
notice, this list of conditions and the following disclaimer.
|
| 92 |
+
|
| 93 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 94 |
+
notice, this list of conditions and the following disclaimer in
|
| 95 |
+
the documentation and/or other materials provided with the
|
| 96 |
+
distribution.
|
| 97 |
+
3. Neither the name of the OpenBLAS project nor the names of
|
| 98 |
+
its contributors may be used to endorse or promote products
|
| 99 |
+
derived from this software without specific prior written
|
| 100 |
+
permission.
|
| 101 |
+
|
| 102 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 103 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 104 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 105 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 106 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 107 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 108 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 109 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 110 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 111 |
+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
Name: LAPACK
|
| 115 |
+
Files: numpy.libs\libscipy_openblas*.dll
|
| 116 |
+
Description: bundled in OpenBLAS
|
| 117 |
+
Availability: https://github.com/OpenMathLib/OpenBLAS/
|
| 118 |
+
License: BSD-3-Clause-Attribution
|
| 119 |
+
Copyright (c) 1992-2013 The University of Tennessee and The University
|
| 120 |
+
of Tennessee Research Foundation. All rights
|
| 121 |
+
reserved.
|
| 122 |
+
Copyright (c) 2000-2013 The University of California Berkeley. All
|
| 123 |
+
rights reserved.
|
| 124 |
+
Copyright (c) 2006-2013 The University of Colorado Denver. All rights
|
| 125 |
+
reserved.
|
| 126 |
+
|
| 127 |
+
$COPYRIGHT$
|
| 128 |
+
|
| 129 |
+
Additional copyrights may follow
|
| 130 |
+
|
| 131 |
+
$HEADER$
|
| 132 |
+
|
| 133 |
+
Redistribution and use in source and binary forms, with or without
|
| 134 |
+
modification, are permitted provided that the following conditions are
|
| 135 |
+
met:
|
| 136 |
+
|
| 137 |
+
- Redistributions of source code must retain the above copyright
|
| 138 |
+
notice, this list of conditions and the following disclaimer.
|
| 139 |
+
|
| 140 |
+
- Redistributions in binary form must reproduce the above copyright
|
| 141 |
+
notice, this list of conditions and the following disclaimer listed
|
| 142 |
+
in this license in the documentation and/or other materials
|
| 143 |
+
provided with the distribution.
|
| 144 |
+
|
| 145 |
+
- Neither the name of the copyright holders nor the names of its
|
| 146 |
+
contributors may be used to endorse or promote products derived from
|
| 147 |
+
this software without specific prior written permission.
|
| 148 |
+
|
| 149 |
+
The copyright holders provide no reassurances that the source code
|
| 150 |
+
provided does not infringe any patent, copyright, or any other
|
| 151 |
+
intellectual property rights of third parties. The copyright holders
|
| 152 |
+
disclaim any liability to any recipient for claims brought against
|
| 153 |
+
recipient by any third party for infringement of that parties
|
| 154 |
+
intellectual property rights.
|
| 155 |
+
|
| 156 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 157 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 158 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 159 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 160 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 161 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 162 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 163 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 164 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 165 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 166 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
Name: GCC runtime library
|
| 170 |
+
Files: numpy.libs\libscipy_openblas*.dll
|
| 171 |
+
Description: statically linked to files compiled with gcc
|
| 172 |
+
Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libgfortran
|
| 173 |
+
License: GPL-3.0-with-GCC-exception
|
| 174 |
+
Copyright (C) 2002-2017 Free Software Foundation, Inc.
|
| 175 |
+
|
| 176 |
+
Libgfortran is free software; you can redistribute it and/or modify
|
| 177 |
+
it under the terms of the GNU General Public License as published by
|
| 178 |
+
the Free Software Foundation; either version 3, or (at your option)
|
| 179 |
+
any later version.
|
| 180 |
+
|
| 181 |
+
Libgfortran is distributed in the hope that it will be useful,
|
| 182 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 183 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 184 |
+
GNU General Public License for more details.
|
| 185 |
+
|
| 186 |
+
Under Section 7 of GPL version 3, you are granted additional
|
| 187 |
+
permissions described in the GCC Runtime Library Exception, version
|
| 188 |
+
3.1, as published by the Free Software Foundation.
|
| 189 |
+
|
| 190 |
+
You should have received a copy of the GNU General Public License and
|
| 191 |
+
a copy of the GCC Runtime Library Exception along with this program;
|
| 192 |
+
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
| 193 |
+
<http://www.gnu.org/licenses/>.
|
| 194 |
+
|
| 195 |
+
----
|
| 196 |
+
|
| 197 |
+
Full text of license texts referred to above follows (that they are
|
| 198 |
+
listed below does not necessarily imply the conditions apply to the
|
| 199 |
+
present binary release):
|
| 200 |
+
|
| 201 |
+
----
|
| 202 |
+
|
| 203 |
+
GCC RUNTIME LIBRARY EXCEPTION
|
| 204 |
+
|
| 205 |
+
Version 3.1, 31 March 2009
|
| 206 |
+
|
| 207 |
+
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
|
| 208 |
+
|
| 209 |
+
Everyone is permitted to copy and distribute verbatim copies of this
|
| 210 |
+
license document, but changing it is not allowed.
|
| 211 |
+
|
| 212 |
+
This GCC Runtime Library Exception ("Exception") is an additional
|
| 213 |
+
permission under section 7 of the GNU General Public License, version
|
| 214 |
+
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
|
| 215 |
+
bears a notice placed by the copyright holder of the file stating that
|
| 216 |
+
the file is governed by GPLv3 along with this Exception.
|
| 217 |
+
|
| 218 |
+
When you use GCC to compile a program, GCC may combine portions of
|
| 219 |
+
certain GCC header files and runtime libraries with the compiled
|
| 220 |
+
program. The purpose of this Exception is to allow compilation of
|
| 221 |
+
non-GPL (including proprietary) programs to use, in this way, the
|
| 222 |
+
header files and runtime libraries covered by this Exception.
|
| 223 |
+
|
| 224 |
+
0. Definitions.
|
| 225 |
+
|
| 226 |
+
A file is an "Independent Module" if it either requires the Runtime
|
| 227 |
+
Library for execution after a Compilation Process, or makes use of an
|
| 228 |
+
interface provided by the Runtime Library, but is not otherwise based
|
| 229 |
+
on the Runtime Library.
|
| 230 |
+
|
| 231 |
+
"GCC" means a version of the GNU Compiler Collection, with or without
|
| 232 |
+
modifications, governed by version 3 (or a specified later version) of
|
| 233 |
+
the GNU General Public License (GPL) with the option of using any
|
| 234 |
+
subsequent versions published by the FSF.
|
| 235 |
+
|
| 236 |
+
"GPL-compatible Software" is software whose conditions of propagation,
|
| 237 |
+
modification and use would permit combination with GCC in accord with
|
| 238 |
+
the license of GCC.
|
| 239 |
+
|
| 240 |
+
"Target Code" refers to output from any compiler for a real or virtual
|
| 241 |
+
target processor architecture, in executable form or suitable for
|
| 242 |
+
input to an assembler, loader, linker and/or execution
|
| 243 |
+
phase. Notwithstanding that, Target Code does not include data in any
|
| 244 |
+
format that is used as a compiler intermediate representation, or used
|
| 245 |
+
for producing a compiler intermediate representation.
|
| 246 |
+
|
| 247 |
+
The "Compilation Process" transforms code entirely represented in
|
| 248 |
+
non-intermediate languages designed for human-written code, and/or in
|
| 249 |
+
Java Virtual Machine byte code, into Target Code. Thus, for example,
|
| 250 |
+
use of source code generators and preprocessors need not be considered
|
| 251 |
+
part of the Compilation Process, since the Compilation Process can be
|
| 252 |
+
understood as starting with the output of the generators or
|
| 253 |
+
preprocessors.
|
| 254 |
+
|
| 255 |
+
A Compilation Process is "Eligible" if it is done using GCC, alone or
|
| 256 |
+
with other GPL-compatible software, or if it is done without using any
|
| 257 |
+
work based on GCC. For example, using non-GPL-compatible Software to
|
| 258 |
+
optimize any GCC intermediate representations would not qualify as an
|
| 259 |
+
Eligible Compilation Process.
|
| 260 |
+
|
| 261 |
+
1. Grant of Additional Permission.
|
| 262 |
+
|
| 263 |
+
You have permission to propagate a work of Target Code formed by
|
| 264 |
+
combining the Runtime Library with Independent Modules, even if such
|
| 265 |
+
propagation would otherwise violate the terms of GPLv3, provided that
|
| 266 |
+
all Target Code was generated by Eligible Compilation Processes. You
|
| 267 |
+
may then convey such a combination under terms of your choice,
|
| 268 |
+
consistent with the licensing of the Independent Modules.
|
| 269 |
+
|
| 270 |
+
2. No Weakening of GCC Copyleft.
|
| 271 |
+
|
| 272 |
+
The availability of this Exception does not imply any general
|
| 273 |
+
presumption that third-party software is unaffected by the copyleft
|
| 274 |
+
requirements of the license of GCC.
|
| 275 |
+
|
| 276 |
+
----
|
| 277 |
+
|
| 278 |
+
GNU GENERAL PUBLIC LICENSE
|
| 279 |
+
Version 3, 29 June 2007
|
| 280 |
+
|
| 281 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
| 282 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 283 |
+
of this license document, but changing it is not allowed.
|
| 284 |
+
|
| 285 |
+
Preamble
|
| 286 |
+
|
| 287 |
+
The GNU General Public License is a free, copyleft license for
|
| 288 |
+
software and other kinds of works.
|
| 289 |
+
|
| 290 |
+
The licenses for most software and other practical works are designed
|
| 291 |
+
to take away your freedom to share and change the works. By contrast,
|
| 292 |
+
the GNU General Public License is intended to guarantee your freedom to
|
| 293 |
+
share and change all versions of a program--to make sure it remains free
|
| 294 |
+
software for all its users. We, the Free Software Foundation, use the
|
| 295 |
+
GNU General Public License for most of our software; it applies also to
|
| 296 |
+
any other work released this way by its authors. You can apply it to
|
| 297 |
+
your programs, too.
|
| 298 |
+
|
| 299 |
+
When we speak of free software, we are referring to freedom, not
|
| 300 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 301 |
+
have the freedom to distribute copies of free software (and charge for
|
| 302 |
+
them if you wish), that you receive source code or can get it if you
|
| 303 |
+
want it, that you can change the software or use pieces of it in new
|
| 304 |
+
free programs, and that you know you can do these things.
|
| 305 |
+
|
| 306 |
+
To protect your rights, we need to prevent others from denying you
|
| 307 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
| 308 |
+
certain responsibilities if you distribute copies of the software, or if
|
| 309 |
+
you modify it: responsibilities to respect the freedom of others.
|
| 310 |
+
|
| 311 |
+
For example, if you distribute copies of such a program, whether
|
| 312 |
+
gratis or for a fee, you must pass on to the recipients the same
|
| 313 |
+
freedoms that you received. You must make sure that they, too, receive
|
| 314 |
+
or can get the source code. And you must show them these terms so they
|
| 315 |
+
know their rights.
|
| 316 |
+
|
| 317 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
| 318 |
+
(1) assert copyright on the software, and (2) offer you this License
|
| 319 |
+
giving you legal permission to copy, distribute and/or modify it.
|
| 320 |
+
|
| 321 |
+
For the developers' and authors' protection, the GPL clearly explains
|
| 322 |
+
that there is no warranty for this free software. For both users' and
|
| 323 |
+
authors' sake, the GPL requires that modified versions be marked as
|
| 324 |
+
changed, so that their problems will not be attributed erroneously to
|
| 325 |
+
authors of previous versions.
|
| 326 |
+
|
| 327 |
+
Some devices are designed to deny users access to install or run
|
| 328 |
+
modified versions of the software inside them, although the manufacturer
|
| 329 |
+
can do so. This is fundamentally incompatible with the aim of
|
| 330 |
+
protecting users' freedom to change the software. The systematic
|
| 331 |
+
pattern of such abuse occurs in the area of products for individuals to
|
| 332 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
| 333 |
+
have designed this version of the GPL to prohibit the practice for those
|
| 334 |
+
products. If such problems arise substantially in other domains, we
|
| 335 |
+
stand ready to extend this provision to those domains in future versions
|
| 336 |
+
of the GPL, as needed to protect the freedom of users.
|
| 337 |
+
|
| 338 |
+
Finally, every program is threatened constantly by software patents.
|
| 339 |
+
States should not allow patents to restrict development and use of
|
| 340 |
+
software on general-purpose computers, but in those that do, we wish to
|
| 341 |
+
avoid the special danger that patents applied to a free program could
|
| 342 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
| 343 |
+
patents cannot be used to render the program non-free.
|
| 344 |
+
|
| 345 |
+
The precise terms and conditions for copying, distribution and
|
| 346 |
+
modification follow.
|
| 347 |
+
|
| 348 |
+
TERMS AND CONDITIONS
|
| 349 |
+
|
| 350 |
+
0. Definitions.
|
| 351 |
+
|
| 352 |
+
"This License" refers to version 3 of the GNU General Public License.
|
| 353 |
+
|
| 354 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 355 |
+
works, such as semiconductor masks.
|
| 356 |
+
|
| 357 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 358 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 359 |
+
"recipients" may be individuals or organizations.
|
| 360 |
+
|
| 361 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 362 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 363 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 364 |
+
earlier work or a work "based on" the earlier work.
|
| 365 |
+
|
| 366 |
+
A "covered work" means either the unmodified Program or a work based
|
| 367 |
+
on the Program.
|
| 368 |
+
|
| 369 |
+
To "propagate" a work means to do anything with it that, without
|
| 370 |
+
permission, would make you directly or secondarily liable for
|
| 371 |
+
infringement under applicable copyright law, except executing it on a
|
| 372 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 373 |
+
distribution (with or without modification), making available to the
|
| 374 |
+
public, and in some countries other activities as well.
|
| 375 |
+
|
| 376 |
+
To "convey" a work means any kind of propagation that enables other
|
| 377 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 378 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 379 |
+
|
| 380 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 381 |
+
to the extent that it includes a convenient and prominently visible
|
| 382 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 383 |
+
tells the user that there is no warranty for the work (except to the
|
| 384 |
+
extent that warranties are provided), that licensees may convey the
|
| 385 |
+
work under this License, and how to view a copy of this License. If
|
| 386 |
+
the interface presents a list of user commands or options, such as a
|
| 387 |
+
menu, a prominent item in the list meets this criterion.
|
| 388 |
+
|
| 389 |
+
1. Source Code.
|
| 390 |
+
|
| 391 |
+
The "source code" for a work means the preferred form of the work
|
| 392 |
+
for making modifications to it. "Object code" means any non-source
|
| 393 |
+
form of a work.
|
| 394 |
+
|
| 395 |
+
A "Standard Interface" means an interface that either is an official
|
| 396 |
+
standard defined by a recognized standards body, or, in the case of
|
| 397 |
+
interfaces specified for a particular programming language, one that
|
| 398 |
+
is widely used among developers working in that language.
|
| 399 |
+
|
| 400 |
+
The "System Libraries" of an executable work include anything, other
|
| 401 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 402 |
+
packaging a Major Component, but which is not part of that Major
|
| 403 |
+
Component, and (b) serves only to enable use of the work with that
|
| 404 |
+
Major Component, or to implement a Standard Interface for which an
|
| 405 |
+
implementation is available to the public in source code form. A
|
| 406 |
+
"Major Component", in this context, means a major essential component
|
| 407 |
+
(kernel, window system, and so on) of the specific operating system
|
| 408 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 409 |
+
produce the work, or an object code interpreter used to run it.
|
| 410 |
+
|
| 411 |
+
The "Corresponding Source" for a work in object code form means all
|
| 412 |
+
the source code needed to generate, install, and (for an executable
|
| 413 |
+
work) run the object code and to modify the work, including scripts to
|
| 414 |
+
control those activities. However, it does not include the work's
|
| 415 |
+
System Libraries, or general-purpose tools or generally available free
|
| 416 |
+
programs which are used unmodified in performing those activities but
|
| 417 |
+
which are not part of the work. For example, Corresponding Source
|
| 418 |
+
includes interface definition files associated with source files for
|
| 419 |
+
the work, and the source code for shared libraries and dynamically
|
| 420 |
+
linked subprograms that the work is specifically designed to require,
|
| 421 |
+
such as by intimate data communication or control flow between those
|
| 422 |
+
subprograms and other parts of the work.
|
| 423 |
+
|
| 424 |
+
The Corresponding Source need not include anything that users
|
| 425 |
+
can regenerate automatically from other parts of the Corresponding
|
| 426 |
+
Source.
|
| 427 |
+
|
| 428 |
+
The Corresponding Source for a work in source code form is that
|
| 429 |
+
same work.
|
| 430 |
+
|
| 431 |
+
2. Basic Permissions.
|
| 432 |
+
|
| 433 |
+
All rights granted under this License are granted for the term of
|
| 434 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 435 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 436 |
+
permission to run the unmodified Program. The output from running a
|
| 437 |
+
covered work is covered by this License only if the output, given its
|
| 438 |
+
content, constitutes a covered work. This License acknowledges your
|
| 439 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 440 |
+
|
| 441 |
+
You may make, run and propagate covered works that you do not
|
| 442 |
+
convey, without conditions so long as your license otherwise remains
|
| 443 |
+
in force. You may convey covered works to others for the sole purpose
|
| 444 |
+
of having them make modifications exclusively for you, or provide you
|
| 445 |
+
with facilities for running those works, provided that you comply with
|
| 446 |
+
the terms of this License in conveying all material for which you do
|
| 447 |
+
not control copyright. Those thus making or running the covered works
|
| 448 |
+
for you must do so exclusively on your behalf, under your direction
|
| 449 |
+
and control, on terms that prohibit them from making any copies of
|
| 450 |
+
your copyrighted material outside their relationship with you.
|
| 451 |
+
|
| 452 |
+
Conveying under any other circumstances is permitted solely under
|
| 453 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 454 |
+
makes it unnecessary.
|
| 455 |
+
|
| 456 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 457 |
+
|
| 458 |
+
No covered work shall be deemed part of an effective technological
|
| 459 |
+
measure under any applicable law fulfilling obligations under article
|
| 460 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 461 |
+
similar laws prohibiting or restricting circumvention of such
|
| 462 |
+
measures.
|
| 463 |
+
|
| 464 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 465 |
+
circumvention of technological measures to the extent such circumvention
|
| 466 |
+
is effected by exercising rights under this License with respect to
|
| 467 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 468 |
+
modification of the work as a means of enforcing, against the work's
|
| 469 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 470 |
+
technological measures.
|
| 471 |
+
|
| 472 |
+
4. Conveying Verbatim Copies.
|
| 473 |
+
|
| 474 |
+
You may convey verbatim copies of the Program's source code as you
|
| 475 |
+
receive it, in any medium, provided that you conspicuously and
|
| 476 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 477 |
+
keep intact all notices stating that this License and any
|
| 478 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 479 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 480 |
+
recipients a copy of this License along with the Program.
|
| 481 |
+
|
| 482 |
+
You may charge any price or no price for each copy that you convey,
|
| 483 |
+
and you may offer support or warranty protection for a fee.
|
| 484 |
+
|
| 485 |
+
5. Conveying Modified Source Versions.
|
| 486 |
+
|
| 487 |
+
You may convey a work based on the Program, or the modifications to
|
| 488 |
+
produce it from the Program, in the form of source code under the
|
| 489 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 490 |
+
|
| 491 |
+
a) The work must carry prominent notices stating that you modified
|
| 492 |
+
it, and giving a relevant date.
|
| 493 |
+
|
| 494 |
+
b) The work must carry prominent notices stating that it is
|
| 495 |
+
released under this License and any conditions added under section
|
| 496 |
+
7. This requirement modifies the requirement in section 4 to
|
| 497 |
+
"keep intact all notices".
|
| 498 |
+
|
| 499 |
+
c) You must license the entire work, as a whole, under this
|
| 500 |
+
License to anyone who comes into possession of a copy. This
|
| 501 |
+
License will therefore apply, along with any applicable section 7
|
| 502 |
+
additional terms, to the whole of the work, and all its parts,
|
| 503 |
+
regardless of how they are packaged. This License gives no
|
| 504 |
+
permission to license the work in any other way, but it does not
|
| 505 |
+
invalidate such permission if you have separately received it.
|
| 506 |
+
|
| 507 |
+
d) If the work has interactive user interfaces, each must display
|
| 508 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 509 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 510 |
+
work need not make them do so.
|
| 511 |
+
|
| 512 |
+
A compilation of a covered work with other separate and independent
|
| 513 |
+
works, which are not by their nature extensions of the covered work,
|
| 514 |
+
and which are not combined with it such as to form a larger program,
|
| 515 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 516 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 517 |
+
used to limit the access or legal rights of the compilation's users
|
| 518 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 519 |
+
in an aggregate does not cause this License to apply to the other
|
| 520 |
+
parts of the aggregate.
|
| 521 |
+
|
| 522 |
+
6. Conveying Non-Source Forms.
|
| 523 |
+
|
| 524 |
+
You may convey a covered work in object code form under the terms
|
| 525 |
+
of sections 4 and 5, provided that you also convey the
|
| 526 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 527 |
+
in one of these ways:
|
| 528 |
+
|
| 529 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 530 |
+
(including a physical distribution medium), accompanied by the
|
| 531 |
+
Corresponding Source fixed on a durable physical medium
|
| 532 |
+
customarily used for software interchange.
|
| 533 |
+
|
| 534 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 535 |
+
(including a physical distribution medium), accompanied by a
|
| 536 |
+
written offer, valid for at least three years and valid for as
|
| 537 |
+
long as you offer spare parts or customer support for that product
|
| 538 |
+
model, to give anyone who possesses the object code either (1) a
|
| 539 |
+
copy of the Corresponding Source for all the software in the
|
| 540 |
+
product that is covered by this License, on a durable physical
|
| 541 |
+
medium customarily used for software interchange, for a price no
|
| 542 |
+
more than your reasonable cost of physically performing this
|
| 543 |
+
conveying of source, or (2) access to copy the
|
| 544 |
+
Corresponding Source from a network server at no charge.
|
| 545 |
+
|
| 546 |
+
c) Convey individual copies of the object code with a copy of the
|
| 547 |
+
written offer to provide the Corresponding Source. This
|
| 548 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 549 |
+
only if you received the object code with such an offer, in accord
|
| 550 |
+
with subsection 6b.
|
| 551 |
+
|
| 552 |
+
d) Convey the object code by offering access from a designated
|
| 553 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 554 |
+
Corresponding Source in the same way through the same place at no
|
| 555 |
+
further charge. You need not require recipients to copy the
|
| 556 |
+
Corresponding Source along with the object code. If the place to
|
| 557 |
+
copy the object code is a network server, the Corresponding Source
|
| 558 |
+
may be on a different server (operated by you or a third party)
|
| 559 |
+
that supports equivalent copying facilities, provided you maintain
|
| 560 |
+
clear directions next to the object code saying where to find the
|
| 561 |
+
Corresponding Source. Regardless of what server hosts the
|
| 562 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 563 |
+
available for as long as needed to satisfy these requirements.
|
| 564 |
+
|
| 565 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 566 |
+
you inform other peers where the object code and Corresponding
|
| 567 |
+
Source of the work are being offered to the general public at no
|
| 568 |
+
charge under subsection 6d.
|
| 569 |
+
|
| 570 |
+
A separable portion of the object code, whose source code is excluded
|
| 571 |
+
from the Corresponding Source as a System Library, need not be
|
| 572 |
+
included in conveying the object code work.
|
| 573 |
+
|
| 574 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 575 |
+
tangible personal property which is normally used for personal, family,
|
| 576 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 577 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 578 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 579 |
+
product received by a particular user, "normally used" refers to a
|
| 580 |
+
typical or common use of that class of product, regardless of the status
|
| 581 |
+
of the particular user or of the way in which the particular user
|
| 582 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 583 |
+
is a consumer product regardless of whether the product has substantial
|
| 584 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 585 |
+
the only significant mode of use of the product.
|
| 586 |
+
|
| 587 |
+
"Installation Information" for a User Product means any methods,
|
| 588 |
+
procedures, authorization keys, or other information required to install
|
| 589 |
+
and execute modified versions of a covered work in that User Product from
|
| 590 |
+
a modified version of its Corresponding Source. The information must
|
| 591 |
+
suffice to ensure that the continued functioning of the modified object
|
| 592 |
+
code is in no case prevented or interfered with solely because
|
| 593 |
+
modification has been made.
|
| 594 |
+
|
| 595 |
+
If you convey an object code work under this section in, or with, or
|
| 596 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 597 |
+
part of a transaction in which the right of possession and use of the
|
| 598 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 599 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 600 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 601 |
+
by the Installation Information. But this requirement does not apply
|
| 602 |
+
if neither you nor any third party retains the ability to install
|
| 603 |
+
modified object code on the User Product (for example, the work has
|
| 604 |
+
been installed in ROM).
|
| 605 |
+
|
| 606 |
+
The requirement to provide Installation Information does not include a
|
| 607 |
+
requirement to continue to provide support service, warranty, or updates
|
| 608 |
+
for a work that has been modified or installed by the recipient, or for
|
| 609 |
+
the User Product in which it has been modified or installed. Access to a
|
| 610 |
+
network may be denied when the modification itself materially and
|
| 611 |
+
adversely affects the operation of the network or violates the rules and
|
| 612 |
+
protocols for communication across the network.
|
| 613 |
+
|
| 614 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 615 |
+
in accord with this section must be in a format that is publicly
|
| 616 |
+
documented (and with an implementation available to the public in
|
| 617 |
+
source code form), and must require no special password or key for
|
| 618 |
+
unpacking, reading or copying.
|
| 619 |
+
|
| 620 |
+
7. Additional Terms.
|
| 621 |
+
|
| 622 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 623 |
+
License by making exceptions from one or more of its conditions.
|
| 624 |
+
Additional permissions that are applicable to the entire Program shall
|
| 625 |
+
be treated as though they were included in this License, to the extent
|
| 626 |
+
that they are valid under applicable law. If additional permissions
|
| 627 |
+
apply only to part of the Program, that part may be used separately
|
| 628 |
+
under those permissions, but the entire Program remains governed by
|
| 629 |
+
this License without regard to the additional permissions.
|
| 630 |
+
|
| 631 |
+
When you convey a copy of a covered work, you may at your option
|
| 632 |
+
remove any additional permissions from that copy, or from any part of
|
| 633 |
+
it. (Additional permissions may be written to require their own
|
| 634 |
+
removal in certain cases when you modify the work.) You may place
|
| 635 |
+
additional permissions on material, added by you to a covered work,
|
| 636 |
+
for which you have or can give appropriate copyright permission.
|
| 637 |
+
|
| 638 |
+
Notwithstanding any other provision of this License, for material you
|
| 639 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 640 |
+
that material) supplement the terms of this License with terms:
|
| 641 |
+
|
| 642 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 643 |
+
terms of sections 15 and 16 of this License; or
|
| 644 |
+
|
| 645 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 646 |
+
author attributions in that material or in the Appropriate Legal
|
| 647 |
+
Notices displayed by works containing it; or
|
| 648 |
+
|
| 649 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 650 |
+
requiring that modified versions of such material be marked in
|
| 651 |
+
reasonable ways as different from the original version; or
|
| 652 |
+
|
| 653 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 654 |
+
authors of the material; or
|
| 655 |
+
|
| 656 |
+
e) Declining to grant rights under trademark law for use of some
|
| 657 |
+
trade names, trademarks, or service marks; or
|
| 658 |
+
|
| 659 |
+
f) Requiring indemnification of licensors and authors of that
|
| 660 |
+
material by anyone who conveys the material (or modified versions of
|
| 661 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 662 |
+
any liability that these contractual assumptions directly impose on
|
| 663 |
+
those licensors and authors.
|
| 664 |
+
|
| 665 |
+
All other non-permissive additional terms are considered "further
|
| 666 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 667 |
+
received it, or any part of it, contains a notice stating that it is
|
| 668 |
+
governed by this License along with a term that is a further
|
| 669 |
+
restriction, you may remove that term. If a license document contains
|
| 670 |
+
a further restriction but permits relicensing or conveying under this
|
| 671 |
+
License, you may add to a covered work material governed by the terms
|
| 672 |
+
of that license document, provided that the further restriction does
|
| 673 |
+
not survive such relicensing or conveying.
|
| 674 |
+
|
| 675 |
+
If you add terms to a covered work in accord with this section, you
|
| 676 |
+
must place, in the relevant source files, a statement of the
|
| 677 |
+
additional terms that apply to those files, or a notice indicating
|
| 678 |
+
where to find the applicable terms.
|
| 679 |
+
|
| 680 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 681 |
+
form of a separately written license, or stated as exceptions;
|
| 682 |
+
the above requirements apply either way.
|
| 683 |
+
|
| 684 |
+
8. Termination.
|
| 685 |
+
|
| 686 |
+
You may not propagate or modify a covered work except as expressly
|
| 687 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 688 |
+
modify it is void, and will automatically terminate your rights under
|
| 689 |
+
this License (including any patent licenses granted under the third
|
| 690 |
+
paragraph of section 11).
|
| 691 |
+
|
| 692 |
+
However, if you cease all violation of this License, then your
|
| 693 |
+
license from a particular copyright holder is reinstated (a)
|
| 694 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 695 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 696 |
+
holder fails to notify you of the violation by some reasonable means
|
| 697 |
+
prior to 60 days after the cessation.
|
| 698 |
+
|
| 699 |
+
Moreover, your license from a particular copyright holder is
|
| 700 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 701 |
+
violation by some reasonable means, this is the first time you have
|
| 702 |
+
received notice of violation of this License (for any work) from that
|
| 703 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 704 |
+
your receipt of the notice.
|
| 705 |
+
|
| 706 |
+
Termination of your rights under this section does not terminate the
|
| 707 |
+
licenses of parties who have received copies or rights from you under
|
| 708 |
+
this License. If your rights have been terminated and not permanently
|
| 709 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 710 |
+
material under section 10.
|
| 711 |
+
|
| 712 |
+
9. Acceptance Not Required for Having Copies.
|
| 713 |
+
|
| 714 |
+
You are not required to accept this License in order to receive or
|
| 715 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 716 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 717 |
+
to receive a copy likewise does not require acceptance. However,
|
| 718 |
+
nothing other than this License grants you permission to propagate or
|
| 719 |
+
modify any covered work. These actions infringe copyright if you do
|
| 720 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 721 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 722 |
+
|
| 723 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 724 |
+
|
| 725 |
+
Each time you convey a covered work, the recipient automatically
|
| 726 |
+
receives a license from the original licensors, to run, modify and
|
| 727 |
+
propagate that work, subject to this License. You are not responsible
|
| 728 |
+
for enforcing compliance by third parties with this License.
|
| 729 |
+
|
| 730 |
+
An "entity transaction" is a transaction transferring control of an
|
| 731 |
+
organization, or substantially all assets of one, or subdividing an
|
| 732 |
+
organization, or merging organizations. If propagation of a covered
|
| 733 |
+
work results from an entity transaction, each party to that
|
| 734 |
+
transaction who receives a copy of the work also receives whatever
|
| 735 |
+
licenses to the work the party's predecessor in interest had or could
|
| 736 |
+
give under the previous paragraph, plus a right to possession of the
|
| 737 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 738 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 739 |
+
|
| 740 |
+
You may not impose any further restrictions on the exercise of the
|
| 741 |
+
rights granted or affirmed under this License. For example, you may
|
| 742 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 743 |
+
rights granted under this License, and you may not initiate litigation
|
| 744 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 745 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 746 |
+
sale, or importing the Program or any portion of it.
|
| 747 |
+
|
| 748 |
+
11. Patents.
|
| 749 |
+
|
| 750 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 751 |
+
License of the Program or a work on which the Program is based. The
|
| 752 |
+
work thus licensed is called the contributor's "contributor version".
|
| 753 |
+
|
| 754 |
+
A contributor's "essential patent claims" are all patent claims
|
| 755 |
+
owned or controlled by the contributor, whether already acquired or
|
| 756 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 757 |
+
by this License, of making, using, or selling its contributor version,
|
| 758 |
+
but do not include claims that would be infringed only as a
|
| 759 |
+
consequence of further modification of the contributor version. For
|
| 760 |
+
purposes of this definition, "control" includes the right to grant
|
| 761 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 762 |
+
this License.
|
| 763 |
+
|
| 764 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 765 |
+
patent license under the contributor's essential patent claims, to
|
| 766 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 767 |
+
propagate the contents of its contributor version.
|
| 768 |
+
|
| 769 |
+
In the following three paragraphs, a "patent license" is any express
|
| 770 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 771 |
+
(such as an express permission to practice a patent or covenant not to
|
| 772 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 773 |
+
party means to make such an agreement or commitment not to enforce a
|
| 774 |
+
patent against the party.
|
| 775 |
+
|
| 776 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 777 |
+
and the Corresponding Source of the work is not available for anyone
|
| 778 |
+
to copy, free of charge and under the terms of this License, through a
|
| 779 |
+
publicly available network server or other readily accessible means,
|
| 780 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 781 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 782 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 783 |
+
consistent with the requirements of this License, to extend the patent
|
| 784 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 785 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 786 |
+
covered work in a country, or your recipient's use of the covered work
|
| 787 |
+
in a country, would infringe one or more identifiable patents in that
|
| 788 |
+
country that you have reason to believe are valid.
|
| 789 |
+
|
| 790 |
+
If, pursuant to or in connection with a single transaction or
|
| 791 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 792 |
+
covered work, and grant a patent license to some of the parties
|
| 793 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 794 |
+
or convey a specific copy of the covered work, then the patent license
|
| 795 |
+
you grant is automatically extended to all recipients of the covered
|
| 796 |
+
work and works based on it.
|
| 797 |
+
|
| 798 |
+
A patent license is "discriminatory" if it does not include within
|
| 799 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 800 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 801 |
+
specifically granted under this License. You may not convey a covered
|
| 802 |
+
work if you are a party to an arrangement with a third party that is
|
| 803 |
+
in the business of distributing software, under which you make payment
|
| 804 |
+
to the third party based on the extent of your activity of conveying
|
| 805 |
+
the work, and under which the third party grants, to any of the
|
| 806 |
+
parties who would receive the covered work from you, a discriminatory
|
| 807 |
+
patent license (a) in connection with copies of the covered work
|
| 808 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 809 |
+
for and in connection with specific products or compilations that
|
| 810 |
+
contain the covered work, unless you entered into that arrangement,
|
| 811 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 812 |
+
|
| 813 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 814 |
+
any implied license or other defenses to infringement that may
|
| 815 |
+
otherwise be available to you under applicable patent law.
|
| 816 |
+
|
| 817 |
+
12. No Surrender of Others' Freedom.
|
| 818 |
+
|
| 819 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 820 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 821 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 822 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 823 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 824 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 825 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 826 |
+
the Program, the only way you could satisfy both those terms and this
|
| 827 |
+
License would be to refrain entirely from conveying the Program.
|
| 828 |
+
|
| 829 |
+
13. Use with the GNU Affero General Public License.
|
| 830 |
+
|
| 831 |
+
Notwithstanding any other provision of this License, you have
|
| 832 |
+
permission to link or combine any covered work with a work licensed
|
| 833 |
+
under version 3 of the GNU Affero General Public License into a single
|
| 834 |
+
combined work, and to convey the resulting work. The terms of this
|
| 835 |
+
License will continue to apply to the part which is the covered work,
|
| 836 |
+
but the special requirements of the GNU Affero General Public License,
|
| 837 |
+
section 13, concerning interaction through a network will apply to the
|
| 838 |
+
combination as such.
|
| 839 |
+
|
| 840 |
+
14. Revised Versions of this License.
|
| 841 |
+
|
| 842 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 843 |
+
the GNU General Public License from time to time. Such new versions will
|
| 844 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 845 |
+
address new problems or concerns.
|
| 846 |
+
|
| 847 |
+
Each version is given a distinguishing version number. If the
|
| 848 |
+
Program specifies that a certain numbered version of the GNU General
|
| 849 |
+
Public License "or any later version" applies to it, you have the
|
| 850 |
+
option of following the terms and conditions either of that numbered
|
| 851 |
+
version or of any later version published by the Free Software
|
| 852 |
+
Foundation. If the Program does not specify a version number of the
|
| 853 |
+
GNU General Public License, you may choose any version ever published
|
| 854 |
+
by the Free Software Foundation.
|
| 855 |
+
|
| 856 |
+
If the Program specifies that a proxy can decide which future
|
| 857 |
+
versions of the GNU General Public License can be used, that proxy's
|
| 858 |
+
public statement of acceptance of a version permanently authorizes you
|
| 859 |
+
to choose that version for the Program.
|
| 860 |
+
|
| 861 |
+
Later license versions may give you additional or different
|
| 862 |
+
permissions. However, no additional obligations are imposed on any
|
| 863 |
+
author or copyright holder as a result of your choosing to follow a
|
| 864 |
+
later version.
|
| 865 |
+
|
| 866 |
+
15. Disclaimer of Warranty.
|
| 867 |
+
|
| 868 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 869 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 870 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 871 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 872 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 873 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 874 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 875 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 876 |
+
|
| 877 |
+
16. Limitation of Liability.
|
| 878 |
+
|
| 879 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 880 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 881 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 882 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 883 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 884 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 885 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 886 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 887 |
+
SUCH DAMAGES.
|
| 888 |
+
|
| 889 |
+
17. Interpretation of Sections 15 and 16.
|
| 890 |
+
|
| 891 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 892 |
+
above cannot be given local legal effect according to their terms,
|
| 893 |
+
reviewing courts shall apply local law that most closely approximates
|
| 894 |
+
an absolute waiver of all civil liability in connection with the
|
| 895 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 896 |
+
copy of the Program in return for a fee.
|
| 897 |
+
|
| 898 |
+
END OF TERMS AND CONDITIONS
|
| 899 |
+
|
| 900 |
+
How to Apply These Terms to Your New Programs
|
| 901 |
+
|
| 902 |
+
If you develop a new program, and you want it to be of the greatest
|
| 903 |
+
possible use to the public, the best way to achieve this is to make it
|
| 904 |
+
free software which everyone can redistribute and change under these terms.
|
| 905 |
+
|
| 906 |
+
To do so, attach the following notices to the program. It is safest
|
| 907 |
+
to attach them to the start of each source file to most effectively
|
| 908 |
+
state the exclusion of warranty; and each file should have at least
|
| 909 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 910 |
+
|
| 911 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 912 |
+
Copyright (C) <year> <name of author>
|
| 913 |
+
|
| 914 |
+
This program is free software: you can redistribute it and/or modify
|
| 915 |
+
it under the terms of the GNU General Public License as published by
|
| 916 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 917 |
+
(at your option) any later version.
|
| 918 |
+
|
| 919 |
+
This program is distributed in the hope that it will be useful,
|
| 920 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 921 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 922 |
+
GNU General Public License for more details.
|
| 923 |
+
|
| 924 |
+
You should have received a copy of the GNU General Public License
|
| 925 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 926 |
+
|
| 927 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 928 |
+
|
| 929 |
+
If the program does terminal interaction, make it output a short
|
| 930 |
+
notice like this when it starts in an interactive mode:
|
| 931 |
+
|
| 932 |
+
<program> Copyright (C) <year> <name of author>
|
| 933 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 934 |
+
This is free software, and you are welcome to redistribute it
|
| 935 |
+
under certain conditions; type `show c' for details.
|
| 936 |
+
|
| 937 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 938 |
+
parts of the General Public License. Of course, your program's commands
|
| 939 |
+
might be different; for a GUI interface, you would use an "about box".
|
| 940 |
+
|
| 941 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 942 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 943 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
| 944 |
+
<http://www.gnu.org/licenses/>.
|
| 945 |
+
|
| 946 |
+
The GNU General Public License does not permit incorporating your program
|
| 947 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 948 |
+
may consider it more useful to permit linking proprietary applications with
|
| 949 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
| 950 |
+
Public License instead of this License. But first, please read
|
| 951 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
| 952 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 953 |
+
Classifier: Intended Audience :: Science/Research
|
| 954 |
+
Classifier: Intended Audience :: Developers
|
| 955 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 956 |
+
Classifier: Programming Language :: C
|
| 957 |
+
Classifier: Programming Language :: Python
|
| 958 |
+
Classifier: Programming Language :: Python :: 3
|
| 959 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 960 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 961 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 962 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 963 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 964 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 965 |
+
Classifier: Topic :: Software Development
|
| 966 |
+
Classifier: Topic :: Scientific/Engineering
|
| 967 |
+
Classifier: Typing :: Typed
|
| 968 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 969 |
+
Classifier: Operating System :: POSIX
|
| 970 |
+
Classifier: Operating System :: Unix
|
| 971 |
+
Classifier: Operating System :: MacOS
|
| 972 |
+
Project-URL: Homepage, https://numpy.org
|
| 973 |
+
Project-URL: Documentation, https://numpy.org/doc/
|
| 974 |
+
Project-URL: Source, https://github.com/numpy/numpy
|
| 975 |
+
Project-URL: Download, https://pypi.org/project/numpy/#files
|
| 976 |
+
Project-URL: Tracker, https://github.com/numpy/numpy/issues
|
| 977 |
+
Project-URL: Release notes, https://numpy.org/doc/stable/release
|
| 978 |
+
Requires-Python: >=3.9
|
| 979 |
+
Description-Content-Type: text/markdown
|
| 980 |
+
|
| 981 |
+
<h1 align="center">
|
| 982 |
+
<img src="https://raw.githubusercontent.com/numpy/numpy/main/branding/logo/primary/numpylogo.svg" width="300">
|
| 983 |
+
</h1><br>
|
| 984 |
+
|
| 985 |
+
|
| 986 |
+
[](
|
| 987 |
+
https://numfocus.org)
|
| 988 |
+
[](
|
| 989 |
+
https://pypi.org/project/numpy/)
|
| 990 |
+
[](
|
| 991 |
+
https://anaconda.org/conda-forge/numpy)
|
| 992 |
+
[](
|
| 993 |
+
https://stackoverflow.com/questions/tagged/numpy)
|
| 994 |
+
[](
|
| 995 |
+
https://doi.org/10.1038/s41586-020-2649-2)
|
| 996 |
+
[](https://securityscorecards.dev/viewer/?uri=github.com/numpy/numpy)
|
| 997 |
+
|
| 998 |
+
|
| 999 |
+
NumPy is the fundamental package for scientific computing with Python.
|
| 1000 |
+
|
| 1001 |
+
- **Website:** https://www.numpy.org
|
| 1002 |
+
- **Documentation:** https://numpy.org/doc
|
| 1003 |
+
- **Mailing list:** https://mail.python.org/mailman/listinfo/numpy-discussion
|
| 1004 |
+
- **Source code:** https://github.com/numpy/numpy
|
| 1005 |
+
- **Contributing:** https://www.numpy.org/devdocs/dev/index.html
|
| 1006 |
+
- **Bug reports:** https://github.com/numpy/numpy/issues
|
| 1007 |
+
- **Report a security vulnerability:** https://tidelift.com/docs/security
|
| 1008 |
+
|
| 1009 |
+
It provides:
|
| 1010 |
+
|
| 1011 |
+
- a powerful N-dimensional array object
|
| 1012 |
+
- sophisticated (broadcasting) functions
|
| 1013 |
+
- tools for integrating C/C++ and Fortran code
|
| 1014 |
+
- useful linear algebra, Fourier transform, and random number capabilities
|
| 1015 |
+
|
| 1016 |
+
Testing:
|
| 1017 |
+
|
| 1018 |
+
NumPy requires `pytest` and `hypothesis`. Tests can then be run after installation with:
|
| 1019 |
+
|
| 1020 |
+
python -c "import numpy, sys; sys.exit(numpy.test() is False)"
|
| 1021 |
+
|
| 1022 |
+
Code of Conduct
|
| 1023 |
+
----------------------
|
| 1024 |
+
|
| 1025 |
+
NumPy is a community-driven open source project developed by a diverse group of
|
| 1026 |
+
[contributors](https://numpy.org/teams/). The NumPy leadership has made a strong
|
| 1027 |
+
commitment to creating an open, inclusive, and positive community. Please read the
|
| 1028 |
+
[NumPy Code of Conduct](https://numpy.org/code-of-conduct/) for guidance on how to interact
|
| 1029 |
+
with others in a way that makes our community thrive.
|
| 1030 |
+
|
| 1031 |
+
Call for Contributions
|
| 1032 |
+
----------------------
|
| 1033 |
+
|
| 1034 |
+
The NumPy project welcomes your expertise and enthusiasm!
|
| 1035 |
+
|
| 1036 |
+
Small improvements or fixes are always appreciated. If you are considering larger contributions
|
| 1037 |
+
to the source code, please contact us through the [mailing
|
| 1038 |
+
list](https://mail.python.org/mailman/listinfo/numpy-discussion) first.
|
| 1039 |
+
|
| 1040 |
+
Writing code isn’t the only way to contribute to NumPy. You can also:
|
| 1041 |
+
- review pull requests
|
| 1042 |
+
- help us stay on top of new and old issues
|
| 1043 |
+
- develop tutorials, presentations, and other educational materials
|
| 1044 |
+
- maintain and improve [our website](https://github.com/numpy/numpy.org)
|
| 1045 |
+
- develop graphic design for our brand assets and promotional materials
|
| 1046 |
+
- translate website content
|
| 1047 |
+
- help with outreach and onboard new contributors
|
| 1048 |
+
- write grant proposals and help with other fundraising efforts
|
| 1049 |
+
|
| 1050 |
+
For more information about the ways you can contribute to NumPy, visit [our website](https://numpy.org/contribute/).
|
| 1051 |
+
If you’re unsure where to start or how your skills fit in, reach out! You can
|
| 1052 |
+
ask on the mailing list or here, on GitHub, by opening a new issue or leaving a
|
| 1053 |
+
comment on a relevant issue that is already open.
|
| 1054 |
+
|
| 1055 |
+
Our preferred channels of communication are all public, but if you’d like to
|
| 1056 |
+
speak to us in private first, contact our community coordinators at
|
| 1057 |
+
numpy-team@googlegroups.com or on Slack (write numpy-team@googlegroups.com for
|
| 1058 |
+
an invitation).
|
| 1059 |
+
|
| 1060 |
+
We also have a biweekly community call, details of which are announced on the
|
| 1061 |
+
mailing list. You are very welcome to join.
|
| 1062 |
+
|
| 1063 |
+
If you are new to contributing to open source, [this
|
| 1064 |
+
guide](https://opensource.guide/how-to-contribute/) helps explain why, what,
|
| 1065 |
+
and how to successfully get involved.
|
player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/RECORD
ADDED
|
@@ -0,0 +1,828 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
../../Scripts/f2py.exe,sha256=5m2sGBSkK9OkKEp78WjMhyva-5z-H06J1uac6KVo0uo,46080
|
| 2 |
+
../../Scripts/numpy-config.exe,sha256=0p4eaxS-cr4XS1W1xMgwvWEoA_hpl43Kb6cLiNXbTU8,46080
|
| 3 |
+
numpy-2.0.2-cp312-cp312-win_amd64.whl,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 4 |
+
numpy-2.0.2.dist-info/DELVEWHEEL,sha256=09JmxPt03f083gcl48iyQ2913BQkHq8kKjhaFMHN7hA,445
|
| 5 |
+
numpy-2.0.2.dist-info/INSTALLER,sha256=5hhM4Q4mYTT9z6QB6PGpUAW81PGNFrYrdXMj4oM_6ak,2
|
| 6 |
+
numpy-2.0.2.dist-info/LICENSE.txt,sha256=whSmXuKn3M0JXJ-7TSGeYX3UL526w1mxrEnmcCCwMDY,47582
|
| 7 |
+
numpy-2.0.2.dist-info/METADATA,sha256=Cx5gEkTMaWVbrUB7AuihYJdu56HjogNYNtOzprvQ1c4,59741
|
| 8 |
+
numpy-2.0.2.dist-info/RECORD,,
|
| 9 |
+
numpy-2.0.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 10 |
+
numpy-2.0.2.dist-info/WHEEL,sha256=50PeAbplA6PkI0hYOYoeacB9US1R6EguyfOnsccH0WU,85
|
| 11 |
+
numpy-2.0.2.dist-info/entry_points.txt,sha256=4mXDNhJDQ9GHqMBeRJ8B3PlixTFmkXGqU3RVuac20q0,172
|
| 12 |
+
numpy.libs/libscipy_openblas64_-caad452230ae4ddb57899b8b3a33c55c.dll,sha256=RGKafSeAbqB22uro6Cmwz73sniUJlWGhmvjlkQvWNcU,32816640
|
| 13 |
+
numpy.libs/msvcp140-23ebcc0b37c8e3d074511f362feac48b.dll,sha256=MubIEAvWLnqR9QmWwqWWktx5a28UCi36TeMTykPUx0g,618728
|
| 14 |
+
numpy/__config__.py,sha256=gzWSP-Jsu_sa_ZAe2Q7cv76E3TEzVx2zRuYADaHIgbk,5528
|
| 15 |
+
numpy/__init__.cython-30.pxd,sha256=FFV6kTF2dFCdn9yf5tkWBXlTnathfOlK84Ko1V_rqzA,47059
|
| 16 |
+
numpy/__init__.pxd,sha256=sVr2L_292FcilOJVAr0aFA3rm-e-Io1tauEcpzwkNUM,43608
|
| 17 |
+
numpy/__init__.py,sha256=bhyWP_boObnYG8RI2UTDAEiw1Ng6j0_TXgZrQ5WKDV4,22687
|
| 18 |
+
numpy/__init__.pyi,sha256=-ZAMP621uI4ghO0JZlzCJeVPLgJNO5qBBQJQJzieDTw,147119
|
| 19 |
+
numpy/_configtool.py,sha256=CgdDWSv9AX6XNKIibBXBisvuCu0aUkVVKbNudJfERIw,1046
|
| 20 |
+
numpy/_core/__init__.py,sha256=ziVwv-eSrrG6jAQYH3eQcPtNsdRZaWBnvzKCj4MrtbA,5792
|
| 21 |
+
numpy/_core/__init__.pyi,sha256=C5NQDIktXlR1OosGgyvY87pyotkyJr3Ci2dMWTLpSi4,88
|
| 22 |
+
numpy/_core/_add_newdocs.py,sha256=ynmFE2I2LY6WFEnERvpDfgqKS_qKaichvGl00wOBino,215187
|
| 23 |
+
numpy/_core/_add_newdocs_scalars.py,sha256=AdAQUWYslq92VISuEJAnizRF6MrCZAVe2sBCCP9Kl_0,12983
|
| 24 |
+
numpy/_core/_asarray.py,sha256=e_ftcD26x_tsKBWVK0-bL1NyXA6Hc9oqojTB8tkpWP4,4017
|
| 25 |
+
numpy/_core/_asarray.pyi,sha256=D69zNnqdPvk1HVuXJ5RsawoUfvaJhXssNM6KYrlbTmA,1082
|
| 26 |
+
numpy/_core/_dtype.py,sha256=MOr6kbzIDLqZV5atMgU9WDoUnLmLi6pAHrSEk0r933E,11144
|
| 27 |
+
numpy/_core/_dtype_ctypes.py,sha256=ebN9U_QbymSP-ombYBYc4F7HtgC3ViucNW91MqpNhrM,3838
|
| 28 |
+
numpy/_core/_exceptions.py,sha256=35d-to48ERMggcjK60hKzHYhZJUUAxWY1GcJWh9bPJE,5551
|
| 29 |
+
numpy/_core/_internal.py,sha256=TMHKN2bnVY5Im3kO84UouxGwqwh07tucG62wFbGdHIk,29921
|
| 30 |
+
numpy/_core/_internal.pyi,sha256=ag2YKEK9nFPm8J2S6czuptXR1lElSRhpuutPVQInuGI,1052
|
| 31 |
+
numpy/_core/_machar.py,sha256=_6CjQfUG-Xk0M8_9KBT3vhoGKxvjl2JKG__ZCS19Mdk,11922
|
| 32 |
+
numpy/_core/_methods.py,sha256=syMcjvYyKzMKTxkV8KQtwXGYYUIKIL1MlNnxFVrisvY,9517
|
| 33 |
+
numpy/_core/_multiarray_tests.cp312-win_amd64.lib,sha256=9kC9eHJa3-orljqcGjUX0GbUkrd9zu-36oUp6Mn1Aes,2418
|
| 34 |
+
numpy/_core/_multiarray_tests.cp312-win_amd64.pyd,sha256=2ZaQ4HGJQZxFZOGwc3AfF5r1LcRGgXiLOnCz6uijOLA,63488
|
| 35 |
+
numpy/_core/_multiarray_umath.cp312-win_amd64.lib,sha256=lgbNg66CIDCb_NjzKgJOUm1MQsZw5tY5xL54ZMbXJK4,2192
|
| 36 |
+
numpy/_core/_multiarray_umath.cp312-win_amd64.pyd,sha256=vDSWuHzL0ekzyg0iPjk6lg1VVoks-PuIdFPUfNNfolE,4065792
|
| 37 |
+
numpy/_core/_operand_flag_tests.cp312-win_amd64.lib,sha256=YN2CN7iRpeSqN1__aDdxGktWkoo8c0SPL5UwdkC2kMA,2228
|
| 38 |
+
numpy/_core/_operand_flag_tests.cp312-win_amd64.pyd,sha256=8mXSQ8qelrvxmuMjF9fg9gTL_AmLrq-K2xNuHWcBybM,11776
|
| 39 |
+
numpy/_core/_rational_tests.cp312-win_amd64.lib,sha256=wyP9SG77_ArMezxwsDMXPfIqgRI2rQoxlaognAm5sUY,2156
|
| 40 |
+
numpy/_core/_rational_tests.cp312-win_amd64.pyd,sha256=a54YhM7PPt1CsJb69dYWOcc3piVLast8mwl-o_oDgdQ,40960
|
| 41 |
+
numpy/_core/_simd.cp312-win_amd64.lib,sha256=_ZBYpoM3K9Wz1JqymE2nPxJSl_3nEJyos4_k35SAqZM,1976
|
| 42 |
+
numpy/_core/_simd.cp312-win_amd64.pyd,sha256=lkl5wBRmTv2YmQZPLU5zb9QOeSigWn9KRIipLGzTVss,2236928
|
| 43 |
+
numpy/_core/_string_helpers.py,sha256=yqhYXnS3SgnP_4PvP7NUYvYJ7c5GeFJz8a8zI_uU0DI,2937
|
| 44 |
+
numpy/_core/_struct_ufunc_tests.cp312-win_amd64.lib,sha256=aZWuQmmxZQbrt29aZ9H2oL2MNMu3uALxnrcZDyDcjLY,2228
|
| 45 |
+
numpy/_core/_struct_ufunc_tests.cp312-win_amd64.pyd,sha256=wB7qj2qUPozBT4JpWGI-bLE_DQWz41es8Y2sFuwhDE0,13824
|
| 46 |
+
numpy/_core/_type_aliases.py,sha256=FS7GRVJtjLnqF_CX8oM4r7RKZ7EEGssh4V-V6eKBGQw,3612
|
| 47 |
+
numpy/_core/_type_aliases.pyi,sha256=8FLtTrjAwDYKPUBKuV8ZQ-WRShKWaifzfcDJPII76K0,73
|
| 48 |
+
numpy/_core/_ufunc_config.py,sha256=f2eePDo1K5NDxz-eM6aX3Er2G7K_L769IuwIJ4XqtH0,15449
|
| 49 |
+
numpy/_core/_ufunc_config.pyi,sha256=KgouzlKtzHKm3UquSj9kbLI9WAQqpL3bFMmAW6-V4yw,1103
|
| 50 |
+
numpy/_core/_umath_tests.cp312-win_amd64.lib,sha256=sKtqP8hYyt3uNTWRAAq27IGBHelYaPHCdiFuX0C8Zck,2104
|
| 51 |
+
numpy/_core/_umath_tests.cp312-win_amd64.pyd,sha256=MffOjNCXxsu263rfwQmEiF8-tPE33teK4s_L9ndwuTw,32768
|
| 52 |
+
numpy/_core/arrayprint.py,sha256=VIxvbtQIqKrhXnjtzggBWIzvOJv4emq4fCNKCj8779A,67715
|
| 53 |
+
numpy/_core/arrayprint.pyi,sha256=ZeTCp6BkvX2JJLvD7A08i9GOYjDH3q89dpZAL-73NJI,4368
|
| 54 |
+
numpy/_core/cversions.py,sha256=FISv1d4R917Bi5xJjKKy8Lo6AlFkV00WvSoB7l3acA4,360
|
| 55 |
+
numpy/_core/defchararray.py,sha256=WUYbKPq_UTkQa3zhp1sFawgGcRW2x5STE1IdlY7I4gg,36203
|
| 56 |
+
numpy/_core/defchararray.pyi,sha256=lmJe1Oo29s-9RxOm2Iulmty3nZsn0CorUjzFMW92r_0,20607
|
| 57 |
+
numpy/_core/einsumfunc.py,sha256=BDsOGZ16sr8R9VEZ_YeRpQd99ADMXAUcAHwewCKidr0,54426
|
| 58 |
+
numpy/_core/einsumfunc.pyi,sha256=UCvLNwDI8AvfgzoCL0az2f5QNS-Q5Jw-wsVy1lxuP2E,5004
|
| 59 |
+
numpy/_core/fromnumeric.py,sha256=BVgf1UC501Kajs0NHJ_9NMeJ-kOhQRRO2GHu7jFXbdE,136577
|
| 60 |
+
numpy/_core/fromnumeric.pyi,sha256=5iA2aNE7aklmzZjIXqJ0pRLaP8N3Kijd8I-zcthnqjE,25826
|
| 61 |
+
numpy/_core/function_base.py,sha256=TRTE9YKOxaNiL0D138hGEg9ARr7-bcZDcg-4fPJWn3M,20504
|
| 62 |
+
numpy/_core/function_base.pyi,sha256=ru7yHdg1jQMVWlov1ubbcDqIoGv3oKyk_x4p5SleXCA,5223
|
| 63 |
+
numpy/_core/getlimits.py,sha256=SKklNuZ-WY2JAiB2u6TyBU3nHNVjvsE2juv8dRz5sDc,26638
|
| 64 |
+
numpy/_core/getlimits.pyi,sha256=rRrU4RZYBrsczGZq6_VRCBNwUKyrqPAHARXXLQuw950,88
|
| 65 |
+
numpy/_core/include/numpy/__multiarray_api.c,sha256=Vc65MKuXE5761vVI9qdZkPyg3C5_k_ickum0Q04EOOA,13045
|
| 66 |
+
numpy/_core/include/numpy/__multiarray_api.h,sha256=xyQyWbLMSPEHxZYnKSpMVPZw7TmdWkzezjiJv-kj6gQ,62714
|
| 67 |
+
numpy/_core/include/numpy/__ufunc_api.c,sha256=NoTcyLqrAF8F3AE0TDvlDFS7DXuFJRpoINEaDnZWhys,1809
|
| 68 |
+
numpy/_core/include/numpy/__ufunc_api.h,sha256=6SX4TMh0kLkCATJsRojR_tY5zDMTWOADoeDTacdb6GU,13453
|
| 69 |
+
numpy/_core/include/numpy/_neighborhood_iterator_imp.h,sha256=s5TK2aPpClbw4CbVJCij__hzoh5IgHIIZK0k6FKtqfc,1947
|
| 70 |
+
numpy/_core/include/numpy/_numpyconfig.h,sha256=OBjLoQ_92ws9uYu0IgSRqPGjeRrH1czgNEOOD7BLHfg,902
|
| 71 |
+
numpy/_core/include/numpy/_public_dtype_api_table.h,sha256=4ylG8s52kZEx__QODt_7Do8QitmhDSvTeZ7Lar0fOgo,4660
|
| 72 |
+
numpy/_core/include/numpy/arrayobject.h,sha256=ghWzloPUkSaVkcsAnBnpbrxtXeXL-mkzVGJQEHFxjnk,211
|
| 73 |
+
numpy/_core/include/numpy/arrayscalars.h,sha256=4TrsilxaUiH4mVCkElEPTM_C_8c67O9R4Whx-3QzDE4,4439
|
| 74 |
+
numpy/_core/include/numpy/dtype_api.h,sha256=C-eCJHKjKAO73LavKj7cgDfLKz-aSmBIgAa2fOGwm1A,19671
|
| 75 |
+
numpy/_core/include/numpy/halffloat.h,sha256=qYgX5iQfNzXICsnd0MCRq5ELhhfFjlRGm1xXGimQm44,2029
|
| 76 |
+
numpy/_core/include/numpy/ndarrayobject.h,sha256=V5Zkf5a9vWyV8ZInBgAceBn7c9GK4aquhzeGTW_Sgls,12361
|
| 77 |
+
numpy/_core/include/numpy/ndarraytypes.h,sha256=Y-I_hI7JWuA1gYuxNmgDo_xafigRx229hWsLLryIyp0,66875
|
| 78 |
+
numpy/_core/include/numpy/npy_1_7_deprecated_api.h,sha256=eYbQlqb6mzJnUKuVfl2mmrMpvB3GN2rFgHazFO9CKT8,3858
|
| 79 |
+
numpy/_core/include/numpy/npy_2_compat.h,sha256=gpQFgSlR9cuieRpRH4F35nn-CyFOZ9_Txxg8EPeZL5I,8795
|
| 80 |
+
numpy/_core/include/numpy/npy_2_complexcompat.h,sha256=uW0iF-qMwQNn4PvIfWCrYce6b4OrYUO4BWu-VYYAZag,885
|
| 81 |
+
numpy/_core/include/numpy/npy_3kcompat.h,sha256=46fbR77JAL6H7fHA-YAmDyq3GOGP9QVsM0xWz2s5Wwk,16478
|
| 82 |
+
numpy/_core/include/numpy/npy_common.h,sha256=pXb01jIZ_pb4ZI32wE3qGqs3W9hx2SFixurjxuZyKb0,37448
|
| 83 |
+
numpy/_core/include/numpy/npy_cpu.h,sha256=6CVIqBgYWa75CDXif9WrKbsrz0Rw1P5_SqH8ltgerLA,4758
|
| 84 |
+
numpy/_core/include/numpy/npy_endian.h,sha256=G3x4fuvRgY6_Y0AWiJaQ5ZbtmMRRt_QUnYCwkqrHhPE,2863
|
| 85 |
+
numpy/_core/include/numpy/npy_math.h,sha256=gs-4ADxATdzmOxoyRS3VJDH6ql6B1SjCcHNOIFcH7Yk,19110
|
| 86 |
+
numpy/_core/include/numpy/npy_no_deprecated_api.h,sha256=jIcjEP2AbovDTfgE-qtvdP51_dVGjVnEGBX86rlGSKE,698
|
| 87 |
+
numpy/_core/include/numpy/npy_os.h,sha256=j044vd1C1oCcW52r3htiVNhUaJSEqCjKrODwMHq3TU0,1298
|
| 88 |
+
numpy/_core/include/numpy/numpyconfig.h,sha256=dlpBYMG9wIEpi4H1oDF6HdMmbGcXV_QRAvbfXnDqYyc,6876
|
| 89 |
+
numpy/_core/include/numpy/random/LICENSE.txt,sha256=1UR2FVi1EIZsIffootVxb8p24LmBF-O2uGMU23JE0VA,1039
|
| 90 |
+
numpy/_core/include/numpy/random/bitgen.h,sha256=_H0uXqmnub4PxnJWdMWaNqfpyFDu2KB0skf2wc5vjUc,508
|
| 91 |
+
numpy/_core/include/numpy/random/distributions.h,sha256=GLURa3sFESZE0_0RK-3Gqmfa96itBHw8LlsNyy9EPt4,10070
|
| 92 |
+
numpy/_core/include/numpy/random/libdivide.h,sha256=F9PLx6TcOk-sd0dObe0nWLyz4HhbHv2K7voR_kolpGU,82217
|
| 93 |
+
numpy/_core/include/numpy/ufuncobject.h,sha256=_gIG_G-Wbww58fMF5HZPXw-_6LdhHQedbi25hvudJ7A,10167
|
| 94 |
+
numpy/_core/include/numpy/utils.h,sha256=vzJAbatJYfxHmX2yL_xBirmB4mEGLOhJ92JlV9s8yPs,1222
|
| 95 |
+
numpy/_core/lib/npy-pkg-config/mlib.ini,sha256=hYWFyoBxE036dh19si8UPka01H2cv64qlc4ZtgoA_7A,156
|
| 96 |
+
numpy/_core/lib/npy-pkg-config/npymath.ini,sha256=e0rdsb00Y93VuammuvIIFlzZtnUAXwsS1XNKlCU8mFQ,381
|
| 97 |
+
numpy/_core/lib/npymath.lib,sha256=X_dj6UEAqvr0RCouf-rpIWowsqEd8uobUH74dVZy7xg,150976
|
| 98 |
+
numpy/_core/lib/pkgconfig/numpy.pc,sha256=q9MeSvCoORAvADhaXAIG6SeL-rBBJLUsVWtMcqdSdTA,198
|
| 99 |
+
numpy/_core/memmap.py,sha256=4YoIJlHhIuAXsHCOdveoUwy-hTkZuyjuWhATKBWteOE,12535
|
| 100 |
+
numpy/_core/memmap.pyi,sha256=pwOLGTEk20Z2Tao7hqxLDqfCHrO10otgozEsUO-bPeo,58
|
| 101 |
+
numpy/_core/multiarray.py,sha256=QvZzoCPyUSTMKt2AjAIk0ElU9ONqpMLdfBxzf5NmBKo,58779
|
| 102 |
+
numpy/_core/multiarray.pyi,sha256=RJB94PFJs_zyAXEKqFb8ldnql2ZL8AwjhMNtUdUuiOQ,26775
|
| 103 |
+
numpy/_core/numeric.py,sha256=iROr-w-0vCsaCRrccxz1dmTLqglGPvjXJUhhaadMGOY,83229
|
| 104 |
+
numpy/_core/numeric.pyi,sha256=HVR5aJOGNhsoISfNGaVNxvr5OQQRD1DoHJ11EXyawe0,17114
|
| 105 |
+
numpy/_core/numerictypes.py,sha256=HHytg0LFOY-c1jC7C2WBofcyHNKSbRfPl2bg3SKH-Cg,16715
|
| 106 |
+
numpy/_core/numerictypes.pyi,sha256=DtVt5BJX9J13UmSZzELB6dIXGQwmtSYWBc72OR0TuXg,1773
|
| 107 |
+
numpy/_core/overrides.py,sha256=w4p_e55w6lp_vC34tFnH3GfN7EE-ZESrvmwtHEUxohA,7275
|
| 108 |
+
numpy/_core/records.py,sha256=kadF7cgZnpmo7Xh57yC_PHowxtEtpCXIsJ9RActNtGo,37902
|
| 109 |
+
numpy/_core/records.pyi,sha256=056FazNibyCPuHviKSZlnVvLYoHHdz346nQODa2jM2g,9094
|
| 110 |
+
numpy/_core/shape_base.py,sha256=qCUN3zZk5lAluFK6PQi8IBJmVhftrAJa_wBFcOmWwuQ,30649
|
| 111 |
+
numpy/_core/shape_base.pyi,sha256=Vf5tQPNXPa62PinnVxEs_u_-27Xgiy8RsN8q2aVcKSg,2915
|
| 112 |
+
numpy/_core/strings.py,sha256=S3ubMN4c3QcsaOliOpircBzYgHRR7il69ghThSoI-jI,39629
|
| 113 |
+
numpy/_core/strings.pyi,sha256=SNbskTazF10ec69Z6yzVby2Hdreuh7bz2VKGPPZ06UA,7851
|
| 114 |
+
numpy/_core/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 115 |
+
numpy/_core/tests/_locales.py,sha256=esGp_wCqPpxFxy3eUF-r_Wk-yjFjrQEwkgSzolRzUr0,2280
|
| 116 |
+
numpy/_core/tests/_natype.py,sha256=uVXHCahmyDbZZAaQ-OKqaWnOgJRIYRETU06drssSSP0,6457
|
| 117 |
+
numpy/_core/tests/data/astype_copy.pkl,sha256=lWSzCcvzRB_wpuRGj92spGIw-rNPFcd9hwJaRVvfWdk,716
|
| 118 |
+
numpy/_core/tests/data/generate_umath_validation_data.cpp,sha256=9TBdxpPo0djv1CKxQ6_DbGKRxIZVawitAm7AMmWKroI,6012
|
| 119 |
+
numpy/_core/tests/data/recarray_from_file.fits,sha256=NA0kliz31FlLnYxv3ppzeruONqNYkuEvts5wzXEeIc4,8640
|
| 120 |
+
numpy/_core/tests/data/umath-validation-set-README.txt,sha256=GfrkmU_wTjpLkOftWDuGayEDdV3RPpN2GRVQX61VgWI,982
|
| 121 |
+
numpy/_core/tests/data/umath-validation-set-arccos.csv,sha256=VUdQdKBFrpXHLlPtX2WYIK_uwkaXgky85CZ4aNuvmD4,62794
|
| 122 |
+
numpy/_core/tests/data/umath-validation-set-arccosh.csv,sha256=tbuOQkvnYxSyJf_alGk3Zw3Vyv0HO5dMC1hUle2hWwQ,62794
|
| 123 |
+
numpy/_core/tests/data/umath-validation-set-arcsin.csv,sha256=JPEWWMxgPKdNprDq0pH5QhJ2oiVCzuDbK-3WhTKny8o,62768
|
| 124 |
+
numpy/_core/tests/data/umath-validation-set-arcsinh.csv,sha256=fwuq25xeS57kBExBuSNfewgHb-mgoR9wUGVqcOXbfoI,61718
|
| 125 |
+
numpy/_core/tests/data/umath-validation-set-arctan.csv,sha256=nu33YyL-ALXSSF5cupCTaf_jTPLK_QyUfciNQGpffkY,61734
|
| 126 |
+
numpy/_core/tests/data/umath-validation-set-arctanh.csv,sha256=wHSKFY2Yvbv3fnmmfLqPYpjhkEM88YHkFVpZQioyBDw,62768
|
| 127 |
+
numpy/_core/tests/data/umath-validation-set-cbrt.csv,sha256=FFi_XxEnGrfJd7OxtjVFT6WFC2tUqKhVV8fmQfb0z8o,62275
|
| 128 |
+
numpy/_core/tests/data/umath-validation-set-cos.csv,sha256=ccDri5_jQ84D_kAmSwZ_ztNUPIhzhgycDtNsPB7m8dc,60497
|
| 129 |
+
numpy/_core/tests/data/umath-validation-set-cosh.csv,sha256=DnN6RGvKQHAWIofchmhGH7kkJej2VtNwGGMRZGzBkTQ,62298
|
| 130 |
+
numpy/_core/tests/data/umath-validation-set-exp.csv,sha256=mPhjF4KLe0bdwx38SJiNipD24ntLI_5aWc8h-V0UMgM,17903
|
| 131 |
+
numpy/_core/tests/data/umath-validation-set-exp2.csv,sha256=sD94pK2EAZAyD2fDEocfw1oXNw1qTlW1TBwRlcpbcsI,60053
|
| 132 |
+
numpy/_core/tests/data/umath-validation-set-expm1.csv,sha256=tyfZN5D8tlm7APgxCIPyuy774AZHytMOB59H9KewxEs,61728
|
| 133 |
+
numpy/_core/tests/data/umath-validation-set-log.csv,sha256=CDPky64PjaURWhqkHxkLElmMiI21v5ugGGyzhdfUbnI,11963
|
| 134 |
+
numpy/_core/tests/data/umath-validation-set-log10.csv,sha256=dW6FPEBlRx2pcS-7eui_GtqTpXzOy147il55qdP-8Ak,70551
|
| 135 |
+
numpy/_core/tests/data/umath-validation-set-log1p.csv,sha256=2aEsHVcvRym-4535CkvJTsmHywkt01ZMfmjl-d4fvVI,61732
|
| 136 |
+
numpy/_core/tests/data/umath-validation-set-log2.csv,sha256=aVZ7VMQ5urGOx5MMMOUmMKBhFLFE-U7y6DVCTeXQfo0,70546
|
| 137 |
+
numpy/_core/tests/data/umath-validation-set-sin.csv,sha256=GvPrQUEYMX1iB2zjbfK26JUJOxtqbfiRUgXuAO1QcP0,59981
|
| 138 |
+
numpy/_core/tests/data/umath-validation-set-sinh.csv,sha256=lc7OYcYWWpkxbMuRAWmogQ5cKi7EwsQ2ibiMdpJWYbw,61722
|
| 139 |
+
numpy/_core/tests/data/umath-validation-set-tan.csv,sha256=fn7Dr9s6rcqGUzsmyJxve_Z18J4AUaSm-uo2N3N_hfk,61728
|
| 140 |
+
numpy/_core/tests/data/umath-validation-set-tanh.csv,sha256=xSY5fgfeBXN6fal4XDed-VUcgFIy9qKOosa7vQ5v1-U,61728
|
| 141 |
+
numpy/_core/tests/examples/cython/checks.pyx,sha256=dTrtc8ccMi3cnKIaYxt1GwKai1QcOBmgJe2PYH0q8_c,7612
|
| 142 |
+
numpy/_core/tests/examples/cython/meson.build,sha256=MWk312IEDs_q6lsSBjdyBS9O15RlHyAgeS07INcGeuo,1155
|
| 143 |
+
numpy/_core/tests/examples/cython/setup.py,sha256=64gbtJbNzf_2RT0NoOcE6l9WHV8BHxLoJKRtA3yHXEw,630
|
| 144 |
+
numpy/_core/tests/examples/limited_api/limited_api1.c,sha256=RcHe_nyyjv86gjF9E53cexQiGW-YNs8OGGqjrxCFhBc,363
|
| 145 |
+
numpy/_core/tests/examples/limited_api/limited_api2.pyx,sha256=4P5-yu0yr8NBa-TFtw4v30LGjccRroRAQFFLaztEK9I,214
|
| 146 |
+
numpy/_core/tests/examples/limited_api/limited_api_latest.c,sha256=drvrNSyOeF0Or0trDmayJWllTP7c4Nzpp9T0ydwPAGo,471
|
| 147 |
+
numpy/_core/tests/examples/limited_api/meson.build,sha256=yitMzLuGDhWCjyavpm5UEBrhwKnfXOVAxA3ZL7PlB0Q,1686
|
| 148 |
+
numpy/_core/tests/examples/limited_api/setup.py,sha256=N7kqsVp4iIE20IebigEJUW3nW2F0l6Vthb5qNvKHBmM,457
|
| 149 |
+
numpy/_core/tests/test__exceptions.py,sha256=gy7-mZq7XS5z_w-us4gRIzC0H7XqC_62xaQQmWqLzSw,2970
|
| 150 |
+
numpy/_core/tests/test_abc.py,sha256=u82wrSKXJ2V7AmNrh4klHxYiqOx0BYWJ4j7hqTMH--A,2275
|
| 151 |
+
numpy/_core/tests/test_api.py,sha256=TGbigiLIId7RdXXSi1Qis-nnwkrsZj5jtAXt790aZH0,22399
|
| 152 |
+
numpy/_core/tests/test_argparse.py,sha256=kESeQyEYnMpWEdHyfheBbnFCDJssEyrOGkVmPYPjbEE,2411
|
| 153 |
+
numpy/_core/tests/test_array_coercion.py,sha256=vkQfBjAOMffqK7RQzZrppHNPNbXH_xa8DL4V-oCarkw,35335
|
| 154 |
+
numpy/_core/tests/test_array_interface.py,sha256=czSH9_340K0wvc0bD7h3xZ3VJ7IkPtlf8wiTge1qPh4,7893
|
| 155 |
+
numpy/_core/tests/test_arraymethod.py,sha256=zePjXm333bIKCIUkqwka0SUa27vdYwxrUIKUi6lJqvA,3351
|
| 156 |
+
numpy/_core/tests/test_arrayobject.py,sha256=wRr-JK19ky86QqRwI-O85c87LiakIU1E3uPL8fp3LMw,823
|
| 157 |
+
numpy/_core/tests/test_arrayprint.py,sha256=699PkJgtBXSQSui-5YfBtZkLIE_rejpHfnYbQC7ecUI,46577
|
| 158 |
+
numpy/_core/tests/test_casting_floatingpoint_errors.py,sha256=FRRWJBppa5v1axij6L14ENmzoZS8R_SyJKgHiAFI2KQ,5228
|
| 159 |
+
numpy/_core/tests/test_casting_unittests.py,sha256=uieTDY3O_2q2mvI_D4t0IiLPvqic6mEuYoKFc2yPqAY,35126
|
| 160 |
+
numpy/_core/tests/test_conversion_utils.py,sha256=cz2WEiCYSEP9m_7RHa2pS8WW0PcWO0E-LvpLTO72PkE,6814
|
| 161 |
+
numpy/_core/tests/test_cpu_dispatcher.py,sha256=Bpb_ep7kT3OfNypV1pSOWCNlk8oT46kjZBEGS32qfCI,1597
|
| 162 |
+
numpy/_core/tests/test_cpu_features.py,sha256=Xn25qkTOXPa86zcNQwIYxZllO0XjEFSCd-8hL-7aZ-4,15334
|
| 163 |
+
numpy/_core/tests/test_custom_dtypes.py,sha256=0RFD2vUFn3iUKV60wdifX0iY8egechVcGEk5JOLOIMg,11945
|
| 164 |
+
numpy/_core/tests/test_cython.py,sha256=DReqPx1yFfv3PTN31_yqC1K_oNBrgfh_fspSX4Ztp6c,8637
|
| 165 |
+
numpy/_core/tests/test_datetime.py,sha256=ZTB_HXJvpB3ym5ZVPIcWBppy3O93FardP6Gz34_cqA8,119982
|
| 166 |
+
numpy/_core/tests/test_defchararray.py,sha256=cDiVkBRYTuLVTVZm2kKDH8ZbOmjyyV6Np64Ofo5aJcI,30936
|
| 167 |
+
numpy/_core/tests/test_deprecations.py,sha256=q4W7iXHqsjYedHX6vIlDUmbdrJdcUQ2J0B9PeHPetrQ,28125
|
| 168 |
+
numpy/_core/tests/test_dlpack.py,sha256=NUvj7fpykbaEHkePZOCoXKD44SSghmYhMmncEvx8oJ0,3645
|
| 169 |
+
numpy/_core/tests/test_dtype.py,sha256=YfGOH6g6GR8qk6JGTVMk1iQF8BCZTPPZQI2Dnfq-y0o,80220
|
| 170 |
+
numpy/_core/tests/test_einsum.py,sha256=w3FalGxIJ6DV77lISC9Vj2CYJ2EuD-STL4JfvFxwPj4,54921
|
| 171 |
+
numpy/_core/tests/test_errstate.py,sha256=VWq6zrKdCWlhSzuHPDJGEvNt4UudT_ZupA_wfGe_AR4,4775
|
| 172 |
+
numpy/_core/tests/test_extint128.py,sha256=YKIX0q9ENW0qehJtdaAAB2sFG0me42U2yJmq0kK6xGQ,5863
|
| 173 |
+
numpy/_core/tests/test_function_base.py,sha256=Y6QqFCuHhMcswOOG4UIzAgel_y0WTpkcHS0QfaQom3I,17601
|
| 174 |
+
numpy/_core/tests/test_getlimits.py,sha256=4fyvmHUyNbkJXWBs8AEaGoQV23o4HJJIp9nrub_-_EU,6932
|
| 175 |
+
numpy/_core/tests/test_half.py,sha256=Y31VvCfWPLDZU8yy3Riy9ocWAMQF2tjb3QGSAyy1gW0,25165
|
| 176 |
+
numpy/_core/tests/test_hashtable.py,sha256=QYj1O3CQXp53v6WoqwB0ywPKjZrV3Axrro4cXt9OuK4,1042
|
| 177 |
+
numpy/_core/tests/test_indexerrors.py,sha256=keWclNvFu3ukhVSXc97w3bJM8BvkOpul6kjNudf1F2Q,4858
|
| 178 |
+
numpy/_core/tests/test_indexing.py,sha256=8FnJb7GLMgmjaTQ4ET9gXoZqJhZ9u3iUl9y4SLhRzfU,56512
|
| 179 |
+
numpy/_core/tests/test_item_selection.py,sha256=zaGuMcTDsbCpQO1k9c9xuc4jUWhbArfn_1INfilf9hk,6623
|
| 180 |
+
numpy/_core/tests/test_limited_api.py,sha256=KuHWUjHn2CL9qnxLiG6lQUX6hbuttldjLohRU9_KPCA,2618
|
| 181 |
+
numpy/_core/tests/test_longdouble.py,sha256=kcu2DpPuw-j0on0INw-LNMOjw4wuXI_fPbvn-9n-Oks,14285
|
| 182 |
+
numpy/_core/tests/test_machar.py,sha256=z0mwyf6ASFI-gtMemFAag-8eEXKjb12mZ1BSpLYA52Q,1099
|
| 183 |
+
numpy/_core/tests/test_mem_overlap.py,sha256=jNg_XE2glkVlYEo0a4RepIaRN-xvoshQwFl0Urtfwt8,30073
|
| 184 |
+
numpy/_core/tests/test_mem_policy.py,sha256=2FJZIH0octYMMf_GyxoKRqd-4DgFaa424I3AeKiG4aA,17224
|
| 185 |
+
numpy/_core/tests/test_memmap.py,sha256=l5dwyfYK6Z7vODg6RR7YWPLNyoDYIKJZEFCwFRCygok,7964
|
| 186 |
+
numpy/_core/tests/test_multiarray.py,sha256=kujyZZ8pGED9elTkf6v0Zht-nrPQLj5Dad5qqwIFfWk,397256
|
| 187 |
+
numpy/_core/tests/test_nditer.py,sha256=LfaI8MoJLADmO_PXbuIVLEOlkd0u743CFo2KX8b8ds8,134684
|
| 188 |
+
numpy/_core/tests/test_nep50_promotions.py,sha256=Ldk31nc33HOcr9agCaCuUS9lp0Q3Lv08IdniqsYzVts,12561
|
| 189 |
+
numpy/_core/tests/test_numeric.py,sha256=41Bk2WOnwElOToXGGebqwuBx60fXxndFSbRpanWuAkY,157252
|
| 190 |
+
numpy/_core/tests/test_numerictypes.py,sha256=Ux6CApKdU9SUV2551-k0joQ0Syp_991PMGhYcR5458E,23878
|
| 191 |
+
numpy/_core/tests/test_overrides.py,sha256=GmnldVZhKusGJqAsbVbXMjiM0JeW-1En8hT4fm396tQ,26012
|
| 192 |
+
numpy/_core/tests/test_print.py,sha256=HhOMC4roNrnXdncgpXPmFgsJWwcRpCc9u3KOIMSRxDw,7038
|
| 193 |
+
numpy/_core/tests/test_protocols.py,sha256=Zi_ns2EYkyODc5B7rtuCtSa5GR6JqJyGXgHNmFGBM7E,1225
|
| 194 |
+
numpy/_core/tests/test_records.py,sha256=2rbzXquheEsNpwmMs4N9fPLctaKPADWn9TvaUUELHmY,21081
|
| 195 |
+
numpy/_core/tests/test_regression.py,sha256=GRWHL61VFh_pJfGwLyeq8g4RFDYOarMuM-lD_B2Gbnw,97431
|
| 196 |
+
numpy/_core/tests/test_scalar_ctors.py,sha256=CrPYj6xo5A52VVqecc9S8Q0JQWPPyU2pND5KUNX_-pw,6923
|
| 197 |
+
numpy/_core/tests/test_scalar_methods.py,sha256=z_4oe4f0r5utuULLqBKT_mdDQFMpOVNLmJHKO7QsJKU,7772
|
| 198 |
+
numpy/_core/tests/test_scalarbuffer.py,sha256=0d8LgyIclgmi4wJM218frNDXa4V408McDFDkieBpJFo,5735
|
| 199 |
+
numpy/_core/tests/test_scalarinherit.py,sha256=xXhqy8Dt7qhq3qC5MdVTj4VvSj0YQKPOBiLB0tR8Nl8,2466
|
| 200 |
+
numpy/_core/tests/test_scalarmath.py,sha256=ryjH5zxeiYHoGZ6POdNG7KpQXw5iXHLo-BOpFchAC64,46793
|
| 201 |
+
numpy/_core/tests/test_scalarprint.py,sha256=tmqMvApqJSypj7HvIkwpAX0WrC53moxrEWt3PVRWBlA,19170
|
| 202 |
+
numpy/_core/tests/test_shape_base.py,sha256=fYWovXdpFVQvR7JSwGlnBgzBRhoo44R8OKjpggK_uGQ,30665
|
| 203 |
+
numpy/_core/tests/test_simd.py,sha256=RBOfCkMnz9nTusabir-w7k3AJlD2KKi88srolG_0178,50031
|
| 204 |
+
numpy/_core/tests/test_simd_module.py,sha256=s22tqYtgN0x-5B3HTXiGfIV2aTXyQQH18c1fYj6VRhg,4004
|
| 205 |
+
numpy/_core/tests/test_stringdtype.py,sha256=DWa0bSq5DKPAHQYO74kLQEcwv0EeLjOGR54cK4vunx0,55025
|
| 206 |
+
numpy/_core/tests/test_strings.py,sha256=_rEtLidVd_ah2IOP6cCIB_nRoqBCpAs0_STJdy606hA,37571
|
| 207 |
+
numpy/_core/tests/test_ufunc.py,sha256=eI9ShWEYVDSPFNBuG-pzHaZ6m7BA97yiAiZHJQQjCUE,131432
|
| 208 |
+
numpy/_core/tests/test_umath.py,sha256=KD-V5yCAe-b-sTcCQCny_B2QNFAS6SB5iH1BZji1-9k,194883
|
| 209 |
+
numpy/_core/tests/test_umath_accuracy.py,sha256=_-WUbhiymgBy5M5engPoJ_AdOdAMhgmw9lF7bRiC3Qs,5569
|
| 210 |
+
numpy/_core/tests/test_umath_complex.py,sha256=ZRnJuFo6DQPz5tdUUZyHSamtaI2BFlLXzz6AtlILVIw,23912
|
| 211 |
+
numpy/_core/tests/test_unicode.py,sha256=u2ddCDJAY7NylPEBobucIvIhWlzOq_IzZImyfbq7Seo,13236
|
| 212 |
+
numpy/_core/umath.py,sha256=oJJY_IC-oGzCTQDS3CZ_4_6P1Qa__b1tY8sPzm7T5eY,2013
|
| 213 |
+
numpy/_distributor_init.py,sha256=ahBbZPz-mGZrmwx35FHQ26AiinST78FxvupiBBKGFp4,422
|
| 214 |
+
numpy/_expired_attrs_2_0.py,sha256=V3_qiNdBMeU90sMHAWx0HZIJ_30yfnv2eoTQ2MDKxzM,3993
|
| 215 |
+
numpy/_globals.py,sha256=FWUxIto9hQ5Mi2NoxP6DeGpI3bgS8H9xq7jfzaVLtG0,3185
|
| 216 |
+
numpy/_pyinstaller/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 217 |
+
numpy/_pyinstaller/hook-numpy.py,sha256=GFGizYFjd9HsYMOtby7gew94CkvTrRW77ECGPNUgGGc,1429
|
| 218 |
+
numpy/_pyinstaller/pyinstaller-smoke.py,sha256=xt3dl_DjxuzVTPrqmVmMOZm5-24wBG2TxldQl78Xt1g,1175
|
| 219 |
+
numpy/_pyinstaller/test_pyinstaller.py,sha256=31zWlvlAC2sfhdew97x8aDvcYUaV3Tc_0CwFk8pgKaM,1170
|
| 220 |
+
numpy/_pytesttester.py,sha256=5UoibbUqV5hcjEUuXKXDWiOzecc5kiBz0MpEKNVm1R0,6486
|
| 221 |
+
numpy/_pytesttester.pyi,sha256=naZg3QsbkOp4kcjmCJzs3A5vmkLp1WynIgD5hUKHLZI,507
|
| 222 |
+
numpy/_typing/__init__.py,sha256=2_xckFOgzHzgYwEzbvB7Ws1BFdIxmfwF3nX8RyqTXRs,7317
|
| 223 |
+
numpy/_typing/_add_docstring.py,sha256=GxXVut0M_xzda-nrg9XaXEpkj3RqpZ8SEyl4tqisAno,4118
|
| 224 |
+
numpy/_typing/_array_like.py,sha256=jgEnr2igZmNJtv5FM-LNf2Isv4lOJWb364GcPuGs9-0,4487
|
| 225 |
+
numpy/_typing/_callable.pyi,sha256=RsgzcaVfUvx7bQytlhVnge-QNOu7RGuMSVPQmITo0CE,11444
|
| 226 |
+
numpy/_typing/_char_codes.py,sha256=oser0RBaQ9cDDE7GaXfTZUwi3XKQsajD9zIrxdKrCzw,5923
|
| 227 |
+
numpy/_typing/_dtype_like.py,sha256=rYSG_2sEB1tRJWhgJZvJKLCFQ1vNJsPIJ8DXhg0y6fk,5973
|
| 228 |
+
numpy/_typing/_extended_precision.py,sha256=5PhjET4NkRp-LSgffJqfcZ1C5Cp-xERB14FNXfUvRkU,804
|
| 229 |
+
numpy/_typing/_nbit.py,sha256=LteTa09AlIKphaJa-TcpyYv9TzYI3u4xjBaC5ZHUkpw,378
|
| 230 |
+
numpy/_typing/_nested_sequence.py,sha256=NNECI_Lo3vAKF4GnuGsrGufoayUBG5sJv3RhM7yYAOk,2652
|
| 231 |
+
numpy/_typing/_scalars.py,sha256=n2UzaAYCZ4xtO8OHQ5WJHiFpDbubkT-SDjwNHbiCD-4,1008
|
| 232 |
+
numpy/_typing/_shape.py,sha256=EB2bP9KfO-MBYFspAFMqoMBmkonfPT7qNibTSa_7CTE,218
|
| 233 |
+
numpy/_typing/_ufunc.pyi,sha256=oV1SX_oju8T0PSQsMsDEEGY6yeGvHhQ53jesftPdVQc,12363
|
| 234 |
+
numpy/_utils/__init__.py,sha256=DKnuUUKF1rWvDlbfCO43rq61My2EC1RHnBm7gD5zNBA,3311
|
| 235 |
+
numpy/_utils/_convertions.py,sha256=vetZFqC1qB-Z9jvc7RKuU_5ETOaSbjhbKa-sVwYV8TU,347
|
| 236 |
+
numpy/_utils/_inspect.py,sha256=4PWDVD-iE3lZGrBCWdiLMn2oSytssuFszubUkC0oruA,7638
|
| 237 |
+
numpy/_utils/_pep440.py,sha256=y5Oppq3Kxn2dH3EWBYSENv_j8XjGUXWvNAiNCEJ-euI,14556
|
| 238 |
+
numpy/char/__init__.py,sha256=oQZSAOs7rHme6CxfdL9nraYRNI3NU18MjzQ4kQmK2kA,95
|
| 239 |
+
numpy/char/__init__.pyi,sha256=35gZ99TqbCpNzRbyLly_EiY0pZVvEifRILEj59d7wdU,1389
|
| 240 |
+
numpy/compat/__init__.py,sha256=oqsQeYKpQuJpuTLqMkZX6ssqQfSXs0Joj_S8Ms9KSNU,756
|
| 241 |
+
numpy/compat/py3k.py,sha256=w5IMIIE6YlP3sQzhe-rCPC92moA6gsezl37nHq_Aq1E,3978
|
| 242 |
+
numpy/compat/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 243 |
+
numpy/conftest.py,sha256=gPk4lzbb-35B_0nVDF8upYPGUlbT5dBO1iW_qGbnqC4,4762
|
| 244 |
+
numpy/core/__init__.py,sha256=_lpcaIqNg3TH53JE0JKVKD4X0DOTki2dSvQgjHj6Eek,1307
|
| 245 |
+
numpy/core/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 246 |
+
numpy/core/_dtype.py,sha256=PcSCn7DCpgrvBjm-k4eCMcEiTnH-jPzQmh8FyzLVw9I,331
|
| 247 |
+
numpy/core/_dtype_ctypes.py,sha256=eiZNKCJbzZ1Ei9Tkd7Fffx8vWUsAKnFSK-5vza3vmEQ,359
|
| 248 |
+
numpy/core/_internal.py,sha256=HC1NrqDEgK-6M1M6-8ZTZSZF7xnIYPh_G_4j2BFBNLM,972
|
| 249 |
+
numpy/core/_multiarray_umath.py,sha256=vO49_4x5SYg-BST541l73RmBm7pkqbwlssmwsRSdU80,2151
|
| 250 |
+
numpy/core/_utils.py,sha256=P8VAr5WvU7HBBoDG7rnLk4Vr5_hFIrCLbZHZF47z4uU,938
|
| 251 |
+
numpy/core/arrayprint.py,sha256=qo9GIfdEmW9foxvP0vtFLRaAlSbOoOGJU-hBlQ5hIlA,347
|
| 252 |
+
numpy/core/defchararray.py,sha256=-gCjc9ciILhSzAxtVXgiTwdpuNMD3R6p9tXHe_MLx9A,355
|
| 253 |
+
numpy/core/einsumfunc.py,sha256=LkCSjRQ3HIF4fdRz7uEgl-1TyeT0gtGV5y8x9cQYsZ0,347
|
| 254 |
+
numpy/core/fromnumeric.py,sha256=iQsih718r6QW80auPJbva99qeWfT5IK2S02sv4AFMUs,351
|
| 255 |
+
numpy/core/function_base.py,sha256=V_-tUGZfgjYzjZxvhLNRtVXV2_v12rJsvAGpDXbfq8w,359
|
| 256 |
+
numpy/core/getlimits.py,sha256=SQsTlDpDVz9AvFC-xvAJbhcm5svBD02qpE-HLgt17RA,343
|
| 257 |
+
numpy/core/multiarray.py,sha256=2K7g3jXbH7wqupSsyr5wP0YoQSpXlZab9uDDbJtz2Bk,816
|
| 258 |
+
numpy/core/numeric.py,sha256=nTvwcwAqkzCnYmqEt4J3dvqUodzXUlaI8H5YF5x65xg,370
|
| 259 |
+
numpy/core/numerictypes.py,sha256=jmQ9c1WrWxlx8ODDZKOAqrixUu3Gx_NJD1SzT3wtb50,355
|
| 260 |
+
numpy/core/overrides.py,sha256=Dq-lTb829gvg-HfRtY0BE6GE2UbI6iXkMIh8Gvkzt1g,343
|
| 261 |
+
numpy/core/records.py,sha256=5jPtgEtHaJ642Ct-G9uEwnF9y_TZnZAUXm_EUJEF8J8,335
|
| 262 |
+
numpy/core/shape_base.py,sha256=itirz4hN3M8Ndgij4_ZVcra4qtRkK42Owp8qr9fFe5w,347
|
| 263 |
+
numpy/core/umath.py,sha256=09uNybUqfWxdqkoYHzv6jrTDCXq6DDI-EdwaOKdijn4,327
|
| 264 |
+
numpy/ctypeslib.py,sha256=0ENa_9YWJu9sTf3NDZY5QBqeKXDN2AXuNhajyiLbjcA,17774
|
| 265 |
+
numpy/ctypeslib.pyi,sha256=gk5KMbxCI0mPh-4aXWKatmZ2VYbQIhLf5g91B6nrUlU,8305
|
| 266 |
+
numpy/doc/ufuncs.py,sha256=ERF8YNwda32wM_OH6-n56zECahjpH3bcGKv4gYA0txc,5494
|
| 267 |
+
numpy/dtypes.py,sha256=cPkS6BLRvpfsUzhd7Vk1L7_VcenWb1nuHuCxc9fYC4I,1353
|
| 268 |
+
numpy/dtypes.pyi,sha256=COO0nZVG98RxpYqZ_x9Pm01HbjetA8Pwsw7gNEgGG3c,1284
|
| 269 |
+
numpy/exceptions.py,sha256=kshXEJtT9Secy7zcSC-7U5-I2W75ICYXAWvl0aEVfoE,7885
|
| 270 |
+
numpy/exceptions.pyi,sha256=9eJ_k4qPTUG1uJftx6D2Gofp4f9glsxuviHTuh_3LBA,658
|
| 271 |
+
numpy/f2py/__init__.py,sha256=HgdKKkkvXrSZaqTEA-np107u91Ofa2UKusd9RsK1czs,2614
|
| 272 |
+
numpy/f2py/__init__.pyi,sha256=Hca1LGxioFoPddmOcqwkexbH4E1TSw_UTzA4Xs8bxXY,1129
|
| 273 |
+
numpy/f2py/__main__.py,sha256=TDesy_2fDX-g27uJt4yXIXWzSor138R2t2V7HFHwqAk,135
|
| 274 |
+
numpy/f2py/__version__.py,sha256=TisKvgcg4vh5Fptw2GS1JB_3bAQsWZIKhclEX6ZcAho,35
|
| 275 |
+
numpy/f2py/_backends/__init__.py,sha256=xIVHiF-velkBDPKwFS20PSg-XkFW5kLAVj5CSqNLddM,308
|
| 276 |
+
numpy/f2py/_backends/_backend.py,sha256=9RZDu4FCwCM7G39EX2YEt-Vnaz0U2WSp-QSAfz11BGE,1233
|
| 277 |
+
numpy/f2py/_backends/_distutils.py,sha256=CN_xltCz7-cIwBf6X6298EM_0m30TAKLBIfpDPSs8WA,2463
|
| 278 |
+
numpy/f2py/_backends/_meson.py,sha256=IK2wpu-6oUWKpgC4-PQXOTFUxaehG-bp8gpmtdMJZ1w,8350
|
| 279 |
+
numpy/f2py/_backends/meson.build.template,sha256=6XD3j-K5pc1P_icgUWkrgEsyludQWsqS5rb6UB29tH0,1654
|
| 280 |
+
numpy/f2py/_isocbind.py,sha256=QVoR_pD_bY9IgTaSHHUw_8EBg0mkaf3JZfwhLfHbz1Q,2422
|
| 281 |
+
numpy/f2py/_src_pyf.py,sha256=dmgZsLgl8vbN8C-VYCXxzamkjDJ4TDQbeL8--NJMeqQ,7893
|
| 282 |
+
numpy/f2py/auxfuncs.py,sha256=ZUT7wN57qFZfc-HkF12SHMfQnZHpF7CvnQNBvtjAWBc,27528
|
| 283 |
+
numpy/f2py/capi_maps.py,sha256=U2Tv2hn1SN8GPC4TYIf_cwDH2NrOHNqr4O3JBLB2PTg,31382
|
| 284 |
+
numpy/f2py/cb_rules.py,sha256=hALemKsqa1qkTD2KqBcdGmRDhSTAuq1Z5ZsPlJjWdXw,25648
|
| 285 |
+
numpy/f2py/cfuncs.py,sha256=gdbRGV5xYjHYSmP-vaOkljUAT0P2zXeEvdXZHRM1Ih4,53670
|
| 286 |
+
numpy/f2py/common_rules.py,sha256=19VDEPQ9-Pzzknv03U23gWYesmDAzJrGxwdXqn7CxhQ,5277
|
| 287 |
+
numpy/f2py/crackfortran.py,sha256=z53o-csIKwIhf70tsBBF4rtingpMvFp1y-lfz0r908Y,151778
|
| 288 |
+
numpy/f2py/diagnose.py,sha256=-t3VpQqke6qEjxpIrV1OA3VFuQRANimc0irdjGyO8RA,5351
|
| 289 |
+
numpy/f2py/f2py2e.py,sha256=kxkV8QKtey-6Zovz5dX1AW9RH_BRE5h6qpw49olz4Pc,28826
|
| 290 |
+
numpy/f2py/f90mod_rules.py,sha256=62pMiON2gQkb0LdfJl-dsm7t3R-d2UIs6ZsPN6EIq8c,10031
|
| 291 |
+
numpy/f2py/func2subr.py,sha256=Wro0C3NGSO-1g2zxBI8qg_Tl6KyczrCtCTJvhN4KtUQ,10621
|
| 292 |
+
numpy/f2py/rules.py,sha256=jJs5uAI3Hpsaqzrk6rshTzRMbUNT_SGwunmDkJnNabo,64295
|
| 293 |
+
numpy/f2py/setup.cfg,sha256=828sy3JvJmMzVxLkC-y0lxcEMaDTnMc3l9dWqP4jYng,50
|
| 294 |
+
numpy/f2py/src/fortranobject.c,sha256=X1nYkFfbN73vjvWBoDnXj43g_TT7CU1PIET9VdfFwCM,47471
|
| 295 |
+
numpy/f2py/src/fortranobject.h,sha256=uCcHO8mjuANlKb3c7YAZwM4pgT0CTaXWLYqgE27Mnt0,5996
|
| 296 |
+
numpy/f2py/symbolic.py,sha256=4kLvSp62i7GAWxZeIBXyNaL7aDrW4YqELNotB2od9JY,54787
|
| 297 |
+
numpy/f2py/tests/__init__.py,sha256=IK168Cj4_LYs8h4cV2c5CSHCDcTR8AqPUA8RKW74Pgo,180
|
| 298 |
+
numpy/f2py/tests/src/abstract_interface/foo.f90,sha256=aCaFEqfXp79pVXnTFtjZBWUY_5pu8wsehp1dEauOkSE,692
|
| 299 |
+
numpy/f2py/tests/src/abstract_interface/gh18403_mod.f90,sha256=y3R2dDn0BUz-0bMggfT1jwXbhz_gniz7ONMpureEQew,111
|
| 300 |
+
numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c,sha256=h_tn_ppRFLbYoOLzbj6aoyEeg0SsegODtT_J02497cY,7539
|
| 301 |
+
numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap,sha256=zfuOShmuotzcLIQDnVFaARwvM66iLrOYzpquIGDbiKU,30
|
| 302 |
+
numpy/f2py/tests/src/assumed_shape/foo_free.f90,sha256=fqbSr7VlKfVrBulFgQtQA9fQf0mQvVbLi94e4FTST3k,494
|
| 303 |
+
numpy/f2py/tests/src/assumed_shape/foo_mod.f90,sha256=9pbi88-uSNP5IwS49Kim982jDAuopo3tpEhg2SOU7no,540
|
| 304 |
+
numpy/f2py/tests/src/assumed_shape/foo_use.f90,sha256=9Cl1sdrihB8cCSsjoQGmOO8VRv9ni8Fjr0Aku1UdEWM,288
|
| 305 |
+
numpy/f2py/tests/src/assumed_shape/precision.f90,sha256=3L_F7n5ju9F0nxw95uBUaPeuiDOw6uHvB580eIj7bqI,134
|
| 306 |
+
numpy/f2py/tests/src/block_docstring/foo.f,sha256=KVTeqSFpI94ibYIVvUW6lOQ9T2Bx5UzZEayP8Maf2H0,103
|
| 307 |
+
numpy/f2py/tests/src/callback/foo.f,sha256=rLqaaaUpWFTaGVxNoGERtDKGCa5dLCTW5DglsFIx-wU,1316
|
| 308 |
+
numpy/f2py/tests/src/callback/gh17797.f90,sha256=-_NvQK0MzlSR72PSuUE1FeUzzsMBUcPKsbraHIF7O24,155
|
| 309 |
+
numpy/f2py/tests/src/callback/gh18335.f90,sha256=n_Rr99cI7iHBEPV3KGLEt0QKZtItEUKDdQkBt0GKKy4,523
|
| 310 |
+
numpy/f2py/tests/src/callback/gh25211.f,sha256=ejY_ssadbZQfD5_-Xnx_ayzWXWLjkdy7DGp6C_uCUCY,189
|
| 311 |
+
numpy/f2py/tests/src/callback/gh25211.pyf,sha256=nrzvt2QHZRCcugg0R-4FDMMl1MJmWCOAjR7Ta-pXz7Y,465
|
| 312 |
+
numpy/f2py/tests/src/cli/gh_22819.pyf,sha256=e3zYjFmiOxzdXoxzgkaQ-CV6sZ1t4aKugyhqRXmBNdQ,148
|
| 313 |
+
numpy/f2py/tests/src/cli/hi77.f,sha256=bgBERF4EYxHlzJCvZCJOlEmUE1FIvipdmj4LjdmL_dE,74
|
| 314 |
+
numpy/f2py/tests/src/cli/hiworld.f90,sha256=RncaEqGWmsH9Z8BMV-UmOTUyo3-e9xOQGAmNgDv6SfY,54
|
| 315 |
+
numpy/f2py/tests/src/common/block.f,sha256=tcGKa42S-6bfA6fybpM0Su_xjysEVustkEJoF51o_pE,235
|
| 316 |
+
numpy/f2py/tests/src/common/gh19161.f90,sha256=Vpb34lRVC96STWaJerqkDQeZf7mDOwWbud6pW62Tvm4,203
|
| 317 |
+
numpy/f2py/tests/src/crackfortran/accesstype.f90,sha256=3ONHb4ZNx0XISvp8fArnUwR1W9rzetLFILTiETPUd80,221
|
| 318 |
+
numpy/f2py/tests/src/crackfortran/data_common.f,sha256=rP3avnulWqJbGCFLWayjoFKSspGDHZMidPTurjz33Tc,201
|
| 319 |
+
numpy/f2py/tests/src/crackfortran/data_multiplier.f,sha256=LaPXVuo5lX0gFZVh76Hc7LM1sMk9EBPALuXBnHAGdOA,202
|
| 320 |
+
numpy/f2py/tests/src/crackfortran/data_stmts.f90,sha256=MAZ3gstsPqECk3nWQ5Ql-C5udrIv3sAciW1ZGTtHLts,713
|
| 321 |
+
numpy/f2py/tests/src/crackfortran/data_with_comments.f,sha256=FUPluNth5uHgyKqjQW7HKmyWg4wDXj3XPJCIC9ZZuOs,183
|
| 322 |
+
numpy/f2py/tests/src/crackfortran/foo_deps.f90,sha256=D9FT8Rx-mK2p8R6r4bWxxqgYhkXR6lNmPj2RXOseMpw,134
|
| 323 |
+
numpy/f2py/tests/src/crackfortran/gh15035.f,sha256=0G9bmfVafpuux4-ZgktYZ6ormwrWDTOhKMK4wmiSZlQ,391
|
| 324 |
+
numpy/f2py/tests/src/crackfortran/gh17859.f,sha256=acknjwoWYdA038oliYLjB4T1PHhXkKRLeJobIgB_Lbo,352
|
| 325 |
+
numpy/f2py/tests/src/crackfortran/gh22648.pyf,sha256=xPnKx4RcT1568q-q_O83DYpCgVYJ8z4WQ-yLmHPchJA,248
|
| 326 |
+
numpy/f2py/tests/src/crackfortran/gh23533.f,sha256=k2xjRpRaajMYpi5O-cldYPTZGFGB12PUGcj5Fm9joyk,131
|
| 327 |
+
numpy/f2py/tests/src/crackfortran/gh23598.f90,sha256=20ukdZXq-qU0Zxzt4W6cO8tRxlNlQ456zgD09zdozCE,105
|
| 328 |
+
numpy/f2py/tests/src/crackfortran/gh23598Warn.f90,sha256=FvnIxy5fEOvzNb5WSkWzPk7yZ9yIv0yPZk9vNnS-83w,216
|
| 329 |
+
numpy/f2py/tests/src/crackfortran/gh23879.f90,sha256=jELVfEGEF66z_Pv_iBHp3yGsGhadB0dnKCDtPcaz_CM,352
|
| 330 |
+
numpy/f2py/tests/src/crackfortran/gh2848.f90,sha256=-IpkeTz0j9_lkQeN9mT7w3U1cAJjQxSMdAmyHdF8oVg,295
|
| 331 |
+
numpy/f2py/tests/src/crackfortran/operators.f90,sha256=cb1JO2hIMCQejZO_UJWluBCP8LdXQbBJw2XN6YHB3JA,1233
|
| 332 |
+
numpy/f2py/tests/src/crackfortran/privatemod.f90,sha256=9O2oWEquIUcbDB1wIzNeae3hx4gvXAoYW5tGfBt3KWk,185
|
| 333 |
+
numpy/f2py/tests/src/crackfortran/publicmod.f90,sha256=nU_VXCKiniiUq_78KAWkXiN6oiMQh39emMxbgOVf9cg,177
|
| 334 |
+
numpy/f2py/tests/src/crackfortran/pubprivmod.f90,sha256=-uz75kquU4wobaAPZ1DLKXJg6ySCZoDME1ce6YZ2q5Y,175
|
| 335 |
+
numpy/f2py/tests/src/crackfortran/unicode_comment.f90,sha256=wDMoF7F7VFYdeocfTyWIh7noniEwExVb364HrhUSbSg,102
|
| 336 |
+
numpy/f2py/tests/src/f2cmap/.f2py_f2cmap,sha256=fwszymaWhcWO296u5ThHW5yMAkFhB6EtHWqqpc9FAVI,83
|
| 337 |
+
numpy/f2py/tests/src/f2cmap/isoFortranEnvMap.f90,sha256=rphN_mmzjCCCkdPM0HjsiJV7rmxpo4GoCNp5qmBzv8U,307
|
| 338 |
+
numpy/f2py/tests/src/isocintrin/isoCtests.f90,sha256=Oir0PfE3mErnUQ42aFxiqAkcYn3B6b1FHIPGipDdekg,1032
|
| 339 |
+
numpy/f2py/tests/src/kind/foo.f90,sha256=6_zq3OAWsuNJ5ftGTQAEynkHy-MnuLgBXmMIgbvL7yU,367
|
| 340 |
+
numpy/f2py/tests/src/mixed/foo.f,sha256=Zgn0xDhhzfas3HrzgVSxIL1lGEF2mFRVohrvXN1thU0,90
|
| 341 |
+
numpy/f2py/tests/src/mixed/foo_fixed.f90,sha256=6eEEYCH71gPp6lZ6e2afLrfS6F_fdP7GZDbgGJJ_6ns,187
|
| 342 |
+
numpy/f2py/tests/src/mixed/foo_free.f90,sha256=UC6iVRcm0-aVXAILE5jZhivoGQbKU-prqv59HTbxUJA,147
|
| 343 |
+
numpy/f2py/tests/src/modules/gh25337/data.f90,sha256=EqMEuEV0_sx4XbFzftbU_6VfGtOw9Tbs0pm0eVEp2cA,188
|
| 344 |
+
numpy/f2py/tests/src/modules/gh25337/use_data.f90,sha256=DChVLgD7qTOpbYNmfGjPjfOx5YsphMIYwdwnF12X4xM,185
|
| 345 |
+
numpy/f2py/tests/src/modules/module_data_docstring.f90,sha256=-asnMH7vZMwVIeMU2YiLWgYCUUUxZgPTpbAomgWByHs,236
|
| 346 |
+
numpy/f2py/tests/src/modules/use_modules.f90,sha256=bveSAqXIZtd4NMlDfFei1ZlesFAa9An5LjkD-gDk2ms,418
|
| 347 |
+
numpy/f2py/tests/src/negative_bounds/issue_20853.f90,sha256=IxBGWem-uv9eHgDhysEdGTmNKHR1gAiU7YJPo20eveM,164
|
| 348 |
+
numpy/f2py/tests/src/parameter/constant_array.f90,sha256=fkYemwIBKsP63-FGKBW8mzOAp6k13eZOin8sQe1pyno,1513
|
| 349 |
+
numpy/f2py/tests/src/parameter/constant_both.f90,sha256=L0rG6-ClvHx7Qsch46BUXRi_oIEL0uw5dpRHdOUQuv0,1996
|
| 350 |
+
numpy/f2py/tests/src/parameter/constant_compound.f90,sha256=lAT76HcXGMgr1NfKof-RIX3W2P_ik1PPqkRdJ6EyBmM,484
|
| 351 |
+
numpy/f2py/tests/src/parameter/constant_integer.f90,sha256=42jROArrG7vIag9wFa_Rr5DBnnNvGsrEUgpPU14vfIo,634
|
| 352 |
+
numpy/f2py/tests/src/parameter/constant_non_compound.f90,sha256=u9MRf894Cw0MVlSOUbMSnFSHP4Icz7RBO21QfMkIl-Q,632
|
| 353 |
+
numpy/f2py/tests/src/parameter/constant_real.f90,sha256=QoPgKiHWrwI7w5ctYZugXWzaQsqSfGMO7Jskbg4CLTc,633
|
| 354 |
+
numpy/f2py/tests/src/quoted_character/foo.f,sha256=0zXQbdaqB9nB8R4LF07KDMFDbxlNdiJjVdR8Nb3nzIM,496
|
| 355 |
+
numpy/f2py/tests/src/regression/AB.inc,sha256=ydjTVb6QEw1iYw2tRiziqqzWcDHrJsNWr3m51-rqFXQ,17
|
| 356 |
+
numpy/f2py/tests/src/regression/f77comments.f,sha256=FjP-07suTBdqgtwiENT04P-47UB4g9J5-20IQdXAHhM,652
|
| 357 |
+
numpy/f2py/tests/src/regression/f77fixedform.f95,sha256=KdKFcAc3ZrID-h4nTOJDdEYfQzR2kkn9VqQCorfJGpM,144
|
| 358 |
+
numpy/f2py/tests/src/regression/f90continuation.f90,sha256=VweFIi5-xxZhtgSOh8i_FjMPXu_od9qjrDHq6ma5X5k,285
|
| 359 |
+
numpy/f2py/tests/src/regression/incfile.f90,sha256=gq87H2CtCZUON9V5UzcK6x_fthnWDVuPFQLa0fece1M,97
|
| 360 |
+
numpy/f2py/tests/src/regression/inout.f90,sha256=TlMxJjhjjiuLI--Tg2LshLnbfZpiKz37EpR_tPKKSx8,286
|
| 361 |
+
numpy/f2py/tests/src/return_character/foo77.f,sha256=tRyQSu9vNWtMRi7gjmMN-IZnS7ogr5YS0n38uax_Eo0,1025
|
| 362 |
+
numpy/f2py/tests/src/return_character/foo90.f90,sha256=WPQZC6CjXLbUYpzy5LItEoHmRDFxW0ABB3emRACsjZU,1296
|
| 363 |
+
numpy/f2py/tests/src/return_complex/foo77.f,sha256=7-iKoamJ-VObPFR-Tslhiw9E-ItIvankWMyxU5HqxII,1018
|
| 364 |
+
numpy/f2py/tests/src/return_complex/foo90.f90,sha256=_GOKOZeooWp3pEaTBrZNmPmkgGodj33pJnJmySnp7aE,1286
|
| 365 |
+
numpy/f2py/tests/src/return_integer/foo77.f,sha256=EKs1KeAOQBkIO99tMCx0H7_lpqvqpjie8zWZ6T_bAR4,1234
|
| 366 |
+
numpy/f2py/tests/src/return_integer/foo90.f90,sha256=0aYWcaAVs7Lw3Qbf8hupfLC8YavRuPZVIwjHecIlMOo,1590
|
| 367 |
+
numpy/f2py/tests/src/return_logical/foo77.f,sha256=Ax3tBVNAlxFtHhV8fziFcsTnoa8YJdapecMr6Qj7fLk,1244
|
| 368 |
+
numpy/f2py/tests/src/return_logical/foo90.f90,sha256=IZXCerFecYT24zTQ_spIoPr6n-fRncaM0tkTs8JqO1E,1590
|
| 369 |
+
numpy/f2py/tests/src/return_real/foo77.f,sha256=3nAY1YtzGk4osR2jZkHMVIUHxFoOtF1OLfWswpcV7kA,978
|
| 370 |
+
numpy/f2py/tests/src/return_real/foo90.f90,sha256=38ZCnBGWb9arlJdnVWvZjVk8uesrQN8wG2GrXGcSIJs,1242
|
| 371 |
+
numpy/f2py/tests/src/size/foo.f90,sha256=nK_767f1TtqVr-dMalNkXmcKbSbLCiabhRkxSDCzLz0,859
|
| 372 |
+
numpy/f2py/tests/src/string/char.f90,sha256=X_soOEV8cKsVZefi3iLT7ilHljjvJJ_i9VEHWOt0T9Y,647
|
| 373 |
+
numpy/f2py/tests/src/string/fixed_string.f90,sha256=tCN5sA6e7M1ViZtBNvTnO7_efk7BHIjyhFKBoLC3US0,729
|
| 374 |
+
numpy/f2py/tests/src/string/gh24008.f,sha256=Z6cq8SFGvmaA72qeH9tu1rP8pYjqm0ONpHn7nGbhoLA,225
|
| 375 |
+
numpy/f2py/tests/src/string/gh24662.f90,sha256=xJkiYvrMT9Ipb9Cq7OXl1Ev6TISl8pq1MGemySzfGd0,204
|
| 376 |
+
numpy/f2py/tests/src/string/gh25286.f90,sha256=lqEl81Iu9GIDTAbOfkkNGcGgDyyGnPB44mJw2iK1kng,318
|
| 377 |
+
numpy/f2py/tests/src/string/gh25286.pyf,sha256=wYkkr5gEN9_RtGjpqh28X1k8KCgh0-Ds9XAt8IC9j4A,393
|
| 378 |
+
numpy/f2py/tests/src/string/gh25286_bc.pyf,sha256=ZRvgSzRlaPEx8GyNt97FrRhtCg-r4ZTEDsHNBfit4m8,396
|
| 379 |
+
numpy/f2py/tests/src/string/scalar_string.f90,sha256=U1QqVgbF1DbxdFekRjchyDlFRPnXwzG72kuE8A44Za8,185
|
| 380 |
+
numpy/f2py/tests/src/string/string.f,sha256=JCwLuH21Ltag5cw_9geIQQJ4Hv_39NqG8Dzbqj1eDKE,260
|
| 381 |
+
numpy/f2py/tests/src/value_attrspec/gh21665.f90,sha256=MbbSUQI5Enzq46KWFHRzQbY7q6ZHJH_9NRL-C9i13Wg,199
|
| 382 |
+
numpy/f2py/tests/test_abstract_interface.py,sha256=HPd3mOIhLcqbyIf0_xT4yqxoLoxxQp2SbZoyYzGoXL4,876
|
| 383 |
+
numpy/f2py/tests/test_array_from_pyobj.py,sha256=yaK7fJviQsWo7JoO84Gci-uHlb7YON40ajwidiHys9M,24523
|
| 384 |
+
numpy/f2py/tests/test_assumed_shape.py,sha256=IyqJPGpGVv_RaRCwrko_793jLxJC1495tR9gAbmTlR8,1515
|
| 385 |
+
numpy/f2py/tests/test_block_docstring.py,sha256=0Dh1GXlaCg33DmlbhC08MOBMXdpMbk983MQB2hB7XhA,600
|
| 386 |
+
numpy/f2py/tests/test_callback.py,sha256=7GUGk7r7NPaxp-FJ80gI4u5oFwBuFxOFJN9-CZQI46c,6806
|
| 387 |
+
numpy/f2py/tests/test_character.py,sha256=nT9ax7A1ixbfloqQ34Z6MlacJHwevFcMy2_HOesJKpo,22565
|
| 388 |
+
numpy/f2py/tests/test_common.py,sha256=z1qoOm6HFvLal_cOCPuNn7NVohWjWBcO2v1maVFfRhQ,661
|
| 389 |
+
numpy/f2py/tests/test_crackfortran.py,sha256=PklzmVNKuteJzIYfk5Pvpo4KVb1AW9URgROk1KbHCUs,16301
|
| 390 |
+
numpy/f2py/tests/test_data.py,sha256=0gIPLYE187Gf362yskXprc_ze8fzDFtU9pbD3MWmAio,2969
|
| 391 |
+
numpy/f2py/tests/test_docs.py,sha256=zYqI3MMTcytHP1-KsywMp8eBvpYurf7wkHccDyuCbyc,1933
|
| 392 |
+
numpy/f2py/tests/test_f2cmap.py,sha256=2Yy4zuFrkn0QvCkiRjGiHqirp9bXe8ODSnM_LYNAUsM,400
|
| 393 |
+
numpy/f2py/tests/test_f2py2e.py,sha256=7gUy1kBy_tCM-irhCjfpbtp1Nevk9V-wpGCl7Dw0ZjM,26367
|
| 394 |
+
numpy/f2py/tests/test_isoc.py,sha256=KGUijaN2Qum_qQD1Rc7m7B3dMTx47oRud8ZWNfc5M0Y,1481
|
| 395 |
+
numpy/f2py/tests/test_kind.py,sha256=oM-s-rCSQDO3XerECjSeOlSi0fi4hgO9xBbzMXoAPc4,1843
|
| 396 |
+
numpy/f2py/tests/test_mixed.py,sha256=CVw7cerVhNwviuRDlLlhokbYSXpAtI_-GgVVibcrRoU,904
|
| 397 |
+
numpy/f2py/tests/test_modules.py,sha256=NcFK5gkO9Bnz16NMvk9HnNMwihD5-_Mtjmxn9TU1xow,1586
|
| 398 |
+
numpy/f2py/tests/test_parameter.py,sha256=laQi-MQDlqMy4XfOBFnixhxNkcdE-wfYze8mcWCIsro,4764
|
| 399 |
+
numpy/f2py/tests/test_pyf_src.py,sha256=RLm95aANGakQYCzk_UJjUcq0mOQH0LtD6HoZYkEiIrU,1179
|
| 400 |
+
numpy/f2py/tests/test_quoted_character.py,sha256=cLPRMhNiCO0v-_A5jPkTg-Zv38U-bbJteuLOL9VSZik,493
|
| 401 |
+
numpy/f2py/tests/test_regression.py,sha256=iku13JEKU85lWxUqrFlmil2fme89e9MSlXAhh7I3Fcg,4878
|
| 402 |
+
numpy/f2py/tests/test_return_character.py,sha256=9hAUrTWmHkSnRQM4pz43cLFBSEIU5sN8g2M8xaqBqBE,1557
|
| 403 |
+
numpy/f2py/tests/test_return_complex.py,sha256=ynSaaMSxiBTApp-tIGwXHLe5gCjqm4qJCq_QNwihGWk,2481
|
| 404 |
+
numpy/f2py/tests/test_return_integer.py,sha256=PNeeeykh0Q9oPxUCcuLC3Q1XFbRrk7jhQwK6erjau0M,1830
|
| 405 |
+
numpy/f2py/tests/test_return_logical.py,sha256=gPBO6zxmwek0fUIvCDgybiltiNqiMwaIqqsY2o0PXtg,2081
|
| 406 |
+
numpy/f2py/tests/test_return_real.py,sha256=AB0L__3Qoi1oHb4mXtfY6I8pE2F1Z1qRtEzPNVJVONw,3361
|
| 407 |
+
numpy/f2py/tests/test_semicolon_split.py,sha256=FFm5GdeDYwQ348uo6_3oFPGyC0wJH_uWGjDRw2I5tto,1728
|
| 408 |
+
numpy/f2py/tests/test_size.py,sha256=Qy8KH9Co1IL6GbnDJ5IDGRPD1HKQ3HL6zXCkN2wpuUY,1209
|
| 409 |
+
numpy/f2py/tests/test_string.py,sha256=vSMQKo1SK4Y1xpgVw8iquHHH2kmelFsmphMMKYhnAaM,3062
|
| 410 |
+
numpy/f2py/tests/test_symbolic.py,sha256=Zk4h3WC2etMrIEyMrayPpGthpWfuS35Yz-4XzzGFcY4,18835
|
| 411 |
+
numpy/f2py/tests/test_value_attrspec.py,sha256=rzUhPldFKJXkCAxzRgZlLFeAJarfJCAEV4fFg--YF60,354
|
| 412 |
+
numpy/f2py/tests/util.py,sha256=946NXSJVtuZ9_YpoQqFopwCHNEIxiSRmGsIHxNV7kfU,12031
|
| 413 |
+
numpy/f2py/use_rules.py,sha256=xSi4D11ZN6_O7kQZ_v_dD-043gTeD1y7YvqKBq58FYg,3633
|
| 414 |
+
numpy/fft/__init__.py,sha256=MwVEjIo3wDxMAbKERmmX3cHh8EK9nIw9vlUNTpOgNyo,8541
|
| 415 |
+
numpy/fft/__init__.pyi,sha256=tdoAmh_tKqlcHHDqCN1bUlJJVVSSIFyPLNx0w5B_uiE,559
|
| 416 |
+
numpy/fft/_helper.py,sha256=qfl7IvzaX1hlEzYNOH9lpbOxwAWZBo7swvxBFzqNa2E,6898
|
| 417 |
+
numpy/fft/_helper.pyi,sha256=RxjRN0odazLpWYw7B6T5Q4LqukBLJaaBQeAVbXbj7LI,1381
|
| 418 |
+
numpy/fft/_pocketfft.py,sha256=bpJys6FgXCIkInp4UjRngmHn9Dqf9AfQ8Ce8RDtfVlI,64483
|
| 419 |
+
numpy/fft/_pocketfft.pyi,sha256=aB_E4DdUY2V6aKDBEWXHzvtF_F25obzakXzF9FRIJ0M,3083
|
| 420 |
+
numpy/fft/_pocketfft_umath.cp312-win_amd64.lib,sha256=mH_rIGOU0Bykn99t4FMnfYAWEKMy9_swg8O8W0c10QA,2176
|
| 421 |
+
numpy/fft/_pocketfft_umath.cp312-win_amd64.pyd,sha256=2X1YuRfOuNyx9lAA_qF1PTFPnGV7AlQXeNWkm02oVbE,279040
|
| 422 |
+
numpy/fft/helper.py,sha256=Dvf6DS9pHTCmugMQy5IBwk5LlSt5PjdShv1IRsUySIY,626
|
| 423 |
+
numpy/fft/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 424 |
+
numpy/fft/tests/test_helper.py,sha256=-CrZvGxoD1xhFNVsHJS3oNTw6yYoNq06CKHmWO_0fSk,6316
|
| 425 |
+
numpy/fft/tests/test_pocketfft.py,sha256=1WKl77zraFJ1dRb_jWkVW84hNBxc6d8OUefuM17V0A8,24598
|
| 426 |
+
numpy/lib/__init__.py,sha256=Hy-wQK1ZctWfZfIEkZhdHx2YJJ8C69QDCSc7KIF4GUI,3204
|
| 427 |
+
numpy/lib/__init__.pyi,sha256=0Up8FAI3BJUbyF1SjHc4CTmIajyk18rsbcYIlTut1Ng,811
|
| 428 |
+
numpy/lib/_array_utils_impl.py,sha256=q-qnQ8g2QvjrwZeHKVmUWZyeyO1mBngM1u_U0WXOlPc,1723
|
| 429 |
+
numpy/lib/_array_utils_impl.pyi,sha256=TE7pig1ciZY__EWnxJFi-VdMJDN7LpPR0UHfveZ_iEE,773
|
| 430 |
+
numpy/lib/_arraypad_impl.py,sha256=rwpa0WJcrkz7lMLV4l2MyNQgHIxNtBPTulSvTra1qIE,33291
|
| 431 |
+
numpy/lib/_arraypad_impl.pyi,sha256=8z4FY3lJ1Xde2FHkoxmpz94aYDk5MDFoMvto8KALxvM,1813
|
| 432 |
+
numpy/lib/_arraysetops_impl.py,sha256=OopxpcTT1U_vClTuZHzcINtfxUUFReBr4VaLOJbxw7M,39796
|
| 433 |
+
numpy/lib/_arraysetops_impl.pyi,sha256=C7JBzpRkmR018tDcVWw5F0acjriCjkPhUH9YBJ_nVBY,9714
|
| 434 |
+
numpy/lib/_arrayterator_impl.py,sha256=Oqm3vhk6rzxwOMBGXgoOKcL5nz0olSBAW5yyk0y9vgg,7362
|
| 435 |
+
numpy/lib/_arrayterator_impl.pyi,sha256=ggcL_Hf5WDtTFeX63ZzmXx7x-tk_nbRDaIrYh8S8AO8,1562
|
| 436 |
+
numpy/lib/_datasource.py,sha256=pNu6iSyKdWsvw2QriSkC0XBj1z0IYLmU9Bj7_6FCrbk,23480
|
| 437 |
+
numpy/lib/_function_base_impl.py,sha256=kReFIC4mgpDbsk904d5dBG8EiIfQ7tg2JumnVSmN3Dg,205636
|
| 438 |
+
numpy/lib/_function_base_impl.pyi,sha256=CydpXWVEqfpmlNRP23UhbddNXacOp3676HCdHJVqCsE,17247
|
| 439 |
+
numpy/lib/_histograms_impl.py,sha256=VlGyaQjXkUKprd4J21G7QJxPOPyZTPIIe87rYUk_eOY,39419
|
| 440 |
+
numpy/lib/_histograms_impl.pyi,sha256=Durb7tQoOK4VlqpqJks7p3r2aHPXGmIV4orMEv98FM8,1048
|
| 441 |
+
numpy/lib/_index_tricks_impl.py,sha256=0FhlpBkASwEwsAkGtCnJ5DrDEANBcCD3I-Piuq_UmQ8,32909
|
| 442 |
+
numpy/lib/_index_tricks_impl.pyi,sha256=GVhpSur2uqslztysh-5vPC__W5u8EVMDNz0A7kiWQ7Q,4317
|
| 443 |
+
numpy/lib/_iotools.py,sha256=RI3lAOjouBDl_lLey1TDhZ0jlV0PK1ooeVm7T7b4bLY,31767
|
| 444 |
+
numpy/lib/_nanfunctions_impl.py,sha256=XdaO3bqUaFHLmJq45fotOX9yOJ9FFsb2hT5d-Yrqh0c,74059
|
| 445 |
+
numpy/lib/_nanfunctions_impl.pyi,sha256=7HlF-CjExRJbLHTbAkCi99rt04Ph7J3ESvifINe0QBc,651
|
| 446 |
+
numpy/lib/_npyio_impl.py,sha256=IM9GO8W3829DCHCTibqLaZomgtpsqrEH7bC2AHU24iM,101126
|
| 447 |
+
numpy/lib/_npyio_impl.pyi,sha256=sw1gXRyUTqrWDaKy2BajE6IGGQduGHfc9_0MN3Jp8xM,10586
|
| 448 |
+
numpy/lib/_polynomial_impl.py,sha256=8kGcHWadqvj6rgVElJvnhc3y6ZsGPQxj0sWoWli1vFY,45434
|
| 449 |
+
numpy/lib/_polynomial_impl.pyi,sha256=bgY0jagX9iHPBbVm33E3OQFOOtPbGtREAZx8buxlukM,7238
|
| 450 |
+
numpy/lib/_scimath_impl.py,sha256=pe1JPVwRpUy9A5MyWNStxUrVd6Yv4u2KeLXdeUhKbEQ,15836
|
| 451 |
+
numpy/lib/_scimath_impl.pyi,sha256=bcW3wCbYG_cQpWyMAQ9dRY5JenhnGt8RiBjCTewaxag,2977
|
| 452 |
+
numpy/lib/_shape_base_impl.py,sha256=ScNgF36Yu5WuZ1vlbNTZWx589QaJXeLEirGuXO8p1VY,40285
|
| 453 |
+
numpy/lib/_shape_base_impl.pyi,sha256=WfL2IH863I79UkbsaxLLvpHLY_trUoY5g0lA7oEZJGE,5021
|
| 454 |
+
numpy/lib/_stride_tricks_impl.py,sha256=Xqb6iz3eKPwDOnj0IzzhrOFIE6-LMnjObUKZrWYtuHM,18671
|
| 455 |
+
numpy/lib/_stride_tricks_impl.pyi,sha256=zVUU06MgM4mH5Atr89IKE629nvNFj8jOyqIjDjiZvig,1833
|
| 456 |
+
numpy/lib/_twodim_base_impl.py,sha256=4KFpb5yz_UpcGDU05GKEntRlxLvmlKTJbHjP_JGKtC4,34400
|
| 457 |
+
numpy/lib/_twodim_base_impl.pyi,sha256=1slieDqXI5kbNoI0NJCUcH6AOfstEUbnByq4ZTzzs9I,5748
|
| 458 |
+
numpy/lib/_type_check_impl.py,sha256=KAvmC7wAhSS6oJaQfK7k8JnufXpoIO6HdE--BBdUNs4,19785
|
| 459 |
+
numpy/lib/_type_check_impl.pyi,sha256=LMwN0g_Y3nd_AIN0y2-hh5vzMRnI1pRTuulXzmOY_d8,5411
|
| 460 |
+
numpy/lib/_ufunclike_impl.py,sha256=zP1dqoIJQ4nFPVzHL3iDjVNJ_u8RMM4OyJlG46QFU9I,6456
|
| 461 |
+
numpy/lib/_ufunclike_impl.pyi,sha256=tb1bwznH6h9JmVeOAgw0gAOZN0kLkf7V9ZVQQC6agPE,1366
|
| 462 |
+
numpy/lib/_user_array_impl.py,sha256=YLMKRghWoh5GhF3xplNl46zgxOaPDtqwf2SFbvZlP10,8179
|
| 463 |
+
numpy/lib/_utils_impl.py,sha256=h-dG8etFsan6J4gNf7RQ84ABIlzzXejhVkpsuq-pMaA,24068
|
| 464 |
+
numpy/lib/_utils_impl.pyi,sha256=FVTnFf50fl2gOS7n5O8yKvr1moPiPJhWjmpcYZ3X-x4,677
|
| 465 |
+
numpy/lib/_version.py,sha256=IjsC8gQRuFo_Ns0fSuF0BW7ndA3h9jQV5mClyWe9A8s,5010
|
| 466 |
+
numpy/lib/_version.pyi,sha256=rw_2q4KJ-dfpqJuj1e3PtVqK4Yh2FdJa5AHdE5IRaWM,650
|
| 467 |
+
numpy/lib/array_utils.py,sha256=SyMHXlsOJMKwxkjQxjsxx3J2cgx_3J2N0qqmLZTQgMc,137
|
| 468 |
+
numpy/lib/array_utils.pyi,sha256=YYnx_V4CMdSbJTCnYboN1swcswmlOD2e4ZvQj5WsSak,197
|
| 469 |
+
numpy/lib/format.py,sha256=j2LPlWMhM05Om_j8RsvwV_9g9M71KyEZztAx7EH7Yo8,37325
|
| 470 |
+
numpy/lib/format.pyi,sha256=dAlF-kNz-H-Vtn9H7Cs8J1l1xUkc3A2e7oWK1Qy17bs,770
|
| 471 |
+
numpy/lib/introspect.py,sha256=ulCrQCy9vfEYsU-vYsPgs1oJP4LH6aP5Ei4R-fUS1D4,2805
|
| 472 |
+
numpy/lib/mixins.py,sha256=3e7kyw_9VTgXAGAZpJSgp5Zhv-GsC7h7alVzF8sf1Q4,7548
|
| 473 |
+
numpy/lib/mixins.pyi,sha256=PsN6nPTdC6ZT74B4nPUlI5Qmkq6pT2lv6z6OZ_U9Bgg,3188
|
| 474 |
+
numpy/lib/npyio.py,sha256=nZadg1IKRXTLZX_52TpjU-YutNH5QA_UU457rHfn6oc,65
|
| 475 |
+
numpy/lib/npyio.pyi,sha256=XTIBYZ2RaZB_SweXtKkzpVsM9kYtrUlxCzCpFKFJ-ZM,96
|
| 476 |
+
numpy/lib/recfunctions.py,sha256=vxW1-q1gTFfERPns3c7xGoYmal9nk-9BY_YVAGN_5mU,61150
|
| 477 |
+
numpy/lib/scimath.py,sha256=HgFt3iWrgcxgV4Y6U-xyZZBM_MMewX62uP8HhOxhveY,122
|
| 478 |
+
numpy/lib/scimath.pyi,sha256=ptqs29LhXC1rKTxduPeHZns2dVEB_wwNuqkZiqDH1Eg,253
|
| 479 |
+
numpy/lib/stride_tricks.py,sha256=BDqFklWQ4eVAoAvtdb_3nT0YxXeMZOtPp6nBr7gKG64,85
|
| 480 |
+
numpy/lib/stride_tricks.pyi,sha256=6-K3R7XBw_fcpHaAIs9y4LEc5i4r5gZUG-tg4EOR-ew,128
|
| 481 |
+
numpy/lib/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 482 |
+
numpy/lib/tests/data/py2-np0-objarr.npy,sha256=ZLoI7K3iQpXDkuoDF1Ymyc6Jbw4JngbQKC9grauVRsk,258
|
| 483 |
+
numpy/lib/tests/data/py2-objarr.npy,sha256=F4cyUC-_TB9QSFLAo2c7c44rC6NUYIgrfGx9PqWPSKk,258
|
| 484 |
+
numpy/lib/tests/data/py2-objarr.npz,sha256=xo13HBT0FbFZ2qvZz0LWGDb3SuQASSaXh7rKfVcJjx4,366
|
| 485 |
+
numpy/lib/tests/data/py3-objarr.npy,sha256=7mtikKlHXp4unZhM8eBot8Cknlx1BofJdd73Np2PW8o,325
|
| 486 |
+
numpy/lib/tests/data/py3-objarr.npz,sha256=vVRl9_NZ7_q-hjduUr8YWnzRy8ESNlmvMPlaSSC69fk,453
|
| 487 |
+
numpy/lib/tests/data/python3.npy,sha256=X0ad3hAaLGXig9LtSHAo-BgOvLlFfPYMnZuVIxRmj-0,96
|
| 488 |
+
numpy/lib/tests/data/win64python2.npy,sha256=agOcgHVYFJrV-nrRJDbGnUnF4ZTPYXuSeF-Mtg7GMpc,96
|
| 489 |
+
numpy/lib/tests/test__datasource.py,sha256=H6PZKQ0tY6r1bhrcLRKMjWdWop5P4Rj_SYvrU9ukDzc,10921
|
| 490 |
+
numpy/lib/tests/test__iotools.py,sha256=ejbG7SVvTm55Lq5LdUza8-nIvF2mt-XYvfpzn13q038,14097
|
| 491 |
+
numpy/lib/tests/test__version.py,sha256=v2TOlH4f1Pmzxn1HWby3eBgLO9tGnhwH2LvBXlXtHP4,2063
|
| 492 |
+
numpy/lib/tests/test_array_utils.py,sha256=Fy8_PR6GHed-mStqcbfjTe8Q5zMZnJ9WzFzX6DjoRR0,1152
|
| 493 |
+
numpy/lib/tests/test_arraypad.py,sha256=ZwFgHuHGTsEJ5A2FZzM-DTZ9J1gHJWkLrGaepzXvzRw,57503
|
| 494 |
+
numpy/lib/tests/test_arraysetops.py,sha256=5U4irOA1wI0hpvggPS4WIx0M95NMtC21iZkDgrbqdbE,38559
|
| 495 |
+
numpy/lib/tests/test_arrayterator.py,sha256=IRVmzxbr9idboJjOHKuX_8NQhMAKs7pD1xWqmU3ZERw,1337
|
| 496 |
+
numpy/lib/tests/test_format.py,sha256=WKvXRP9Ql5y4qp-nqMAguHaMtjjLbEu9rAna-VkQaVw,41978
|
| 497 |
+
numpy/lib/tests/test_function_base.py,sha256=sd8VyAQ-wbyvMHc9njqFm2iC2aOukFtBqtl9Ee4sVdc,169803
|
| 498 |
+
numpy/lib/tests/test_histograms.py,sha256=xNXvFPzGwGR3hbhOApMh16j-LemaePcCnCkqqcxMpyI,33468
|
| 499 |
+
numpy/lib/tests/test_index_tricks.py,sha256=tgXpLGpT9XpO_djXCTKpM0-WF-AVE5GF8lbvIyUz9X4,20921
|
| 500 |
+
numpy/lib/tests/test_io.py,sha256=Rh21OHkd6IqzOyk3uhyioR3AaSAo36Nz-0AnOE9hRh4,112192
|
| 501 |
+
numpy/lib/tests/test_loadtxt.py,sha256=wfP7_ytwzqHokArsRkT1C7Sy9-XfeSagSkbQz9i74PI,40573
|
| 502 |
+
numpy/lib/tests/test_mixins.py,sha256=nIec_DZIDx7ONnlpq_Y2TLkIULAPvQ7LPqtMwEHuV4U,7246
|
| 503 |
+
numpy/lib/tests/test_nanfunctions.py,sha256=Xlad5VOOK6D5XFJ6sVIOGgPp8Njfwrud6QwzAec-YDo,54771
|
| 504 |
+
numpy/lib/tests/test_packbits.py,sha256=XpFIaL8mOWfzD3WQaxd6WrDFWh4Mc51EPXIOqxt3wS0,17922
|
| 505 |
+
numpy/lib/tests/test_polynomial.py,sha256=ISb6Qkl0uFSpE8163jAhwyVCpDx2E4XErzIvfryv3rE,11703
|
| 506 |
+
numpy/lib/tests/test_recfunctions.py,sha256=OBrCGHSH3wAPVj0hVjMX05ev97LVqeAUm1bTTZZoEMU,45044
|
| 507 |
+
numpy/lib/tests/test_regression.py,sha256=sadi_SP4NokpqwFE0fv8HggS__M9OvepzE3mmA_HO-0,7944
|
| 508 |
+
numpy/lib/tests/test_shape_base.py,sha256=X07aFZWc7LC9IqP1lUSUO4hZVl4KlXlck1Vs1VlL-4g,27620
|
| 509 |
+
numpy/lib/tests/test_stride_tricks.py,sha256=CgVVDMvO5S-RjYFDYRZ552YaKb6p2kDjlO_mFGH4Wek,23501
|
| 510 |
+
numpy/lib/tests/test_twodim_base.py,sha256=mNNXsDKT3hPpz-HB_1k8YTWpwdx7dnvmrWWS_Lkew30,19382
|
| 511 |
+
numpy/lib/tests/test_type_check.py,sha256=hIX902yujOzj62j6qtuoGdBV_j4L_zxHm7gZ1o-UFvg,15167
|
| 512 |
+
numpy/lib/tests/test_ufunclike.py,sha256=9C9LV3XZLaHNQoyRVZl-C4w9HcOTEJMDw2uXYXhf1u4,3123
|
| 513 |
+
numpy/lib/tests/test_utils.py,sha256=KN1q-eFLmckYbOMTxPKTwFMPtzBHdAPb0j9ntfea_yM,2454
|
| 514 |
+
numpy/lib/user_array.py,sha256=v3dCCNs-PZ7tHZ1vqGqdeV5FLHRiLLWrMZhdzQTSRAM,50
|
| 515 |
+
numpy/linalg/__init__.py,sha256=AZnH2FnMk_bDy8VuOsihmoS-nICrpKIRMPNa5Puyk30,2201
|
| 516 |
+
numpy/linalg/__init__.pyi,sha256=sSoAjq4LtJrWARF5wGU6nZwqrIJNKh445-RjY_hrmTw,1004
|
| 517 |
+
numpy/linalg/_linalg.py,sha256=kpayCj9oqFcevDK14x5iWC3508cLAQIFKO0uwScFTQs,110971
|
| 518 |
+
numpy/linalg/_linalg.pyi,sha256=fv5LeplmKeU77nBj03ZEZSNbimwX5faFiQF1b1_vKd8,11114
|
| 519 |
+
numpy/linalg/_umath_linalg.cp312-win_amd64.lib,sha256=4A1NbZPza0_jN9AsMGLvz4u1UhbJajIl8iVnm_zcOTI,2120
|
| 520 |
+
numpy/linalg/_umath_linalg.cp312-win_amd64.pyd,sha256=PaVz2HxldqWyj5qm3odmmTIpXFgsAQs94wYto7111n0,108544
|
| 521 |
+
numpy/linalg/lapack_lite.cp312-win_amd64.lib,sha256=hvcekVp-vNXAnIia8oeMee9OTGUMbDpG3Am8Kssmpzg,2084
|
| 522 |
+
numpy/linalg/lapack_lite.cp312-win_amd64.pyd,sha256=25r3QeoUe_HXLN6yr-PwKde8HiN4D68nfVXvGgBsI2Y,17920
|
| 523 |
+
numpy/linalg/linalg.py,sha256=1CC9jc-u61GePC5AuieDiyMyrVvgLD8ZJbTPvLfKjHc,600
|
| 524 |
+
numpy/linalg/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 525 |
+
numpy/linalg/tests/test_deprecations.py,sha256=GaeE3JnQlJLoAfbY93LmgCFUlV5M8IFmQ7EhF4WbqwU,660
|
| 526 |
+
numpy/linalg/tests/test_linalg.py,sha256=djuulS2f_RRccnt6w9SE_ayzKGgkD3QuCAtq2EMhn_Q,85589
|
| 527 |
+
numpy/linalg/tests/test_regression.py,sha256=EI-TxNoazBhutV813qp4k4Ix6jKGIBspon3puHZGpp8,6883
|
| 528 |
+
numpy/ma/API_CHANGES.txt,sha256=U39zA87aM_OIJhEKvHgL1RY1lhMJZc1Yj3DGLwbPbF0,3540
|
| 529 |
+
numpy/ma/LICENSE,sha256=1427IIuA2StNMz5BpLquUNEkRPRuUxmfp3Jqkd5uLac,1616
|
| 530 |
+
numpy/ma/README.rst,sha256=_MHrqHTE8L4wiJJqvaOh1l-xTxidwdilc_SZkFbgubM,10110
|
| 531 |
+
numpy/ma/__init__.py,sha256=9i-au2uOZ_K9q2t9Ezc9nEAS74Y4TXQZMoP9601UitU,1458
|
| 532 |
+
numpy/ma/__init__.pyi,sha256=qLQuZN0tRMKVIm-Agz5wEcdaxZ_79A_kcqDsK-E3hYQ,6274
|
| 533 |
+
numpy/ma/core.py,sha256=4Ties7ySrefyxLjx6x9KCNV8sjWL_ajFZpn5zTI0wlk,291085
|
| 534 |
+
numpy/ma/core.pyi,sha256=NzdPBO8Y5QVdMlPCAaz_JG8TLmTZWWv6lCtwffgb2dM,14817
|
| 535 |
+
numpy/ma/extras.py,sha256=ZLW7Bxc3GB4pgIGiODO9I_PV0NDLJU1n7-V_0j5WkW4,72382
|
| 536 |
+
numpy/ma/extras.pyi,sha256=gIwx3qeof7ShV6_7app98Rj6tmYvuDTYMJv9pCET8g8,2739
|
| 537 |
+
numpy/ma/mrecords.py,sha256=ywqcZdFlKtR6WAM1R39Jgn0abDCe1ptfQUefWzJNWo8,27976
|
| 538 |
+
numpy/ma/mrecords.pyi,sha256=nMx2BRyVzU_7AnAKrF3QoBwQH9TxxQYqBrrv6WhVI_I,2024
|
| 539 |
+
numpy/ma/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 540 |
+
numpy/ma/tests/test_arrayobject.py,sha256=ap06C0a0dGWcOknpctbhLbzHSNd2M9p_JL2jESqBBGk,1139
|
| 541 |
+
numpy/ma/tests/test_core.py,sha256=eI5UkyRr4zyxGyJDO5O5aF9xM7Fe6doyNRJ7pBV0uGo,221370
|
| 542 |
+
numpy/ma/tests/test_deprecations.py,sha256=WurKSuN6hsXmWxRoxstdVBXcKCTvYxlYz-ntSkW6qKc,2650
|
| 543 |
+
numpy/ma/tests/test_extras.py,sha256=1CFZpIEzVQuYsIaW0HDCJpIQe_hw_vcDV6I3QwAPBLc,78745
|
| 544 |
+
numpy/ma/tests/test_mrecords.py,sha256=zGzhf8d9IsNuex6MUyRLEDtbXlK_cpg7F_o-BuhW1k8,20350
|
| 545 |
+
numpy/ma/tests/test_old_ma.py,sha256=tQ-IqKZ1NMHq5_8qkOaZWg_rZkWBpRaPnlodBRd_ABA,33629
|
| 546 |
+
numpy/ma/tests/test_regression.py,sha256=J1ftHDKfIF3SUIgQlxJplCsYTrPpAyN4rf5K1Uw5T8w,3384
|
| 547 |
+
numpy/ma/tests/test_subclassing.py,sha256=YK5WYq4zSMj6gmTNZfI2ElaFpT9fb31XpOZxN_3MCnM,17486
|
| 548 |
+
numpy/ma/testutils.py,sha256=86e8bckl-C24JBICXzVMI_s4RqtbgZqDLD0L5tZPTgc,10564
|
| 549 |
+
numpy/ma/timer_comparison.py,sha256=xru-X3qO_cG98SFYHXN0Hg-PO8Ig6cyX5pTZCskHBmA,16136
|
| 550 |
+
numpy/matlib.py,sha256=TL7bhRdtlMOmaxua0P7_Q0z4Za8OXr4AtEvQliLvz0k,11072
|
| 551 |
+
numpy/matrixlib/__init__.py,sha256=9-DMlmdLxOk5HSGJ20AuTjKkGZ3MUPHCFjhE6sb4NMo,253
|
| 552 |
+
numpy/matrixlib/__init__.pyi,sha256=ly_PIgEdVlSHNMlDWDIRrRk0Sc_6PQWSD8-BK094xBQ,246
|
| 553 |
+
numpy/matrixlib/defmatrix.py,sha256=XODeqHRp7HwrLWXD4diNCI4TXs-Cd_7qrcYR-8EFa-Y,31804
|
| 554 |
+
numpy/matrixlib/defmatrix.pyi,sha256=i7medmOD8aL6_PMJSiGSnWmld_YOxsoP67Kh-SR_QLo,467
|
| 555 |
+
numpy/matrixlib/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 556 |
+
numpy/matrixlib/tests/test_defmatrix.py,sha256=3cSTjFilFZVq2fMgfoUlx6hf9N4MSvBMhHcemoiUzLA,15488
|
| 557 |
+
numpy/matrixlib/tests/test_interaction.py,sha256=9loMwSKXBOu09Z6aZ6_RG7ojbEfn19A8N39h12F5668,12249
|
| 558 |
+
numpy/matrixlib/tests/test_masked_matrix.py,sha256=SjuUs4IhE3x2y8oM9uoWhKX4K1sX2JNkLQMlhMlvzD0,9146
|
| 559 |
+
numpy/matrixlib/tests/test_matrix_linalg.py,sha256=9S9Zrk8PMLfEEo9wBx5LyrV_TbXhI6r-Hc5t594lQFY,2152
|
| 560 |
+
numpy/matrixlib/tests/test_multiarray.py,sha256=E5jvWX9ypWYNHH7iqAW3xz3tMrEV-oNgjN3_oPzZzws,570
|
| 561 |
+
numpy/matrixlib/tests/test_numeric.py,sha256=l-LFBKPoP3_O1iea23MmaACBLx_tSSdPcUBBRTiTbzk,458
|
| 562 |
+
numpy/matrixlib/tests/test_regression.py,sha256=wpWVjM4pHRaiVX_Y5_zc6yNr4I5zWdmJfHTwbmBUhew,963
|
| 563 |
+
numpy/polynomial/__init__.py,sha256=r5JARx5JdkfdS3CvXxjQ0kuGLyCGt0a9ByEo2oKqwDw,6886
|
| 564 |
+
numpy/polynomial/__init__.pyi,sha256=FXbXB4zKKyY07kghfT4oqXuOt0-ZAXHSWbnjU_v34l4,702
|
| 565 |
+
numpy/polynomial/_polybase.py,sha256=afPaNuxYqPV7sal-dHij7rPrCADlXWEHKUUF0pB3mZo,41008
|
| 566 |
+
numpy/polynomial/_polybase.pyi,sha256=PLK_DYLWFhBfrNcgFPUGdSYYuJKUNl0pOll_ZmlBXgk,2392
|
| 567 |
+
numpy/polynomial/chebyshev.py,sha256=sm2yEp23Ny_2xU5OxerdIkPNksWgX-Ir0VLUudwlv18,64942
|
| 568 |
+
numpy/polynomial/chebyshev.pyi,sha256=5YFGdzqDlWjjESTrDTMBrUIlmf42KJYM7-g1Vq31Yr8,1408
|
| 569 |
+
numpy/polynomial/hermite.py,sha256=O_vfg7o4gLhlm_X7zOj57FFDuCp1F0H8b4yFw6r9jcw,56690
|
| 570 |
+
numpy/polynomial/hermite.pyi,sha256=LyZBgFGkWRA-lHvEWIC58dHoCcz63-mVIoOsGXMqJXY,1235
|
| 571 |
+
numpy/polynomial/hermite_e.py,sha256=Pxbn0LR0z2_WmwRKhla2-n4mo7T0BSHzBTyEo9tUYOs,54322
|
| 572 |
+
numpy/polynomial/hermite_e.pyi,sha256=BP2cLktn4VJ3ZI0sfY9Xe6rC0xmEQNVI-XvRNVO0t-M,1254
|
| 573 |
+
numpy/polynomial/laguerre.py,sha256=3uHLPZypLk6g9f_JOdEXSa3e7d3_ZVZO6NyQ9lgBUB8,54500
|
| 574 |
+
numpy/polynomial/laguerre.pyi,sha256=M95wEZ2tnT02Owb88zxfYwyzrRlEGOR6GH2onVRUQI0,1194
|
| 575 |
+
numpy/polynomial/legendre.py,sha256=NyZ4s-xARXYB-khMdMsuuy_vc85aYrNtNHyEgrWdz2U,53223
|
| 576 |
+
numpy/polynomial/legendre.pyi,sha256=CO5pTiTZzyWrkjdcB8kMMriUoey4kP6DpT4uH8q6CLA,1194
|
| 577 |
+
numpy/polynomial/polynomial.py,sha256=tHV3Ra-erMRv1IyUvfpMSPM8ZqYVEpKsvDB4wYMjhDo,54227
|
| 578 |
+
numpy/polynomial/polynomial.pyi,sha256=jJ6yL4kL6CGKECFD8dvpPnRLUXR0cd6o---YzNFdn-k,1143
|
| 579 |
+
numpy/polynomial/polyutils.py,sha256=VHJCZ5Efnh27w-mc1Wv0C6rOj3f7p1I-oLnbvHjv85A,23077
|
| 580 |
+
numpy/polynomial/polyutils.pyi,sha256=U1Oh2XgnW8ZDJ_I-lS4UdhrfYXb9WK8mYhmYZw9VAPg,236
|
| 581 |
+
numpy/polynomial/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 582 |
+
numpy/polynomial/tests/test_chebyshev.py,sha256=PI2XwvGGqQKEB1RxbsYRgeTG0cunB_8Otd9SBJozq-8,21141
|
| 583 |
+
numpy/polynomial/tests/test_classes.py,sha256=VCcG2ICOteBolQHyfzYzMUhyqHlbAJxV8LdQm9NO50U,19057
|
| 584 |
+
numpy/polynomial/tests/test_hermite.py,sha256=zGYN24ia2xx4IH16D6sfAxIipnZrGrIe7D8QMJZPw4Y,19132
|
| 585 |
+
numpy/polynomial/tests/test_hermite_e.py,sha256=5ZBtGi2gkeldYVSh8xlQOLUDW6fcT4YdZiTrB6AaGJU,19467
|
| 586 |
+
numpy/polynomial/tests/test_laguerre.py,sha256=hBgo8w_3iEQosX2CqjTkUstTiuTPLZmfQNQtyKudZLo,18048
|
| 587 |
+
numpy/polynomial/tests/test_legendre.py,sha256=v3ajjp0sg1o7njoLhbPftxaIWaxpY0pBp1suImZqJMw,19241
|
| 588 |
+
numpy/polynomial/tests/test_polynomial.py,sha256=O8IJC4FR72GKAyUYqeG9LwJh6GioF3YAol-d98p0DJg,21974
|
| 589 |
+
numpy/polynomial/tests/test_polyutils.py,sha256=b3vdtJVjC34AmEv96sw2IvIABNDqmYhCnMYZCvhtWzU,3897
|
| 590 |
+
numpy/polynomial/tests/test_printing.py,sha256=PWo6ijsIMYXo372gk6Y7GDeq1I3XqUUjOdh2_mS47Yc,21885
|
| 591 |
+
numpy/polynomial/tests/test_symbol.py,sha256=GZnqB4PLjZDWalREVOAI3qus9kjUDhCW-WZ_87jRmPY,5588
|
| 592 |
+
numpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 593 |
+
numpy/random/LICENSE.md,sha256=tLwvT6HJV3jx7T3Y8UcGvs45lHW5ePnzS1081yUhtIo,3582
|
| 594 |
+
numpy/random/__init__.pxd,sha256=g3EaMi3yfmnqT-KEWj0cp6SWIxVN9ChFjEYXGOfOifE,445
|
| 595 |
+
numpy/random/__init__.py,sha256=W_hFzGsKVQfdh3-U15gzsOKKAk8uZgioDkxKyuou4WA,7721
|
| 596 |
+
numpy/random/__init__.pyi,sha256=eQomej0oB0FQL4kSM_DQhLuLcaFRkjyhpJy7E6EFgZ8,2194
|
| 597 |
+
numpy/random/_bounded_integers.cp312-win_amd64.lib,sha256=ZaPB8KknoU0WlqwyqBEsfV6y1nIk5Yn0amGAz0cTXZo,18000
|
| 598 |
+
numpy/random/_bounded_integers.cp312-win_amd64.pyd,sha256=z-TI5MiIl9I03mkYh6dRL2GeuLWZOja5-WJ9tTFvPRg,226304
|
| 599 |
+
numpy/random/_bounded_integers.pxd,sha256=EOKKUlF9bh0CLNEP8TzXzX4w_xV5kivr1Putfdf6yvU,1763
|
| 600 |
+
numpy/random/_common.cp312-win_amd64.lib,sha256=ZOdUZZRI37_KfALeMCgldK5lW9ZkckbkijJtwwnMkaw,2012
|
| 601 |
+
numpy/random/_common.cp312-win_amd64.pyd,sha256=HnbAszCXVS7zd1z_GyneHMfkGKualnV9ZQl0yF-Y0W8,167936
|
| 602 |
+
numpy/random/_common.pxd,sha256=2_9NLWFSnLG4iDd-KeYUBRa47QM8qceUsPiAkyWZ74I,5089
|
| 603 |
+
numpy/random/_examples/cffi/extending.py,sha256=BgydYEYBb6hDghMF-KQFVc8ssUU1F5Dg-3GyeilT3Vg,920
|
| 604 |
+
numpy/random/_examples/cffi/parse.py,sha256=rbi3NF6bhyk35yhgK1j8fFeqlfO9Om8vjS84Jg8GX20,1825
|
| 605 |
+
numpy/random/_examples/cython/extending.pyx,sha256=RmpxvFfGsAGZwCY78LWrfpa307NG7vrE64TIiIpKEA4,2368
|
| 606 |
+
numpy/random/_examples/cython/extending_distributions.pyx,sha256=1zrMvPbKi0RinyZ93Syyy4OXGEOzAAKHSzTmDtN09ZY,3987
|
| 607 |
+
numpy/random/_examples/cython/meson.build,sha256=WmCLLiYmlcxWj5rdMJL5Fdf-2V-FMFlgKxPTkhh-j7U,1521
|
| 608 |
+
numpy/random/_examples/numba/extending.py,sha256=vnqUqQRvlAI-3VYDzIxSQDlb-smBAyj8fA1-M2IrOQw,2041
|
| 609 |
+
numpy/random/_examples/numba/extending_distributions.py,sha256=-aTxLIqnXW0XPtmEp0yJfaBTBcjEo9Q9SebKG_dOLvw,2103
|
| 610 |
+
numpy/random/_generator.cp312-win_amd64.lib,sha256=w-ei3Gm47CG-HkvLREOgp8IstVRY_jUhyJcetYezNkw,18400
|
| 611 |
+
numpy/random/_generator.cp312-win_amd64.pyd,sha256=Z9LPH3Ci_MrNJayPeCqe7rUhWZ7Yx42pdS3fIHFvRdU,747520
|
| 612 |
+
numpy/random/_generator.pyi,sha256=ux5YhIqp2qcCijUx3QopSYJwkSQftP1xKrcLMUN76MY,25392
|
| 613 |
+
numpy/random/_mt19937.cp312-win_amd64.lib,sha256=3k5MmkDA9DisTZGzqYHVsVI14t6UWbqM8FFBbeD-stg,2032
|
| 614 |
+
numpy/random/_mt19937.cp312-win_amd64.pyd,sha256=Og43_SfIcwFId9sQtEHeVMzfl5S5faw5gwyzAuXZ25Q,89088
|
| 615 |
+
numpy/random/_mt19937.pyi,sha256=s3qqDpQ5p6G3TS7135oBK3MtEt0uZZteQDVNeeGlbIk,747
|
| 616 |
+
numpy/random/_pcg64.cp312-win_amd64.lib,sha256=5jdTdjzuBLIXVe0dZ2N-dBV5Q-JXCuPbNZS7n7IVCBQ,1996
|
| 617 |
+
numpy/random/_pcg64.cp312-win_amd64.pyd,sha256=cnodT0FXk0d3P7CI_UX9-exIDWy-urfyovvc6YmgLms,96768
|
| 618 |
+
numpy/random/_pcg64.pyi,sha256=Q-QetvAEmjzguUzTFe9WyNjouYT4AdB3t4TP7Rv_h9A,1133
|
| 619 |
+
numpy/random/_philox.cp312-win_amd64.lib,sha256=dDnq23LCy3en2eC5pV1fsvU91yMWjkgCBys91GHgcbs,2012
|
| 620 |
+
numpy/random/_philox.cp312-win_amd64.pyd,sha256=8ZKHhcDo4kPmF8-H1EolfDtxM0rCVNM-NTlweVxNcMM,81920
|
| 621 |
+
numpy/random/_philox.pyi,sha256=mxF1_5G3eniJ6MrmidXQJM9VZCA_RWM9SOpQmbuJN1U,991
|
| 622 |
+
numpy/random/_pickle.py,sha256=Dbhbd0z7K-DkGIvsI7KOFikPGhFlXL5g8002cXBS6CQ,2870
|
| 623 |
+
numpy/random/_sfc64.cp312-win_amd64.lib,sha256=GvVfjBplsSx10kZX5PX8_3XRhcCjtAN_aJAMkF0Ajd4,1996
|
| 624 |
+
numpy/random/_sfc64.cp312-win_amd64.pyd,sha256=Qo-BF9EDWSqrBkD40vldYWLJPSiQUar0qxp9z4_4gQM,62464
|
| 625 |
+
numpy/random/_sfc64.pyi,sha256=-SVBWvTRAKnWTBNYuvNI_tcwUReb1XPhuHoSopP-hOQ,657
|
| 626 |
+
numpy/random/bit_generator.cp312-win_amd64.lib,sha256=oS523VVqif5OUklbX-iNW_A2hXU0_deRmRdzbJ5cLAs,2120
|
| 627 |
+
numpy/random/bit_generator.cp312-win_amd64.pyd,sha256=ZNDQLxk7c8iKEE1mPu8gdHwfvscsxANDicdayII1mYE,172032
|
| 628 |
+
numpy/random/bit_generator.pxd,sha256=LJpeB-EKeVV8_JO69sS33XJLZQ3DAhrUCNzs_ei7AoI,1042
|
| 629 |
+
numpy/random/bit_generator.pyi,sha256=oAB6QdmtR5qNSHVRUccZFA9bYfUlRuAwi8rKjLBKd5k,3719
|
| 630 |
+
numpy/random/c_distributions.pxd,sha256=VnYwdkMQmLp2rU-fT0Dvj0AhLirSpE5EirMe7iNcTTQ,6464
|
| 631 |
+
numpy/random/lib/npyrandom.lib,sha256=fvyLMKBO-72DCl6sGVtiaSEa70TCwb85n00vCq61Gwc,147802
|
| 632 |
+
numpy/random/mtrand.cp312-win_amd64.lib,sha256=-67A0wzLowVS2OnFNJqU9jQb29IqJPgp3cNxpuHLryE,17122
|
| 633 |
+
numpy/random/mtrand.cp312-win_amd64.pyd,sha256=q17oKqnOqBSGZoOR-VK2idEJQi_zuz6p45B4GeRM1WE,633344
|
| 634 |
+
numpy/random/mtrand.pyi,sha256=sxRVq8FvvUN3U-ylFLFZ_a_c3Mv2gzTOjMfWqqq_rj0,23122
|
| 635 |
+
numpy/random/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 636 |
+
numpy/random/tests/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 637 |
+
numpy/random/tests/data/generator_pcg64_np121.pkl.gz,sha256=EfQ-X70KkHgBAFX2pIPcCUl4MNP1ZNROaXOU75vdiqM,203
|
| 638 |
+
numpy/random/tests/data/generator_pcg64_np126.pkl.gz,sha256=fN8deNVxX-HELA1eIZ32kdtYvc4hwKya6wv00GJeH0Y,208
|
| 639 |
+
numpy/random/tests/data/mt19937-testset-1.csv,sha256=bA5uuOXgLpkAwJjfV8oUePg3-eyaH4-gKe8AMcl2Xn0,16845
|
| 640 |
+
numpy/random/tests/data/mt19937-testset-2.csv,sha256=SnOL1nyRbblYlC254PBUSc37NguV5xN-0W_B32IxDGE,16826
|
| 641 |
+
numpy/random/tests/data/pcg64-testset-1.csv,sha256=wHoS7fIR3hMEdta7MtJ8EpIWX-Bw1yfSaVxiC15vxVs,24840
|
| 642 |
+
numpy/random/tests/data/pcg64-testset-2.csv,sha256=6vlnVuW_4i6LEsVn6b40HjcBWWjoX5lboSCBDpDrzFs,24846
|
| 643 |
+
numpy/random/tests/data/pcg64dxsm-testset-1.csv,sha256=Fhha5-jrCmRk__rsvx6CbDFZ7EPc8BOPDTh-myZLkhM,24834
|
| 644 |
+
numpy/random/tests/data/pcg64dxsm-testset-2.csv,sha256=mNYzkCh0NMt1VvTrN08BbkpAbfkFxztNcsofgeW_0ns,24840
|
| 645 |
+
numpy/random/tests/data/philox-testset-1.csv,sha256=QvpTynWHQjqTz3P2MPvtMLdg2VnM6TGTpXgp-_LeJ5g,24853
|
| 646 |
+
numpy/random/tests/data/philox-testset-2.csv,sha256=-BNO1OCYtDIjnN5Q-AsQezBCGmVJUIs3qAMyj8SNtsA,24839
|
| 647 |
+
numpy/random/tests/data/sfc64-testset-1.csv,sha256=sgkemW0lbKJ2wh1sBj6CfmXwFYTqfAk152P0r8emO38,24841
|
| 648 |
+
numpy/random/tests/data/sfc64-testset-2.csv,sha256=mkp21SG8eCqsfNyQZdmiV41-xKcsV8eutT7rVnVEG50,24834
|
| 649 |
+
numpy/random/tests/data/sfc64_np126.pkl.gz,sha256=MVa1ylFy7DUPgUBK-oIeKSdVl4UYEiN3AZ7G3sdzzaw,290
|
| 650 |
+
numpy/random/tests/test_direct.py,sha256=9LzX-v2YlylwqU2FRD7ANRlVIs1MTDflds0nlHZ2zgw,19812
|
| 651 |
+
numpy/random/tests/test_extending.py,sha256=XThcG1cPga0Rb6SEQd2kjulmCFGzpfCK6CdHeJMWRvE,3995
|
| 652 |
+
numpy/random/tests/test_generator_mt19937.py,sha256=Wga14H0GZM0WbttQI6TItLXpCTLWaJzr7fub3jmmp2I,120091
|
| 653 |
+
numpy/random/tests/test_generator_mt19937_regressions.py,sha256=2kEa-8oz5H_F8xyBbdTZqM1p0kz4SGzPZ9NFxJuOyh8,6575
|
| 654 |
+
numpy/random/tests/test_random.py,sha256=TW-ikZicDVgTi9WeZOQwLCCCZ_Q_gWAom6PoztXSZ5k,71901
|
| 655 |
+
numpy/random/tests/test_randomstate.py,sha256=RrgFeK2r5JcD4K8paWObS8nKufdGumLN2fdnvp974kI,87399
|
| 656 |
+
numpy/random/tests/test_randomstate_regression.py,sha256=8FL4sxX1D1oMVX_F9u5vR8Zazo5V0Yj4bL7zsh57V-Y,8215
|
| 657 |
+
numpy/random/tests/test_regression.py,sha256=_eoEa-QIYh33tESahMHsVZtCy9W_s5T5RPzI6QYS7LY,5611
|
| 658 |
+
numpy/random/tests/test_seed_sequence.py,sha256=zWUvhWDxBmTN2WteSFQeJ29W0-2k3ZUze_3YtL4Kgms,3391
|
| 659 |
+
numpy/random/tests/test_smoke.py,sha256=-rpw1VonyKI53UFbq59MvQLOcexV1oNDvOLAnndrVw0,28998
|
| 660 |
+
numpy/rec/__init__.py,sha256=SMM69A-UzX5LD6JxSYXO-M9t4grwzRcqSAXXuMU5PSY,85
|
| 661 |
+
numpy/rec/__init__.pyi,sha256=yNYXrAepUnWmdsniXDPYVxly2MZSL8KALoXoqKAlAkc,310
|
| 662 |
+
numpy/strings/__init__.py,sha256=NLFxhadn513TAXf8kgVguCvmyzXnP1JpVnNJtqfErX4,85
|
| 663 |
+
numpy/strings/__init__.pyi,sha256=O39lhLmQsn4x8hpDK-W4Ue-ErWICVcQ_KShY20VVc0Y,1263
|
| 664 |
+
numpy/testing/__init__.py,sha256=ENc09IN_D74xNvH33Z65Q2dkaSEvljHF_tz-BV-g_dU,617
|
| 665 |
+
numpy/testing/__init__.pyi,sha256=SqxF3NYTPzIpKCuUFJRibBgTnZ8zYHyQbIl7jC1JLL4,1703
|
| 666 |
+
numpy/testing/_private/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 667 |
+
numpy/testing/_private/extbuild.py,sha256=ddFDKpm5M4svl099woZDJWfnq95irDHy82b9HkzZeWI,8264
|
| 668 |
+
numpy/testing/_private/utils.py,sha256=ycQ-ggkw8jtYdNDUj-lTYUStTuUF9WV2gmf22E1GBts,95564
|
| 669 |
+
numpy/testing/_private/utils.pyi,sha256=jE6aLCt11XCnTrLZmczgKE5u_31YqCiIkzBvFl7a_EM,10746
|
| 670 |
+
numpy/testing/overrides.py,sha256=9EH3_ISI5y_oqwhO8hS0EWieAd5QQM2KsLl5i0bviXo,2208
|
| 671 |
+
numpy/testing/print_coercion_tables.py,sha256=BGTgZxvxnUNYqOwsceMR9xQ1LD6QUePsKLBsq8c8Vyo,6424
|
| 672 |
+
numpy/testing/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 673 |
+
numpy/testing/tests/test_utils.py,sha256=D9JD80urbsoh-aVyaZ1EBHX09Nf8J23hTtERU2RmtAE,72438
|
| 674 |
+
numpy/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 675 |
+
numpy/tests/test__all__.py,sha256=JziA96KUyXwWCPExbQcJBqe_RU1xQVrVwi1xhO8tzqM,230
|
| 676 |
+
numpy/tests/test_configtool.py,sha256=goqOIpRq8Hrig_d6vxZGu8zluQManELhkGGDl3g9qto,1598
|
| 677 |
+
numpy/tests/test_ctypeslib.py,sha256=PSiQsEpT3CoLFp56zntAEkaJJ1VMHkvE0pr8-infzKM,12728
|
| 678 |
+
numpy/tests/test_lazyloading.py,sha256=Z01x6jxk94e2HPoHdlHBgmgHjm9tNDE09kuJmT-DYFo,1200
|
| 679 |
+
numpy/tests/test_matlib.py,sha256=TUaQmGoz9fvQQ8FrooTq-g9BFiViGWjoTIGQSUUF6-Y,1910
|
| 680 |
+
numpy/tests/test_numpy_config.py,sha256=xp036ZX3-R20FjGn4-okdkFPjkThQhYdFtGt5MO65sI,1285
|
| 681 |
+
numpy/tests/test_numpy_version.py,sha256=n4cggUNnM9okmtxwyhYBWBFwJvKpY7NzYxMgrNwRU40,1808
|
| 682 |
+
numpy/tests/test_public_api.py,sha256=RlbAwR-D-bpUCKlOeTWoh6gGYvZLgGZPgTuccs7uoIs,23548
|
| 683 |
+
numpy/tests/test_reloading.py,sha256=spEldUm_nmV0tBoUG53a2ORCOjwfltimpKfGGTqa7pI,2441
|
| 684 |
+
numpy/tests/test_scripts.py,sha256=6rZN5bnGpeR4vEjLBiKEUMXJiE2NVnbY1Q8xKPlOqA8,1692
|
| 685 |
+
numpy/tests/test_warnings.py,sha256=imaLQur-8UB-66AzEFwE0SvteAucxPIlNZe3mu1Y9JY,2358
|
| 686 |
+
numpy/typing/__init__.py,sha256=rGl883L4FnRPSzNe1Zyz7_KrHvxIMobSMoLuGPPhKNI,5442
|
| 687 |
+
numpy/typing/mypy_plugin.py,sha256=8RP5idJlHB1aSj86jatiqWxAmFcNQgKvkNVuJqpU2nY,6606
|
| 688 |
+
numpy/typing/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 689 |
+
numpy/typing/tests/data/fail/arithmetic.pyi,sha256=1u4oSD5crYgB2TSyua5YqxDs1DuY1ZZrOwEwJRnVZUQ,3901
|
| 690 |
+
numpy/typing/tests/data/fail/array_constructors.pyi,sha256=mrcArR9EVNE4-9yKg-SgVv_Yp-4DpZ1Q_0cHiRwXRtI,1163
|
| 691 |
+
numpy/typing/tests/data/fail/array_like.pyi,sha256=MUIx6Oc5bJeebr-TC4FhZFXnX9pJ5gQDv8moHmPek10,471
|
| 692 |
+
numpy/typing/tests/data/fail/array_pad.pyi,sha256=JGCMd_sRBYlsPQ2d7EfLaNooTsg1P0jBuD5Ds2MeXAg,138
|
| 693 |
+
numpy/typing/tests/data/fail/arrayprint.pyi,sha256=sj4gU-mBy7yOa9l-D4ARxGc__U0P880TtcATh_AJOCo,606
|
| 694 |
+
numpy/typing/tests/data/fail/arrayterator.pyi,sha256=tRPWjCh1-sg5FXAyYeTbHSR983JUFlecRNcustDLt4E,484
|
| 695 |
+
numpy/typing/tests/data/fail/bitwise_ops.pyi,sha256=QglRyKkdf96Z-klBfGQ1JSmtOFk3yeSDFz0MqKS-rj0,604
|
| 696 |
+
numpy/typing/tests/data/fail/char.pyi,sha256=m8SxJUaMSj2SWFHhjtJHj0b1KMPg7f1tXBjpPG_pEso,2781
|
| 697 |
+
numpy/typing/tests/data/fail/chararray.pyi,sha256=2cRv7u1puCq1dhooEVik_gQDoocnoZENt2J7FRwE_Cs,2368
|
| 698 |
+
numpy/typing/tests/data/fail/comparisons.pyi,sha256=xrNXGulq1kVRufLUB7nG95g_YNr_wR5hbIdhy0tkRMc,849
|
| 699 |
+
numpy/typing/tests/data/fail/constants.pyi,sha256=3IZ6T9p4n61qIXngrHB8VqEaqloxcNmbUz3YcSqNSXI,88
|
| 700 |
+
numpy/typing/tests/data/fail/datasource.pyi,sha256=mX9ucsgNXNekVFuRVzBjleA-p8GpuwpbsHqiG6a9CpA,420
|
| 701 |
+
numpy/typing/tests/data/fail/dtype.pyi,sha256=ltT4BFaX_KTVdRLw2dMg3_OiSNYjDSNrXsxby6eeLTw,354
|
| 702 |
+
numpy/typing/tests/data/fail/einsumfunc.pyi,sha256=dYOaJ0J4EUzdyUBikKHie99K8SMaYrlqN3R9aDcMeJ4,499
|
| 703 |
+
numpy/typing/tests/data/fail/false_positives.pyi,sha256=TKmRWDjlfVP2rgZczUMXcm9l0maPLDf7bSBon4Xfakw,377
|
| 704 |
+
numpy/typing/tests/data/fail/flatiter.pyi,sha256=u4-JnRsydg5BW3OcA9we8MXLJ6F5cuaxxw0BrHVA9kY,891
|
| 705 |
+
numpy/typing/tests/data/fail/fromnumeric.pyi,sha256=1kB7P_OXW0Ob63tf4iYEtgSLWDPQcWKSMrLxNrczVb4,5752
|
| 706 |
+
numpy/typing/tests/data/fail/histograms.pyi,sha256=JteTXgK_kXD8UPdihMZ_T2VcM3rTBj6t-MMRP8UHvhw,379
|
| 707 |
+
numpy/typing/tests/data/fail/index_tricks.pyi,sha256=63ADYRCVtf0Dapc2dJpYJZDSIXK3MhhW_1lG30d3-RY,523
|
| 708 |
+
numpy/typing/tests/data/fail/lib_function_base.pyi,sha256=wOI2CEvJZEGDysR8Oas2QZN8INVdys1FPN4QstLyE8I,2001
|
| 709 |
+
numpy/typing/tests/data/fail/lib_polynomial.pyi,sha256=PM1TD9h4tFNeMp4y6HlXHKuAHDW0bfNHw0UWLUHnLVk,928
|
| 710 |
+
numpy/typing/tests/data/fail/lib_utils.pyi,sha256=chR5zMEM5KI2Aw0LPIlIC8CnEcPIHwyKMLzbPhXNYXU,99
|
| 711 |
+
numpy/typing/tests/data/fail/lib_version.pyi,sha256=JWtuTLcjkZpGfXshlFpJO5vINxawn9S-mxLGH0-7kcw,164
|
| 712 |
+
numpy/typing/tests/data/fail/linalg.pyi,sha256=j6GGpOENz0nuZsza0Dyfy6MtjfRltqrbY8K_7g5H92I,1370
|
| 713 |
+
numpy/typing/tests/data/fail/memmap.pyi,sha256=eAX-nEKtOb06mL8EPECukmL8MwrehSVRu5TBlHiSBaQ,164
|
| 714 |
+
numpy/typing/tests/data/fail/modules.pyi,sha256=xkoJ-zYQtGdeeUTjlOuBmLRkxFgGk_YGD74skrXWQtI,688
|
| 715 |
+
numpy/typing/tests/data/fail/multiarray.pyi,sha256=AMsYk58-B30xQTHirBGAC6vykmauw-S7H_YiHSLOAQA,1696
|
| 716 |
+
numpy/typing/tests/data/fail/ndarray.pyi,sha256=5A83TCpAmaUC0rtOU0NVG0vsNfKo_-1SF5qtVT7eqoc,415
|
| 717 |
+
numpy/typing/tests/data/fail/ndarray_misc.pyi,sha256=lKMJRh-0D84J1VaeeF12RbhloshyA19GWiGKpQbBPlg,1376
|
| 718 |
+
numpy/typing/tests/data/fail/nditer.pyi,sha256=We6p5_nmfUdd_4CtwYZc5O7MTSMyM-Xw7mEUzdKPcP4,333
|
| 719 |
+
numpy/typing/tests/data/fail/nested_sequence.pyi,sha256=7E1zJ2SZIF0ldbEmjtA_Bp6cV4Q-cS4Op0BJN3Vi3rc,444
|
| 720 |
+
numpy/typing/tests/data/fail/npyio.pyi,sha256=XPFPjSKKBX5FRc_8FyO_6-X9LGzqQdgUKdKhxqe7RIk,541
|
| 721 |
+
numpy/typing/tests/data/fail/numerictypes.pyi,sha256=wPJaHwMdiX1tJLdnYAgZ5z42tEhX-8EtGfWKU81czf4,125
|
| 722 |
+
numpy/typing/tests/data/fail/random.pyi,sha256=v_Y-EfhC7PC8E3AH-v-AfiZVlJDSShL77WQ3yXWx5iE,2883
|
| 723 |
+
numpy/typing/tests/data/fail/rec.pyi,sha256=BxH41lR1wLvLrlash9mzkPFngDAXSPQQXvuHxYylHAI,721
|
| 724 |
+
numpy/typing/tests/data/fail/scalars.pyi,sha256=75iAXKKdouG6Qkq1d-iMTgZh0Eb-751Zk5fpGFqdm-E,3043
|
| 725 |
+
numpy/typing/tests/data/fail/shape_base.pyi,sha256=ZU1KSP0k-i-npwIMUhp42-EMzrdZhOqPEnV8ah-ZJ6U,160
|
| 726 |
+
numpy/typing/tests/data/fail/stride_tricks.pyi,sha256=L0fJGun6CDq24yNdw2zeNVGGcIpEOyP2dmWj1pEbMz8,324
|
| 727 |
+
numpy/typing/tests/data/fail/strings.pyi,sha256=nFnnRCF8j6jTjptkRCNs-BNAQLBAcNaTaqEq-N-Sh5Q,2911
|
| 728 |
+
numpy/typing/tests/data/fail/testing.pyi,sha256=O1nk5xnSvKn7aAHNi3mMLYIr75ym5WIT-BvZemEnayQ,1398
|
| 729 |
+
numpy/typing/tests/data/fail/twodim_base.pyi,sha256=wzd-h1ye2BhMdIHlQ0ZcHfgYRBHVX2GJ3WGfMk5euPg,935
|
| 730 |
+
numpy/typing/tests/data/fail/type_check.pyi,sha256=0KG0c2LNUbUFChTYtbJ38eJUmfvUJl4Cn5G0vh1Bkrw,392
|
| 731 |
+
numpy/typing/tests/data/fail/ufunc_config.pyi,sha256=WzZzWJ-cC39qAzak3Cf--XIZX11MqwsEa3bYYyzqsvY,755
|
| 732 |
+
numpy/typing/tests/data/fail/ufunclike.pyi,sha256=89Fjsr7vmurRl90mVbC5L0xOwRIk0jg4mJrgkTDn4eM,648
|
| 733 |
+
numpy/typing/tests/data/fail/ufuncs.pyi,sha256=TiIj3qjjbAgNR0IahyYUGXDTA8AlSJLIKhDrfyzAHFw,1388
|
| 734 |
+
numpy/typing/tests/data/fail/warnings_and_errors.pyi,sha256=4sTfiur0rV5CpjlYJC_1WV3KPnovteiImffvpYh19eU,190
|
| 735 |
+
numpy/typing/tests/data/misc/extended_precision.pyi,sha256=RTsXUAM9iKX_L-iviwFVuUwKcqX9N8sRW5ZHAXjYtjc,909
|
| 736 |
+
numpy/typing/tests/data/mypy.ini,sha256=-DlViGsyN4XPZs-IXa4x5G-0oEIyokEVTt0FxHvr5zU,175
|
| 737 |
+
numpy/typing/tests/data/pass/arithmetic.py,sha256=-Phm91MHjRTqAtf9WRDdp_Sg_HEVRCq1bf6LIvwg4Zw,8150
|
| 738 |
+
numpy/typing/tests/data/pass/array_constructors.py,sha256=MGzgCt7uTeC_b7wU2aPlvTuDzXfgOujx_lR0Vqfpny8,2584
|
| 739 |
+
numpy/typing/tests/data/pass/array_like.py,sha256=h7P3QdJ_eTAmYImblwJxhe8bVGzi5RWjMNyLTkUDdNk,1061
|
| 740 |
+
numpy/typing/tests/data/pass/arrayprint.py,sha256=NTw1gJ9v3TDVwRov4zsg_27rI-ndKuG4mDidBWEKVyc,803
|
| 741 |
+
numpy/typing/tests/data/pass/arrayterator.py,sha256=z4o0H08T7tbzzMWhu5ZXdVqbivjBicuFgRHBk_lpOck,420
|
| 742 |
+
numpy/typing/tests/data/pass/bitwise_ops.py,sha256=8lfjgayfTDDcWi1O-rnxLu4FZqvskvGHvFXJpMQWQgc,1095
|
| 743 |
+
numpy/typing/tests/data/pass/comparisons.py,sha256=TWpd4WRFJ6KwVsrN_U0RUYcQpTSSccw8uJKBUwAe8DA,3294
|
| 744 |
+
numpy/typing/tests/data/pass/dtype.py,sha256=YRsTwKEQ5iJtdKCEQIybU_nL8z8Wq9hU-BZmEO7HjQE,1127
|
| 745 |
+
numpy/typing/tests/data/pass/einsumfunc.py,sha256=CXdLvQsU2iDqQc7d2TRRCSwguQzJ0SJDFn23SDeOOuY,1406
|
| 746 |
+
numpy/typing/tests/data/pass/flatiter.py,sha256=2xtMPvDgfhgjZIqiN3B3Wvy6Q9oBeo9uh4UkCAQNmwg,190
|
| 747 |
+
numpy/typing/tests/data/pass/fromnumeric.py,sha256=OVhSEoxBB8u5YfvSs1LFgFrvAUYiKZkscFxNyHXDVzw,4002
|
| 748 |
+
numpy/typing/tests/data/pass/index_tricks.py,sha256=Vn5iEuWlNdbr03zMEwAHvjBgI25-uCqRAJfUvRVWSp0,1556
|
| 749 |
+
numpy/typing/tests/data/pass/lib_utils.py,sha256=XEc0v7bwES-C5D4GkSJQSSTSAl5ng7tq6tCWj3jxbCM,336
|
| 750 |
+
numpy/typing/tests/data/pass/lib_version.py,sha256=TlLZK8sekCMm__WWo22FZfZc40zpczENf6y_TNjBpCw,317
|
| 751 |
+
numpy/typing/tests/data/pass/literal.py,sha256=EAz1BK2ikHufoUCMJvJRtHwViQqpVrRW5AgDZvnARWE,1408
|
| 752 |
+
numpy/typing/tests/data/pass/ma.py,sha256=LfK4LXCWLLK5q0c1Me8STWbhGj9b_46LYvZwXGpaEjQ,179
|
| 753 |
+
numpy/typing/tests/data/pass/mod.py,sha256=L1qLwjdrRo9Tx7mxWpf_ugdKdUprDYhPRbCvQd5QjXY,1725
|
| 754 |
+
numpy/typing/tests/data/pass/modules.py,sha256=buzLurat4TIGmJuW3mGsGk7dKNmpBDfQOWWQXFfb9Uc,670
|
| 755 |
+
numpy/typing/tests/data/pass/multiarray.py,sha256=i6VU-VN96Q16mRGzVoY3oTE2W1z16GOGTOVFxWGRacM,1407
|
| 756 |
+
numpy/typing/tests/data/pass/ndarray_conversion.py,sha256=6TnvucV8Vtte7dGWihx7YmrHlNOanqmLJIH1W8Wok0E,1612
|
| 757 |
+
numpy/typing/tests/data/pass/ndarray_misc.py,sha256=-1HK6vqTlKl5P7rU1zEM3UGHHWndl8F4lajIvKIQPaI,2795
|
| 758 |
+
numpy/typing/tests/data/pass/ndarray_shape_manipulation.py,sha256=yaBK3hW5fe2VpvARkn_NMeF-JX-OajI8JiRWOA_Uk7Y,687
|
| 759 |
+
numpy/typing/tests/data/pass/numeric.py,sha256=D-QAh75OtWLwYE_qkPiOGYR2M4GxJWbby-UIuwFRkAQ,1622
|
| 760 |
+
numpy/typing/tests/data/pass/numerictypes.py,sha256=JaCjk4zQPOI67XzqGyi3dI-GUMFM2AvDuniwzSQ7_Rk,348
|
| 761 |
+
numpy/typing/tests/data/pass/random.py,sha256=3Uw-6pRXWR_O4Q0BsSHQUh5ZigQ1E7fIP2AFCI9bLMg,63307
|
| 762 |
+
numpy/typing/tests/data/pass/scalars.py,sha256=9rfIxadM9yVyOYVgkgVPnRgIkARJ0g6vf1LKq5NIlaM,3633
|
| 763 |
+
numpy/typing/tests/data/pass/simple.py,sha256=M0nNgtpPOIJMRDy0rqgiCVEpbQJOh2iYX8zTiX6lL5U,2901
|
| 764 |
+
numpy/typing/tests/data/pass/simple_py3.py,sha256=OBpoDmf5u4bRblugokiOZzufESsEmoU03MqipERrjLg,102
|
| 765 |
+
numpy/typing/tests/data/pass/ufunc_config.py,sha256=gmMTPrq8gLXJZSBQoOpJcgzIzWgMx-k_etKPV4KSTJk,1269
|
| 766 |
+
numpy/typing/tests/data/pass/ufunclike.py,sha256=_BcLJXmvN4TQ08W-znw7VmRH_UO0Wn9_Kcut3OF0ZoY,1188
|
| 767 |
+
numpy/typing/tests/data/pass/ufuncs.py,sha256=gvdcCNoGUfN0CnQmn6k1j6ghdt8zGkJdcRcgctmU48A,438
|
| 768 |
+
numpy/typing/tests/data/pass/warnings_and_errors.py,sha256=q3c1SmMwhyYLYQsLjK02AXphk3-96YltSTdTfrElJzQ,167
|
| 769 |
+
numpy/typing/tests/data/reveal/arithmetic.pyi,sha256=xVHIfSRxs7Dy3VJkBdfxIkUppDzedOBns1pYxDGQ18g,20278
|
| 770 |
+
numpy/typing/tests/data/reveal/array_constructors.pyi,sha256=mfvTCNAQQYUcF90BWWWY0WOHGJ_Igipj-Yf_w8qihPU,10933
|
| 771 |
+
numpy/typing/tests/data/reveal/arraypad.pyi,sha256=jNYVO_bhcfiS4qD2yjdh9zHHfYwTXlpbS0S4monXg3A,804
|
| 772 |
+
numpy/typing/tests/data/reveal/arrayprint.pyi,sha256=CWK-exqf0iJsgG0dy0aeYPy58YCpKt6v4wPILUthWGQ,936
|
| 773 |
+
numpy/typing/tests/data/reveal/arraysetops.pyi,sha256=WwNy5tZCasuchQumB3HnI_bOea_PAsVStn2GhKeUhDU,4584
|
| 774 |
+
numpy/typing/tests/data/reveal/arrayterator.pyi,sha256=kO3jaArSCHX8qfhWWwfSzpVGCar92Mncispc5DJHB_Q,1130
|
| 775 |
+
numpy/typing/tests/data/reveal/bitwise_ops.pyi,sha256=csNMKNCTTSzSiwUZUQ7SnIDWwcvbSXI4sc2vhp5NueI,4046
|
| 776 |
+
numpy/typing/tests/data/reveal/char.pyi,sha256=wSOObFlhK3KoMc5lJMS0tOef6y5oZPHxS8cUAknGCBA,7349
|
| 777 |
+
numpy/typing/tests/data/reveal/chararray.pyi,sha256=N5AtV6PN-DM_kb2dseZ1Hy3p2YiqkN7pd8kUpnuB1lY,6399
|
| 778 |
+
numpy/typing/tests/data/reveal/comparisons.pyi,sha256=n6w_RoJrjlu6Z9ul5PiJby3CUikSeFL3DFmEAHplQFo,7541
|
| 779 |
+
numpy/typing/tests/data/reveal/constants.pyi,sha256=GYr4FEAuCiQi7AP4iSxAkCwkumdLQf_jNBaqi83jWFg,412
|
| 780 |
+
numpy/typing/tests/data/reveal/ctypeslib.pyi,sha256=Rk4vlh_5eZDrG2zhGrc2w4YtF85XdioEZEBvjUHCNC8,4910
|
| 781 |
+
numpy/typing/tests/data/reveal/datasource.pyi,sha256=Nc4eLV8-qg5wCfhmDCjEogQVMocfiTZgSSn-KyUwPQU,730
|
| 782 |
+
numpy/typing/tests/data/reveal/dtype.pyi,sha256=q_XtArthE1O1qfx6HXq2x_zSii01_OM5O3w0Ztm4ZNc,2959
|
| 783 |
+
numpy/typing/tests/data/reveal/einsumfunc.pyi,sha256=Hiz6uEzKhrdLZ5mLQouwwtzHSlqKq37UowcC_wxCgQY,2089
|
| 784 |
+
numpy/typing/tests/data/reveal/emath.pyi,sha256=cwFfmjIs6QoK7OrsaNUxWbshIRJCramjX4BM37n0LsM,2483
|
| 785 |
+
numpy/typing/tests/data/reveal/false_positives.pyi,sha256=BvCw4kn5DV8oDobFzgkpSJEUow1Hdh-FsAQZz0m29-A,500
|
| 786 |
+
numpy/typing/tests/data/reveal/fft.pyi,sha256=f5y4zbqvnby1QfKPxp-sVz4CEULTLwbxcBys_nToPJ0,1792
|
| 787 |
+
numpy/typing/tests/data/reveal/flatiter.pyi,sha256=lEqnvh5cCnjvsEilXjNEt6e3DEhseDrXlmZSxfb9w48,913
|
| 788 |
+
numpy/typing/tests/data/reveal/fromnumeric.pyi,sha256=ZTpfAoGU9RRJTYWP8lTkg0IOsEkP4L1uVupicYG_Lq0,12360
|
| 789 |
+
numpy/typing/tests/data/reveal/getlimits.pyi,sha256=7f6assbCeq6iXRtSRqN35JNPx3udRYlTQiv4VnRKEho,1648
|
| 790 |
+
numpy/typing/tests/data/reveal/histograms.pyi,sha256=NwulSnCG3PvG2lG4Twj1hFnHGBea1k9uJI2g1OkxaF8,1406
|
| 791 |
+
numpy/typing/tests/data/reveal/index_tricks.pyi,sha256=-rgCQBAVAmGStuERWW7qhuedkQ1rdgHlgHu-YkkKjV0,3248
|
| 792 |
+
numpy/typing/tests/data/reveal/lib_function_base.pyi,sha256=s2rDl0GSzq1aOKrwrSdFSYAmmvFVR8Rz61LjztOuwGY,8095
|
| 793 |
+
numpy/typing/tests/data/reveal/lib_polynomial.pyi,sha256=XYoK0oyRZ-wsf0OEZkQVv37EnXzEOF_Rb0BgDDpaF_s,6133
|
| 794 |
+
numpy/typing/tests/data/reveal/lib_utils.pyi,sha256=KjfK20MZyKC8vcfL2vLoQpSwbKt9hX3-QPcEZ65ZD3I,558
|
| 795 |
+
numpy/typing/tests/data/reveal/lib_version.pyi,sha256=GEI8Jy3t3L3C3nmh5NARPK_Duxpn53RmBs59MXkLmOc,697
|
| 796 |
+
numpy/typing/tests/data/reveal/linalg.pyi,sha256=TV4PRA4KOPB0sVNTuaRW-1b5miup5AMusQ-01s9n8G4,6458
|
| 797 |
+
numpy/typing/tests/data/reveal/matrix.pyi,sha256=DvXVYdI5Xi10UYGm-D1Ze0nBedsJFt8krmlGHfQ7xZ0,2994
|
| 798 |
+
numpy/typing/tests/data/reveal/memmap.pyi,sha256=6yhQzVryBCRhJkwsZsqcQNZZYfN-HHZ0F97EOa9SjrM,867
|
| 799 |
+
numpy/typing/tests/data/reveal/mod.pyi,sha256=mMmw_fxMky6HBQZvxS72Ndt1XCA9fxfvBkY_m-eceq8,5812
|
| 800 |
+
numpy/typing/tests/data/reveal/modules.pyi,sha256=Q4486mAOwGhMcsV8qSm1eNNsHC-4egMYODqLMpXrEa8,2014
|
| 801 |
+
numpy/typing/tests/data/reveal/multiarray.pyi,sha256=Gct30VyJCpySOMcVXhRlAA1zliOVcs0Z-raWJ1ejkGg,5292
|
| 802 |
+
numpy/typing/tests/data/reveal/nbit_base_example.pyi,sha256=XsPLKvd6Xg0EfoeT9AP8ZLc24Ml14TOpEA3hdq4nFJY,684
|
| 803 |
+
numpy/typing/tests/data/reveal/ndarray_conversion.pyi,sha256=oMFhNd0lPp1-dWWLIeihDsEN4o-FjBJsGXKMl9DYRjg,1917
|
| 804 |
+
numpy/typing/tests/data/reveal/ndarray_misc.pyi,sha256=sLqQoQRuFQgi_IxheDFbf1oS9JgOXT0KAFb3hMMdpwo,6893
|
| 805 |
+
numpy/typing/tests/data/reveal/ndarray_shape_manipulation.pyi,sha256=_hTO6zBAPMK-y1N9UU1CHweJhCUPcNqjXux_X8u0xig,1277
|
| 806 |
+
numpy/typing/tests/data/reveal/nditer.pyi,sha256=MNWZpoW7tuZmBKml94OIFB3vNAWDPgfSvsWrtlYmCcU,2076
|
| 807 |
+
numpy/typing/tests/data/reveal/nested_sequence.pyi,sha256=8eO-nOkd1p2u3KS3TvLAU5V53TBeFNIQzqJJt_x4UyM,766
|
| 808 |
+
numpy/typing/tests/data/reveal/npyio.pyi,sha256=Ynivm_--YlyomYBiMchSgBgyRPwVLSjJc2jgq5ZWkIk,3700
|
| 809 |
+
numpy/typing/tests/data/reveal/numeric.pyi,sha256=5zofcD7hRaAgPVG3rRdTG4FdqXnxkgQw1XksdnypbFA,6644
|
| 810 |
+
numpy/typing/tests/data/reveal/numerictypes.pyi,sha256=7VHRH3xo7g0j24bzgW1Klcr4bzsSs6LdZmlAY2BCSGw,1443
|
| 811 |
+
numpy/typing/tests/data/reveal/random.pyi,sha256=_pn-82DFJpjOgYmojqulWUb3uSy-jRPdPDBOpqgtnJ4,105948
|
| 812 |
+
numpy/typing/tests/data/reveal/rec.pyi,sha256=TT4ayH4Tw686cFGsa_IHyn0FwsVS7mXKLTiT52kAedo,4025
|
| 813 |
+
numpy/typing/tests/data/reveal/scalars.pyi,sha256=AU6fCqR9hwBnrdlukNxkvTkoD28aCoK_yQko_E8lITU,4749
|
| 814 |
+
numpy/typing/tests/data/reveal/shape_base.pyi,sha256=lHFxAB7BnNwIDcone8c4dPEh5Tuvudb1U9V7UfRV_4A,2040
|
| 815 |
+
numpy/typing/tests/data/reveal/stride_tricks.pyi,sha256=8NAfQ-N0cTc4Qj50NQQXWrJZjSl9PkMuyn22QroFhVM,1466
|
| 816 |
+
numpy/typing/tests/data/reveal/strings.pyi,sha256=6GpNLJGS5i7mP-Bz3sb2BjBMQdkS-EJyvx5vCjf8mA0,6510
|
| 817 |
+
numpy/typing/tests/data/reveal/testing.pyi,sha256=TtO2Zi6M8GKh4pYGTrvUbgKYWI_HsddGB9aM_DdRnXE,8813
|
| 818 |
+
numpy/typing/tests/data/reveal/twodim_base.pyi,sha256=nq9-Eb0JjRolDvJoTaAqZlEX_u2EBt6Qsg5Wv6Ee8YU,3224
|
| 819 |
+
numpy/typing/tests/data/reveal/type_check.pyi,sha256=kDl2RCWN7EJLd3ndgjHlflZlLgAvqSPFLOJ_iUr6Cdg,2838
|
| 820 |
+
numpy/typing/tests/data/reveal/ufunc_config.pyi,sha256=WPf6cIYrrLX-WqDezqXNmnB0M5N1LWXvNEGG3VLcCzk,1353
|
| 821 |
+
numpy/typing/tests/data/reveal/ufunclike.pyi,sha256=zXdhP4jFgruPbhb-rmT9DFm3XHdndwos6iRG_KLux00,1358
|
| 822 |
+
numpy/typing/tests/data/reveal/ufuncs.pyi,sha256=okqaho5Nq3uG8N9-ryCuZpXSUeaWwqYiY4LIFU5ZSZo,3386
|
| 823 |
+
numpy/typing/tests/data/reveal/warnings_and_errors.pyi,sha256=KjmoWgviXUYyD7iBIvrkkImVELfWrP-ttbxql-tB4nE,565
|
| 824 |
+
numpy/typing/tests/test_isfile.py,sha256=slpVB1kHtrG5unlgYxl94Q_kOzDBPnDtFZQhLZdq9JM,897
|
| 825 |
+
numpy/typing/tests/test_runtime.py,sha256=p-Ydvt0Rt6mPHmAKYOOAGxxXQnjoARJSVZmViKMAX0A,3384
|
| 826 |
+
numpy/typing/tests/test_typing.py,sha256=GtYxVeorDdVa0VfjZU4C4POJN069lsu4NfcHsHfBR_4,8592
|
| 827 |
+
numpy/version.py,sha256=40GFBfazK8_rG_jY-4yg6R3q4tsHvAhf_sg99c04Vbg,304
|
| 828 |
+
numpy/version.pyi,sha256=zf7jRMs-lw1jhsBS0ivtyEzpl8HPUZV3fo28XVnBYA0,107
|
player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/REQUESTED
ADDED
|
File without changes
|
player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: meson
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp312-cp312-win_amd64
|
player/runtime/python/Lib/site-packages/numpy-2.0.2.dist-info/entry_points.txt
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[array_api]
|
| 2 |
+
numpy = numpy
|
| 3 |
+
|
| 4 |
+
[pyinstaller40]
|
| 5 |
+
hook-dirs = numpy:_pyinstaller_hooks_dir
|
| 6 |
+
|
| 7 |
+
[console_scripts]
|
| 8 |
+
f2py = numpy.f2py.f2py2e:main
|
| 9 |
+
numpy-config = numpy._configtool:main
|
| 10 |
+
|
player/runtime/python/Lib/site-packages/numpy.libs/libscipy_openblas64_-caad452230ae4ddb57899b8b3a33c55c.dll
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44629a7d27806ea076daeae8e829b0cfbdec9e25099561a19af8e5910bd635c5
|
| 3 |
+
size 32816640
|
player/runtime/python/Lib/site-packages/numpy.libs/msvcp140-23ebcc0b37c8e3d074511f362feac48b.dll
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32e6c8100bd62e7a91f50996c2a59692dc796b6f140a2dfa4de313ca43d4c748
|
| 3 |
+
size 618728
|
player/runtime/python/Lib/site-packages/numpy/_pyinstaller/test_pyinstaller.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import subprocess
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
|
| 4 |
+
import pytest
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
# PyInstaller has been very unproactive about replacing 'imp' with 'importlib'.
|
| 8 |
+
@pytest.mark.filterwarnings('ignore::DeprecationWarning')
|
| 9 |
+
# It also leaks io.BytesIO()s.
|
| 10 |
+
@pytest.mark.filterwarnings('ignore::ResourceWarning')
|
| 11 |
+
@pytest.mark.parametrize("mode", ["--onedir", "--onefile"])
|
| 12 |
+
@pytest.mark.slow
|
| 13 |
+
def test_pyinstaller(mode, tmp_path):
|
| 14 |
+
"""Compile and run pyinstaller-smoke.py using PyInstaller."""
|
| 15 |
+
|
| 16 |
+
pyinstaller_cli = pytest.importorskip("PyInstaller.__main__").run
|
| 17 |
+
|
| 18 |
+
source = Path(__file__).with_name("pyinstaller-smoke.py").resolve()
|
| 19 |
+
args = [
|
| 20 |
+
# Place all generated files in ``tmp_path``.
|
| 21 |
+
'--workpath', str(tmp_path / "build"),
|
| 22 |
+
'--distpath', str(tmp_path / "dist"),
|
| 23 |
+
'--specpath', str(tmp_path),
|
| 24 |
+
mode,
|
| 25 |
+
str(source),
|
| 26 |
+
]
|
| 27 |
+
pyinstaller_cli(args)
|
| 28 |
+
|
| 29 |
+
if mode == "--onefile":
|
| 30 |
+
exe = tmp_path / "dist" / source.stem
|
| 31 |
+
else:
|
| 32 |
+
exe = tmp_path / "dist" / source.stem / source.stem
|
| 33 |
+
|
| 34 |
+
p = subprocess.run([str(exe)], check=True, stdout=subprocess.PIPE)
|
| 35 |
+
assert p.stdout.strip() == b"I made it!"
|
player/runtime/python/Lib/site-packages/numpy/_pytesttester.py
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Pytest test running.
|
| 3 |
+
|
| 4 |
+
This module implements the ``test()`` function for NumPy modules. The usual
|
| 5 |
+
boiler plate for doing that is to put the following in the module
|
| 6 |
+
``__init__.py`` file::
|
| 7 |
+
|
| 8 |
+
from numpy._pytesttester import PytestTester
|
| 9 |
+
test = PytestTester(__name__)
|
| 10 |
+
del PytestTester
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
Warnings filtering and other runtime settings should be dealt with in the
|
| 14 |
+
``pytest.ini`` file in the numpy repo root. The behavior of the test depends on
|
| 15 |
+
whether or not that file is found as follows:
|
| 16 |
+
|
| 17 |
+
* ``pytest.ini`` is present (develop mode)
|
| 18 |
+
All warnings except those explicitly filtered out are raised as error.
|
| 19 |
+
* ``pytest.ini`` is absent (release mode)
|
| 20 |
+
DeprecationWarnings and PendingDeprecationWarnings are ignored, other
|
| 21 |
+
warnings are passed through.
|
| 22 |
+
|
| 23 |
+
In practice, tests run from the numpy repo are run in development mode with
|
| 24 |
+
``spin``, through the standard ``spin test`` invocation or from an inplace
|
| 25 |
+
build with ``pytest numpy``.
|
| 26 |
+
|
| 27 |
+
This module is imported by every numpy subpackage, so lies at the top level to
|
| 28 |
+
simplify circular import issues. For the same reason, it contains no numpy
|
| 29 |
+
imports at module scope, instead importing numpy within function calls.
|
| 30 |
+
"""
|
| 31 |
+
import sys
|
| 32 |
+
import os
|
| 33 |
+
|
| 34 |
+
__all__ = ['PytestTester']
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
def _show_numpy_info():
|
| 38 |
+
import numpy as np
|
| 39 |
+
|
| 40 |
+
print("NumPy version %s" % np.__version__)
|
| 41 |
+
info = np.lib._utils_impl._opt_info()
|
| 42 |
+
print("NumPy CPU features: ", (info if info else 'nothing enabled'))
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
class PytestTester:
|
| 46 |
+
"""
|
| 47 |
+
Pytest test runner.
|
| 48 |
+
|
| 49 |
+
A test function is typically added to a package's __init__.py like so::
|
| 50 |
+
|
| 51 |
+
from numpy._pytesttester import PytestTester
|
| 52 |
+
test = PytestTester(__name__).test
|
| 53 |
+
del PytestTester
|
| 54 |
+
|
| 55 |
+
Calling this test function finds and runs all tests associated with the
|
| 56 |
+
module and all its sub-modules.
|
| 57 |
+
|
| 58 |
+
Attributes
|
| 59 |
+
----------
|
| 60 |
+
module_name : str
|
| 61 |
+
Full path to the package to test.
|
| 62 |
+
|
| 63 |
+
Parameters
|
| 64 |
+
----------
|
| 65 |
+
module_name : module name
|
| 66 |
+
The name of the module to test.
|
| 67 |
+
|
| 68 |
+
Notes
|
| 69 |
+
-----
|
| 70 |
+
Unlike the previous ``nose``-based implementation, this class is not
|
| 71 |
+
publicly exposed as it performs some ``numpy``-specific warning
|
| 72 |
+
suppression.
|
| 73 |
+
|
| 74 |
+
"""
|
| 75 |
+
def __init__(self, module_name):
|
| 76 |
+
self.module_name = module_name
|
| 77 |
+
|
| 78 |
+
def __call__(self, label='fast', verbose=1, extra_argv=None,
|
| 79 |
+
doctests=False, coverage=False, durations=-1, tests=None):
|
| 80 |
+
"""
|
| 81 |
+
Run tests for module using pytest.
|
| 82 |
+
|
| 83 |
+
Parameters
|
| 84 |
+
----------
|
| 85 |
+
label : {'fast', 'full'}, optional
|
| 86 |
+
Identifies the tests to run. When set to 'fast', tests decorated
|
| 87 |
+
with `pytest.mark.slow` are skipped, when 'full', the slow marker
|
| 88 |
+
is ignored.
|
| 89 |
+
verbose : int, optional
|
| 90 |
+
Verbosity value for test outputs, in the range 1-3. Default is 1.
|
| 91 |
+
extra_argv : list, optional
|
| 92 |
+
List with any extra arguments to pass to pytests.
|
| 93 |
+
doctests : bool, optional
|
| 94 |
+
.. note:: Not supported
|
| 95 |
+
coverage : bool, optional
|
| 96 |
+
If True, report coverage of NumPy code. Default is False.
|
| 97 |
+
Requires installation of (pip) pytest-cov.
|
| 98 |
+
durations : int, optional
|
| 99 |
+
If < 0, do nothing, If 0, report time of all tests, if > 0,
|
| 100 |
+
report the time of the slowest `timer` tests. Default is -1.
|
| 101 |
+
tests : test or list of tests
|
| 102 |
+
Tests to be executed with pytest '--pyargs'
|
| 103 |
+
|
| 104 |
+
Returns
|
| 105 |
+
-------
|
| 106 |
+
result : bool
|
| 107 |
+
Return True on success, false otherwise.
|
| 108 |
+
|
| 109 |
+
Notes
|
| 110 |
+
-----
|
| 111 |
+
Each NumPy module exposes `test` in its namespace to run all tests for
|
| 112 |
+
it. For example, to run all tests for numpy.lib:
|
| 113 |
+
|
| 114 |
+
>>> np.lib.test() #doctest: +SKIP
|
| 115 |
+
|
| 116 |
+
Examples
|
| 117 |
+
--------
|
| 118 |
+
>>> result = np.lib.test() #doctest: +SKIP
|
| 119 |
+
...
|
| 120 |
+
1023 passed, 2 skipped, 6 deselected, 1 xfailed in 10.39 seconds
|
| 121 |
+
>>> result
|
| 122 |
+
True
|
| 123 |
+
|
| 124 |
+
"""
|
| 125 |
+
import pytest
|
| 126 |
+
import warnings
|
| 127 |
+
|
| 128 |
+
module = sys.modules[self.module_name]
|
| 129 |
+
module_path = os.path.abspath(module.__path__[0])
|
| 130 |
+
|
| 131 |
+
# setup the pytest arguments
|
| 132 |
+
pytest_args = ["-l"]
|
| 133 |
+
|
| 134 |
+
# offset verbosity. The "-q" cancels a "-v".
|
| 135 |
+
pytest_args += ["-q"]
|
| 136 |
+
|
| 137 |
+
if sys.version_info < (3, 12):
|
| 138 |
+
with warnings.catch_warnings():
|
| 139 |
+
warnings.simplefilter("always")
|
| 140 |
+
# Filter out distutils cpu warnings (could be localized to
|
| 141 |
+
# distutils tests). ASV has problems with top level import,
|
| 142 |
+
# so fetch module for suppression here.
|
| 143 |
+
from numpy.distutils import cpuinfo
|
| 144 |
+
|
| 145 |
+
# Filter out annoying import messages. Want these in both develop and
|
| 146 |
+
# release mode.
|
| 147 |
+
pytest_args += [
|
| 148 |
+
"-W ignore:Not importing directory",
|
| 149 |
+
"-W ignore:numpy.dtype size changed",
|
| 150 |
+
"-W ignore:numpy.ufunc size changed",
|
| 151 |
+
"-W ignore::UserWarning:cpuinfo",
|
| 152 |
+
]
|
| 153 |
+
|
| 154 |
+
# When testing matrices, ignore their PendingDeprecationWarnings
|
| 155 |
+
pytest_args += [
|
| 156 |
+
"-W ignore:the matrix subclass is not",
|
| 157 |
+
"-W ignore:Importing from numpy.matlib is",
|
| 158 |
+
]
|
| 159 |
+
|
| 160 |
+
if doctests:
|
| 161 |
+
pytest_args += ["--doctest-modules"]
|
| 162 |
+
|
| 163 |
+
if extra_argv:
|
| 164 |
+
pytest_args += list(extra_argv)
|
| 165 |
+
|
| 166 |
+
if verbose > 1:
|
| 167 |
+
pytest_args += ["-" + "v"*(verbose - 1)]
|
| 168 |
+
|
| 169 |
+
if coverage:
|
| 170 |
+
pytest_args += ["--cov=" + module_path]
|
| 171 |
+
|
| 172 |
+
if label == "fast":
|
| 173 |
+
# not importing at the top level to avoid circular import of module
|
| 174 |
+
from numpy.testing import IS_PYPY
|
| 175 |
+
if IS_PYPY:
|
| 176 |
+
pytest_args += ["-m", "not slow and not slow_pypy"]
|
| 177 |
+
else:
|
| 178 |
+
pytest_args += ["-m", "not slow"]
|
| 179 |
+
|
| 180 |
+
elif label != "full":
|
| 181 |
+
pytest_args += ["-m", label]
|
| 182 |
+
|
| 183 |
+
if durations >= 0:
|
| 184 |
+
pytest_args += ["--durations=%s" % durations]
|
| 185 |
+
|
| 186 |
+
if tests is None:
|
| 187 |
+
tests = [self.module_name]
|
| 188 |
+
|
| 189 |
+
pytest_args += ["--pyargs"] + list(tests)
|
| 190 |
+
|
| 191 |
+
# run tests.
|
| 192 |
+
_show_numpy_info()
|
| 193 |
+
|
| 194 |
+
try:
|
| 195 |
+
code = pytest.main(pytest_args)
|
| 196 |
+
except SystemExit as exc:
|
| 197 |
+
code = exc.code
|
| 198 |
+
|
| 199 |
+
return code == 0
|
player/runtime/python/Lib/site-packages/numpy/_pytesttester.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from collections.abc import Iterable
|
| 2 |
+
from typing import Literal as L
|
| 3 |
+
|
| 4 |
+
__all__: list[str]
|
| 5 |
+
|
| 6 |
+
class PytestTester:
|
| 7 |
+
module_name: str
|
| 8 |
+
def __init__(self, module_name: str) -> None: ...
|
| 9 |
+
def __call__(
|
| 10 |
+
self,
|
| 11 |
+
label: L["fast", "full"] = ...,
|
| 12 |
+
verbose: int = ...,
|
| 13 |
+
extra_argv: None | Iterable[str] = ...,
|
| 14 |
+
doctests: L[False] = ...,
|
| 15 |
+
coverage: bool = ...,
|
| 16 |
+
durations: int = ...,
|
| 17 |
+
tests: None | Iterable[str] = ...,
|
| 18 |
+
) -> bool: ...
|
player/runtime/python/Lib/site-packages/numpy/_typing/__init__.py
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Private counterpart of ``numpy.typing``."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
from .. import ufunc
|
| 6 |
+
from .._utils import set_module
|
| 7 |
+
from typing import TYPE_CHECKING, final
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
@final # Disallow the creation of arbitrary `NBitBase` subclasses
|
| 11 |
+
@set_module("numpy.typing")
|
| 12 |
+
class NBitBase:
|
| 13 |
+
"""
|
| 14 |
+
A type representing `numpy.number` precision during static type checking.
|
| 15 |
+
|
| 16 |
+
Used exclusively for the purpose static type checking, `NBitBase`
|
| 17 |
+
represents the base of a hierarchical set of subclasses.
|
| 18 |
+
Each subsequent subclass is herein used for representing a lower level
|
| 19 |
+
of precision, *e.g.* ``64Bit > 32Bit > 16Bit``.
|
| 20 |
+
|
| 21 |
+
.. versionadded:: 1.20
|
| 22 |
+
|
| 23 |
+
Examples
|
| 24 |
+
--------
|
| 25 |
+
Below is a typical usage example: `NBitBase` is herein used for annotating
|
| 26 |
+
a function that takes a float and integer of arbitrary precision
|
| 27 |
+
as arguments and returns a new float of whichever precision is largest
|
| 28 |
+
(*e.g.* ``np.float16 + np.int64 -> np.float64``).
|
| 29 |
+
|
| 30 |
+
.. code-block:: python
|
| 31 |
+
|
| 32 |
+
>>> from __future__ import annotations
|
| 33 |
+
>>> from typing import TypeVar, TYPE_CHECKING
|
| 34 |
+
>>> import numpy as np
|
| 35 |
+
>>> import numpy.typing as npt
|
| 36 |
+
|
| 37 |
+
>>> T1 = TypeVar("T1", bound=npt.NBitBase)
|
| 38 |
+
>>> T2 = TypeVar("T2", bound=npt.NBitBase)
|
| 39 |
+
|
| 40 |
+
>>> def add(a: np.floating[T1], b: np.integer[T2]) -> np.floating[T1 | T2]:
|
| 41 |
+
... return a + b
|
| 42 |
+
|
| 43 |
+
>>> a = np.float16()
|
| 44 |
+
>>> b = np.int64()
|
| 45 |
+
>>> out = add(a, b)
|
| 46 |
+
|
| 47 |
+
>>> if TYPE_CHECKING:
|
| 48 |
+
... reveal_locals()
|
| 49 |
+
... # note: Revealed local types are:
|
| 50 |
+
... # note: a: numpy.floating[numpy.typing._16Bit*]
|
| 51 |
+
... # note: b: numpy.signedinteger[numpy.typing._64Bit*]
|
| 52 |
+
... # note: out: numpy.floating[numpy.typing._64Bit*]
|
| 53 |
+
|
| 54 |
+
"""
|
| 55 |
+
|
| 56 |
+
def __init_subclass__(cls) -> None:
|
| 57 |
+
allowed_names = {
|
| 58 |
+
"NBitBase", "_256Bit", "_128Bit", "_96Bit", "_80Bit",
|
| 59 |
+
"_64Bit", "_32Bit", "_16Bit", "_8Bit",
|
| 60 |
+
}
|
| 61 |
+
if cls.__name__ not in allowed_names:
|
| 62 |
+
raise TypeError('cannot inherit from final class "NBitBase"')
|
| 63 |
+
super().__init_subclass__()
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
# Silence errors about subclassing a `@final`-decorated class
|
| 67 |
+
class _256Bit(NBitBase): # type: ignore[misc]
|
| 68 |
+
pass
|
| 69 |
+
|
| 70 |
+
class _128Bit(_256Bit): # type: ignore[misc]
|
| 71 |
+
pass
|
| 72 |
+
|
| 73 |
+
class _96Bit(_128Bit): # type: ignore[misc]
|
| 74 |
+
pass
|
| 75 |
+
|
| 76 |
+
class _80Bit(_96Bit): # type: ignore[misc]
|
| 77 |
+
pass
|
| 78 |
+
|
| 79 |
+
class _64Bit(_80Bit): # type: ignore[misc]
|
| 80 |
+
pass
|
| 81 |
+
|
| 82 |
+
class _32Bit(_64Bit): # type: ignore[misc]
|
| 83 |
+
pass
|
| 84 |
+
|
| 85 |
+
class _16Bit(_32Bit): # type: ignore[misc]
|
| 86 |
+
pass
|
| 87 |
+
|
| 88 |
+
class _8Bit(_16Bit): # type: ignore[misc]
|
| 89 |
+
pass
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
from ._nested_sequence import (
|
| 93 |
+
_NestedSequence as _NestedSequence,
|
| 94 |
+
)
|
| 95 |
+
from ._nbit import (
|
| 96 |
+
_NBitByte as _NBitByte,
|
| 97 |
+
_NBitShort as _NBitShort,
|
| 98 |
+
_NBitIntC as _NBitIntC,
|
| 99 |
+
_NBitIntP as _NBitIntP,
|
| 100 |
+
_NBitInt as _NBitInt,
|
| 101 |
+
_NBitLong as _NBitLong,
|
| 102 |
+
_NBitLongLong as _NBitLongLong,
|
| 103 |
+
_NBitHalf as _NBitHalf,
|
| 104 |
+
_NBitSingle as _NBitSingle,
|
| 105 |
+
_NBitDouble as _NBitDouble,
|
| 106 |
+
_NBitLongDouble as _NBitLongDouble,
|
| 107 |
+
)
|
| 108 |
+
from ._char_codes import (
|
| 109 |
+
_BoolCodes as _BoolCodes,
|
| 110 |
+
_UInt8Codes as _UInt8Codes,
|
| 111 |
+
_UInt16Codes as _UInt16Codes,
|
| 112 |
+
_UInt32Codes as _UInt32Codes,
|
| 113 |
+
_UInt64Codes as _UInt64Codes,
|
| 114 |
+
_Int8Codes as _Int8Codes,
|
| 115 |
+
_Int16Codes as _Int16Codes,
|
| 116 |
+
_Int32Codes as _Int32Codes,
|
| 117 |
+
_Int64Codes as _Int64Codes,
|
| 118 |
+
_Float16Codes as _Float16Codes,
|
| 119 |
+
_Float32Codes as _Float32Codes,
|
| 120 |
+
_Float64Codes as _Float64Codes,
|
| 121 |
+
_Complex64Codes as _Complex64Codes,
|
| 122 |
+
_Complex128Codes as _Complex128Codes,
|
| 123 |
+
_ByteCodes as _ByteCodes,
|
| 124 |
+
_ShortCodes as _ShortCodes,
|
| 125 |
+
_IntCCodes as _IntCCodes,
|
| 126 |
+
_IntPCodes as _IntPCodes,
|
| 127 |
+
_IntCodes as _IntCodes,
|
| 128 |
+
_LongCodes as _LongCodes,
|
| 129 |
+
_LongLongCodes as _LongLongCodes,
|
| 130 |
+
_UByteCodes as _UByteCodes,
|
| 131 |
+
_UShortCodes as _UShortCodes,
|
| 132 |
+
_UIntCCodes as _UIntCCodes,
|
| 133 |
+
_UIntPCodes as _UIntPCodes,
|
| 134 |
+
_UIntCodes as _UIntCodes,
|
| 135 |
+
_ULongCodes as _ULongCodes,
|
| 136 |
+
_ULongLongCodes as _ULongLongCodes,
|
| 137 |
+
_HalfCodes as _HalfCodes,
|
| 138 |
+
_SingleCodes as _SingleCodes,
|
| 139 |
+
_DoubleCodes as _DoubleCodes,
|
| 140 |
+
_LongDoubleCodes as _LongDoubleCodes,
|
| 141 |
+
_CSingleCodes as _CSingleCodes,
|
| 142 |
+
_CDoubleCodes as _CDoubleCodes,
|
| 143 |
+
_CLongDoubleCodes as _CLongDoubleCodes,
|
| 144 |
+
_DT64Codes as _DT64Codes,
|
| 145 |
+
_TD64Codes as _TD64Codes,
|
| 146 |
+
_StrCodes as _StrCodes,
|
| 147 |
+
_BytesCodes as _BytesCodes,
|
| 148 |
+
_VoidCodes as _VoidCodes,
|
| 149 |
+
_ObjectCodes as _ObjectCodes,
|
| 150 |
+
)
|
| 151 |
+
from ._scalars import (
|
| 152 |
+
_CharLike_co as _CharLike_co,
|
| 153 |
+
_BoolLike_co as _BoolLike_co,
|
| 154 |
+
_UIntLike_co as _UIntLike_co,
|
| 155 |
+
_IntLike_co as _IntLike_co,
|
| 156 |
+
_FloatLike_co as _FloatLike_co,
|
| 157 |
+
_ComplexLike_co as _ComplexLike_co,
|
| 158 |
+
_TD64Like_co as _TD64Like_co,
|
| 159 |
+
_NumberLike_co as _NumberLike_co,
|
| 160 |
+
_ScalarLike_co as _ScalarLike_co,
|
| 161 |
+
_VoidLike_co as _VoidLike_co,
|
| 162 |
+
)
|
| 163 |
+
from ._shape import (
|
| 164 |
+
_Shape as _Shape,
|
| 165 |
+
_ShapeLike as _ShapeLike,
|
| 166 |
+
)
|
| 167 |
+
from ._dtype_like import (
|
| 168 |
+
DTypeLike as DTypeLike,
|
| 169 |
+
_DTypeLike as _DTypeLike,
|
| 170 |
+
_SupportsDType as _SupportsDType,
|
| 171 |
+
_VoidDTypeLike as _VoidDTypeLike,
|
| 172 |
+
_DTypeLikeBool as _DTypeLikeBool,
|
| 173 |
+
_DTypeLikeUInt as _DTypeLikeUInt,
|
| 174 |
+
_DTypeLikeInt as _DTypeLikeInt,
|
| 175 |
+
_DTypeLikeFloat as _DTypeLikeFloat,
|
| 176 |
+
_DTypeLikeComplex as _DTypeLikeComplex,
|
| 177 |
+
_DTypeLikeTD64 as _DTypeLikeTD64,
|
| 178 |
+
_DTypeLikeDT64 as _DTypeLikeDT64,
|
| 179 |
+
_DTypeLikeObject as _DTypeLikeObject,
|
| 180 |
+
_DTypeLikeVoid as _DTypeLikeVoid,
|
| 181 |
+
_DTypeLikeStr as _DTypeLikeStr,
|
| 182 |
+
_DTypeLikeBytes as _DTypeLikeBytes,
|
| 183 |
+
_DTypeLikeComplex_co as _DTypeLikeComplex_co,
|
| 184 |
+
)
|
| 185 |
+
from ._array_like import (
|
| 186 |
+
NDArray as NDArray,
|
| 187 |
+
ArrayLike as ArrayLike,
|
| 188 |
+
_ArrayLike as _ArrayLike,
|
| 189 |
+
_FiniteNestedSequence as _FiniteNestedSequence,
|
| 190 |
+
_SupportsArray as _SupportsArray,
|
| 191 |
+
_SupportsArrayFunc as _SupportsArrayFunc,
|
| 192 |
+
_ArrayLikeInt as _ArrayLikeInt,
|
| 193 |
+
_ArrayLikeBool_co as _ArrayLikeBool_co,
|
| 194 |
+
_ArrayLikeUInt_co as _ArrayLikeUInt_co,
|
| 195 |
+
_ArrayLikeInt_co as _ArrayLikeInt_co,
|
| 196 |
+
_ArrayLikeFloat_co as _ArrayLikeFloat_co,
|
| 197 |
+
_ArrayLikeComplex_co as _ArrayLikeComplex_co,
|
| 198 |
+
_ArrayLikeNumber_co as _ArrayLikeNumber_co,
|
| 199 |
+
_ArrayLikeTD64_co as _ArrayLikeTD64_co,
|
| 200 |
+
_ArrayLikeDT64_co as _ArrayLikeDT64_co,
|
| 201 |
+
_ArrayLikeObject_co as _ArrayLikeObject_co,
|
| 202 |
+
_ArrayLikeVoid_co as _ArrayLikeVoid_co,
|
| 203 |
+
_ArrayLikeStr_co as _ArrayLikeStr_co,
|
| 204 |
+
_ArrayLikeBytes_co as _ArrayLikeBytes_co,
|
| 205 |
+
_ArrayLikeUnknown as _ArrayLikeUnknown,
|
| 206 |
+
_UnknownType as _UnknownType,
|
| 207 |
+
)
|
| 208 |
+
|
| 209 |
+
if TYPE_CHECKING:
|
| 210 |
+
from ._ufunc import (
|
| 211 |
+
_UFunc_Nin1_Nout1 as _UFunc_Nin1_Nout1,
|
| 212 |
+
_UFunc_Nin2_Nout1 as _UFunc_Nin2_Nout1,
|
| 213 |
+
_UFunc_Nin1_Nout2 as _UFunc_Nin1_Nout2,
|
| 214 |
+
_UFunc_Nin2_Nout2 as _UFunc_Nin2_Nout2,
|
| 215 |
+
_GUFunc_Nin2_Nout1 as _GUFunc_Nin2_Nout1,
|
| 216 |
+
)
|
| 217 |
+
else:
|
| 218 |
+
# Declare the (type-check-only) ufunc subclasses as ufunc aliases during
|
| 219 |
+
# runtime; this helps autocompletion tools such as Jedi (numpy/numpy#19834)
|
| 220 |
+
_UFunc_Nin1_Nout1 = ufunc
|
| 221 |
+
_UFunc_Nin2_Nout1 = ufunc
|
| 222 |
+
_UFunc_Nin1_Nout2 = ufunc
|
| 223 |
+
_UFunc_Nin2_Nout2 = ufunc
|
| 224 |
+
_GUFunc_Nin2_Nout1 = ufunc
|
player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (6.76 kB). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_array_like.cpython-312.pyc
ADDED
|
Binary file (4.71 kB). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_char_codes.cpython-312.pyc
ADDED
|
Binary file (5.46 kB). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_dtype_like.cpython-312.pyc
ADDED
|
Binary file (6.1 kB). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_nbit.cpython-312.pyc
ADDED
|
Binary file (542 Bytes). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_nested_sequence.cpython-312.pyc
ADDED
|
Binary file (3.41 kB). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_scalars.cpython-312.pyc
ADDED
|
Binary file (1.21 kB). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_typing/__pycache__/_shape.cpython-312.pyc
ADDED
|
Binary file (399 Bytes). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_typing/_add_docstring.py
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""A module for creating docstrings for sphinx ``data`` domains."""
|
| 2 |
+
|
| 3 |
+
import re
|
| 4 |
+
import textwrap
|
| 5 |
+
|
| 6 |
+
from ._array_like import NDArray
|
| 7 |
+
|
| 8 |
+
_docstrings_list = []
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
def add_newdoc(name: str, value: str, doc: str) -> None:
|
| 12 |
+
"""Append ``_docstrings_list`` with a docstring for `name`.
|
| 13 |
+
|
| 14 |
+
Parameters
|
| 15 |
+
----------
|
| 16 |
+
name : str
|
| 17 |
+
The name of the object.
|
| 18 |
+
value : str
|
| 19 |
+
A string-representation of the object.
|
| 20 |
+
doc : str
|
| 21 |
+
The docstring of the object.
|
| 22 |
+
|
| 23 |
+
"""
|
| 24 |
+
_docstrings_list.append((name, value, doc))
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def _parse_docstrings() -> str:
|
| 28 |
+
"""Convert all docstrings in ``_docstrings_list`` into a single
|
| 29 |
+
sphinx-legible text block.
|
| 30 |
+
|
| 31 |
+
"""
|
| 32 |
+
type_list_ret = []
|
| 33 |
+
for name, value, doc in _docstrings_list:
|
| 34 |
+
s = textwrap.dedent(doc).replace("\n", "\n ")
|
| 35 |
+
|
| 36 |
+
# Replace sections by rubrics
|
| 37 |
+
lines = s.split("\n")
|
| 38 |
+
new_lines = []
|
| 39 |
+
indent = ""
|
| 40 |
+
for line in lines:
|
| 41 |
+
m = re.match(r'^(\s+)[-=]+\s*$', line)
|
| 42 |
+
if m and new_lines:
|
| 43 |
+
prev = textwrap.dedent(new_lines.pop())
|
| 44 |
+
if prev == "Examples":
|
| 45 |
+
indent = ""
|
| 46 |
+
new_lines.append(f'{m.group(1)}.. rubric:: {prev}')
|
| 47 |
+
else:
|
| 48 |
+
indent = 4 * " "
|
| 49 |
+
new_lines.append(f'{m.group(1)}.. admonition:: {prev}')
|
| 50 |
+
new_lines.append("")
|
| 51 |
+
else:
|
| 52 |
+
new_lines.append(f"{indent}{line}")
|
| 53 |
+
|
| 54 |
+
s = "\n".join(new_lines)
|
| 55 |
+
s_block = f""".. data:: {name}\n :value: {value}\n {s}"""
|
| 56 |
+
type_list_ret.append(s_block)
|
| 57 |
+
return "\n".join(type_list_ret)
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
add_newdoc('ArrayLike', 'typing.Union[...]',
|
| 61 |
+
"""
|
| 62 |
+
A `~typing.Union` representing objects that can be coerced
|
| 63 |
+
into an `~numpy.ndarray`.
|
| 64 |
+
|
| 65 |
+
Among others this includes the likes of:
|
| 66 |
+
|
| 67 |
+
* Scalars.
|
| 68 |
+
* (Nested) sequences.
|
| 69 |
+
* Objects implementing the `~class.__array__` protocol.
|
| 70 |
+
|
| 71 |
+
.. versionadded:: 1.20
|
| 72 |
+
|
| 73 |
+
See Also
|
| 74 |
+
--------
|
| 75 |
+
:term:`array_like`:
|
| 76 |
+
Any scalar or sequence that can be interpreted as an ndarray.
|
| 77 |
+
|
| 78 |
+
Examples
|
| 79 |
+
--------
|
| 80 |
+
.. code-block:: python
|
| 81 |
+
|
| 82 |
+
>>> import numpy as np
|
| 83 |
+
>>> import numpy.typing as npt
|
| 84 |
+
|
| 85 |
+
>>> def as_array(a: npt.ArrayLike) -> np.ndarray:
|
| 86 |
+
... return np.array(a)
|
| 87 |
+
|
| 88 |
+
""")
|
| 89 |
+
|
| 90 |
+
add_newdoc('DTypeLike', 'typing.Union[...]',
|
| 91 |
+
"""
|
| 92 |
+
A `~typing.Union` representing objects that can be coerced
|
| 93 |
+
into a `~numpy.dtype`.
|
| 94 |
+
|
| 95 |
+
Among others this includes the likes of:
|
| 96 |
+
|
| 97 |
+
* :class:`type` objects.
|
| 98 |
+
* Character codes or the names of :class:`type` objects.
|
| 99 |
+
* Objects with the ``.dtype`` attribute.
|
| 100 |
+
|
| 101 |
+
.. versionadded:: 1.20
|
| 102 |
+
|
| 103 |
+
See Also
|
| 104 |
+
--------
|
| 105 |
+
:ref:`Specifying and constructing data types <arrays.dtypes.constructing>`
|
| 106 |
+
A comprehensive overview of all objects that can be coerced
|
| 107 |
+
into data types.
|
| 108 |
+
|
| 109 |
+
Examples
|
| 110 |
+
--------
|
| 111 |
+
.. code-block:: python
|
| 112 |
+
|
| 113 |
+
>>> import numpy as np
|
| 114 |
+
>>> import numpy.typing as npt
|
| 115 |
+
|
| 116 |
+
>>> def as_dtype(d: npt.DTypeLike) -> np.dtype:
|
| 117 |
+
... return np.dtype(d)
|
| 118 |
+
|
| 119 |
+
""")
|
| 120 |
+
|
| 121 |
+
add_newdoc('NDArray', repr(NDArray),
|
| 122 |
+
"""
|
| 123 |
+
A `np.ndarray[Any, np.dtype[+ScalarType]] <numpy.ndarray>` type alias
|
| 124 |
+
:term:`generic <generic type>` w.r.t. its `dtype.type <numpy.dtype.type>`.
|
| 125 |
+
|
| 126 |
+
Can be used during runtime for typing arrays with a given dtype
|
| 127 |
+
and unspecified shape.
|
| 128 |
+
|
| 129 |
+
.. versionadded:: 1.21
|
| 130 |
+
|
| 131 |
+
Examples
|
| 132 |
+
--------
|
| 133 |
+
.. code-block:: python
|
| 134 |
+
|
| 135 |
+
>>> import numpy as np
|
| 136 |
+
>>> import numpy.typing as npt
|
| 137 |
+
|
| 138 |
+
>>> print(npt.NDArray)
|
| 139 |
+
numpy.ndarray[typing.Any, numpy.dtype[+ScalarType]]
|
| 140 |
+
|
| 141 |
+
>>> print(npt.NDArray[np.float64])
|
| 142 |
+
numpy.ndarray[typing.Any, numpy.dtype[numpy.float64]]
|
| 143 |
+
|
| 144 |
+
>>> NDArrayInt = npt.NDArray[np.int_]
|
| 145 |
+
>>> a: NDArrayInt = np.arange(10)
|
| 146 |
+
|
| 147 |
+
>>> def func(a: npt.ArrayLike) -> npt.NDArray[Any]:
|
| 148 |
+
... return np.array(a)
|
| 149 |
+
|
| 150 |
+
""")
|
| 151 |
+
|
| 152 |
+
_docstrings = _parse_docstrings()
|
player/runtime/python/Lib/site-packages/numpy/_typing/_array_like.py
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
import sys
|
| 4 |
+
from collections.abc import Collection, Callable, Sequence
|
| 5 |
+
from typing import Any, Protocol, Union, TypeVar, runtime_checkable
|
| 6 |
+
|
| 7 |
+
import numpy as np
|
| 8 |
+
from numpy import (
|
| 9 |
+
ndarray,
|
| 10 |
+
dtype,
|
| 11 |
+
generic,
|
| 12 |
+
unsignedinteger,
|
| 13 |
+
integer,
|
| 14 |
+
floating,
|
| 15 |
+
complexfloating,
|
| 16 |
+
number,
|
| 17 |
+
timedelta64,
|
| 18 |
+
datetime64,
|
| 19 |
+
object_,
|
| 20 |
+
void,
|
| 21 |
+
str_,
|
| 22 |
+
bytes_,
|
| 23 |
+
)
|
| 24 |
+
from ._nested_sequence import _NestedSequence
|
| 25 |
+
|
| 26 |
+
_T = TypeVar("_T")
|
| 27 |
+
_ScalarType = TypeVar("_ScalarType", bound=generic)
|
| 28 |
+
_ScalarType_co = TypeVar("_ScalarType_co", bound=generic, covariant=True)
|
| 29 |
+
_DType = TypeVar("_DType", bound=dtype[Any])
|
| 30 |
+
_DType_co = TypeVar("_DType_co", covariant=True, bound=dtype[Any])
|
| 31 |
+
|
| 32 |
+
NDArray = ndarray[Any, dtype[_ScalarType_co]]
|
| 33 |
+
|
| 34 |
+
# The `_SupportsArray` protocol only cares about the default dtype
|
| 35 |
+
# (i.e. `dtype=None` or no `dtype` parameter at all) of the to-be returned
|
| 36 |
+
# array.
|
| 37 |
+
# Concrete implementations of the protocol are responsible for adding
|
| 38 |
+
# any and all remaining overloads
|
| 39 |
+
@runtime_checkable
|
| 40 |
+
class _SupportsArray(Protocol[_DType_co]):
|
| 41 |
+
def __array__(self) -> ndarray[Any, _DType_co]: ...
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
@runtime_checkable
|
| 45 |
+
class _SupportsArrayFunc(Protocol):
|
| 46 |
+
"""A protocol class representing `~class.__array_function__`."""
|
| 47 |
+
def __array_function__(
|
| 48 |
+
self,
|
| 49 |
+
func: Callable[..., Any],
|
| 50 |
+
types: Collection[type[Any]],
|
| 51 |
+
args: tuple[Any, ...],
|
| 52 |
+
kwargs: dict[str, Any],
|
| 53 |
+
) -> object: ...
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
# TODO: Wait until mypy supports recursive objects in combination with typevars
|
| 57 |
+
_FiniteNestedSequence = Union[
|
| 58 |
+
_T,
|
| 59 |
+
Sequence[_T],
|
| 60 |
+
Sequence[Sequence[_T]],
|
| 61 |
+
Sequence[Sequence[Sequence[_T]]],
|
| 62 |
+
Sequence[Sequence[Sequence[Sequence[_T]]]],
|
| 63 |
+
]
|
| 64 |
+
|
| 65 |
+
# A subset of `npt.ArrayLike` that can be parametrized w.r.t. `np.generic`
|
| 66 |
+
_ArrayLike = Union[
|
| 67 |
+
_SupportsArray[dtype[_ScalarType]],
|
| 68 |
+
_NestedSequence[_SupportsArray[dtype[_ScalarType]]],
|
| 69 |
+
]
|
| 70 |
+
|
| 71 |
+
# A union representing array-like objects; consists of two typevars:
|
| 72 |
+
# One representing types that can be parametrized w.r.t. `np.dtype`
|
| 73 |
+
# and another one for the rest
|
| 74 |
+
_DualArrayLike = Union[
|
| 75 |
+
_SupportsArray[_DType],
|
| 76 |
+
_NestedSequence[_SupportsArray[_DType]],
|
| 77 |
+
_T,
|
| 78 |
+
_NestedSequence[_T],
|
| 79 |
+
]
|
| 80 |
+
|
| 81 |
+
if sys.version_info >= (3, 12):
|
| 82 |
+
from collections.abc import Buffer
|
| 83 |
+
|
| 84 |
+
ArrayLike = Buffer | _DualArrayLike[
|
| 85 |
+
dtype[Any],
|
| 86 |
+
Union[bool, int, float, complex, str, bytes],
|
| 87 |
+
]
|
| 88 |
+
else:
|
| 89 |
+
ArrayLike = _DualArrayLike[
|
| 90 |
+
dtype[Any],
|
| 91 |
+
Union[bool, int, float, complex, str, bytes],
|
| 92 |
+
]
|
| 93 |
+
|
| 94 |
+
# `ArrayLike<X>_co`: array-like objects that can be coerced into `X`
|
| 95 |
+
# given the casting rules `same_kind`
|
| 96 |
+
_ArrayLikeBool_co = _DualArrayLike[
|
| 97 |
+
dtype[np.bool],
|
| 98 |
+
bool,
|
| 99 |
+
]
|
| 100 |
+
_ArrayLikeUInt_co = _DualArrayLike[
|
| 101 |
+
dtype[Union[np.bool, unsignedinteger[Any]]],
|
| 102 |
+
bool,
|
| 103 |
+
]
|
| 104 |
+
_ArrayLikeInt_co = _DualArrayLike[
|
| 105 |
+
dtype[Union[np.bool, integer[Any]]],
|
| 106 |
+
Union[bool, int],
|
| 107 |
+
]
|
| 108 |
+
_ArrayLikeFloat_co = _DualArrayLike[
|
| 109 |
+
dtype[Union[np.bool, integer[Any], floating[Any]]],
|
| 110 |
+
Union[bool, int, float],
|
| 111 |
+
]
|
| 112 |
+
_ArrayLikeComplex_co = _DualArrayLike[
|
| 113 |
+
dtype[Union[
|
| 114 |
+
np.bool,
|
| 115 |
+
integer[Any],
|
| 116 |
+
floating[Any],
|
| 117 |
+
complexfloating[Any, Any],
|
| 118 |
+
]],
|
| 119 |
+
Union[bool, int, float, complex],
|
| 120 |
+
]
|
| 121 |
+
_ArrayLikeNumber_co = _DualArrayLike[
|
| 122 |
+
dtype[Union[np.bool, number[Any]]],
|
| 123 |
+
Union[bool, int, float, complex],
|
| 124 |
+
]
|
| 125 |
+
_ArrayLikeTD64_co = _DualArrayLike[
|
| 126 |
+
dtype[Union[np.bool, integer[Any], timedelta64]],
|
| 127 |
+
Union[bool, int],
|
| 128 |
+
]
|
| 129 |
+
_ArrayLikeDT64_co = Union[
|
| 130 |
+
_SupportsArray[dtype[datetime64]],
|
| 131 |
+
_NestedSequence[_SupportsArray[dtype[datetime64]]],
|
| 132 |
+
]
|
| 133 |
+
_ArrayLikeObject_co = Union[
|
| 134 |
+
_SupportsArray[dtype[object_]],
|
| 135 |
+
_NestedSequence[_SupportsArray[dtype[object_]]],
|
| 136 |
+
]
|
| 137 |
+
|
| 138 |
+
_ArrayLikeVoid_co = Union[
|
| 139 |
+
_SupportsArray[dtype[void]],
|
| 140 |
+
_NestedSequence[_SupportsArray[dtype[void]]],
|
| 141 |
+
]
|
| 142 |
+
_ArrayLikeStr_co = _DualArrayLike[
|
| 143 |
+
dtype[str_],
|
| 144 |
+
str,
|
| 145 |
+
]
|
| 146 |
+
_ArrayLikeBytes_co = _DualArrayLike[
|
| 147 |
+
dtype[bytes_],
|
| 148 |
+
bytes,
|
| 149 |
+
]
|
| 150 |
+
|
| 151 |
+
_ArrayLikeInt = _DualArrayLike[
|
| 152 |
+
dtype[integer[Any]],
|
| 153 |
+
int,
|
| 154 |
+
]
|
| 155 |
+
|
| 156 |
+
# Extra ArrayLike type so that pyright can deal with NDArray[Any]
|
| 157 |
+
# Used as the first overload, should only match NDArray[Any],
|
| 158 |
+
# not any actual types.
|
| 159 |
+
# https://github.com/numpy/numpy/pull/22193
|
| 160 |
+
class _UnknownType:
|
| 161 |
+
...
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
_ArrayLikeUnknown = _DualArrayLike[
|
| 165 |
+
dtype[_UnknownType],
|
| 166 |
+
_UnknownType,
|
| 167 |
+
]
|
player/runtime/python/Lib/site-packages/numpy/_typing/_callable.pyi
ADDED
|
@@ -0,0 +1,336 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
A module with various ``typing.Protocol`` subclasses that implement
|
| 3 |
+
the ``__call__`` magic method.
|
| 4 |
+
|
| 5 |
+
See the `Mypy documentation`_ on protocols for more details.
|
| 6 |
+
|
| 7 |
+
.. _`Mypy documentation`: https://mypy.readthedocs.io/en/stable/protocols.html#callback-protocols
|
| 8 |
+
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from __future__ import annotations
|
| 12 |
+
|
| 13 |
+
from typing import (
|
| 14 |
+
TypeVar,
|
| 15 |
+
overload,
|
| 16 |
+
Any,
|
| 17 |
+
NoReturn,
|
| 18 |
+
Protocol,
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
+
import numpy as np
|
| 22 |
+
from numpy import (
|
| 23 |
+
generic,
|
| 24 |
+
timedelta64,
|
| 25 |
+
number,
|
| 26 |
+
integer,
|
| 27 |
+
unsignedinteger,
|
| 28 |
+
signedinteger,
|
| 29 |
+
int8,
|
| 30 |
+
int_,
|
| 31 |
+
floating,
|
| 32 |
+
float64,
|
| 33 |
+
complexfloating,
|
| 34 |
+
complex128,
|
| 35 |
+
)
|
| 36 |
+
from ._nbit import _NBitInt, _NBitDouble
|
| 37 |
+
from ._scalars import (
|
| 38 |
+
_BoolLike_co,
|
| 39 |
+
_IntLike_co,
|
| 40 |
+
_FloatLike_co,
|
| 41 |
+
_NumberLike_co,
|
| 42 |
+
)
|
| 43 |
+
from . import NBitBase
|
| 44 |
+
from ._array_like import NDArray
|
| 45 |
+
from ._nested_sequence import _NestedSequence
|
| 46 |
+
|
| 47 |
+
_T1 = TypeVar("_T1")
|
| 48 |
+
_T2 = TypeVar("_T2")
|
| 49 |
+
_T1_contra = TypeVar("_T1_contra", contravariant=True)
|
| 50 |
+
_T2_contra = TypeVar("_T2_contra", contravariant=True)
|
| 51 |
+
_2Tuple = tuple[_T1, _T1]
|
| 52 |
+
|
| 53 |
+
_NBit1 = TypeVar("_NBit1", bound=NBitBase)
|
| 54 |
+
_NBit2 = TypeVar("_NBit2", bound=NBitBase)
|
| 55 |
+
|
| 56 |
+
_IntType = TypeVar("_IntType", bound=integer)
|
| 57 |
+
_FloatType = TypeVar("_FloatType", bound=floating)
|
| 58 |
+
_NumberType = TypeVar("_NumberType", bound=number)
|
| 59 |
+
_NumberType_co = TypeVar("_NumberType_co", covariant=True, bound=number)
|
| 60 |
+
_GenericType_co = TypeVar("_GenericType_co", covariant=True, bound=generic)
|
| 61 |
+
|
| 62 |
+
class _BoolOp(Protocol[_GenericType_co]):
|
| 63 |
+
@overload
|
| 64 |
+
def __call__(self, other: _BoolLike_co, /) -> _GenericType_co: ...
|
| 65 |
+
@overload # platform dependent
|
| 66 |
+
def __call__(self, other: int, /) -> int_: ...
|
| 67 |
+
@overload
|
| 68 |
+
def __call__(self, other: float, /) -> float64: ...
|
| 69 |
+
@overload
|
| 70 |
+
def __call__(self, other: complex, /) -> complex128: ...
|
| 71 |
+
@overload
|
| 72 |
+
def __call__(self, other: _NumberType, /) -> _NumberType: ...
|
| 73 |
+
|
| 74 |
+
class _BoolBitOp(Protocol[_GenericType_co]):
|
| 75 |
+
@overload
|
| 76 |
+
def __call__(self, other: _BoolLike_co, /) -> _GenericType_co: ...
|
| 77 |
+
@overload # platform dependent
|
| 78 |
+
def __call__(self, other: int, /) -> int_: ...
|
| 79 |
+
@overload
|
| 80 |
+
def __call__(self, other: _IntType, /) -> _IntType: ...
|
| 81 |
+
|
| 82 |
+
class _BoolSub(Protocol):
|
| 83 |
+
# Note that `other: bool` is absent here
|
| 84 |
+
@overload
|
| 85 |
+
def __call__(self, other: bool, /) -> NoReturn: ...
|
| 86 |
+
@overload # platform dependent
|
| 87 |
+
def __call__(self, other: int, /) -> int_: ...
|
| 88 |
+
@overload
|
| 89 |
+
def __call__(self, other: float, /) -> float64: ...
|
| 90 |
+
@overload
|
| 91 |
+
def __call__(self, other: complex, /) -> complex128: ...
|
| 92 |
+
@overload
|
| 93 |
+
def __call__(self, other: _NumberType, /) -> _NumberType: ...
|
| 94 |
+
|
| 95 |
+
class _BoolTrueDiv(Protocol):
|
| 96 |
+
@overload
|
| 97 |
+
def __call__(self, other: float | _IntLike_co, /) -> float64: ...
|
| 98 |
+
@overload
|
| 99 |
+
def __call__(self, other: complex, /) -> complex128: ...
|
| 100 |
+
@overload
|
| 101 |
+
def __call__(self, other: _NumberType, /) -> _NumberType: ...
|
| 102 |
+
|
| 103 |
+
class _BoolMod(Protocol):
|
| 104 |
+
@overload
|
| 105 |
+
def __call__(self, other: _BoolLike_co, /) -> int8: ...
|
| 106 |
+
@overload # platform dependent
|
| 107 |
+
def __call__(self, other: int, /) -> int_: ...
|
| 108 |
+
@overload
|
| 109 |
+
def __call__(self, other: float, /) -> float64: ...
|
| 110 |
+
@overload
|
| 111 |
+
def __call__(self, other: _IntType, /) -> _IntType: ...
|
| 112 |
+
@overload
|
| 113 |
+
def __call__(self, other: _FloatType, /) -> _FloatType: ...
|
| 114 |
+
|
| 115 |
+
class _BoolDivMod(Protocol):
|
| 116 |
+
@overload
|
| 117 |
+
def __call__(self, other: _BoolLike_co, /) -> _2Tuple[int8]: ...
|
| 118 |
+
@overload # platform dependent
|
| 119 |
+
def __call__(self, other: int, /) -> _2Tuple[int_]: ...
|
| 120 |
+
@overload
|
| 121 |
+
def __call__(self, other: float, /) -> _2Tuple[floating[_NBit1 | _NBitDouble]]: ...
|
| 122 |
+
@overload
|
| 123 |
+
def __call__(self, other: _IntType, /) -> _2Tuple[_IntType]: ...
|
| 124 |
+
@overload
|
| 125 |
+
def __call__(self, other: _FloatType, /) -> _2Tuple[_FloatType]: ...
|
| 126 |
+
|
| 127 |
+
class _TD64Div(Protocol[_NumberType_co]):
|
| 128 |
+
@overload
|
| 129 |
+
def __call__(self, other: timedelta64, /) -> _NumberType_co: ...
|
| 130 |
+
@overload
|
| 131 |
+
def __call__(self, other: _BoolLike_co, /) -> NoReturn: ...
|
| 132 |
+
@overload
|
| 133 |
+
def __call__(self, other: _FloatLike_co, /) -> timedelta64: ...
|
| 134 |
+
|
| 135 |
+
class _IntTrueDiv(Protocol[_NBit1]):
|
| 136 |
+
@overload
|
| 137 |
+
def __call__(self, other: bool, /) -> floating[_NBit1]: ...
|
| 138 |
+
@overload
|
| 139 |
+
def __call__(self, other: int, /) -> floating[_NBit1 | _NBitInt]: ...
|
| 140 |
+
@overload
|
| 141 |
+
def __call__(self, other: float, /) -> floating[_NBit1 | _NBitDouble]: ...
|
| 142 |
+
@overload
|
| 143 |
+
def __call__(
|
| 144 |
+
self, other: complex, /,
|
| 145 |
+
) -> complexfloating[_NBit1 | _NBitDouble, _NBit1 | _NBitDouble]: ...
|
| 146 |
+
@overload
|
| 147 |
+
def __call__(self, other: integer[_NBit2], /) -> floating[_NBit1 | _NBit2]: ...
|
| 148 |
+
|
| 149 |
+
class _UnsignedIntOp(Protocol[_NBit1]):
|
| 150 |
+
# NOTE: `uint64 + signedinteger -> float64`
|
| 151 |
+
@overload
|
| 152 |
+
def __call__(self, other: bool, /) -> unsignedinteger[_NBit1]: ...
|
| 153 |
+
@overload
|
| 154 |
+
def __call__(
|
| 155 |
+
self, other: int | signedinteger[Any], /
|
| 156 |
+
) -> Any: ...
|
| 157 |
+
@overload
|
| 158 |
+
def __call__(self, other: float, /) -> floating[_NBit1 | _NBitDouble]: ...
|
| 159 |
+
@overload
|
| 160 |
+
def __call__(
|
| 161 |
+
self, other: complex, /,
|
| 162 |
+
) -> complexfloating[_NBit1 | _NBitDouble, _NBit1 | _NBitDouble]: ...
|
| 163 |
+
@overload
|
| 164 |
+
def __call__(
|
| 165 |
+
self, other: unsignedinteger[_NBit2], /
|
| 166 |
+
) -> unsignedinteger[_NBit1 | _NBit2]: ...
|
| 167 |
+
|
| 168 |
+
class _UnsignedIntBitOp(Protocol[_NBit1]):
|
| 169 |
+
@overload
|
| 170 |
+
def __call__(self, other: bool, /) -> unsignedinteger[_NBit1]: ...
|
| 171 |
+
@overload
|
| 172 |
+
def __call__(self, other: int, /) -> signedinteger[Any]: ...
|
| 173 |
+
@overload
|
| 174 |
+
def __call__(self, other: signedinteger[Any], /) -> signedinteger[Any]: ...
|
| 175 |
+
@overload
|
| 176 |
+
def __call__(
|
| 177 |
+
self, other: unsignedinteger[_NBit2], /
|
| 178 |
+
) -> unsignedinteger[_NBit1 | _NBit2]: ...
|
| 179 |
+
|
| 180 |
+
class _UnsignedIntMod(Protocol[_NBit1]):
|
| 181 |
+
@overload
|
| 182 |
+
def __call__(self, other: bool, /) -> unsignedinteger[_NBit1]: ...
|
| 183 |
+
@overload
|
| 184 |
+
def __call__(
|
| 185 |
+
self, other: int | signedinteger[Any], /
|
| 186 |
+
) -> Any: ...
|
| 187 |
+
@overload
|
| 188 |
+
def __call__(self, other: float, /) -> floating[_NBit1 | _NBitDouble]: ...
|
| 189 |
+
@overload
|
| 190 |
+
def __call__(
|
| 191 |
+
self, other: unsignedinteger[_NBit2], /
|
| 192 |
+
) -> unsignedinteger[_NBit1 | _NBit2]: ...
|
| 193 |
+
|
| 194 |
+
class _UnsignedIntDivMod(Protocol[_NBit1]):
|
| 195 |
+
@overload
|
| 196 |
+
def __call__(self, other: bool, /) -> _2Tuple[signedinteger[_NBit1]]: ...
|
| 197 |
+
@overload
|
| 198 |
+
def __call__(
|
| 199 |
+
self, other: int | signedinteger[Any], /
|
| 200 |
+
) -> _2Tuple[Any]: ...
|
| 201 |
+
@overload
|
| 202 |
+
def __call__(self, other: float, /) -> _2Tuple[floating[_NBit1 | _NBitDouble]]: ...
|
| 203 |
+
@overload
|
| 204 |
+
def __call__(
|
| 205 |
+
self, other: unsignedinteger[_NBit2], /
|
| 206 |
+
) -> _2Tuple[unsignedinteger[_NBit1 | _NBit2]]: ...
|
| 207 |
+
|
| 208 |
+
class _SignedIntOp(Protocol[_NBit1]):
|
| 209 |
+
@overload
|
| 210 |
+
def __call__(self, other: bool, /) -> signedinteger[_NBit1]: ...
|
| 211 |
+
@overload
|
| 212 |
+
def __call__(self, other: int, /) -> signedinteger[_NBit1 | _NBitInt]: ...
|
| 213 |
+
@overload
|
| 214 |
+
def __call__(self, other: float, /) -> floating[_NBit1 | _NBitDouble]: ...
|
| 215 |
+
@overload
|
| 216 |
+
def __call__(
|
| 217 |
+
self, other: complex, /,
|
| 218 |
+
) -> complexfloating[_NBit1 | _NBitDouble, _NBit1 | _NBitDouble]: ...
|
| 219 |
+
@overload
|
| 220 |
+
def __call__(
|
| 221 |
+
self, other: signedinteger[_NBit2], /,
|
| 222 |
+
) -> signedinteger[_NBit1 | _NBit2]: ...
|
| 223 |
+
|
| 224 |
+
class _SignedIntBitOp(Protocol[_NBit1]):
|
| 225 |
+
@overload
|
| 226 |
+
def __call__(self, other: bool, /) -> signedinteger[_NBit1]: ...
|
| 227 |
+
@overload
|
| 228 |
+
def __call__(self, other: int, /) -> signedinteger[_NBit1 | _NBitInt]: ...
|
| 229 |
+
@overload
|
| 230 |
+
def __call__(
|
| 231 |
+
self, other: signedinteger[_NBit2], /,
|
| 232 |
+
) -> signedinteger[_NBit1 | _NBit2]: ...
|
| 233 |
+
|
| 234 |
+
class _SignedIntMod(Protocol[_NBit1]):
|
| 235 |
+
@overload
|
| 236 |
+
def __call__(self, other: bool, /) -> signedinteger[_NBit1]: ...
|
| 237 |
+
@overload
|
| 238 |
+
def __call__(self, other: int, /) -> signedinteger[_NBit1 | _NBitInt]: ...
|
| 239 |
+
@overload
|
| 240 |
+
def __call__(self, other: float, /) -> floating[_NBit1 | _NBitDouble]: ...
|
| 241 |
+
@overload
|
| 242 |
+
def __call__(
|
| 243 |
+
self, other: signedinteger[_NBit2], /,
|
| 244 |
+
) -> signedinteger[_NBit1 | _NBit2]: ...
|
| 245 |
+
|
| 246 |
+
class _SignedIntDivMod(Protocol[_NBit1]):
|
| 247 |
+
@overload
|
| 248 |
+
def __call__(self, other: bool, /) -> _2Tuple[signedinteger[_NBit1]]: ...
|
| 249 |
+
@overload
|
| 250 |
+
def __call__(self, other: int, /) -> _2Tuple[signedinteger[_NBit1 | _NBitInt]]: ...
|
| 251 |
+
@overload
|
| 252 |
+
def __call__(self, other: float, /) -> _2Tuple[floating[_NBit1 | _NBitDouble]]: ...
|
| 253 |
+
@overload
|
| 254 |
+
def __call__(
|
| 255 |
+
self, other: signedinteger[_NBit2], /,
|
| 256 |
+
) -> _2Tuple[signedinteger[_NBit1 | _NBit2]]: ...
|
| 257 |
+
|
| 258 |
+
class _FloatOp(Protocol[_NBit1]):
|
| 259 |
+
@overload
|
| 260 |
+
def __call__(self, other: bool, /) -> floating[_NBit1]: ...
|
| 261 |
+
@overload
|
| 262 |
+
def __call__(self, other: int, /) -> floating[_NBit1 | _NBitInt]: ...
|
| 263 |
+
@overload
|
| 264 |
+
def __call__(self, other: float, /) -> floating[_NBit1 | _NBitDouble]: ...
|
| 265 |
+
@overload
|
| 266 |
+
def __call__(
|
| 267 |
+
self, other: complex, /,
|
| 268 |
+
) -> complexfloating[_NBit1 | _NBitDouble, _NBit1 | _NBitDouble]: ...
|
| 269 |
+
@overload
|
| 270 |
+
def __call__(
|
| 271 |
+
self, other: integer[_NBit2] | floating[_NBit2], /
|
| 272 |
+
) -> floating[_NBit1 | _NBit2]: ...
|
| 273 |
+
|
| 274 |
+
class _FloatMod(Protocol[_NBit1]):
|
| 275 |
+
@overload
|
| 276 |
+
def __call__(self, other: bool, /) -> floating[_NBit1]: ...
|
| 277 |
+
@overload
|
| 278 |
+
def __call__(self, other: int, /) -> floating[_NBit1 | _NBitInt]: ...
|
| 279 |
+
@overload
|
| 280 |
+
def __call__(self, other: float, /) -> floating[_NBit1 | _NBitDouble]: ...
|
| 281 |
+
@overload
|
| 282 |
+
def __call__(
|
| 283 |
+
self, other: integer[_NBit2] | floating[_NBit2], /
|
| 284 |
+
) -> floating[_NBit1 | _NBit2]: ...
|
| 285 |
+
|
| 286 |
+
class _FloatDivMod(Protocol[_NBit1]):
|
| 287 |
+
@overload
|
| 288 |
+
def __call__(self, other: bool, /) -> _2Tuple[floating[_NBit1]]: ...
|
| 289 |
+
@overload
|
| 290 |
+
def __call__(self, other: int, /) -> _2Tuple[floating[_NBit1 | _NBitInt]]: ...
|
| 291 |
+
@overload
|
| 292 |
+
def __call__(self, other: float, /) -> _2Tuple[floating[_NBit1 | _NBitDouble]]: ...
|
| 293 |
+
@overload
|
| 294 |
+
def __call__(
|
| 295 |
+
self, other: integer[_NBit2] | floating[_NBit2], /
|
| 296 |
+
) -> _2Tuple[floating[_NBit1 | _NBit2]]: ...
|
| 297 |
+
|
| 298 |
+
class _ComplexOp(Protocol[_NBit1]):
|
| 299 |
+
@overload
|
| 300 |
+
def __call__(self, other: bool, /) -> complexfloating[_NBit1, _NBit1]: ...
|
| 301 |
+
@overload
|
| 302 |
+
def __call__(self, other: int, /) -> complexfloating[_NBit1 | _NBitInt, _NBit1 | _NBitInt]: ...
|
| 303 |
+
@overload
|
| 304 |
+
def __call__(
|
| 305 |
+
self, other: complex, /,
|
| 306 |
+
) -> complexfloating[_NBit1 | _NBitDouble, _NBit1 | _NBitDouble]: ...
|
| 307 |
+
@overload
|
| 308 |
+
def __call__(
|
| 309 |
+
self,
|
| 310 |
+
other: (
|
| 311 |
+
integer[_NBit2]
|
| 312 |
+
| floating[_NBit2]
|
| 313 |
+
| complexfloating[_NBit2, _NBit2]
|
| 314 |
+
), /,
|
| 315 |
+
) -> complexfloating[_NBit1 | _NBit2, _NBit1 | _NBit2]: ...
|
| 316 |
+
|
| 317 |
+
class _NumberOp(Protocol):
|
| 318 |
+
def __call__(self, other: _NumberLike_co, /) -> Any: ...
|
| 319 |
+
|
| 320 |
+
class _SupportsLT(Protocol):
|
| 321 |
+
def __lt__(self, other: Any, /) -> object: ...
|
| 322 |
+
|
| 323 |
+
class _SupportsGT(Protocol):
|
| 324 |
+
def __gt__(self, other: Any, /) -> object: ...
|
| 325 |
+
|
| 326 |
+
class _ComparisonOp(Protocol[_T1_contra, _T2_contra]):
|
| 327 |
+
@overload
|
| 328 |
+
def __call__(self, other: _T1_contra, /) -> np.bool: ...
|
| 329 |
+
@overload
|
| 330 |
+
def __call__(self, other: _T2_contra, /) -> NDArray[np.bool]: ...
|
| 331 |
+
@overload
|
| 332 |
+
def __call__(
|
| 333 |
+
self,
|
| 334 |
+
other: _SupportsLT | _SupportsGT | _NestedSequence[_SupportsLT | _SupportsGT],
|
| 335 |
+
/,
|
| 336 |
+
) -> Any: ...
|
player/runtime/python/Lib/site-packages/numpy/_typing/_char_codes.py
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Literal
|
| 2 |
+
|
| 3 |
+
_BoolCodes = Literal["?", "=?", "<?", ">?", "bool", "bool_"]
|
| 4 |
+
|
| 5 |
+
_UInt8Codes = Literal["uint8", "u1", "=u1", "<u1", ">u1"]
|
| 6 |
+
_UInt16Codes = Literal["uint16", "u2", "=u2", "<u2", ">u2"]
|
| 7 |
+
_UInt32Codes = Literal["uint32", "u4", "=u4", "<u4", ">u4"]
|
| 8 |
+
_UInt64Codes = Literal["uint64", "u8", "=u8", "<u8", ">u8"]
|
| 9 |
+
|
| 10 |
+
_Int8Codes = Literal["int8", "i1", "=i1", "<i1", ">i1"]
|
| 11 |
+
_Int16Codes = Literal["int16", "i2", "=i2", "<i2", ">i2"]
|
| 12 |
+
_Int32Codes = Literal["int32", "i4", "=i4", "<i4", ">i4"]
|
| 13 |
+
_Int64Codes = Literal["int64", "i8", "=i8", "<i8", ">i8"]
|
| 14 |
+
|
| 15 |
+
_Float16Codes = Literal["float16", "f2", "=f2", "<f2", ">f2"]
|
| 16 |
+
_Float32Codes = Literal["float32", "f4", "=f4", "<f4", ">f4"]
|
| 17 |
+
_Float64Codes = Literal["float64", "f8", "=f8", "<f8", ">f8"]
|
| 18 |
+
|
| 19 |
+
_Complex64Codes = Literal["complex64", "c8", "=c8", "<c8", ">c8"]
|
| 20 |
+
_Complex128Codes = Literal["complex128", "c16", "=c16", "<c16", ">c16"]
|
| 21 |
+
|
| 22 |
+
_ByteCodes = Literal["byte", "b", "=b", "<b", ">b"]
|
| 23 |
+
_ShortCodes = Literal["short", "h", "=h", "<h", ">h"]
|
| 24 |
+
_IntCCodes = Literal["intc", "i", "=i", "<i", ">i"]
|
| 25 |
+
_IntPCodes = Literal["intp", "int", "int_", "n", "=n", "<n", ">n"]
|
| 26 |
+
_LongCodes = Literal["long", "l", "=l", "<l", ">l"]
|
| 27 |
+
_IntCodes = _IntPCodes
|
| 28 |
+
_LongLongCodes = Literal["longlong", "q", "=q", "<q", ">q"]
|
| 29 |
+
|
| 30 |
+
_UByteCodes = Literal["ubyte", "B", "=B", "<B", ">B"]
|
| 31 |
+
_UShortCodes = Literal["ushort", "H", "=H", "<H", ">H"]
|
| 32 |
+
_UIntCCodes = Literal["uintc", "I", "=I", "<I", ">I"]
|
| 33 |
+
_UIntPCodes = Literal["uintp", "uint", "N", "=N", "<N", ">N"]
|
| 34 |
+
_ULongCodes = Literal["ulong", "L", "=L", "<L", ">L"]
|
| 35 |
+
_UIntCodes = _UIntPCodes
|
| 36 |
+
_ULongLongCodes = Literal["ulonglong", "Q", "=Q", "<Q", ">Q"]
|
| 37 |
+
|
| 38 |
+
_HalfCodes = Literal["half", "e", "=e", "<e", ">e"]
|
| 39 |
+
_SingleCodes = Literal["single", "f", "=f", "<f", ">f"]
|
| 40 |
+
_DoubleCodes = Literal["double", "float", "d", "=d", "<d", ">d"]
|
| 41 |
+
_LongDoubleCodes = Literal["longdouble", "g", "=g", "<g", ">g"]
|
| 42 |
+
|
| 43 |
+
_CSingleCodes = Literal["csingle", "F", "=F", "<F", ">F"]
|
| 44 |
+
_CDoubleCodes = Literal["cdouble", "complex", "D", "=D", "<D", ">D"]
|
| 45 |
+
_CLongDoubleCodes = Literal["clongdouble", "G", "=G", "<G", ">G"]
|
| 46 |
+
|
| 47 |
+
_StrCodes = Literal["str", "str_", "unicode", "U", "=U", "<U", ">U"]
|
| 48 |
+
_BytesCodes = Literal["bytes", "bytes_", "S", "=S", "<S", ">S"]
|
| 49 |
+
_VoidCodes = Literal["void", "V", "=V", "<V", ">V"]
|
| 50 |
+
_ObjectCodes = Literal["object", "object_", "O", "=O", "<O", ">O"]
|
| 51 |
+
|
| 52 |
+
_DT64Codes = Literal[
|
| 53 |
+
"datetime64", "=datetime64", "<datetime64", ">datetime64",
|
| 54 |
+
"datetime64[Y]", "=datetime64[Y]", "<datetime64[Y]", ">datetime64[Y]",
|
| 55 |
+
"datetime64[M]", "=datetime64[M]", "<datetime64[M]", ">datetime64[M]",
|
| 56 |
+
"datetime64[W]", "=datetime64[W]", "<datetime64[W]", ">datetime64[W]",
|
| 57 |
+
"datetime64[D]", "=datetime64[D]", "<datetime64[D]", ">datetime64[D]",
|
| 58 |
+
"datetime64[h]", "=datetime64[h]", "<datetime64[h]", ">datetime64[h]",
|
| 59 |
+
"datetime64[m]", "=datetime64[m]", "<datetime64[m]", ">datetime64[m]",
|
| 60 |
+
"datetime64[s]", "=datetime64[s]", "<datetime64[s]", ">datetime64[s]",
|
| 61 |
+
"datetime64[ms]", "=datetime64[ms]", "<datetime64[ms]", ">datetime64[ms]",
|
| 62 |
+
"datetime64[us]", "=datetime64[us]", "<datetime64[us]", ">datetime64[us]",
|
| 63 |
+
"datetime64[ns]", "=datetime64[ns]", "<datetime64[ns]", ">datetime64[ns]",
|
| 64 |
+
"datetime64[ps]", "=datetime64[ps]", "<datetime64[ps]", ">datetime64[ps]",
|
| 65 |
+
"datetime64[fs]", "=datetime64[fs]", "<datetime64[fs]", ">datetime64[fs]",
|
| 66 |
+
"datetime64[as]", "=datetime64[as]", "<datetime64[as]", ">datetime64[as]",
|
| 67 |
+
"M", "=M", "<M", ">M",
|
| 68 |
+
"M8", "=M8", "<M8", ">M8",
|
| 69 |
+
"M8[Y]", "=M8[Y]", "<M8[Y]", ">M8[Y]",
|
| 70 |
+
"M8[M]", "=M8[M]", "<M8[M]", ">M8[M]",
|
| 71 |
+
"M8[W]", "=M8[W]", "<M8[W]", ">M8[W]",
|
| 72 |
+
"M8[D]", "=M8[D]", "<M8[D]", ">M8[D]",
|
| 73 |
+
"M8[h]", "=M8[h]", "<M8[h]", ">M8[h]",
|
| 74 |
+
"M8[m]", "=M8[m]", "<M8[m]", ">M8[m]",
|
| 75 |
+
"M8[s]", "=M8[s]", "<M8[s]", ">M8[s]",
|
| 76 |
+
"M8[ms]", "=M8[ms]", "<M8[ms]", ">M8[ms]",
|
| 77 |
+
"M8[us]", "=M8[us]", "<M8[us]", ">M8[us]",
|
| 78 |
+
"M8[ns]", "=M8[ns]", "<M8[ns]", ">M8[ns]",
|
| 79 |
+
"M8[ps]", "=M8[ps]", "<M8[ps]", ">M8[ps]",
|
| 80 |
+
"M8[fs]", "=M8[fs]", "<M8[fs]", ">M8[fs]",
|
| 81 |
+
"M8[as]", "=M8[as]", "<M8[as]", ">M8[as]",
|
| 82 |
+
]
|
| 83 |
+
_TD64Codes = Literal[
|
| 84 |
+
"timedelta64", "=timedelta64", "<timedelta64", ">timedelta64",
|
| 85 |
+
"timedelta64[Y]", "=timedelta64[Y]", "<timedelta64[Y]", ">timedelta64[Y]",
|
| 86 |
+
"timedelta64[M]", "=timedelta64[M]", "<timedelta64[M]", ">timedelta64[M]",
|
| 87 |
+
"timedelta64[W]", "=timedelta64[W]", "<timedelta64[W]", ">timedelta64[W]",
|
| 88 |
+
"timedelta64[D]", "=timedelta64[D]", "<timedelta64[D]", ">timedelta64[D]",
|
| 89 |
+
"timedelta64[h]", "=timedelta64[h]", "<timedelta64[h]", ">timedelta64[h]",
|
| 90 |
+
"timedelta64[m]", "=timedelta64[m]", "<timedelta64[m]", ">timedelta64[m]",
|
| 91 |
+
"timedelta64[s]", "=timedelta64[s]", "<timedelta64[s]", ">timedelta64[s]",
|
| 92 |
+
"timedelta64[ms]", "=timedelta64[ms]", "<timedelta64[ms]", ">timedelta64[ms]",
|
| 93 |
+
"timedelta64[us]", "=timedelta64[us]", "<timedelta64[us]", ">timedelta64[us]",
|
| 94 |
+
"timedelta64[ns]", "=timedelta64[ns]", "<timedelta64[ns]", ">timedelta64[ns]",
|
| 95 |
+
"timedelta64[ps]", "=timedelta64[ps]", "<timedelta64[ps]", ">timedelta64[ps]",
|
| 96 |
+
"timedelta64[fs]", "=timedelta64[fs]", "<timedelta64[fs]", ">timedelta64[fs]",
|
| 97 |
+
"timedelta64[as]", "=timedelta64[as]", "<timedelta64[as]", ">timedelta64[as]",
|
| 98 |
+
"m", "=m", "<m", ">m",
|
| 99 |
+
"m8", "=m8", "<m8", ">m8",
|
| 100 |
+
"m8[Y]", "=m8[Y]", "<m8[Y]", ">m8[Y]",
|
| 101 |
+
"m8[M]", "=m8[M]", "<m8[M]", ">m8[M]",
|
| 102 |
+
"m8[W]", "=m8[W]", "<m8[W]", ">m8[W]",
|
| 103 |
+
"m8[D]", "=m8[D]", "<m8[D]", ">m8[D]",
|
| 104 |
+
"m8[h]", "=m8[h]", "<m8[h]", ">m8[h]",
|
| 105 |
+
"m8[m]", "=m8[m]", "<m8[m]", ">m8[m]",
|
| 106 |
+
"m8[s]", "=m8[s]", "<m8[s]", ">m8[s]",
|
| 107 |
+
"m8[ms]", "=m8[ms]", "<m8[ms]", ">m8[ms]",
|
| 108 |
+
"m8[us]", "=m8[us]", "<m8[us]", ">m8[us]",
|
| 109 |
+
"m8[ns]", "=m8[ns]", "<m8[ns]", ">m8[ns]",
|
| 110 |
+
"m8[ps]", "=m8[ps]", "<m8[ps]", ">m8[ps]",
|
| 111 |
+
"m8[fs]", "=m8[fs]", "<m8[fs]", ">m8[fs]",
|
| 112 |
+
"m8[as]", "=m8[as]", "<m8[as]", ">m8[as]",
|
| 113 |
+
]
|
player/runtime/python/Lib/site-packages/numpy/_typing/_dtype_like.py
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from collections.abc import Sequence
|
| 2 |
+
from typing import (
|
| 3 |
+
Any,
|
| 4 |
+
Sequence,
|
| 5 |
+
Union,
|
| 6 |
+
TypeVar,
|
| 7 |
+
Protocol,
|
| 8 |
+
TypedDict,
|
| 9 |
+
runtime_checkable,
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
import numpy as np
|
| 13 |
+
|
| 14 |
+
from ._shape import _ShapeLike
|
| 15 |
+
|
| 16 |
+
from ._char_codes import (
|
| 17 |
+
_BoolCodes,
|
| 18 |
+
_UInt8Codes,
|
| 19 |
+
_UInt16Codes,
|
| 20 |
+
_UInt32Codes,
|
| 21 |
+
_UInt64Codes,
|
| 22 |
+
_Int8Codes,
|
| 23 |
+
_Int16Codes,
|
| 24 |
+
_Int32Codes,
|
| 25 |
+
_Int64Codes,
|
| 26 |
+
_Float16Codes,
|
| 27 |
+
_Float32Codes,
|
| 28 |
+
_Float64Codes,
|
| 29 |
+
_Complex64Codes,
|
| 30 |
+
_Complex128Codes,
|
| 31 |
+
_ByteCodes,
|
| 32 |
+
_ShortCodes,
|
| 33 |
+
_IntCCodes,
|
| 34 |
+
_LongCodes,
|
| 35 |
+
_LongLongCodes,
|
| 36 |
+
_IntPCodes,
|
| 37 |
+
_IntCodes,
|
| 38 |
+
_UByteCodes,
|
| 39 |
+
_UShortCodes,
|
| 40 |
+
_UIntCCodes,
|
| 41 |
+
_ULongCodes,
|
| 42 |
+
_ULongLongCodes,
|
| 43 |
+
_UIntPCodes,
|
| 44 |
+
_UIntCodes,
|
| 45 |
+
_HalfCodes,
|
| 46 |
+
_SingleCodes,
|
| 47 |
+
_DoubleCodes,
|
| 48 |
+
_LongDoubleCodes,
|
| 49 |
+
_CSingleCodes,
|
| 50 |
+
_CDoubleCodes,
|
| 51 |
+
_CLongDoubleCodes,
|
| 52 |
+
_DT64Codes,
|
| 53 |
+
_TD64Codes,
|
| 54 |
+
_StrCodes,
|
| 55 |
+
_BytesCodes,
|
| 56 |
+
_VoidCodes,
|
| 57 |
+
_ObjectCodes,
|
| 58 |
+
)
|
| 59 |
+
|
| 60 |
+
_SCT = TypeVar("_SCT", bound=np.generic)
|
| 61 |
+
_DType_co = TypeVar("_DType_co", covariant=True, bound=np.dtype[Any])
|
| 62 |
+
|
| 63 |
+
_DTypeLikeNested = Any # TODO: wait for support for recursive types
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
# Mandatory keys
|
| 67 |
+
class _DTypeDictBase(TypedDict):
|
| 68 |
+
names: Sequence[str]
|
| 69 |
+
formats: Sequence[_DTypeLikeNested]
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
# Mandatory + optional keys
|
| 73 |
+
class _DTypeDict(_DTypeDictBase, total=False):
|
| 74 |
+
# Only `str` elements are usable as indexing aliases,
|
| 75 |
+
# but `titles` can in principle accept any object
|
| 76 |
+
offsets: Sequence[int]
|
| 77 |
+
titles: Sequence[Any]
|
| 78 |
+
itemsize: int
|
| 79 |
+
aligned: bool
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
# A protocol for anything with the dtype attribute
|
| 83 |
+
@runtime_checkable
|
| 84 |
+
class _SupportsDType(Protocol[_DType_co]):
|
| 85 |
+
@property
|
| 86 |
+
def dtype(self) -> _DType_co: ...
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
# A subset of `npt.DTypeLike` that can be parametrized w.r.t. `np.generic`
|
| 90 |
+
_DTypeLike = Union[
|
| 91 |
+
np.dtype[_SCT],
|
| 92 |
+
type[_SCT],
|
| 93 |
+
_SupportsDType[np.dtype[_SCT]],
|
| 94 |
+
]
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
# Would create a dtype[np.void]
|
| 98 |
+
_VoidDTypeLike = Union[
|
| 99 |
+
# (flexible_dtype, itemsize)
|
| 100 |
+
tuple[_DTypeLikeNested, int],
|
| 101 |
+
# (fixed_dtype, shape)
|
| 102 |
+
tuple[_DTypeLikeNested, _ShapeLike],
|
| 103 |
+
# [(field_name, field_dtype, field_shape), ...]
|
| 104 |
+
#
|
| 105 |
+
# The type here is quite broad because NumPy accepts quite a wide
|
| 106 |
+
# range of inputs inside the list; see the tests for some
|
| 107 |
+
# examples.
|
| 108 |
+
list[Any],
|
| 109 |
+
# {'names': ..., 'formats': ..., 'offsets': ..., 'titles': ...,
|
| 110 |
+
# 'itemsize': ...}
|
| 111 |
+
_DTypeDict,
|
| 112 |
+
# (base_dtype, new_dtype)
|
| 113 |
+
tuple[_DTypeLikeNested, _DTypeLikeNested],
|
| 114 |
+
]
|
| 115 |
+
|
| 116 |
+
# Anything that can be coerced into numpy.dtype.
|
| 117 |
+
# Reference: https://docs.scipy.org/doc/numpy/reference/arrays.dtypes.html
|
| 118 |
+
DTypeLike = Union[
|
| 119 |
+
np.dtype[Any],
|
| 120 |
+
# default data type (float64)
|
| 121 |
+
None,
|
| 122 |
+
# array-scalar types and generic types
|
| 123 |
+
type[Any], # NOTE: We're stuck with `type[Any]` due to object dtypes
|
| 124 |
+
# anything with a dtype attribute
|
| 125 |
+
_SupportsDType[np.dtype[Any]],
|
| 126 |
+
# character codes, type strings or comma-separated fields, e.g., 'float64'
|
| 127 |
+
str,
|
| 128 |
+
_VoidDTypeLike,
|
| 129 |
+
]
|
| 130 |
+
|
| 131 |
+
# NOTE: while it is possible to provide the dtype as a dict of
|
| 132 |
+
# dtype-like objects (e.g. `{'field1': ..., 'field2': ..., ...}`),
|
| 133 |
+
# this syntax is officially discourged and
|
| 134 |
+
# therefore not included in the Union defining `DTypeLike`.
|
| 135 |
+
#
|
| 136 |
+
# See https://github.com/numpy/numpy/issues/16891 for more details.
|
| 137 |
+
|
| 138 |
+
# Aliases for commonly used dtype-like objects.
|
| 139 |
+
# Note that the precision of `np.number` subclasses is ignored herein.
|
| 140 |
+
_DTypeLikeBool = Union[
|
| 141 |
+
type[bool],
|
| 142 |
+
type[np.bool],
|
| 143 |
+
np.dtype[np.bool],
|
| 144 |
+
_SupportsDType[np.dtype[np.bool]],
|
| 145 |
+
_BoolCodes,
|
| 146 |
+
]
|
| 147 |
+
_DTypeLikeUInt = Union[
|
| 148 |
+
type[np.unsignedinteger],
|
| 149 |
+
np.dtype[np.unsignedinteger],
|
| 150 |
+
_SupportsDType[np.dtype[np.unsignedinteger]],
|
| 151 |
+
_UInt8Codes,
|
| 152 |
+
_UInt16Codes,
|
| 153 |
+
_UInt32Codes,
|
| 154 |
+
_UInt64Codes,
|
| 155 |
+
_UByteCodes,
|
| 156 |
+
_UShortCodes,
|
| 157 |
+
_UIntCCodes,
|
| 158 |
+
_LongCodes,
|
| 159 |
+
_ULongLongCodes,
|
| 160 |
+
_UIntPCodes,
|
| 161 |
+
_UIntCodes,
|
| 162 |
+
]
|
| 163 |
+
_DTypeLikeInt = Union[
|
| 164 |
+
type[int],
|
| 165 |
+
type[np.signedinteger],
|
| 166 |
+
np.dtype[np.signedinteger],
|
| 167 |
+
_SupportsDType[np.dtype[np.signedinteger]],
|
| 168 |
+
_Int8Codes,
|
| 169 |
+
_Int16Codes,
|
| 170 |
+
_Int32Codes,
|
| 171 |
+
_Int64Codes,
|
| 172 |
+
_ByteCodes,
|
| 173 |
+
_ShortCodes,
|
| 174 |
+
_IntCCodes,
|
| 175 |
+
_LongCodes,
|
| 176 |
+
_LongLongCodes,
|
| 177 |
+
_IntPCodes,
|
| 178 |
+
_IntCodes,
|
| 179 |
+
]
|
| 180 |
+
_DTypeLikeFloat = Union[
|
| 181 |
+
type[float],
|
| 182 |
+
type[np.floating],
|
| 183 |
+
np.dtype[np.floating],
|
| 184 |
+
_SupportsDType[np.dtype[np.floating]],
|
| 185 |
+
_Float16Codes,
|
| 186 |
+
_Float32Codes,
|
| 187 |
+
_Float64Codes,
|
| 188 |
+
_HalfCodes,
|
| 189 |
+
_SingleCodes,
|
| 190 |
+
_DoubleCodes,
|
| 191 |
+
_LongDoubleCodes,
|
| 192 |
+
]
|
| 193 |
+
_DTypeLikeComplex = Union[
|
| 194 |
+
type[complex],
|
| 195 |
+
type[np.complexfloating],
|
| 196 |
+
np.dtype[np.complexfloating],
|
| 197 |
+
_SupportsDType[np.dtype[np.complexfloating]],
|
| 198 |
+
_Complex64Codes,
|
| 199 |
+
_Complex128Codes,
|
| 200 |
+
_CSingleCodes,
|
| 201 |
+
_CDoubleCodes,
|
| 202 |
+
_CLongDoubleCodes,
|
| 203 |
+
]
|
| 204 |
+
_DTypeLikeDT64 = Union[
|
| 205 |
+
type[np.timedelta64],
|
| 206 |
+
np.dtype[np.timedelta64],
|
| 207 |
+
_SupportsDType[np.dtype[np.timedelta64]],
|
| 208 |
+
_TD64Codes,
|
| 209 |
+
]
|
| 210 |
+
_DTypeLikeTD64 = Union[
|
| 211 |
+
type[np.datetime64],
|
| 212 |
+
np.dtype[np.datetime64],
|
| 213 |
+
_SupportsDType[np.dtype[np.datetime64]],
|
| 214 |
+
_DT64Codes,
|
| 215 |
+
]
|
| 216 |
+
_DTypeLikeStr = Union[
|
| 217 |
+
type[str],
|
| 218 |
+
type[np.str_],
|
| 219 |
+
np.dtype[np.str_],
|
| 220 |
+
_SupportsDType[np.dtype[np.str_]],
|
| 221 |
+
_StrCodes,
|
| 222 |
+
]
|
| 223 |
+
_DTypeLikeBytes = Union[
|
| 224 |
+
type[bytes],
|
| 225 |
+
type[np.bytes_],
|
| 226 |
+
np.dtype[np.bytes_],
|
| 227 |
+
_SupportsDType[np.dtype[np.bytes_]],
|
| 228 |
+
_BytesCodes,
|
| 229 |
+
]
|
| 230 |
+
_DTypeLikeVoid = Union[
|
| 231 |
+
type[np.void],
|
| 232 |
+
np.dtype[np.void],
|
| 233 |
+
_SupportsDType[np.dtype[np.void]],
|
| 234 |
+
_VoidCodes,
|
| 235 |
+
_VoidDTypeLike,
|
| 236 |
+
]
|
| 237 |
+
_DTypeLikeObject = Union[
|
| 238 |
+
type,
|
| 239 |
+
np.dtype[np.object_],
|
| 240 |
+
_SupportsDType[np.dtype[np.object_]],
|
| 241 |
+
_ObjectCodes,
|
| 242 |
+
]
|
| 243 |
+
|
| 244 |
+
_DTypeLikeComplex_co = Union[
|
| 245 |
+
_DTypeLikeBool,
|
| 246 |
+
_DTypeLikeUInt,
|
| 247 |
+
_DTypeLikeInt,
|
| 248 |
+
_DTypeLikeFloat,
|
| 249 |
+
_DTypeLikeComplex,
|
| 250 |
+
]
|
player/runtime/python/Lib/site-packages/numpy/_typing/_extended_precision.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""A module with platform-specific extended precision
|
| 2 |
+
`numpy.number` subclasses.
|
| 3 |
+
|
| 4 |
+
The subclasses are defined here (instead of ``__init__.pyi``) such
|
| 5 |
+
that they can be imported conditionally via the numpy's mypy plugin.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
import numpy as np
|
| 9 |
+
from . import (
|
| 10 |
+
_80Bit,
|
| 11 |
+
_96Bit,
|
| 12 |
+
_128Bit,
|
| 13 |
+
_256Bit,
|
| 14 |
+
)
|
| 15 |
+
|
| 16 |
+
uint128 = np.unsignedinteger[_128Bit]
|
| 17 |
+
uint256 = np.unsignedinteger[_256Bit]
|
| 18 |
+
int128 = np.signedinteger[_128Bit]
|
| 19 |
+
int256 = np.signedinteger[_256Bit]
|
| 20 |
+
float80 = np.floating[_80Bit]
|
| 21 |
+
float96 = np.floating[_96Bit]
|
| 22 |
+
float128 = np.floating[_128Bit]
|
| 23 |
+
float256 = np.floating[_256Bit]
|
| 24 |
+
complex160 = np.complexfloating[_80Bit, _80Bit]
|
| 25 |
+
complex192 = np.complexfloating[_96Bit, _96Bit]
|
| 26 |
+
complex256 = np.complexfloating[_128Bit, _128Bit]
|
| 27 |
+
complex512 = np.complexfloating[_256Bit, _256Bit]
|
player/runtime/python/Lib/site-packages/numpy/_typing/_nbit.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""A module with the precisions of platform-specific `~numpy.number`s."""
|
| 2 |
+
|
| 3 |
+
from typing import Any
|
| 4 |
+
|
| 5 |
+
# To-be replaced with a `npt.NBitBase` subclass by numpy's mypy plugin
|
| 6 |
+
_NBitByte = Any
|
| 7 |
+
_NBitShort = Any
|
| 8 |
+
_NBitIntC = Any
|
| 9 |
+
_NBitIntP = Any
|
| 10 |
+
_NBitInt = Any
|
| 11 |
+
_NBitLong = Any
|
| 12 |
+
_NBitLongLong = Any
|
| 13 |
+
|
| 14 |
+
_NBitHalf = Any
|
| 15 |
+
_NBitSingle = Any
|
| 16 |
+
_NBitDouble = Any
|
| 17 |
+
_NBitLongDouble = Any
|
player/runtime/python/Lib/site-packages/numpy/_typing/_nested_sequence.py
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""A module containing the `_NestedSequence` protocol."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
from collections.abc import Iterator
|
| 6 |
+
from typing import (
|
| 7 |
+
Any,
|
| 8 |
+
TypeVar,
|
| 9 |
+
Protocol,
|
| 10 |
+
runtime_checkable,
|
| 11 |
+
)
|
| 12 |
+
|
| 13 |
+
__all__ = ["_NestedSequence"]
|
| 14 |
+
|
| 15 |
+
_T_co = TypeVar("_T_co", covariant=True)
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
@runtime_checkable
|
| 19 |
+
class _NestedSequence(Protocol[_T_co]):
|
| 20 |
+
"""A protocol for representing nested sequences.
|
| 21 |
+
|
| 22 |
+
Warning
|
| 23 |
+
-------
|
| 24 |
+
`_NestedSequence` currently does not work in combination with typevars,
|
| 25 |
+
*e.g.* ``def func(a: _NestedSequnce[T]) -> T: ...``.
|
| 26 |
+
|
| 27 |
+
See Also
|
| 28 |
+
--------
|
| 29 |
+
collections.abc.Sequence
|
| 30 |
+
ABCs for read-only and mutable :term:`sequences`.
|
| 31 |
+
|
| 32 |
+
Examples
|
| 33 |
+
--------
|
| 34 |
+
.. code-block:: python
|
| 35 |
+
|
| 36 |
+
>>> from __future__ import annotations
|
| 37 |
+
|
| 38 |
+
>>> from typing import TYPE_CHECKING
|
| 39 |
+
>>> import numpy as np
|
| 40 |
+
>>> from numpy._typing import _NestedSequence
|
| 41 |
+
|
| 42 |
+
>>> def get_dtype(seq: _NestedSequence[float]) -> np.dtype[np.float64]:
|
| 43 |
+
... return np.asarray(seq).dtype
|
| 44 |
+
|
| 45 |
+
>>> a = get_dtype([1.0])
|
| 46 |
+
>>> b = get_dtype([[1.0]])
|
| 47 |
+
>>> c = get_dtype([[[1.0]]])
|
| 48 |
+
>>> d = get_dtype([[[[1.0]]]])
|
| 49 |
+
|
| 50 |
+
>>> if TYPE_CHECKING:
|
| 51 |
+
... reveal_locals()
|
| 52 |
+
... # note: Revealed local types are:
|
| 53 |
+
... # note: a: numpy.dtype[numpy.floating[numpy._typing._64Bit]]
|
| 54 |
+
... # note: b: numpy.dtype[numpy.floating[numpy._typing._64Bit]]
|
| 55 |
+
... # note: c: numpy.dtype[numpy.floating[numpy._typing._64Bit]]
|
| 56 |
+
... # note: d: numpy.dtype[numpy.floating[numpy._typing._64Bit]]
|
| 57 |
+
|
| 58 |
+
"""
|
| 59 |
+
|
| 60 |
+
def __len__(self, /) -> int:
|
| 61 |
+
"""Implement ``len(self)``."""
|
| 62 |
+
raise NotImplementedError
|
| 63 |
+
|
| 64 |
+
def __getitem__(self, index: int, /) -> _T_co | _NestedSequence[_T_co]:
|
| 65 |
+
"""Implement ``self[x]``."""
|
| 66 |
+
raise NotImplementedError
|
| 67 |
+
|
| 68 |
+
def __contains__(self, x: object, /) -> bool:
|
| 69 |
+
"""Implement ``x in self``."""
|
| 70 |
+
raise NotImplementedError
|
| 71 |
+
|
| 72 |
+
def __iter__(self, /) -> Iterator[_T_co | _NestedSequence[_T_co]]:
|
| 73 |
+
"""Implement ``iter(self)``."""
|
| 74 |
+
raise NotImplementedError
|
| 75 |
+
|
| 76 |
+
def __reversed__(self, /) -> Iterator[_T_co | _NestedSequence[_T_co]]:
|
| 77 |
+
"""Implement ``reversed(self)``."""
|
| 78 |
+
raise NotImplementedError
|
| 79 |
+
|
| 80 |
+
def count(self, value: Any, /) -> int:
|
| 81 |
+
"""Return the number of occurrences of `value`."""
|
| 82 |
+
raise NotImplementedError
|
| 83 |
+
|
| 84 |
+
def index(self, value: Any, /) -> int:
|
| 85 |
+
"""Return the first index of `value`."""
|
| 86 |
+
raise NotImplementedError
|
player/runtime/python/Lib/site-packages/numpy/_typing/_scalars.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Union, Any
|
| 2 |
+
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
# NOTE: `_StrLike_co` and `_BytesLike_co` are pointless, as `np.str_` and
|
| 6 |
+
# `np.bytes_` are already subclasses of their builtin counterpart
|
| 7 |
+
|
| 8 |
+
_CharLike_co = Union[str, bytes]
|
| 9 |
+
|
| 10 |
+
# The 6 `<X>Like_co` type-aliases below represent all scalars that can be
|
| 11 |
+
# coerced into `<X>` (with the casting rule `same_kind`)
|
| 12 |
+
_BoolLike_co = Union[bool, np.bool]
|
| 13 |
+
_UIntLike_co = Union[_BoolLike_co, np.unsignedinteger[Any]]
|
| 14 |
+
_IntLike_co = Union[_BoolLike_co, int, np.integer[Any]]
|
| 15 |
+
_FloatLike_co = Union[_IntLike_co, float, np.floating[Any]]
|
| 16 |
+
_ComplexLike_co = Union[_FloatLike_co, complex, np.complexfloating[Any, Any]]
|
| 17 |
+
_TD64Like_co = Union[_IntLike_co, np.timedelta64]
|
| 18 |
+
|
| 19 |
+
_NumberLike_co = Union[int, float, complex, np.number[Any], np.bool]
|
| 20 |
+
_ScalarLike_co = Union[
|
| 21 |
+
int,
|
| 22 |
+
float,
|
| 23 |
+
complex,
|
| 24 |
+
str,
|
| 25 |
+
bytes,
|
| 26 |
+
np.generic,
|
| 27 |
+
]
|
| 28 |
+
|
| 29 |
+
# `_VoidLike_co` is technically not a scalar, but it's close enough
|
| 30 |
+
_VoidLike_co = Union[tuple[Any, ...], np.void]
|
player/runtime/python/Lib/site-packages/numpy/_typing/_shape.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from collections.abc import Sequence
|
| 2 |
+
from typing import Union, SupportsIndex
|
| 3 |
+
|
| 4 |
+
_Shape = tuple[int, ...]
|
| 5 |
+
|
| 6 |
+
# Anything that can be coerced to a shape tuple
|
| 7 |
+
_ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]]
|
player/runtime/python/Lib/site-packages/numpy/_typing/_ufunc.pyi
ADDED
|
@@ -0,0 +1,426 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""A module with private type-check-only `numpy.ufunc` subclasses.
|
| 2 |
+
|
| 3 |
+
The signatures of the ufuncs are too varied to reasonably type
|
| 4 |
+
with a single class. So instead, `ufunc` has been expanded into
|
| 5 |
+
four private subclasses, one for each combination of
|
| 6 |
+
`~ufunc.nin` and `~ufunc.nout`.
|
| 7 |
+
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
from typing import (
|
| 11 |
+
Any,
|
| 12 |
+
Generic,
|
| 13 |
+
overload,
|
| 14 |
+
TypeVar,
|
| 15 |
+
Literal,
|
| 16 |
+
SupportsIndex,
|
| 17 |
+
Protocol,
|
| 18 |
+
)
|
| 19 |
+
|
| 20 |
+
from numpy import ufunc, _CastingKind, _OrderKACF
|
| 21 |
+
from numpy.typing import NDArray
|
| 22 |
+
|
| 23 |
+
from ._shape import _ShapeLike
|
| 24 |
+
from ._scalars import _ScalarLike_co
|
| 25 |
+
from ._array_like import ArrayLike, _ArrayLikeBool_co, _ArrayLikeInt_co
|
| 26 |
+
from ._dtype_like import DTypeLike
|
| 27 |
+
|
| 28 |
+
_T = TypeVar("_T")
|
| 29 |
+
_2Tuple = tuple[_T, _T]
|
| 30 |
+
_3Tuple = tuple[_T, _T, _T]
|
| 31 |
+
_4Tuple = tuple[_T, _T, _T, _T]
|
| 32 |
+
|
| 33 |
+
_NTypes = TypeVar("_NTypes", bound=int)
|
| 34 |
+
_IDType = TypeVar("_IDType", bound=Any)
|
| 35 |
+
_NameType = TypeVar("_NameType", bound=str)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
class _SupportsArrayUFunc(Protocol):
|
| 39 |
+
def __array_ufunc__(
|
| 40 |
+
self,
|
| 41 |
+
ufunc: ufunc,
|
| 42 |
+
method: Literal["__call__", "reduce", "reduceat", "accumulate", "outer", "at"],
|
| 43 |
+
*inputs: Any,
|
| 44 |
+
**kwargs: Any,
|
| 45 |
+
) -> Any: ...
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
# NOTE: `reduce`, `accumulate`, `reduceat` and `outer` raise a ValueError for
|
| 49 |
+
# ufuncs that don't accept two input arguments and return one output argument.
|
| 50 |
+
# In such cases the respective methods are simply typed as `None`.
|
| 51 |
+
|
| 52 |
+
# NOTE: Similarly, `at` won't be defined for ufuncs that return
|
| 53 |
+
# multiple outputs; in such cases `at` is typed as `None`
|
| 54 |
+
|
| 55 |
+
# NOTE: If 2 output types are returned then `out` must be a
|
| 56 |
+
# 2-tuple of arrays. Otherwise `None` or a plain array are also acceptable
|
| 57 |
+
|
| 58 |
+
class _UFunc_Nin1_Nout1(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: ignore[misc]
|
| 59 |
+
@property
|
| 60 |
+
def __name__(self) -> _NameType: ...
|
| 61 |
+
@property
|
| 62 |
+
def ntypes(self) -> _NTypes: ...
|
| 63 |
+
@property
|
| 64 |
+
def identity(self) -> _IDType: ...
|
| 65 |
+
@property
|
| 66 |
+
def nin(self) -> Literal[1]: ...
|
| 67 |
+
@property
|
| 68 |
+
def nout(self) -> Literal[1]: ...
|
| 69 |
+
@property
|
| 70 |
+
def nargs(self) -> Literal[2]: ...
|
| 71 |
+
@property
|
| 72 |
+
def signature(self) -> None: ...
|
| 73 |
+
@property
|
| 74 |
+
def reduce(self) -> None: ...
|
| 75 |
+
@property
|
| 76 |
+
def accumulate(self) -> None: ...
|
| 77 |
+
@property
|
| 78 |
+
def reduceat(self) -> None: ...
|
| 79 |
+
@property
|
| 80 |
+
def outer(self) -> None: ...
|
| 81 |
+
|
| 82 |
+
@overload
|
| 83 |
+
def __call__(
|
| 84 |
+
self,
|
| 85 |
+
__x1: _ScalarLike_co,
|
| 86 |
+
out: None = ...,
|
| 87 |
+
*,
|
| 88 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 89 |
+
casting: _CastingKind = ...,
|
| 90 |
+
order: _OrderKACF = ...,
|
| 91 |
+
dtype: DTypeLike = ...,
|
| 92 |
+
subok: bool = ...,
|
| 93 |
+
signature: str | _2Tuple[None | str] = ...,
|
| 94 |
+
) -> Any: ...
|
| 95 |
+
@overload
|
| 96 |
+
def __call__(
|
| 97 |
+
self,
|
| 98 |
+
__x1: ArrayLike,
|
| 99 |
+
out: None | NDArray[Any] | tuple[NDArray[Any]] = ...,
|
| 100 |
+
*,
|
| 101 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 102 |
+
casting: _CastingKind = ...,
|
| 103 |
+
order: _OrderKACF = ...,
|
| 104 |
+
dtype: DTypeLike = ...,
|
| 105 |
+
subok: bool = ...,
|
| 106 |
+
signature: str | _2Tuple[None | str] = ...,
|
| 107 |
+
) -> NDArray[Any]: ...
|
| 108 |
+
@overload
|
| 109 |
+
def __call__(
|
| 110 |
+
self,
|
| 111 |
+
__x1: _SupportsArrayUFunc,
|
| 112 |
+
out: None | NDArray[Any] | tuple[NDArray[Any]] = ...,
|
| 113 |
+
*,
|
| 114 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 115 |
+
casting: _CastingKind = ...,
|
| 116 |
+
order: _OrderKACF = ...,
|
| 117 |
+
dtype: DTypeLike = ...,
|
| 118 |
+
subok: bool = ...,
|
| 119 |
+
signature: str | _2Tuple[None | str] = ...,
|
| 120 |
+
) -> Any: ...
|
| 121 |
+
|
| 122 |
+
def at(
|
| 123 |
+
self,
|
| 124 |
+
a: _SupportsArrayUFunc,
|
| 125 |
+
indices: _ArrayLikeInt_co,
|
| 126 |
+
/,
|
| 127 |
+
) -> None: ...
|
| 128 |
+
|
| 129 |
+
class _UFunc_Nin2_Nout1(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: ignore[misc]
|
| 130 |
+
@property
|
| 131 |
+
def __name__(self) -> _NameType: ...
|
| 132 |
+
@property
|
| 133 |
+
def ntypes(self) -> _NTypes: ...
|
| 134 |
+
@property
|
| 135 |
+
def identity(self) -> _IDType: ...
|
| 136 |
+
@property
|
| 137 |
+
def nin(self) -> Literal[2]: ...
|
| 138 |
+
@property
|
| 139 |
+
def nout(self) -> Literal[1]: ...
|
| 140 |
+
@property
|
| 141 |
+
def nargs(self) -> Literal[3]: ...
|
| 142 |
+
@property
|
| 143 |
+
def signature(self) -> None: ...
|
| 144 |
+
|
| 145 |
+
@overload
|
| 146 |
+
def __call__(
|
| 147 |
+
self,
|
| 148 |
+
__x1: _ScalarLike_co,
|
| 149 |
+
__x2: _ScalarLike_co,
|
| 150 |
+
out: None = ...,
|
| 151 |
+
*,
|
| 152 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 153 |
+
casting: _CastingKind = ...,
|
| 154 |
+
order: _OrderKACF = ...,
|
| 155 |
+
dtype: DTypeLike = ...,
|
| 156 |
+
subok: bool = ...,
|
| 157 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 158 |
+
) -> Any: ...
|
| 159 |
+
@overload
|
| 160 |
+
def __call__(
|
| 161 |
+
self,
|
| 162 |
+
__x1: ArrayLike,
|
| 163 |
+
__x2: ArrayLike,
|
| 164 |
+
out: None | NDArray[Any] | tuple[NDArray[Any]] = ...,
|
| 165 |
+
*,
|
| 166 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 167 |
+
casting: _CastingKind = ...,
|
| 168 |
+
order: _OrderKACF = ...,
|
| 169 |
+
dtype: DTypeLike = ...,
|
| 170 |
+
subok: bool = ...,
|
| 171 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 172 |
+
) -> NDArray[Any]: ...
|
| 173 |
+
|
| 174 |
+
def at(
|
| 175 |
+
self,
|
| 176 |
+
a: NDArray[Any],
|
| 177 |
+
indices: _ArrayLikeInt_co,
|
| 178 |
+
b: ArrayLike,
|
| 179 |
+
/,
|
| 180 |
+
) -> None: ...
|
| 181 |
+
|
| 182 |
+
def reduce(
|
| 183 |
+
self,
|
| 184 |
+
array: ArrayLike,
|
| 185 |
+
axis: None | _ShapeLike = ...,
|
| 186 |
+
dtype: DTypeLike = ...,
|
| 187 |
+
out: None | NDArray[Any] = ...,
|
| 188 |
+
keepdims: bool = ...,
|
| 189 |
+
initial: Any = ...,
|
| 190 |
+
where: _ArrayLikeBool_co = ...,
|
| 191 |
+
) -> Any: ...
|
| 192 |
+
|
| 193 |
+
def accumulate(
|
| 194 |
+
self,
|
| 195 |
+
array: ArrayLike,
|
| 196 |
+
axis: SupportsIndex = ...,
|
| 197 |
+
dtype: DTypeLike = ...,
|
| 198 |
+
out: None | NDArray[Any] = ...,
|
| 199 |
+
) -> NDArray[Any]: ...
|
| 200 |
+
|
| 201 |
+
def reduceat(
|
| 202 |
+
self,
|
| 203 |
+
array: ArrayLike,
|
| 204 |
+
indices: _ArrayLikeInt_co,
|
| 205 |
+
axis: SupportsIndex = ...,
|
| 206 |
+
dtype: DTypeLike = ...,
|
| 207 |
+
out: None | NDArray[Any] = ...,
|
| 208 |
+
) -> NDArray[Any]: ...
|
| 209 |
+
|
| 210 |
+
# Expand `**kwargs` into explicit keyword-only arguments
|
| 211 |
+
@overload
|
| 212 |
+
def outer(
|
| 213 |
+
self,
|
| 214 |
+
A: _ScalarLike_co,
|
| 215 |
+
B: _ScalarLike_co,
|
| 216 |
+
/, *,
|
| 217 |
+
out: None = ...,
|
| 218 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 219 |
+
casting: _CastingKind = ...,
|
| 220 |
+
order: _OrderKACF = ...,
|
| 221 |
+
dtype: DTypeLike = ...,
|
| 222 |
+
subok: bool = ...,
|
| 223 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 224 |
+
) -> Any: ...
|
| 225 |
+
@overload
|
| 226 |
+
def outer( # type: ignore[misc]
|
| 227 |
+
self,
|
| 228 |
+
A: ArrayLike,
|
| 229 |
+
B: ArrayLike,
|
| 230 |
+
/, *,
|
| 231 |
+
out: None | NDArray[Any] | tuple[NDArray[Any]] = ...,
|
| 232 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 233 |
+
casting: _CastingKind = ...,
|
| 234 |
+
order: _OrderKACF = ...,
|
| 235 |
+
dtype: DTypeLike = ...,
|
| 236 |
+
subok: bool = ...,
|
| 237 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 238 |
+
) -> NDArray[Any]: ...
|
| 239 |
+
|
| 240 |
+
class _UFunc_Nin1_Nout2(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: ignore[misc]
|
| 241 |
+
@property
|
| 242 |
+
def __name__(self) -> _NameType: ...
|
| 243 |
+
@property
|
| 244 |
+
def ntypes(self) -> _NTypes: ...
|
| 245 |
+
@property
|
| 246 |
+
def identity(self) -> _IDType: ...
|
| 247 |
+
@property
|
| 248 |
+
def nin(self) -> Literal[1]: ...
|
| 249 |
+
@property
|
| 250 |
+
def nout(self) -> Literal[2]: ...
|
| 251 |
+
@property
|
| 252 |
+
def nargs(self) -> Literal[3]: ...
|
| 253 |
+
@property
|
| 254 |
+
def signature(self) -> None: ...
|
| 255 |
+
@property
|
| 256 |
+
def at(self) -> None: ...
|
| 257 |
+
@property
|
| 258 |
+
def reduce(self) -> None: ...
|
| 259 |
+
@property
|
| 260 |
+
def accumulate(self) -> None: ...
|
| 261 |
+
@property
|
| 262 |
+
def reduceat(self) -> None: ...
|
| 263 |
+
@property
|
| 264 |
+
def outer(self) -> None: ...
|
| 265 |
+
|
| 266 |
+
@overload
|
| 267 |
+
def __call__(
|
| 268 |
+
self,
|
| 269 |
+
__x1: _ScalarLike_co,
|
| 270 |
+
__out1: None = ...,
|
| 271 |
+
__out2: None = ...,
|
| 272 |
+
*,
|
| 273 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 274 |
+
casting: _CastingKind = ...,
|
| 275 |
+
order: _OrderKACF = ...,
|
| 276 |
+
dtype: DTypeLike = ...,
|
| 277 |
+
subok: bool = ...,
|
| 278 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 279 |
+
) -> _2Tuple[Any]: ...
|
| 280 |
+
@overload
|
| 281 |
+
def __call__(
|
| 282 |
+
self,
|
| 283 |
+
__x1: ArrayLike,
|
| 284 |
+
__out1: None | NDArray[Any] = ...,
|
| 285 |
+
__out2: None | NDArray[Any] = ...,
|
| 286 |
+
*,
|
| 287 |
+
out: _2Tuple[NDArray[Any]] = ...,
|
| 288 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 289 |
+
casting: _CastingKind = ...,
|
| 290 |
+
order: _OrderKACF = ...,
|
| 291 |
+
dtype: DTypeLike = ...,
|
| 292 |
+
subok: bool = ...,
|
| 293 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 294 |
+
) -> _2Tuple[NDArray[Any]]: ...
|
| 295 |
+
@overload
|
| 296 |
+
def __call__(
|
| 297 |
+
self,
|
| 298 |
+
__x1: _SupportsArrayUFunc,
|
| 299 |
+
__out1: None | NDArray[Any] = ...,
|
| 300 |
+
__out2: None | NDArray[Any] = ...,
|
| 301 |
+
*,
|
| 302 |
+
out: _2Tuple[NDArray[Any]] = ...,
|
| 303 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 304 |
+
casting: _CastingKind = ...,
|
| 305 |
+
order: _OrderKACF = ...,
|
| 306 |
+
dtype: DTypeLike = ...,
|
| 307 |
+
subok: bool = ...,
|
| 308 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 309 |
+
) -> _2Tuple[Any]: ...
|
| 310 |
+
|
| 311 |
+
class _UFunc_Nin2_Nout2(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: ignore[misc]
|
| 312 |
+
@property
|
| 313 |
+
def __name__(self) -> _NameType: ...
|
| 314 |
+
@property
|
| 315 |
+
def ntypes(self) -> _NTypes: ...
|
| 316 |
+
@property
|
| 317 |
+
def identity(self) -> _IDType: ...
|
| 318 |
+
@property
|
| 319 |
+
def nin(self) -> Literal[2]: ...
|
| 320 |
+
@property
|
| 321 |
+
def nout(self) -> Literal[2]: ...
|
| 322 |
+
@property
|
| 323 |
+
def nargs(self) -> Literal[4]: ...
|
| 324 |
+
@property
|
| 325 |
+
def signature(self) -> None: ...
|
| 326 |
+
@property
|
| 327 |
+
def at(self) -> None: ...
|
| 328 |
+
@property
|
| 329 |
+
def reduce(self) -> None: ...
|
| 330 |
+
@property
|
| 331 |
+
def accumulate(self) -> None: ...
|
| 332 |
+
@property
|
| 333 |
+
def reduceat(self) -> None: ...
|
| 334 |
+
@property
|
| 335 |
+
def outer(self) -> None: ...
|
| 336 |
+
|
| 337 |
+
@overload
|
| 338 |
+
def __call__(
|
| 339 |
+
self,
|
| 340 |
+
__x1: _ScalarLike_co,
|
| 341 |
+
__x2: _ScalarLike_co,
|
| 342 |
+
__out1: None = ...,
|
| 343 |
+
__out2: None = ...,
|
| 344 |
+
*,
|
| 345 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 346 |
+
casting: _CastingKind = ...,
|
| 347 |
+
order: _OrderKACF = ...,
|
| 348 |
+
dtype: DTypeLike = ...,
|
| 349 |
+
subok: bool = ...,
|
| 350 |
+
signature: str | _4Tuple[None | str] = ...,
|
| 351 |
+
) -> _2Tuple[Any]: ...
|
| 352 |
+
@overload
|
| 353 |
+
def __call__(
|
| 354 |
+
self,
|
| 355 |
+
__x1: ArrayLike,
|
| 356 |
+
__x2: ArrayLike,
|
| 357 |
+
__out1: None | NDArray[Any] = ...,
|
| 358 |
+
__out2: None | NDArray[Any] = ...,
|
| 359 |
+
*,
|
| 360 |
+
out: _2Tuple[NDArray[Any]] = ...,
|
| 361 |
+
where: None | _ArrayLikeBool_co = ...,
|
| 362 |
+
casting: _CastingKind = ...,
|
| 363 |
+
order: _OrderKACF = ...,
|
| 364 |
+
dtype: DTypeLike = ...,
|
| 365 |
+
subok: bool = ...,
|
| 366 |
+
signature: str | _4Tuple[None | str] = ...,
|
| 367 |
+
) -> _2Tuple[NDArray[Any]]: ...
|
| 368 |
+
|
| 369 |
+
class _GUFunc_Nin2_Nout1(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: ignore[misc]
|
| 370 |
+
@property
|
| 371 |
+
def __name__(self) -> _NameType: ...
|
| 372 |
+
@property
|
| 373 |
+
def ntypes(self) -> _NTypes: ...
|
| 374 |
+
@property
|
| 375 |
+
def identity(self) -> _IDType: ...
|
| 376 |
+
@property
|
| 377 |
+
def nin(self) -> Literal[2]: ...
|
| 378 |
+
@property
|
| 379 |
+
def nout(self) -> Literal[1]: ...
|
| 380 |
+
@property
|
| 381 |
+
def nargs(self) -> Literal[3]: ...
|
| 382 |
+
|
| 383 |
+
# NOTE: In practice the only gufunc in the main namespace is `matmul`,
|
| 384 |
+
# so we can use its signature here
|
| 385 |
+
@property
|
| 386 |
+
def signature(self) -> Literal["(n?,k),(k,m?)->(n?,m?)"]: ...
|
| 387 |
+
@property
|
| 388 |
+
def reduce(self) -> None: ...
|
| 389 |
+
@property
|
| 390 |
+
def accumulate(self) -> None: ...
|
| 391 |
+
@property
|
| 392 |
+
def reduceat(self) -> None: ...
|
| 393 |
+
@property
|
| 394 |
+
def outer(self) -> None: ...
|
| 395 |
+
@property
|
| 396 |
+
def at(self) -> None: ...
|
| 397 |
+
|
| 398 |
+
# Scalar for 1D array-likes; ndarray otherwise
|
| 399 |
+
@overload
|
| 400 |
+
def __call__(
|
| 401 |
+
self,
|
| 402 |
+
__x1: ArrayLike,
|
| 403 |
+
__x2: ArrayLike,
|
| 404 |
+
out: None = ...,
|
| 405 |
+
*,
|
| 406 |
+
casting: _CastingKind = ...,
|
| 407 |
+
order: _OrderKACF = ...,
|
| 408 |
+
dtype: DTypeLike = ...,
|
| 409 |
+
subok: bool = ...,
|
| 410 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 411 |
+
axes: list[_2Tuple[SupportsIndex]] = ...,
|
| 412 |
+
) -> Any: ...
|
| 413 |
+
@overload
|
| 414 |
+
def __call__(
|
| 415 |
+
self,
|
| 416 |
+
__x1: ArrayLike,
|
| 417 |
+
__x2: ArrayLike,
|
| 418 |
+
out: NDArray[Any] | tuple[NDArray[Any]],
|
| 419 |
+
*,
|
| 420 |
+
casting: _CastingKind = ...,
|
| 421 |
+
order: _OrderKACF = ...,
|
| 422 |
+
dtype: DTypeLike = ...,
|
| 423 |
+
subok: bool = ...,
|
| 424 |
+
signature: str | _3Tuple[None | str] = ...,
|
| 425 |
+
axes: list[_2Tuple[SupportsIndex]] = ...,
|
| 426 |
+
) -> NDArray[Any]: ...
|
player/runtime/python/Lib/site-packages/numpy/_utils/__init__.py
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
This is a module for defining private helpers which do not depend on the
|
| 3 |
+
rest of NumPy.
|
| 4 |
+
|
| 5 |
+
Everything in here must be self-contained so that it can be
|
| 6 |
+
imported anywhere else without creating circular imports.
|
| 7 |
+
If a utility requires the import of NumPy, it probably belongs
|
| 8 |
+
in ``numpy._core``.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import functools
|
| 12 |
+
import warnings
|
| 13 |
+
from ._convertions import asunicode, asbytes
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def set_module(module):
|
| 17 |
+
"""Private decorator for overriding __module__ on a function or class.
|
| 18 |
+
|
| 19 |
+
Example usage::
|
| 20 |
+
|
| 21 |
+
@set_module('numpy')
|
| 22 |
+
def example():
|
| 23 |
+
pass
|
| 24 |
+
|
| 25 |
+
assert example.__module__ == 'numpy'
|
| 26 |
+
"""
|
| 27 |
+
def decorator(func):
|
| 28 |
+
if module is not None:
|
| 29 |
+
func.__module__ = module
|
| 30 |
+
return func
|
| 31 |
+
return decorator
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def _rename_parameter(old_names, new_names, dep_version=None):
|
| 35 |
+
"""
|
| 36 |
+
Generate decorator for backward-compatible keyword renaming.
|
| 37 |
+
|
| 38 |
+
Apply the decorator generated by `_rename_parameter` to functions with a
|
| 39 |
+
renamed parameter to maintain backward-compatibility.
|
| 40 |
+
|
| 41 |
+
After decoration, the function behaves as follows:
|
| 42 |
+
If only the new parameter is passed into the function, behave as usual.
|
| 43 |
+
If only the old parameter is passed into the function (as a keyword), raise
|
| 44 |
+
a DeprecationWarning if `dep_version` is provided, and behave as usual
|
| 45 |
+
otherwise.
|
| 46 |
+
If both old and new parameters are passed into the function, raise a
|
| 47 |
+
DeprecationWarning if `dep_version` is provided, and raise the appropriate
|
| 48 |
+
TypeError (function got multiple values for argument).
|
| 49 |
+
|
| 50 |
+
Parameters
|
| 51 |
+
----------
|
| 52 |
+
old_names : list of str
|
| 53 |
+
Old names of parameters
|
| 54 |
+
new_name : list of str
|
| 55 |
+
New names of parameters
|
| 56 |
+
dep_version : str, optional
|
| 57 |
+
Version of NumPy in which old parameter was deprecated in the format
|
| 58 |
+
'X.Y.Z'. If supplied, the deprecation message will indicate that
|
| 59 |
+
support for the old parameter will be removed in version 'X.Y+2.Z'
|
| 60 |
+
|
| 61 |
+
Notes
|
| 62 |
+
-----
|
| 63 |
+
Untested with functions that accept *args. Probably won't work as written.
|
| 64 |
+
|
| 65 |
+
"""
|
| 66 |
+
def decorator(fun):
|
| 67 |
+
@functools.wraps(fun)
|
| 68 |
+
def wrapper(*args, **kwargs):
|
| 69 |
+
for old_name, new_name in zip(old_names, new_names):
|
| 70 |
+
if old_name in kwargs:
|
| 71 |
+
if dep_version:
|
| 72 |
+
end_version = dep_version.split('.')
|
| 73 |
+
end_version[1] = str(int(end_version[1]) + 2)
|
| 74 |
+
end_version = '.'.join(end_version)
|
| 75 |
+
msg = (f"Use of keyword argument `{old_name}` is "
|
| 76 |
+
f"deprecated and replaced by `{new_name}`. "
|
| 77 |
+
f"Support for `{old_name}` will be removed "
|
| 78 |
+
f"in NumPy {end_version}.")
|
| 79 |
+
warnings.warn(msg, DeprecationWarning, stacklevel=2)
|
| 80 |
+
if new_name in kwargs:
|
| 81 |
+
msg = (f"{fun.__name__}() got multiple values for "
|
| 82 |
+
f"argument now known as `{new_name}`")
|
| 83 |
+
raise TypeError(msg)
|
| 84 |
+
kwargs[new_name] = kwargs.pop(old_name)
|
| 85 |
+
return fun(*args, **kwargs)
|
| 86 |
+
return wrapper
|
| 87 |
+
return decorator
|
player/runtime/python/Lib/site-packages/numpy/_utils/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (3.94 kB). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_utils/__pycache__/_convertions.cpython-312.pyc
ADDED
|
Binary file (833 Bytes). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_utils/__pycache__/_inspect.cpython-312.pyc
ADDED
|
Binary file (9.42 kB). View file
|
|
|
player/runtime/python/Lib/site-packages/numpy/_utils/_convertions.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
A set of methods retained from np.compat module that
|
| 3 |
+
are still used across codebase.
|
| 4 |
+
"""
|
| 5 |
+
|
| 6 |
+
__all__ = ["asunicode", "asbytes"]
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def asunicode(s):
|
| 10 |
+
if isinstance(s, bytes):
|
| 11 |
+
return s.decode('latin1')
|
| 12 |
+
return str(s)
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def asbytes(s):
|
| 16 |
+
if isinstance(s, bytes):
|
| 17 |
+
return s
|
| 18 |
+
return str(s).encode('latin1')
|
player/runtime/python/Lib/site-packages/numpy/_utils/_inspect.py
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Subset of inspect module from upstream python
|
| 2 |
+
|
| 3 |
+
We use this instead of upstream because upstream inspect is slow to import, and
|
| 4 |
+
significantly contributes to numpy import times. Importing this copy has almost
|
| 5 |
+
no overhead.
|
| 6 |
+
|
| 7 |
+
"""
|
| 8 |
+
import types
|
| 9 |
+
|
| 10 |
+
__all__ = ['getargspec', 'formatargspec']
|
| 11 |
+
|
| 12 |
+
# ----------------------------------------------------------- type-checking
|
| 13 |
+
def ismethod(object):
|
| 14 |
+
"""Return true if the object is an instance method.
|
| 15 |
+
|
| 16 |
+
Instance method objects provide these attributes:
|
| 17 |
+
__doc__ documentation string
|
| 18 |
+
__name__ name with which this method was defined
|
| 19 |
+
im_class class object in which this method belongs
|
| 20 |
+
im_func function object containing implementation of method
|
| 21 |
+
im_self instance to which this method is bound, or None
|
| 22 |
+
|
| 23 |
+
"""
|
| 24 |
+
return isinstance(object, types.MethodType)
|
| 25 |
+
|
| 26 |
+
def isfunction(object):
|
| 27 |
+
"""Return true if the object is a user-defined function.
|
| 28 |
+
|
| 29 |
+
Function objects provide these attributes:
|
| 30 |
+
__doc__ documentation string
|
| 31 |
+
__name__ name with which this function was defined
|
| 32 |
+
func_code code object containing compiled function bytecode
|
| 33 |
+
func_defaults tuple of any default values for arguments
|
| 34 |
+
func_doc (same as __doc__)
|
| 35 |
+
func_globals global namespace in which this function was defined
|
| 36 |
+
func_name (same as __name__)
|
| 37 |
+
|
| 38 |
+
"""
|
| 39 |
+
return isinstance(object, types.FunctionType)
|
| 40 |
+
|
| 41 |
+
def iscode(object):
|
| 42 |
+
"""Return true if the object is a code object.
|
| 43 |
+
|
| 44 |
+
Code objects provide these attributes:
|
| 45 |
+
co_argcount number of arguments (not including * or ** args)
|
| 46 |
+
co_code string of raw compiled bytecode
|
| 47 |
+
co_consts tuple of constants used in the bytecode
|
| 48 |
+
co_filename name of file in which this code object was created
|
| 49 |
+
co_firstlineno number of first line in Python source code
|
| 50 |
+
co_flags bitmap: 1=optimized | 2=newlocals | 4=*arg | 8=**arg
|
| 51 |
+
co_lnotab encoded mapping of line numbers to bytecode indices
|
| 52 |
+
co_name name with which this code object was defined
|
| 53 |
+
co_names tuple of names of local variables
|
| 54 |
+
co_nlocals number of local variables
|
| 55 |
+
co_stacksize virtual machine stack space required
|
| 56 |
+
co_varnames tuple of names of arguments and local variables
|
| 57 |
+
|
| 58 |
+
"""
|
| 59 |
+
return isinstance(object, types.CodeType)
|
| 60 |
+
|
| 61 |
+
# ------------------------------------------------ argument list extraction
|
| 62 |
+
# These constants are from Python's compile.h.
|
| 63 |
+
CO_OPTIMIZED, CO_NEWLOCALS, CO_VARARGS, CO_VARKEYWORDS = 1, 2, 4, 8
|
| 64 |
+
|
| 65 |
+
def getargs(co):
|
| 66 |
+
"""Get information about the arguments accepted by a code object.
|
| 67 |
+
|
| 68 |
+
Three things are returned: (args, varargs, varkw), where 'args' is
|
| 69 |
+
a list of argument names (possibly containing nested lists), and
|
| 70 |
+
'varargs' and 'varkw' are the names of the * and ** arguments or None.
|
| 71 |
+
|
| 72 |
+
"""
|
| 73 |
+
|
| 74 |
+
if not iscode(co):
|
| 75 |
+
raise TypeError('arg is not a code object')
|
| 76 |
+
|
| 77 |
+
nargs = co.co_argcount
|
| 78 |
+
names = co.co_varnames
|
| 79 |
+
args = list(names[:nargs])
|
| 80 |
+
|
| 81 |
+
# The following acrobatics are for anonymous (tuple) arguments.
|
| 82 |
+
# Which we do not need to support, so remove to avoid importing
|
| 83 |
+
# the dis module.
|
| 84 |
+
for i in range(nargs):
|
| 85 |
+
if args[i][:1] in ['', '.']:
|
| 86 |
+
raise TypeError("tuple function arguments are not supported")
|
| 87 |
+
varargs = None
|
| 88 |
+
if co.co_flags & CO_VARARGS:
|
| 89 |
+
varargs = co.co_varnames[nargs]
|
| 90 |
+
nargs = nargs + 1
|
| 91 |
+
varkw = None
|
| 92 |
+
if co.co_flags & CO_VARKEYWORDS:
|
| 93 |
+
varkw = co.co_varnames[nargs]
|
| 94 |
+
return args, varargs, varkw
|
| 95 |
+
|
| 96 |
+
def getargspec(func):
|
| 97 |
+
"""Get the names and default values of a function's arguments.
|
| 98 |
+
|
| 99 |
+
A tuple of four things is returned: (args, varargs, varkw, defaults).
|
| 100 |
+
'args' is a list of the argument names (it may contain nested lists).
|
| 101 |
+
'varargs' and 'varkw' are the names of the * and ** arguments or None.
|
| 102 |
+
'defaults' is an n-tuple of the default values of the last n arguments.
|
| 103 |
+
|
| 104 |
+
"""
|
| 105 |
+
|
| 106 |
+
if ismethod(func):
|
| 107 |
+
func = func.__func__
|
| 108 |
+
if not isfunction(func):
|
| 109 |
+
raise TypeError('arg is not a Python function')
|
| 110 |
+
args, varargs, varkw = getargs(func.__code__)
|
| 111 |
+
return args, varargs, varkw, func.__defaults__
|
| 112 |
+
|
| 113 |
+
def getargvalues(frame):
|
| 114 |
+
"""Get information about arguments passed into a particular frame.
|
| 115 |
+
|
| 116 |
+
A tuple of four things is returned: (args, varargs, varkw, locals).
|
| 117 |
+
'args' is a list of the argument names (it may contain nested lists).
|
| 118 |
+
'varargs' and 'varkw' are the names of the * and ** arguments or None.
|
| 119 |
+
'locals' is the locals dictionary of the given frame.
|
| 120 |
+
|
| 121 |
+
"""
|
| 122 |
+
args, varargs, varkw = getargs(frame.f_code)
|
| 123 |
+
return args, varargs, varkw, frame.f_locals
|
| 124 |
+
|
| 125 |
+
def joinseq(seq):
|
| 126 |
+
if len(seq) == 1:
|
| 127 |
+
return '(' + seq[0] + ',)'
|
| 128 |
+
else:
|
| 129 |
+
return '(' + ', '.join(seq) + ')'
|
| 130 |
+
|
| 131 |
+
def strseq(object, convert, join=joinseq):
|
| 132 |
+
"""Recursively walk a sequence, stringifying each element.
|
| 133 |
+
|
| 134 |
+
"""
|
| 135 |
+
if type(object) in [list, tuple]:
|
| 136 |
+
return join([strseq(_o, convert, join) for _o in object])
|
| 137 |
+
else:
|
| 138 |
+
return convert(object)
|
| 139 |
+
|
| 140 |
+
def formatargspec(args, varargs=None, varkw=None, defaults=None,
|
| 141 |
+
formatarg=str,
|
| 142 |
+
formatvarargs=lambda name: '*' + name,
|
| 143 |
+
formatvarkw=lambda name: '**' + name,
|
| 144 |
+
formatvalue=lambda value: '=' + repr(value),
|
| 145 |
+
join=joinseq):
|
| 146 |
+
"""Format an argument spec from the 4 values returned by getargspec.
|
| 147 |
+
|
| 148 |
+
The first four arguments are (args, varargs, varkw, defaults). The
|
| 149 |
+
other four arguments are the corresponding optional formatting functions
|
| 150 |
+
that are called to turn names and values into strings. The ninth
|
| 151 |
+
argument is an optional function to format the sequence of arguments.
|
| 152 |
+
|
| 153 |
+
"""
|
| 154 |
+
specs = []
|
| 155 |
+
if defaults:
|
| 156 |
+
firstdefault = len(args) - len(defaults)
|
| 157 |
+
for i in range(len(args)):
|
| 158 |
+
spec = strseq(args[i], formatarg, join)
|
| 159 |
+
if defaults and i >= firstdefault:
|
| 160 |
+
spec = spec + formatvalue(defaults[i - firstdefault])
|
| 161 |
+
specs.append(spec)
|
| 162 |
+
if varargs is not None:
|
| 163 |
+
specs.append(formatvarargs(varargs))
|
| 164 |
+
if varkw is not None:
|
| 165 |
+
specs.append(formatvarkw(varkw))
|
| 166 |
+
return '(' + ', '.join(specs) + ')'
|
| 167 |
+
|
| 168 |
+
def formatargvalues(args, varargs, varkw, locals,
|
| 169 |
+
formatarg=str,
|
| 170 |
+
formatvarargs=lambda name: '*' + name,
|
| 171 |
+
formatvarkw=lambda name: '**' + name,
|
| 172 |
+
formatvalue=lambda value: '=' + repr(value),
|
| 173 |
+
join=joinseq):
|
| 174 |
+
"""Format an argument spec from the 4 values returned by getargvalues.
|
| 175 |
+
|
| 176 |
+
The first four arguments are (args, varargs, varkw, locals). The
|
| 177 |
+
next four arguments are the corresponding optional formatting functions
|
| 178 |
+
that are called to turn names and values into strings. The ninth
|
| 179 |
+
argument is an optional function to format the sequence of arguments.
|
| 180 |
+
|
| 181 |
+
"""
|
| 182 |
+
def convert(name, locals=locals,
|
| 183 |
+
formatarg=formatarg, formatvalue=formatvalue):
|
| 184 |
+
return formatarg(name) + formatvalue(locals[name])
|
| 185 |
+
specs = [strseq(arg, convert, join) for arg in args]
|
| 186 |
+
|
| 187 |
+
if varargs:
|
| 188 |
+
specs.append(formatvarargs(varargs) + formatvalue(locals[varargs]))
|
| 189 |
+
if varkw:
|
| 190 |
+
specs.append(formatvarkw(varkw) + formatvalue(locals[varkw]))
|
| 191 |
+
return '(' + ', '.join(specs) + ')'
|
player/runtime/python/Lib/site-packages/numpy/_utils/_pep440.py
ADDED
|
@@ -0,0 +1,487 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Utility to compare pep440 compatible version strings.
|
| 2 |
+
|
| 3 |
+
The LooseVersion and StrictVersion classes that distutils provides don't
|
| 4 |
+
work; they don't recognize anything like alpha/beta/rc/dev versions.
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
# Copyright (c) Donald Stufft and individual contributors.
|
| 8 |
+
# All rights reserved.
|
| 9 |
+
|
| 10 |
+
# Redistribution and use in source and binary forms, with or without
|
| 11 |
+
# modification, are permitted provided that the following conditions are met:
|
| 12 |
+
|
| 13 |
+
# 1. Redistributions of source code must retain the above copyright notice,
|
| 14 |
+
# this list of conditions and the following disclaimer.
|
| 15 |
+
|
| 16 |
+
# 2. Redistributions in binary form must reproduce the above copyright
|
| 17 |
+
# notice, this list of conditions and the following disclaimer in the
|
| 18 |
+
# documentation and/or other materials provided with the distribution.
|
| 19 |
+
|
| 20 |
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 21 |
+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 22 |
+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 23 |
+
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
| 24 |
+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 25 |
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 26 |
+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 27 |
+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 28 |
+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 29 |
+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 30 |
+
# POSSIBILITY OF SUCH DAMAGE.
|
| 31 |
+
|
| 32 |
+
import collections
|
| 33 |
+
import itertools
|
| 34 |
+
import re
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
__all__ = [
|
| 38 |
+
"parse", "Version", "LegacyVersion", "InvalidVersion", "VERSION_PATTERN",
|
| 39 |
+
]
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
# BEGIN packaging/_structures.py
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
class Infinity:
|
| 46 |
+
def __repr__(self):
|
| 47 |
+
return "Infinity"
|
| 48 |
+
|
| 49 |
+
def __hash__(self):
|
| 50 |
+
return hash(repr(self))
|
| 51 |
+
|
| 52 |
+
def __lt__(self, other):
|
| 53 |
+
return False
|
| 54 |
+
|
| 55 |
+
def __le__(self, other):
|
| 56 |
+
return False
|
| 57 |
+
|
| 58 |
+
def __eq__(self, other):
|
| 59 |
+
return isinstance(other, self.__class__)
|
| 60 |
+
|
| 61 |
+
def __ne__(self, other):
|
| 62 |
+
return not isinstance(other, self.__class__)
|
| 63 |
+
|
| 64 |
+
def __gt__(self, other):
|
| 65 |
+
return True
|
| 66 |
+
|
| 67 |
+
def __ge__(self, other):
|
| 68 |
+
return True
|
| 69 |
+
|
| 70 |
+
def __neg__(self):
|
| 71 |
+
return NegativeInfinity
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
Infinity = Infinity()
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
class NegativeInfinity:
|
| 78 |
+
def __repr__(self):
|
| 79 |
+
return "-Infinity"
|
| 80 |
+
|
| 81 |
+
def __hash__(self):
|
| 82 |
+
return hash(repr(self))
|
| 83 |
+
|
| 84 |
+
def __lt__(self, other):
|
| 85 |
+
return True
|
| 86 |
+
|
| 87 |
+
def __le__(self, other):
|
| 88 |
+
return True
|
| 89 |
+
|
| 90 |
+
def __eq__(self, other):
|
| 91 |
+
return isinstance(other, self.__class__)
|
| 92 |
+
|
| 93 |
+
def __ne__(self, other):
|
| 94 |
+
return not isinstance(other, self.__class__)
|
| 95 |
+
|
| 96 |
+
def __gt__(self, other):
|
| 97 |
+
return False
|
| 98 |
+
|
| 99 |
+
def __ge__(self, other):
|
| 100 |
+
return False
|
| 101 |
+
|
| 102 |
+
def __neg__(self):
|
| 103 |
+
return Infinity
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
# BEGIN packaging/version.py
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
NegativeInfinity = NegativeInfinity()
|
| 110 |
+
|
| 111 |
+
_Version = collections.namedtuple(
|
| 112 |
+
"_Version",
|
| 113 |
+
["epoch", "release", "dev", "pre", "post", "local"],
|
| 114 |
+
)
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
def parse(version):
|
| 118 |
+
"""
|
| 119 |
+
Parse the given version string and return either a :class:`Version` object
|
| 120 |
+
or a :class:`LegacyVersion` object depending on if the given version is
|
| 121 |
+
a valid PEP 440 version or a legacy version.
|
| 122 |
+
"""
|
| 123 |
+
try:
|
| 124 |
+
return Version(version)
|
| 125 |
+
except InvalidVersion:
|
| 126 |
+
return LegacyVersion(version)
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
class InvalidVersion(ValueError):
|
| 130 |
+
"""
|
| 131 |
+
An invalid version was found, users should refer to PEP 440.
|
| 132 |
+
"""
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
class _BaseVersion:
|
| 136 |
+
|
| 137 |
+
def __hash__(self):
|
| 138 |
+
return hash(self._key)
|
| 139 |
+
|
| 140 |
+
def __lt__(self, other):
|
| 141 |
+
return self._compare(other, lambda s, o: s < o)
|
| 142 |
+
|
| 143 |
+
def __le__(self, other):
|
| 144 |
+
return self._compare(other, lambda s, o: s <= o)
|
| 145 |
+
|
| 146 |
+
def __eq__(self, other):
|
| 147 |
+
return self._compare(other, lambda s, o: s == o)
|
| 148 |
+
|
| 149 |
+
def __ge__(self, other):
|
| 150 |
+
return self._compare(other, lambda s, o: s >= o)
|
| 151 |
+
|
| 152 |
+
def __gt__(self, other):
|
| 153 |
+
return self._compare(other, lambda s, o: s > o)
|
| 154 |
+
|
| 155 |
+
def __ne__(self, other):
|
| 156 |
+
return self._compare(other, lambda s, o: s != o)
|
| 157 |
+
|
| 158 |
+
def _compare(self, other, method):
|
| 159 |
+
if not isinstance(other, _BaseVersion):
|
| 160 |
+
return NotImplemented
|
| 161 |
+
|
| 162 |
+
return method(self._key, other._key)
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
class LegacyVersion(_BaseVersion):
|
| 166 |
+
|
| 167 |
+
def __init__(self, version):
|
| 168 |
+
self._version = str(version)
|
| 169 |
+
self._key = _legacy_cmpkey(self._version)
|
| 170 |
+
|
| 171 |
+
def __str__(self):
|
| 172 |
+
return self._version
|
| 173 |
+
|
| 174 |
+
def __repr__(self):
|
| 175 |
+
return "<LegacyVersion({0})>".format(repr(str(self)))
|
| 176 |
+
|
| 177 |
+
@property
|
| 178 |
+
def public(self):
|
| 179 |
+
return self._version
|
| 180 |
+
|
| 181 |
+
@property
|
| 182 |
+
def base_version(self):
|
| 183 |
+
return self._version
|
| 184 |
+
|
| 185 |
+
@property
|
| 186 |
+
def local(self):
|
| 187 |
+
return None
|
| 188 |
+
|
| 189 |
+
@property
|
| 190 |
+
def is_prerelease(self):
|
| 191 |
+
return False
|
| 192 |
+
|
| 193 |
+
@property
|
| 194 |
+
def is_postrelease(self):
|
| 195 |
+
return False
|
| 196 |
+
|
| 197 |
+
|
| 198 |
+
_legacy_version_component_re = re.compile(
|
| 199 |
+
r"(\d+ | [a-z]+ | \.| -)", re.VERBOSE,
|
| 200 |
+
)
|
| 201 |
+
|
| 202 |
+
_legacy_version_replacement_map = {
|
| 203 |
+
"pre": "c", "preview": "c", "-": "final-", "rc": "c", "dev": "@",
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
|
| 207 |
+
def _parse_version_parts(s):
|
| 208 |
+
for part in _legacy_version_component_re.split(s):
|
| 209 |
+
part = _legacy_version_replacement_map.get(part, part)
|
| 210 |
+
|
| 211 |
+
if not part or part == ".":
|
| 212 |
+
continue
|
| 213 |
+
|
| 214 |
+
if part[:1] in "0123456789":
|
| 215 |
+
# pad for numeric comparison
|
| 216 |
+
yield part.zfill(8)
|
| 217 |
+
else:
|
| 218 |
+
yield "*" + part
|
| 219 |
+
|
| 220 |
+
# ensure that alpha/beta/candidate are before final
|
| 221 |
+
yield "*final"
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
def _legacy_cmpkey(version):
|
| 225 |
+
# We hardcode an epoch of -1 here. A PEP 440 version can only have an epoch
|
| 226 |
+
# greater than or equal to 0. This will effectively put the LegacyVersion,
|
| 227 |
+
# which uses the defacto standard originally implemented by setuptools,
|
| 228 |
+
# as before all PEP 440 versions.
|
| 229 |
+
epoch = -1
|
| 230 |
+
|
| 231 |
+
# This scheme is taken from pkg_resources.parse_version setuptools prior to
|
| 232 |
+
# its adoption of the packaging library.
|
| 233 |
+
parts = []
|
| 234 |
+
for part in _parse_version_parts(version.lower()):
|
| 235 |
+
if part.startswith("*"):
|
| 236 |
+
# remove "-" before a prerelease tag
|
| 237 |
+
if part < "*final":
|
| 238 |
+
while parts and parts[-1] == "*final-":
|
| 239 |
+
parts.pop()
|
| 240 |
+
|
| 241 |
+
# remove trailing zeros from each series of numeric parts
|
| 242 |
+
while parts and parts[-1] == "00000000":
|
| 243 |
+
parts.pop()
|
| 244 |
+
|
| 245 |
+
parts.append(part)
|
| 246 |
+
parts = tuple(parts)
|
| 247 |
+
|
| 248 |
+
return epoch, parts
|
| 249 |
+
|
| 250 |
+
|
| 251 |
+
# Deliberately not anchored to the start and end of the string, to make it
|
| 252 |
+
# easier for 3rd party code to reuse
|
| 253 |
+
VERSION_PATTERN = r"""
|
| 254 |
+
v?
|
| 255 |
+
(?:
|
| 256 |
+
(?:(?P<epoch>[0-9]+)!)? # epoch
|
| 257 |
+
(?P<release>[0-9]+(?:\.[0-9]+)*) # release segment
|
| 258 |
+
(?P<pre> # pre-release
|
| 259 |
+
[-_\.]?
|
| 260 |
+
(?P<pre_l>(a|b|c|rc|alpha|beta|pre|preview))
|
| 261 |
+
[-_\.]?
|
| 262 |
+
(?P<pre_n>[0-9]+)?
|
| 263 |
+
)?
|
| 264 |
+
(?P<post> # post release
|
| 265 |
+
(?:-(?P<post_n1>[0-9]+))
|
| 266 |
+
|
|
| 267 |
+
(?:
|
| 268 |
+
[-_\.]?
|
| 269 |
+
(?P<post_l>post|rev|r)
|
| 270 |
+
[-_\.]?
|
| 271 |
+
(?P<post_n2>[0-9]+)?
|
| 272 |
+
)
|
| 273 |
+
)?
|
| 274 |
+
(?P<dev> # dev release
|
| 275 |
+
[-_\.]?
|
| 276 |
+
(?P<dev_l>dev)
|
| 277 |
+
[-_\.]?
|
| 278 |
+
(?P<dev_n>[0-9]+)?
|
| 279 |
+
)?
|
| 280 |
+
)
|
| 281 |
+
(?:\+(?P<local>[a-z0-9]+(?:[-_\.][a-z0-9]+)*))? # local version
|
| 282 |
+
"""
|
| 283 |
+
|
| 284 |
+
|
| 285 |
+
class Version(_BaseVersion):
|
| 286 |
+
|
| 287 |
+
_regex = re.compile(
|
| 288 |
+
r"^\s*" + VERSION_PATTERN + r"\s*$",
|
| 289 |
+
re.VERBOSE | re.IGNORECASE,
|
| 290 |
+
)
|
| 291 |
+
|
| 292 |
+
def __init__(self, version):
|
| 293 |
+
# Validate the version and parse it into pieces
|
| 294 |
+
match = self._regex.search(version)
|
| 295 |
+
if not match:
|
| 296 |
+
raise InvalidVersion("Invalid version: '{0}'".format(version))
|
| 297 |
+
|
| 298 |
+
# Store the parsed out pieces of the version
|
| 299 |
+
self._version = _Version(
|
| 300 |
+
epoch=int(match.group("epoch")) if match.group("epoch") else 0,
|
| 301 |
+
release=tuple(int(i) for i in match.group("release").split(".")),
|
| 302 |
+
pre=_parse_letter_version(
|
| 303 |
+
match.group("pre_l"),
|
| 304 |
+
match.group("pre_n"),
|
| 305 |
+
),
|
| 306 |
+
post=_parse_letter_version(
|
| 307 |
+
match.group("post_l"),
|
| 308 |
+
match.group("post_n1") or match.group("post_n2"),
|
| 309 |
+
),
|
| 310 |
+
dev=_parse_letter_version(
|
| 311 |
+
match.group("dev_l"),
|
| 312 |
+
match.group("dev_n"),
|
| 313 |
+
),
|
| 314 |
+
local=_parse_local_version(match.group("local")),
|
| 315 |
+
)
|
| 316 |
+
|
| 317 |
+
# Generate a key which will be used for sorting
|
| 318 |
+
self._key = _cmpkey(
|
| 319 |
+
self._version.epoch,
|
| 320 |
+
self._version.release,
|
| 321 |
+
self._version.pre,
|
| 322 |
+
self._version.post,
|
| 323 |
+
self._version.dev,
|
| 324 |
+
self._version.local,
|
| 325 |
+
)
|
| 326 |
+
|
| 327 |
+
def __repr__(self):
|
| 328 |
+
return "<Version({0})>".format(repr(str(self)))
|
| 329 |
+
|
| 330 |
+
def __str__(self):
|
| 331 |
+
parts = []
|
| 332 |
+
|
| 333 |
+
# Epoch
|
| 334 |
+
if self._version.epoch != 0:
|
| 335 |
+
parts.append("{0}!".format(self._version.epoch))
|
| 336 |
+
|
| 337 |
+
# Release segment
|
| 338 |
+
parts.append(".".join(str(x) for x in self._version.release))
|
| 339 |
+
|
| 340 |
+
# Pre-release
|
| 341 |
+
if self._version.pre is not None:
|
| 342 |
+
parts.append("".join(str(x) for x in self._version.pre))
|
| 343 |
+
|
| 344 |
+
# Post-release
|
| 345 |
+
if self._version.post is not None:
|
| 346 |
+
parts.append(".post{0}".format(self._version.post[1]))
|
| 347 |
+
|
| 348 |
+
# Development release
|
| 349 |
+
if self._version.dev is not None:
|
| 350 |
+
parts.append(".dev{0}".format(self._version.dev[1]))
|
| 351 |
+
|
| 352 |
+
# Local version segment
|
| 353 |
+
if self._version.local is not None:
|
| 354 |
+
parts.append(
|
| 355 |
+
"+{0}".format(".".join(str(x) for x in self._version.local))
|
| 356 |
+
)
|
| 357 |
+
|
| 358 |
+
return "".join(parts)
|
| 359 |
+
|
| 360 |
+
@property
|
| 361 |
+
def public(self):
|
| 362 |
+
return str(self).split("+", 1)[0]
|
| 363 |
+
|
| 364 |
+
@property
|
| 365 |
+
def base_version(self):
|
| 366 |
+
parts = []
|
| 367 |
+
|
| 368 |
+
# Epoch
|
| 369 |
+
if self._version.epoch != 0:
|
| 370 |
+
parts.append("{0}!".format(self._version.epoch))
|
| 371 |
+
|
| 372 |
+
# Release segment
|
| 373 |
+
parts.append(".".join(str(x) for x in self._version.release))
|
| 374 |
+
|
| 375 |
+
return "".join(parts)
|
| 376 |
+
|
| 377 |
+
@property
|
| 378 |
+
def local(self):
|
| 379 |
+
version_string = str(self)
|
| 380 |
+
if "+" in version_string:
|
| 381 |
+
return version_string.split("+", 1)[1]
|
| 382 |
+
|
| 383 |
+
@property
|
| 384 |
+
def is_prerelease(self):
|
| 385 |
+
return bool(self._version.dev or self._version.pre)
|
| 386 |
+
|
| 387 |
+
@property
|
| 388 |
+
def is_postrelease(self):
|
| 389 |
+
return bool(self._version.post)
|
| 390 |
+
|
| 391 |
+
|
| 392 |
+
def _parse_letter_version(letter, number):
|
| 393 |
+
if letter:
|
| 394 |
+
# We assume there is an implicit 0 in a pre-release if there is
|
| 395 |
+
# no numeral associated with it.
|
| 396 |
+
if number is None:
|
| 397 |
+
number = 0
|
| 398 |
+
|
| 399 |
+
# We normalize any letters to their lower-case form
|
| 400 |
+
letter = letter.lower()
|
| 401 |
+
|
| 402 |
+
# We consider some words to be alternate spellings of other words and
|
| 403 |
+
# in those cases we want to normalize the spellings to our preferred
|
| 404 |
+
# spelling.
|
| 405 |
+
if letter == "alpha":
|
| 406 |
+
letter = "a"
|
| 407 |
+
elif letter == "beta":
|
| 408 |
+
letter = "b"
|
| 409 |
+
elif letter in ["c", "pre", "preview"]:
|
| 410 |
+
letter = "rc"
|
| 411 |
+
elif letter in ["rev", "r"]:
|
| 412 |
+
letter = "post"
|
| 413 |
+
|
| 414 |
+
return letter, int(number)
|
| 415 |
+
if not letter and number:
|
| 416 |
+
# We assume that if we are given a number but not given a letter,
|
| 417 |
+
# then this is using the implicit post release syntax (e.g., 1.0-1)
|
| 418 |
+
letter = "post"
|
| 419 |
+
|
| 420 |
+
return letter, int(number)
|
| 421 |
+
|
| 422 |
+
|
| 423 |
+
_local_version_seperators = re.compile(r"[\._-]")
|
| 424 |
+
|
| 425 |
+
|
| 426 |
+
def _parse_local_version(local):
|
| 427 |
+
"""
|
| 428 |
+
Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
|
| 429 |
+
"""
|
| 430 |
+
if local is not None:
|
| 431 |
+
return tuple(
|
| 432 |
+
part.lower() if not part.isdigit() else int(part)
|
| 433 |
+
for part in _local_version_seperators.split(local)
|
| 434 |
+
)
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _cmpkey(epoch, release, pre, post, dev, local):
|
| 438 |
+
# When we compare a release version, we want to compare it with all of the
|
| 439 |
+
# trailing zeros removed. So we'll use a reverse the list, drop all the now
|
| 440 |
+
# leading zeros until we come to something non-zero, then take the rest,
|
| 441 |
+
# re-reverse it back into the correct order, and make it a tuple and use
|
| 442 |
+
# that for our sorting key.
|
| 443 |
+
release = tuple(
|
| 444 |
+
reversed(list(
|
| 445 |
+
itertools.dropwhile(
|
| 446 |
+
lambda x: x == 0,
|
| 447 |
+
reversed(release),
|
| 448 |
+
)
|
| 449 |
+
))
|
| 450 |
+
)
|
| 451 |
+
|
| 452 |
+
# We need to "trick" the sorting algorithm to put 1.0.dev0 before 1.0a0.
|
| 453 |
+
# We'll do this by abusing the pre-segment, but we _only_ want to do this
|
| 454 |
+
# if there is no pre- or a post-segment. If we have one of those, then
|
| 455 |
+
# the normal sorting rules will handle this case correctly.
|
| 456 |
+
if pre is None and post is None and dev is not None:
|
| 457 |
+
pre = -Infinity
|
| 458 |
+
# Versions without a pre-release (except as noted above) should sort after
|
| 459 |
+
# those with one.
|
| 460 |
+
elif pre is None:
|
| 461 |
+
pre = Infinity
|
| 462 |
+
|
| 463 |
+
# Versions without a post-segment should sort before those with one.
|
| 464 |
+
if post is None:
|
| 465 |
+
post = -Infinity
|
| 466 |
+
|
| 467 |
+
# Versions without a development segment should sort after those with one.
|
| 468 |
+
if dev is None:
|
| 469 |
+
dev = Infinity
|
| 470 |
+
|
| 471 |
+
if local is None:
|
| 472 |
+
# Versions without a local segment should sort before those with one.
|
| 473 |
+
local = -Infinity
|
| 474 |
+
else:
|
| 475 |
+
# Versions with a local segment need that segment parsed to implement
|
| 476 |
+
# the sorting rules in PEP440.
|
| 477 |
+
# - Alphanumeric segments sort before numeric segments
|
| 478 |
+
# - Alphanumeric segments sort lexicographically
|
| 479 |
+
# - Numeric segments sort numerically
|
| 480 |
+
# - Shorter versions sort before longer versions when the prefixes
|
| 481 |
+
# match exactly
|
| 482 |
+
local = tuple(
|
| 483 |
+
(i, "") if isinstance(i, int) else (-Infinity, i)
|
| 484 |
+
for i in local
|
| 485 |
+
)
|
| 486 |
+
|
| 487 |
+
return epoch, release, pre, post, dev, local
|
player/runtime/python/Lib/site-packages/numpy/char/__init__.py
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from numpy._core.defchararray import __all__, __doc__
|
| 2 |
+
from numpy._core.defchararray import *
|
player/runtime/python/Lib/site-packages/numpy/char/__init__.pyi
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from numpy._core.defchararray import (
|
| 2 |
+
equal as equal,
|
| 3 |
+
not_equal as not_equal,
|
| 4 |
+
greater_equal as greater_equal,
|
| 5 |
+
less_equal as less_equal,
|
| 6 |
+
greater as greater,
|
| 7 |
+
less as less,
|
| 8 |
+
str_len as str_len,
|
| 9 |
+
add as add,
|
| 10 |
+
multiply as multiply,
|
| 11 |
+
mod as mod,
|
| 12 |
+
capitalize as capitalize,
|
| 13 |
+
center as center,
|
| 14 |
+
count as count,
|
| 15 |
+
decode as decode,
|
| 16 |
+
encode as encode,
|
| 17 |
+
endswith as endswith,
|
| 18 |
+
expandtabs as expandtabs,
|
| 19 |
+
find as find,
|
| 20 |
+
index as index,
|
| 21 |
+
isalnum as isalnum,
|
| 22 |
+
isalpha as isalpha,
|
| 23 |
+
isdigit as isdigit,
|
| 24 |
+
islower as islower,
|
| 25 |
+
isspace as isspace,
|
| 26 |
+
istitle as istitle,
|
| 27 |
+
isupper as isupper,
|
| 28 |
+
join as join,
|
| 29 |
+
ljust as ljust,
|
| 30 |
+
lower as lower,
|
| 31 |
+
lstrip as lstrip,
|
| 32 |
+
partition as partition,
|
| 33 |
+
replace as replace,
|
| 34 |
+
rfind as rfind,
|
| 35 |
+
rindex as rindex,
|
| 36 |
+
rjust as rjust,
|
| 37 |
+
rpartition as rpartition,
|
| 38 |
+
rsplit as rsplit,
|
| 39 |
+
rstrip as rstrip,
|
| 40 |
+
split as split,
|
| 41 |
+
splitlines as splitlines,
|
| 42 |
+
startswith as startswith,
|
| 43 |
+
strip as strip,
|
| 44 |
+
swapcase as swapcase,
|
| 45 |
+
title as title,
|
| 46 |
+
translate as translate,
|
| 47 |
+
upper as upper,
|
| 48 |
+
zfill as zfill,
|
| 49 |
+
isnumeric as isnumeric,
|
| 50 |
+
isdecimal as isdecimal,
|
| 51 |
+
array as array,
|
| 52 |
+
asarray as asarray,
|
| 53 |
+
compare_chararrays as compare_chararrays,
|
| 54 |
+
chararray as chararray
|
| 55 |
+
)
|
| 56 |
+
|
| 57 |
+
__all__: list[str]
|
player/runtime/python/Lib/site-packages/numpy/compat/__init__.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Compatibility module.
|
| 3 |
+
|
| 4 |
+
This module contains duplicated code from Python itself or 3rd party
|
| 5 |
+
extensions, which may be included for the following reasons:
|
| 6 |
+
|
| 7 |
+
* compatibility
|
| 8 |
+
* we may only need a small subset of the copied library/module
|
| 9 |
+
|
| 10 |
+
This module is deprecated since 1.26.0 and will be removed in future versions.
|
| 11 |
+
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
import warnings
|
| 15 |
+
|
| 16 |
+
from .._utils import _inspect
|
| 17 |
+
from .._utils._inspect import getargspec, formatargspec
|
| 18 |
+
from . import py3k
|
| 19 |
+
from .py3k import *
|
| 20 |
+
|
| 21 |
+
warnings.warn(
|
| 22 |
+
"`np.compat`, which was used during the Python 2 to 3 transition,"
|
| 23 |
+
" is deprecated since 1.26.0, and will be removed",
|
| 24 |
+
DeprecationWarning, stacklevel=2
|
| 25 |
+
)
|
| 26 |
+
|
| 27 |
+
__all__ = []
|
| 28 |
+
__all__.extend(_inspect.__all__)
|
| 29 |
+
__all__.extend(py3k.__all__)
|
player/runtime/python/Lib/site-packages/numpy/compat/py3k.py
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Python 3.X compatibility tools.
|
| 3 |
+
|
| 4 |
+
While this file was originally intended for Python 2 -> 3 transition,
|
| 5 |
+
it is now used to create a compatibility layer between different
|
| 6 |
+
minor versions of Python 3.
|
| 7 |
+
|
| 8 |
+
While the active version of numpy may not support a given version of python, we
|
| 9 |
+
allow downstream libraries to continue to use these shims for forward
|
| 10 |
+
compatibility with numpy while they transition their code to newer versions of
|
| 11 |
+
Python.
|
| 12 |
+
"""
|
| 13 |
+
__all__ = ['bytes', 'asbytes', 'isfileobj', 'getexception', 'strchar',
|
| 14 |
+
'unicode', 'asunicode', 'asbytes_nested', 'asunicode_nested',
|
| 15 |
+
'asstr', 'open_latin1', 'long', 'basestring', 'sixu',
|
| 16 |
+
'integer_types', 'is_pathlib_path', 'npy_load_module', 'Path',
|
| 17 |
+
'pickle', 'contextlib_nullcontext', 'os_fspath', 'os_PathLike']
|
| 18 |
+
|
| 19 |
+
import sys
|
| 20 |
+
import os
|
| 21 |
+
from pathlib import Path
|
| 22 |
+
import io
|
| 23 |
+
try:
|
| 24 |
+
import pickle5 as pickle
|
| 25 |
+
except ImportError:
|
| 26 |
+
import pickle
|
| 27 |
+
|
| 28 |
+
long = int
|
| 29 |
+
integer_types = (int,)
|
| 30 |
+
basestring = str
|
| 31 |
+
unicode = str
|
| 32 |
+
bytes = bytes
|
| 33 |
+
|
| 34 |
+
def asunicode(s):
|
| 35 |
+
if isinstance(s, bytes):
|
| 36 |
+
return s.decode('latin1')
|
| 37 |
+
return str(s)
|
| 38 |
+
|
| 39 |
+
def asbytes(s):
|
| 40 |
+
if isinstance(s, bytes):
|
| 41 |
+
return s
|
| 42 |
+
return str(s).encode('latin1')
|
| 43 |
+
|
| 44 |
+
def asstr(s):
|
| 45 |
+
if isinstance(s, bytes):
|
| 46 |
+
return s.decode('latin1')
|
| 47 |
+
return str(s)
|
| 48 |
+
|
| 49 |
+
def isfileobj(f):
|
| 50 |
+
if not isinstance(f, (io.FileIO, io.BufferedReader, io.BufferedWriter)):
|
| 51 |
+
return False
|
| 52 |
+
try:
|
| 53 |
+
# BufferedReader/Writer may raise OSError when
|
| 54 |
+
# fetching `fileno()` (e.g. when wrapping BytesIO).
|
| 55 |
+
f.fileno()
|
| 56 |
+
return True
|
| 57 |
+
except OSError:
|
| 58 |
+
return False
|
| 59 |
+
|
| 60 |
+
def open_latin1(filename, mode='r'):
|
| 61 |
+
return open(filename, mode=mode, encoding='iso-8859-1')
|
| 62 |
+
|
| 63 |
+
def sixu(s):
|
| 64 |
+
return s
|
| 65 |
+
|
| 66 |
+
strchar = 'U'
|
| 67 |
+
|
| 68 |
+
def getexception():
|
| 69 |
+
return sys.exc_info()[1]
|
| 70 |
+
|
| 71 |
+
def asbytes_nested(x):
|
| 72 |
+
if hasattr(x, '__iter__') and not isinstance(x, (bytes, unicode)):
|
| 73 |
+
return [asbytes_nested(y) for y in x]
|
| 74 |
+
else:
|
| 75 |
+
return asbytes(x)
|
| 76 |
+
|
| 77 |
+
def asunicode_nested(x):
|
| 78 |
+
if hasattr(x, '__iter__') and not isinstance(x, (bytes, unicode)):
|
| 79 |
+
return [asunicode_nested(y) for y in x]
|
| 80 |
+
else:
|
| 81 |
+
return asunicode(x)
|
| 82 |
+
|
| 83 |
+
def is_pathlib_path(obj):
|
| 84 |
+
"""
|
| 85 |
+
Check whether obj is a `pathlib.Path` object.
|
| 86 |
+
|
| 87 |
+
Prefer using ``isinstance(obj, os.PathLike)`` instead of this function.
|
| 88 |
+
"""
|
| 89 |
+
return isinstance(obj, Path)
|
| 90 |
+
|
| 91 |
+
# from Python 3.7
|
| 92 |
+
class contextlib_nullcontext:
|
| 93 |
+
"""Context manager that does no additional processing.
|
| 94 |
+
|
| 95 |
+
Used as a stand-in for a normal context manager, when a particular
|
| 96 |
+
block of code is only sometimes used with a normal context manager:
|
| 97 |
+
|
| 98 |
+
cm = optional_cm if condition else nullcontext()
|
| 99 |
+
with cm:
|
| 100 |
+
# Perform operation, using optional_cm if condition is True
|
| 101 |
+
|
| 102 |
+
.. note::
|
| 103 |
+
Prefer using `contextlib.nullcontext` instead of this context manager.
|
| 104 |
+
"""
|
| 105 |
+
|
| 106 |
+
def __init__(self, enter_result=None):
|
| 107 |
+
self.enter_result = enter_result
|
| 108 |
+
|
| 109 |
+
def __enter__(self):
|
| 110 |
+
return self.enter_result
|
| 111 |
+
|
| 112 |
+
def __exit__(self, *excinfo):
|
| 113 |
+
pass
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
def npy_load_module(name, fn, info=None):
|
| 117 |
+
"""
|
| 118 |
+
Load a module. Uses ``load_module`` which will be deprecated in python
|
| 119 |
+
3.12. An alternative that uses ``exec_module`` is in
|
| 120 |
+
numpy.distutils.misc_util.exec_mod_from_location
|
| 121 |
+
|
| 122 |
+
.. versionadded:: 1.11.2
|
| 123 |
+
|
| 124 |
+
Parameters
|
| 125 |
+
----------
|
| 126 |
+
name : str
|
| 127 |
+
Full module name.
|
| 128 |
+
fn : str
|
| 129 |
+
Path to module file.
|
| 130 |
+
info : tuple, optional
|
| 131 |
+
Only here for backward compatibility with Python 2.*.
|
| 132 |
+
|
| 133 |
+
Returns
|
| 134 |
+
-------
|
| 135 |
+
mod : module
|
| 136 |
+
|
| 137 |
+
"""
|
| 138 |
+
# Explicitly lazy import this to avoid paying the cost
|
| 139 |
+
# of importing importlib at startup
|
| 140 |
+
from importlib.machinery import SourceFileLoader
|
| 141 |
+
return SourceFileLoader(name, fn).load_module()
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
os_fspath = os.fspath
|
| 145 |
+
os_PathLike = os.PathLike
|
player/runtime/python/Lib/site-packages/numpy/compat/tests/__init__.py
ADDED
|
File without changes
|
player/runtime/python/Lib/site-packages/numpy/conftest.py
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Pytest configuration and fixtures for the Numpy test suite.
|
| 3 |
+
"""
|
| 4 |
+
import os
|
| 5 |
+
import tempfile
|
| 6 |
+
|
| 7 |
+
import hypothesis
|
| 8 |
+
import pytest
|
| 9 |
+
import numpy
|
| 10 |
+
|
| 11 |
+
from numpy._core._multiarray_tests import get_fpu_mode
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
_old_fpu_mode = None
|
| 15 |
+
_collect_results = {}
|
| 16 |
+
|
| 17 |
+
# Use a known and persistent tmpdir for hypothesis' caches, which
|
| 18 |
+
# can be automatically cleared by the OS or user.
|
| 19 |
+
hypothesis.configuration.set_hypothesis_home_dir(
|
| 20 |
+
os.path.join(tempfile.gettempdir(), ".hypothesis")
|
| 21 |
+
)
|
| 22 |
+
|
| 23 |
+
# We register two custom profiles for Numpy - for details see
|
| 24 |
+
# https://hypothesis.readthedocs.io/en/latest/settings.html
|
| 25 |
+
# The first is designed for our own CI runs; the latter also
|
| 26 |
+
# forces determinism and is designed for use via np.test()
|
| 27 |
+
hypothesis.settings.register_profile(
|
| 28 |
+
name="numpy-profile", deadline=None, print_blob=True,
|
| 29 |
+
)
|
| 30 |
+
hypothesis.settings.register_profile(
|
| 31 |
+
name="np.test() profile",
|
| 32 |
+
deadline=None, print_blob=True, database=None, derandomize=True,
|
| 33 |
+
suppress_health_check=list(hypothesis.HealthCheck),
|
| 34 |
+
)
|
| 35 |
+
# Note that the default profile is chosen based on the presence
|
| 36 |
+
# of pytest.ini, but can be overridden by passing the
|
| 37 |
+
# --hypothesis-profile=NAME argument to pytest.
|
| 38 |
+
_pytest_ini = os.path.join(os.path.dirname(__file__), "..", "pytest.ini")
|
| 39 |
+
hypothesis.settings.load_profile(
|
| 40 |
+
"numpy-profile" if os.path.isfile(_pytest_ini) else "np.test() profile"
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
# The experimentalAPI is used in _umath_tests
|
| 44 |
+
os.environ["NUMPY_EXPERIMENTAL_DTYPE_API"] = "1"
|
| 45 |
+
|
| 46 |
+
def pytest_configure(config):
|
| 47 |
+
config.addinivalue_line("markers",
|
| 48 |
+
"valgrind_error: Tests that are known to error under valgrind.")
|
| 49 |
+
config.addinivalue_line("markers",
|
| 50 |
+
"leaks_references: Tests that are known to leak references.")
|
| 51 |
+
config.addinivalue_line("markers",
|
| 52 |
+
"slow: Tests that are very slow.")
|
| 53 |
+
config.addinivalue_line("markers",
|
| 54 |
+
"slow_pypy: Tests that are very slow on pypy.")
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
def pytest_addoption(parser):
|
| 58 |
+
parser.addoption("--available-memory", action="store", default=None,
|
| 59 |
+
help=("Set amount of memory available for running the "
|
| 60 |
+
"test suite. This can result to tests requiring "
|
| 61 |
+
"especially large amounts of memory to be skipped. "
|
| 62 |
+
"Equivalent to setting environment variable "
|
| 63 |
+
"NPY_AVAILABLE_MEM. Default: determined"
|
| 64 |
+
"automatically."))
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
def pytest_sessionstart(session):
|
| 68 |
+
available_mem = session.config.getoption('available_memory')
|
| 69 |
+
if available_mem is not None:
|
| 70 |
+
os.environ['NPY_AVAILABLE_MEM'] = available_mem
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
#FIXME when yield tests are gone.
|
| 74 |
+
@pytest.hookimpl()
|
| 75 |
+
def pytest_itemcollected(item):
|
| 76 |
+
"""
|
| 77 |
+
Check FPU precision mode was not changed during test collection.
|
| 78 |
+
|
| 79 |
+
The clumsy way we do it here is mainly necessary because numpy
|
| 80 |
+
still uses yield tests, which can execute code at test collection
|
| 81 |
+
time.
|
| 82 |
+
"""
|
| 83 |
+
global _old_fpu_mode
|
| 84 |
+
|
| 85 |
+
mode = get_fpu_mode()
|
| 86 |
+
|
| 87 |
+
if _old_fpu_mode is None:
|
| 88 |
+
_old_fpu_mode = mode
|
| 89 |
+
elif mode != _old_fpu_mode:
|
| 90 |
+
_collect_results[item] = (_old_fpu_mode, mode)
|
| 91 |
+
_old_fpu_mode = mode
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
@pytest.fixture(scope="function", autouse=True)
|
| 95 |
+
def check_fpu_mode(request):
|
| 96 |
+
"""
|
| 97 |
+
Check FPU precision mode was not changed during the test.
|
| 98 |
+
"""
|
| 99 |
+
old_mode = get_fpu_mode()
|
| 100 |
+
yield
|
| 101 |
+
new_mode = get_fpu_mode()
|
| 102 |
+
|
| 103 |
+
if old_mode != new_mode:
|
| 104 |
+
raise AssertionError("FPU precision mode changed from {0:#x} to {1:#x}"
|
| 105 |
+
" during the test".format(old_mode, new_mode))
|
| 106 |
+
|
| 107 |
+
collect_result = _collect_results.get(request.node)
|
| 108 |
+
if collect_result is not None:
|
| 109 |
+
old_mode, new_mode = collect_result
|
| 110 |
+
raise AssertionError("FPU precision mode changed from {0:#x} to {1:#x}"
|
| 111 |
+
" when collecting the test".format(old_mode,
|
| 112 |
+
new_mode))
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
@pytest.fixture(autouse=True)
|
| 116 |
+
def add_np(doctest_namespace):
|
| 117 |
+
doctest_namespace['np'] = numpy
|
| 118 |
+
|
| 119 |
+
@pytest.fixture(autouse=True)
|
| 120 |
+
def env_setup(monkeypatch):
|
| 121 |
+
monkeypatch.setenv('PYTHONHASHSEED', '0')
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
@pytest.fixture(params=[True, False])
|
| 125 |
+
def weak_promotion(request):
|
| 126 |
+
"""
|
| 127 |
+
Fixture to ensure "legacy" promotion state or change it to use the new
|
| 128 |
+
weak promotion (plus warning). `old_promotion` should be used as a
|
| 129 |
+
parameter in the function.
|
| 130 |
+
"""
|
| 131 |
+
state = numpy._get_promotion_state()
|
| 132 |
+
if request.param:
|
| 133 |
+
numpy._set_promotion_state("weak_and_warn")
|
| 134 |
+
else:
|
| 135 |
+
numpy._set_promotion_state("legacy")
|
| 136 |
+
|
| 137 |
+
yield request.param
|
| 138 |
+
numpy._set_promotion_state(state)
|
player/runtime/python/Lib/site-packages/numpy/core/__init__.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
The `numpy.core` submodule exists solely for backward compatibility
|
| 3 |
+
purposes. The original `core` was renamed to `_core` and made private.
|
| 4 |
+
`numpy.core` will be removed in the future.
|
| 5 |
+
"""
|
| 6 |
+
from numpy import _core
|
| 7 |
+
from ._utils import _raise_warning
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
# We used to use `np.core._ufunc_reconstruct` to unpickle.
|
| 11 |
+
# This is unnecessary, but old pickles saved before 1.20 will be using it,
|
| 12 |
+
# and there is no reason to break loading them.
|
| 13 |
+
def _ufunc_reconstruct(module, name):
|
| 14 |
+
# The `fromlist` kwarg is required to ensure that `mod` points to the
|
| 15 |
+
# inner-most module rather than the parent package when module name is
|
| 16 |
+
# nested. This makes it possible to pickle non-toplevel ufuncs such as
|
| 17 |
+
# scipy.special.expit for instance.
|
| 18 |
+
mod = __import__(module, fromlist=[name])
|
| 19 |
+
return getattr(mod, name)
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
# force lazy-loading of submodules to ensure a warning is printed
|
| 23 |
+
|
| 24 |
+
__all__ = ["arrayprint", "defchararray", "_dtype_ctypes", "_dtype",
|
| 25 |
+
"einsumfunc", "fromnumeric", "function_base", "getlimits",
|
| 26 |
+
"_internal", "multiarray", "_multiarray_umath", "numeric",
|
| 27 |
+
"numerictypes", "overrides", "records", "shape_base", "umath"]
|
| 28 |
+
|
| 29 |
+
def __getattr__(attr_name):
|
| 30 |
+
attr = getattr(_core, attr_name)
|
| 31 |
+
_raise_warning(attr_name)
|
| 32 |
+
return attr
|
player/runtime/python/Lib/site-packages/numpy/core/__init__.pyi
ADDED
|
File without changes
|
player/runtime/python/Lib/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (1.16 kB). View file
|
|
|