FaustDerLegende commited on
Commit
36aa887
·
verified ·
1 Parent(s): 1ef0d23

Upload folder using huggingface_hub (part 12)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +47 -0
  2. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/INSTALLER +1 -0
  3. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/METADATA +139 -0
  4. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/RECORD +0 -0
  5. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/REQUESTED +0 -0
  6. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/WHEEL +6 -0
  7. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/entry_points.txt +13 -0
  8. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/LICENSE.txt +935 -0
  9. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/include/numpy/libdivide/LICENSE.txt +21 -0
  10. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/common/pythoncapi-compat/COPYING +14 -0
  11. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/highway/LICENSE +371 -0
  12. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/multiarray/dragon4_LICENSE.txt +27 -0
  13. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/npysort/x86-simd-sort/LICENSE.md +28 -0
  14. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/umath/svml/LICENSE +30 -0
  15. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/fft/pocketfft/LICENSE.md +25 -0
  16. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/linalg/lapack_lite/LICENSE.txt +48 -0
  17. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/ma/LICENSE +24 -0
  18. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/LICENSE.md +71 -0
  19. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/distributions/LICENSE.md +61 -0
  20. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/mt19937/LICENSE.md +61 -0
  21. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/pcg64/LICENSE.md +22 -0
  22. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/philox/LICENSE.md +31 -0
  23. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/sfc64/LICENSE.md +27 -0
  24. .venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/splitmix64/LICENSE.md +9 -0
  25. .venv/lib/python3.12/site-packages/numpy.libs/libgfortran-83c28eba-468e71e5.so.5.0.0 +3 -0
  26. .venv/lib/python3.12/site-packages/numpy.libs/libquadmath-2284e583-a9307bba.so.0.0.0 +3 -0
  27. .venv/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-f48b354e.so +3 -0
  28. .venv/lib/python3.12/site-packages/numpy/tests/test_scripts.py +45 -0
  29. .venv/lib/python3.12/site-packages/numpy/tests/test_warnings.py +81 -0
  30. .venv/lib/python3.12/site-packages/numpy/typing/__init__.py +225 -0
  31. .venv/lib/python3.12/site-packages/numpy/typing/__init__.pyi +8 -0
  32. .venv/lib/python3.12/site-packages/numpy/typing/__pycache__/__init__.cpython-312.pyc +0 -0
  33. .venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py +200 -0
  34. .venv/lib/python3.12/site-packages/numpy/typing/tests/__init__.py +0 -0
  35. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/arithmetic.pyi +126 -0
  36. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/array_constructors.pyi +34 -0
  37. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/array_like.pyi +15 -0
  38. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/array_pad.pyi +6 -0
  39. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/arrayprint.pyi +15 -0
  40. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/arrayterator.pyi +14 -0
  41. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/bitwise_ops.pyi +17 -0
  42. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/char.pyi +60 -0
  43. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/chararray.pyi +61 -0
  44. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/comparisons.pyi +27 -0
  45. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/constants.pyi +3 -0
  46. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/datasource.pyi +16 -0
  47. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/dtype.pyi +17 -0
  48. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/einsumfunc.pyi +12 -0
  49. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/flatiter.pyi +38 -0
  50. .venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/fromnumeric.pyi +149 -0
.gitattributes CHANGED
@@ -251,3 +251,50 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
251
  .venv/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
252
  .venv/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
253
  .venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  .venv/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
252
  .venv/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
253
  .venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
254
+ .venv/lib/python3.12/site-packages/numpy.libs/libgfortran-83c28eba-468e71e5.so.5.0.0 filter=lfs diff=lfs merge=lfs -text
255
+ .venv/lib/python3.12/site-packages/numpy.libs/libquadmath-2284e583-a9307bba.so.0.0.0 filter=lfs diff=lfs merge=lfs -text
256
+ .venv/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-f48b354e.so filter=lfs diff=lfs merge=lfs -text
257
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libQt5Core-9088e21b.so.5.15.19 filter=lfs diff=lfs merge=lfs -text
258
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libQt5Gui-afbd4980.so.5.15.19 filter=lfs diff=lfs merge=lfs -text
259
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libQt5Test-2553f470.so.5.15.19 filter=lfs diff=lfs merge=lfs -text
260
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libQt5Widgets-5be2f68b.so.5.15.19 filter=lfs diff=lfs merge=lfs -text
261
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libQt5XcbQpa-bb93e554.so.5.15.19 filter=lfs diff=lfs merge=lfs -text
262
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libaom-a0d22147.so.3.14.1 filter=lfs diff=lfs merge=lfs -text
263
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libavcodec-c4204469.so.62.28.101 filter=lfs diff=lfs merge=lfs -text
264
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libavdevice-f388f22c.so.62.3.101 filter=lfs diff=lfs merge=lfs -text
265
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libavfilter-8d3f2f4f.so.11.14.101 filter=lfs diff=lfs merge=lfs -text
266
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libavformat-4762a711.so.62.12.101 filter=lfs diff=lfs merge=lfs -text
267
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libavif-43e630fc.so.16.4.2 filter=lfs diff=lfs merge=lfs -text
268
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libavutil-befbbc48.so.60.26.101 filter=lfs diff=lfs merge=lfs -text
269
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libcrypto-5409cd36.so.1.1.1k filter=lfs diff=lfs merge=lfs -text
270
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libgfortran-83c28eba.so.5.0.0 filter=lfs diff=lfs merge=lfs -text
271
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libopenblasp-r0-59ffcd50.3.15.so filter=lfs diff=lfs merge=lfs -text
272
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libpcre2-16-bca4e6b3.so.0.7.1 filter=lfs diff=lfs merge=lfs -text
273
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libpng16-529cb57a.so.16.58.0 filter=lfs diff=lfs merge=lfs -text
274
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libquadmath-2284e583.so.0.0.0 filter=lfs diff=lfs merge=lfs -text
275
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libssl-81259c47.so.1.1.1k filter=lfs diff=lfs merge=lfs -text
276
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libswresample-2dfded3b.so.6.3.101 filter=lfs diff=lfs merge=lfs -text
277
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libswscale-fe215b0b.so.9.5.101 filter=lfs diff=lfs merge=lfs -text
278
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libvpx-4fb239ff.so.11.0.1 filter=lfs diff=lfs merge=lfs -text
279
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libxcb-randr-562554c2.so.0.1.0 filter=lfs diff=lfs merge=lfs -text
280
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libxcb-render-161c0eb5.so.0.0.0 filter=lfs diff=lfs merge=lfs -text
281
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libxcb-xkb-fd53f741.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
282
+ .venv/lib/python3.12/site-packages/opencv_python.libs/libxkbcommon-de59cad2.so.0.0.0 filter=lfs diff=lfs merge=lfs -text
283
+ .venv/lib/python3.12/site-packages/pillow.libs/libavif-8a7f9d56.so.16.4.2 filter=lfs diff=lfs merge=lfs -text
284
+ .venv/lib/python3.12/site-packages/pillow.libs/libbrotlicommon-53534446.so.1.2.0 filter=lfs diff=lfs merge=lfs -text
285
+ .venv/lib/python3.12/site-packages/pillow.libs/libfreetype-9fc94c80.so.6.20.6 filter=lfs diff=lfs merge=lfs -text
286
+ .venv/lib/python3.12/site-packages/pillow.libs/libharfbuzz-172d1f63.so.0.61421.0 filter=lfs diff=lfs merge=lfs -text
287
+ .venv/lib/python3.12/site-packages/pillow.libs/libjpeg-31e2ca52.so.62.4.0 filter=lfs diff=lfs merge=lfs -text
288
+ .venv/lib/python3.12/site-packages/pillow.libs/liblcms2-dade1fbf.so.2.0.19 filter=lfs diff=lfs merge=lfs -text
289
+ .venv/lib/python3.12/site-packages/pillow.libs/liblzma-2be87c3e.so.5.8.3 filter=lfs diff=lfs merge=lfs -text
290
+ .venv/lib/python3.12/site-packages/pillow.libs/libopenjp2-b07f72ad.so.2.5.4 filter=lfs diff=lfs merge=lfs -text
291
+ .venv/lib/python3.12/site-packages/pillow.libs/libpng16-abb096d5.so.16.58.0 filter=lfs diff=lfs merge=lfs -text
292
+ .venv/lib/python3.12/site-packages/pillow.libs/libtiff-fc87e79d.so.6.2.0 filter=lfs diff=lfs merge=lfs -text
293
+ .venv/lib/python3.12/site-packages/pillow.libs/libwebp-51b0b3f7.so.7.2.0 filter=lfs diff=lfs merge=lfs -text
294
+ .venv/lib/python3.12/site-packages/pillow.libs/libxcb-ad31f5a3.so.1.1.0 filter=lfs diff=lfs merge=lfs -text
295
+ .venv/lib/python3.12/site-packages/pillow.libs/libzstd-44be1190.so.1.5.7 filter=lfs diff=lfs merge=lfs -text
296
+ .venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langrussianmodel.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
297
+ .venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
298
+ .venv/lib/python3.12/site-packages/pip/_vendor/pyparsing/__pycache__/core.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
299
+ .venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
300
+ .venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/console.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/METADATA ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: numpy
3
+ Version: 2.5.3
4
+ Summary: Fundamental package for array computing in Python
5
+ Author: Travis E. Oliphant et al.
6
+ Maintainer-Email: NumPy Developers <numpy-discussion@python.org>
7
+ License-Expression: BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0
8
+ License-File: LICENSE.txt
9
+ License-File: numpy/_core/include/numpy/libdivide/LICENSE.txt
10
+ License-File: numpy/_core/src/common/pythoncapi-compat/COPYING
11
+ License-File: numpy/_core/src/highway/LICENSE
12
+ License-File: numpy/_core/src/multiarray/dragon4_LICENSE.txt
13
+ License-File: numpy/_core/src/npysort/x86-simd-sort/LICENSE.md
14
+ License-File: numpy/_core/src/umath/svml/LICENSE
15
+ License-File: numpy/fft/pocketfft/LICENSE.md
16
+ License-File: numpy/linalg/lapack_lite/LICENSE.txt
17
+ License-File: numpy/ma/LICENSE
18
+ License-File: numpy/random/LICENSE.md
19
+ License-File: numpy/random/src/distributions/LICENSE.md
20
+ License-File: numpy/random/src/mt19937/LICENSE.md
21
+ License-File: numpy/random/src/pcg64/LICENSE.md
22
+ License-File: numpy/random/src/philox/LICENSE.md
23
+ License-File: numpy/random/src/sfc64/LICENSE.md
24
+ License-File: numpy/random/src/splitmix64/LICENSE.md
25
+ Classifier: Development Status :: 5 - Production/Stable
26
+ Classifier: Intended Audience :: Science/Research
27
+ Classifier: Intended Audience :: Developers
28
+ Classifier: Programming Language :: C
29
+ Classifier: Programming Language :: Python
30
+ Classifier: Programming Language :: Python :: 3
31
+ Classifier: Programming Language :: Python :: 3.12
32
+ Classifier: Programming Language :: Python :: 3.13
33
+ Classifier: Programming Language :: Python :: 3.14
34
+ Classifier: Programming Language :: Python :: 3.15
35
+ Classifier: Programming Language :: Python :: 3 :: Only
36
+ Classifier: Programming Language :: Python :: Implementation :: CPython
37
+ Classifier: Topic :: Software Development
38
+ Classifier: Topic :: Scientific/Engineering
39
+ Classifier: Typing :: Typed
40
+ Classifier: Operating System :: Microsoft :: Windows
41
+ Classifier: Operating System :: POSIX
42
+ Classifier: Operating System :: Unix
43
+ Classifier: Operating System :: MacOS
44
+ Project-URL: homepage, https://numpy.org
45
+ Project-URL: documentation, https://numpy.org/doc/
46
+ Project-URL: source, https://github.com/numpy/numpy
47
+ Project-URL: download, https://pypi.org/project/numpy/#files
48
+ Project-URL: tracker, https://github.com/numpy/numpy/issues
49
+ Project-URL: release notes, https://numpy.org/doc/stable/release
50
+ Requires-Python: >=3.12
51
+ Description-Content-Type: text/markdown
52
+
53
+ <h1 align="center">
54
+ <img src="https://raw.githubusercontent.com/numpy/numpy/main/branding/logo/primary/numpylogo.svg" width="300">
55
+ </h1><br>
56
+
57
+
58
+ [![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](
59
+ https://numfocus.org)
60
+ [![PyPI Downloads](https://img.shields.io/pypi/dm/numpy.svg?label=PyPI%20downloads)](
61
+ https://pypi.org/project/numpy/)
62
+ [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/numpy.svg?label=Conda%20downloads)](
63
+ https://anaconda.org/conda-forge/numpy)
64
+ [![Stack Overflow](https://img.shields.io/badge/stackoverflow-Ask%20questions-blue.svg)](
65
+ https://stackoverflow.com/questions/tagged/numpy)
66
+ [![Nature Paper](https://img.shields.io/badge/DOI-10.1038%2Fs41586--020--2649--2-blue)](
67
+ https://doi.org/10.1038/s41586-020-2649-2)
68
+ [![LFX Health Score](https://insights.linuxfoundation.org/api/badge/health-score?project=numpy)](https://insights.linuxfoundation.org/project/numpy)
69
+ [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/numpy/numpy/badge)](https://securityscorecards.dev/viewer/?uri=github.com/numpy/numpy)
70
+ [![Typing](https://img.shields.io/pypi/types/numpy)](https://pypi.org/project/numpy/)
71
+
72
+
73
+ NumPy is the fundamental package for scientific computing with Python.
74
+
75
+ - **Website:** https://numpy.org
76
+ - **Documentation:** https://numpy.org/doc
77
+ - **Mailing list:** https://mail.python.org/mailman/listinfo/numpy-discussion
78
+ - **Source code:** https://github.com/numpy/numpy
79
+ - **Contributing:** https://numpy.org/devdocs/dev/index.html
80
+ - **Bug reports:** https://github.com/numpy/numpy/issues
81
+ - **Report a security vulnerability:** https://github.com/numpy/numpy/security/policy (via Tidelift)
82
+
83
+ It provides:
84
+
85
+ - a powerful N-dimensional array object
86
+ - sophisticated (broadcasting) functions
87
+ - tools for integrating C/C++ and Fortran code
88
+ - useful linear algebra, Fourier transform, and random number capabilities
89
+
90
+ Testing:
91
+
92
+ NumPy requires `pytest` and `hypothesis`. Tests can then be run after installation with:
93
+
94
+ python -c "import numpy, sys; sys.exit(numpy.test() is False)"
95
+
96
+ Code of Conduct
97
+ ----------------------
98
+
99
+ NumPy is a community-driven open source project developed by a diverse group of
100
+ [contributors](https://numpy.org/teams/). The NumPy leadership has made a strong
101
+ commitment to creating an open, inclusive, and positive community. Please read the
102
+ [NumPy Code of Conduct](https://numpy.org/code-of-conduct/) for guidance on how to interact
103
+ with others in a way that makes our community thrive.
104
+
105
+ Call for Contributions
106
+ ----------------------
107
+
108
+ The NumPy project welcomes your expertise and enthusiasm!
109
+
110
+ Small improvements or fixes are always appreciated. If you are considering larger contributions
111
+ to the source code, please contact us through the [mailing
112
+ list](https://mail.python.org/mailman/listinfo/numpy-discussion) first.
113
+
114
+ Writing code isn’t the only way to contribute to NumPy. You can also:
115
+ - review pull requests
116
+ - help us stay on top of new and old issues
117
+ - develop tutorials, presentations, and other educational materials
118
+ - maintain and improve [our website](https://github.com/numpy/numpy.org)
119
+ - develop graphic design for our brand assets and promotional materials
120
+ - translate website content
121
+ - help with outreach and onboard new contributors
122
+ - write grant proposals and help with other fundraising efforts
123
+
124
+ For more information about the ways you can contribute to NumPy, visit [our website](https://numpy.org/contribute/).
125
+ If you’re unsure where to start or how your skills fit in, reach out! You can
126
+ ask on the mailing list or here, on GitHub, by opening a new issue or leaving a
127
+ comment on a relevant issue that is already open.
128
+
129
+ Our preferred channels of communication are all public, but if you’d like to
130
+ speak to us in private first, contact our community coordinators at
131
+ numpy-team@googlegroups.com or on Slack (write numpy-team@googlegroups.com for
132
+ an invitation).
133
+
134
+ We also have a biweekly community call, details of which are announced on the
135
+ mailing list. You are very welcome to join.
136
+
137
+ If you are new to contributing to open source, [this
138
+ guide](https://opensource.guide/how-to-contribute/) helps explain why, what,
139
+ and how to successfully get involved.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/RECORD ADDED
The diff for this file is too large to render. See raw diff
 
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/REQUESTED ADDED
File without changes
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/WHEEL ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: meson
3
+ Root-Is-Purelib: false
4
+ Tag: cp312-cp312-manylinux_2_27_x86_64
5
+ Tag: cp312-cp312-manylinux_2_28_x86_64
6
+
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/entry_points.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [pkg_config]
2
+ numpy = numpy._core.lib.pkgconfig
3
+
4
+ [array_api]
5
+ numpy = numpy
6
+
7
+ [pyinstaller40]
8
+ hook-dirs = numpy:_pyinstaller_hooks_dir
9
+
10
+ [console_scripts]
11
+ f2py = numpy.f2py.f2py2e:main
12
+ numpy-config = numpy._configtool:main
13
+
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/LICENSE.txt ADDED
@@ -0,0 +1,935 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2005-2025, 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
+
35
+ ----
36
+
37
+ This binary distribution of NumPy also bundles the following software:
38
+
39
+
40
+ Name: OpenBLAS
41
+ Files: numpy.libs/libscipy_openblas*.so
42
+ Description: bundled as a dynamically linked library
43
+ Availability: https://github.com/OpenMathLib/OpenBLAS/
44
+ License: BSD-3-Clause
45
+ Copyright (c) 2011-2014, The OpenBLAS Project
46
+ All rights reserved.
47
+
48
+ Redistribution and use in source and binary forms, with or without
49
+ modification, are permitted provided that the following conditions are
50
+ met:
51
+
52
+ 1. Redistributions of source code must retain the above copyright
53
+ notice, this list of conditions and the following disclaimer.
54
+
55
+ 2. Redistributions in binary form must reproduce the above copyright
56
+ notice, this list of conditions and the following disclaimer in
57
+ the documentation and/or other materials provided with the
58
+ distribution.
59
+ 3. Neither the name of the OpenBLAS project nor the names of
60
+ its contributors may be used to endorse or promote products
61
+ derived from this software without specific prior written
62
+ permission.
63
+
64
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
65
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
66
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
67
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
68
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
69
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
70
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
71
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
72
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
73
+ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
74
+
75
+
76
+ Name: LAPACK
77
+ Files: numpy.libs/libscipy_openblas*.so
78
+ Description: bundled in OpenBLAS
79
+ Availability: https://github.com/OpenMathLib/OpenBLAS/
80
+ License: BSD-3-Clause-Open-MPI
81
+ Copyright (c) 1992-2013 The University of Tennessee and The University
82
+ of Tennessee Research Foundation. All rights
83
+ reserved.
84
+ Copyright (c) 2000-2013 The University of California Berkeley. All
85
+ rights reserved.
86
+ Copyright (c) 2006-2013 The University of Colorado Denver. All rights
87
+ reserved.
88
+
89
+ $COPYRIGHT$
90
+
91
+ Additional copyrights may follow
92
+
93
+ $HEADER$
94
+
95
+ Redistribution and use in source and binary forms, with or without
96
+ modification, are permitted provided that the following conditions are
97
+ met:
98
+
99
+ - Redistributions of source code must retain the above copyright
100
+ notice, this list of conditions and the following disclaimer.
101
+
102
+ - Redistributions in binary form must reproduce the above copyright
103
+ notice, this list of conditions and the following disclaimer listed
104
+ in this license in the documentation and/or other materials
105
+ provided with the distribution.
106
+
107
+ - Neither the name of the copyright holders nor the names of its
108
+ contributors may be used to endorse or promote products derived from
109
+ this software without specific prior written permission.
110
+
111
+ The copyright holders provide no reassurances that the source code
112
+ provided does not infringe any patent, copyright, or any other
113
+ intellectual property rights of third parties. The copyright holders
114
+ disclaim any liability to any recipient for claims brought against
115
+ recipient by any third party for infringement of that parties
116
+ intellectual property rights.
117
+
118
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
119
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
120
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
121
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
122
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
123
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
124
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
125
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
126
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
127
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
128
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
129
+
130
+
131
+ Name: GCC runtime library
132
+ Files: numpy.libs/libgfortran*.so
133
+ Description: dynamically linked to files compiled with gcc
134
+ Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libgfortran
135
+ License: GPL-3.0-or-later WITH GCC-exception-3.1
136
+ Copyright (C) 2002-2017 Free Software Foundation, Inc.
137
+
138
+ Libgfortran is free software; you can redistribute it and/or modify
139
+ it under the terms of the GNU General Public License as published by
140
+ the Free Software Foundation; either version 3, or (at your option)
141
+ any later version.
142
+
143
+ Libgfortran is distributed in the hope that it will be useful,
144
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
145
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
146
+ GNU General Public License for more details.
147
+
148
+ Under Section 7 of GPL version 3, you are granted additional
149
+ permissions described in the GCC Runtime Library Exception, version
150
+ 3.1, as published by the Free Software Foundation.
151
+
152
+ You should have received a copy of the GNU General Public License and
153
+ a copy of the GCC Runtime Library Exception along with this program;
154
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
155
+ <http://www.gnu.org/licenses/>.
156
+
157
+ ----
158
+
159
+ Full text of license texts referred to above follows (that they are
160
+ listed below does not necessarily imply the conditions apply to the
161
+ present binary release):
162
+
163
+ ----
164
+
165
+ GCC RUNTIME LIBRARY EXCEPTION
166
+
167
+ Version 3.1, 31 March 2009
168
+
169
+ Copyright (C) 2009 Free Software Foundation, Inc. <https://fsf.org/>
170
+
171
+ Everyone is permitted to copy and distribute verbatim copies of this
172
+ license document, but changing it is not allowed.
173
+
174
+ This GCC Runtime Library Exception ("Exception") is an additional
175
+ permission under section 7 of the GNU General Public License, version
176
+ 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
177
+ bears a notice placed by the copyright holder of the file stating that
178
+ the file is governed by GPLv3 along with this Exception.
179
+
180
+ When you use GCC to compile a program, GCC may combine portions of
181
+ certain GCC header files and runtime libraries with the compiled
182
+ program. The purpose of this Exception is to allow compilation of
183
+ non-GPL (including proprietary) programs to use, in this way, the
184
+ header files and runtime libraries covered by this Exception.
185
+
186
+ 0. Definitions.
187
+
188
+ A file is an "Independent Module" if it either requires the Runtime
189
+ Library for execution after a Compilation Process, or makes use of an
190
+ interface provided by the Runtime Library, but is not otherwise based
191
+ on the Runtime Library.
192
+
193
+ "GCC" means a version of the GNU Compiler Collection, with or without
194
+ modifications, governed by version 3 (or a specified later version) of
195
+ the GNU General Public License (GPL) with the option of using any
196
+ subsequent versions published by the FSF.
197
+
198
+ "GPL-compatible Software" is software whose conditions of propagation,
199
+ modification and use would permit combination with GCC in accord with
200
+ the license of GCC.
201
+
202
+ "Target Code" refers to output from any compiler for a real or virtual
203
+ target processor architecture, in executable form or suitable for
204
+ input to an assembler, loader, linker and/or execution
205
+ phase. Notwithstanding that, Target Code does not include data in any
206
+ format that is used as a compiler intermediate representation, or used
207
+ for producing a compiler intermediate representation.
208
+
209
+ The "Compilation Process" transforms code entirely represented in
210
+ non-intermediate languages designed for human-written code, and/or in
211
+ Java Virtual Machine byte code, into Target Code. Thus, for example,
212
+ use of source code generators and preprocessors need not be considered
213
+ part of the Compilation Process, since the Compilation Process can be
214
+ understood as starting with the output of the generators or
215
+ preprocessors.
216
+
217
+ A Compilation Process is "Eligible" if it is done using GCC, alone or
218
+ with other GPL-compatible software, or if it is done without using any
219
+ work based on GCC. For example, using non-GPL-compatible Software to
220
+ optimize any GCC intermediate representations would not qualify as an
221
+ Eligible Compilation Process.
222
+
223
+ 1. Grant of Additional Permission.
224
+
225
+ You have permission to propagate a work of Target Code formed by
226
+ combining the Runtime Library with Independent Modules, even if such
227
+ propagation would otherwise violate the terms of GPLv3, provided that
228
+ all Target Code was generated by Eligible Compilation Processes. You
229
+ may then convey such a combination under terms of your choice,
230
+ consistent with the licensing of the Independent Modules.
231
+
232
+ 2. No Weakening of GCC Copyleft.
233
+
234
+ The availability of this Exception does not imply any general
235
+ presumption that third-party software is unaffected by the copyleft
236
+ requirements of the license of GCC.
237
+
238
+ ----
239
+
240
+ GNU GENERAL PUBLIC LICENSE
241
+ Version 3, 29 June 2007
242
+
243
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
244
+ Everyone is permitted to copy and distribute verbatim copies
245
+ of this license document, but changing it is not allowed.
246
+
247
+ Preamble
248
+
249
+ The GNU General Public License is a free, copyleft license for
250
+ software and other kinds of works.
251
+
252
+ The licenses for most software and other practical works are designed
253
+ to take away your freedom to share and change the works. By contrast,
254
+ the GNU General Public License is intended to guarantee your freedom to
255
+ share and change all versions of a program--to make sure it remains free
256
+ software for all its users. We, the Free Software Foundation, use the
257
+ GNU General Public License for most of our software; it applies also to
258
+ any other work released this way by its authors. You can apply it to
259
+ your programs, too.
260
+
261
+ When we speak of free software, we are referring to freedom, not
262
+ price. Our General Public Licenses are designed to make sure that you
263
+ have the freedom to distribute copies of free software (and charge for
264
+ them if you wish), that you receive source code or can get it if you
265
+ want it, that you can change the software or use pieces of it in new
266
+ free programs, and that you know you can do these things.
267
+
268
+ To protect your rights, we need to prevent others from denying you
269
+ these rights or asking you to surrender the rights. Therefore, you have
270
+ certain responsibilities if you distribute copies of the software, or if
271
+ you modify it: responsibilities to respect the freedom of others.
272
+
273
+ For example, if you distribute copies of such a program, whether
274
+ gratis or for a fee, you must pass on to the recipients the same
275
+ freedoms that you received. You must make sure that they, too, receive
276
+ or can get the source code. And you must show them these terms so they
277
+ know their rights.
278
+
279
+ Developers that use the GNU GPL protect your rights with two steps:
280
+ (1) assert copyright on the software, and (2) offer you this License
281
+ giving you legal permission to copy, distribute and/or modify it.
282
+
283
+ For the developers' and authors' protection, the GPL clearly explains
284
+ that there is no warranty for this free software. For both users' and
285
+ authors' sake, the GPL requires that modified versions be marked as
286
+ changed, so that their problems will not be attributed erroneously to
287
+ authors of previous versions.
288
+
289
+ Some devices are designed to deny users access to install or run
290
+ modified versions of the software inside them, although the manufacturer
291
+ can do so. This is fundamentally incompatible with the aim of
292
+ protecting users' freedom to change the software. The systematic
293
+ pattern of such abuse occurs in the area of products for individuals to
294
+ use, which is precisely where it is most unacceptable. Therefore, we
295
+ have designed this version of the GPL to prohibit the practice for those
296
+ products. If such problems arise substantially in other domains, we
297
+ stand ready to extend this provision to those domains in future versions
298
+ of the GPL, as needed to protect the freedom of users.
299
+
300
+ Finally, every program is threatened constantly by software patents.
301
+ States should not allow patents to restrict development and use of
302
+ software on general-purpose computers, but in those that do, we wish to
303
+ avoid the special danger that patents applied to a free program could
304
+ make it effectively proprietary. To prevent this, the GPL assures that
305
+ patents cannot be used to render the program non-free.
306
+
307
+ The precise terms and conditions for copying, distribution and
308
+ modification follow.
309
+
310
+ TERMS AND CONDITIONS
311
+
312
+ 0. Definitions.
313
+
314
+ "This License" refers to version 3 of the GNU General Public License.
315
+
316
+ "Copyright" also means copyright-like laws that apply to other kinds of
317
+ works, such as semiconductor masks.
318
+
319
+ "The Program" refers to any copyrightable work licensed under this
320
+ License. Each licensee is addressed as "you". "Licensees" and
321
+ "recipients" may be individuals or organizations.
322
+
323
+ To "modify" a work means to copy from or adapt all or part of the work
324
+ in a fashion requiring copyright permission, other than the making of an
325
+ exact copy. The resulting work is called a "modified version" of the
326
+ earlier work or a work "based on" the earlier work.
327
+
328
+ A "covered work" means either the unmodified Program or a work based
329
+ on the Program.
330
+
331
+ To "propagate" a work means to do anything with it that, without
332
+ permission, would make you directly or secondarily liable for
333
+ infringement under applicable copyright law, except executing it on a
334
+ computer or modifying a private copy. Propagation includes copying,
335
+ distribution (with or without modification), making available to the
336
+ public, and in some countries other activities as well.
337
+
338
+ To "convey" a work means any kind of propagation that enables other
339
+ parties to make or receive copies. Mere interaction with a user through
340
+ a computer network, with no transfer of a copy, is not conveying.
341
+
342
+ An interactive user interface displays "Appropriate Legal Notices"
343
+ to the extent that it includes a convenient and prominently visible
344
+ feature that (1) displays an appropriate copyright notice, and (2)
345
+ tells the user that there is no warranty for the work (except to the
346
+ extent that warranties are provided), that licensees may convey the
347
+ work under this License, and how to view a copy of this License. If
348
+ the interface presents a list of user commands or options, such as a
349
+ menu, a prominent item in the list meets this criterion.
350
+
351
+ 1. Source Code.
352
+
353
+ The "source code" for a work means the preferred form of the work
354
+ for making modifications to it. "Object code" means any non-source
355
+ form of a work.
356
+
357
+ A "Standard Interface" means an interface that either is an official
358
+ standard defined by a recognized standards body, or, in the case of
359
+ interfaces specified for a particular programming language, one that
360
+ is widely used among developers working in that language.
361
+
362
+ The "System Libraries" of an executable work include anything, other
363
+ than the work as a whole, that (a) is included in the normal form of
364
+ packaging a Major Component, but which is not part of that Major
365
+ Component, and (b) serves only to enable use of the work with that
366
+ Major Component, or to implement a Standard Interface for which an
367
+ implementation is available to the public in source code form. A
368
+ "Major Component", in this context, means a major essential component
369
+ (kernel, window system, and so on) of the specific operating system
370
+ (if any) on which the executable work runs, or a compiler used to
371
+ produce the work, or an object code interpreter used to run it.
372
+
373
+ The "Corresponding Source" for a work in object code form means all
374
+ the source code needed to generate, install, and (for an executable
375
+ work) run the object code and to modify the work, including scripts to
376
+ control those activities. However, it does not include the work's
377
+ System Libraries, or general-purpose tools or generally available free
378
+ programs which are used unmodified in performing those activities but
379
+ which are not part of the work. For example, Corresponding Source
380
+ includes interface definition files associated with source files for
381
+ the work, and the source code for shared libraries and dynamically
382
+ linked subprograms that the work is specifically designed to require,
383
+ such as by intimate data communication or control flow between those
384
+ subprograms and other parts of the work.
385
+
386
+ The Corresponding Source need not include anything that users
387
+ can regenerate automatically from other parts of the Corresponding
388
+ Source.
389
+
390
+ The Corresponding Source for a work in source code form is that
391
+ same work.
392
+
393
+ 2. Basic Permissions.
394
+
395
+ All rights granted under this License are granted for the term of
396
+ copyright on the Program, and are irrevocable provided the stated
397
+ conditions are met. This License explicitly affirms your unlimited
398
+ permission to run the unmodified Program. The output from running a
399
+ covered work is covered by this License only if the output, given its
400
+ content, constitutes a covered work. This License acknowledges your
401
+ rights of fair use or other equivalent, as provided by copyright law.
402
+
403
+ You may make, run and propagate covered works that you do not
404
+ convey, without conditions so long as your license otherwise remains
405
+ in force. You may convey covered works to others for the sole purpose
406
+ of having them make modifications exclusively for you, or provide you
407
+ with facilities for running those works, provided that you comply with
408
+ the terms of this License in conveying all material for which you do
409
+ not control copyright. Those thus making or running the covered works
410
+ for you must do so exclusively on your behalf, under your direction
411
+ and control, on terms that prohibit them from making any copies of
412
+ your copyrighted material outside their relationship with you.
413
+
414
+ Conveying under any other circumstances is permitted solely under
415
+ the conditions stated below. Sublicensing is not allowed; section 10
416
+ makes it unnecessary.
417
+
418
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
419
+
420
+ No covered work shall be deemed part of an effective technological
421
+ measure under any applicable law fulfilling obligations under article
422
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
423
+ similar laws prohibiting or restricting circumvention of such
424
+ measures.
425
+
426
+ When you convey a covered work, you waive any legal power to forbid
427
+ circumvention of technological measures to the extent such circumvention
428
+ is effected by exercising rights under this License with respect to
429
+ the covered work, and you disclaim any intention to limit operation or
430
+ modification of the work as a means of enforcing, against the work's
431
+ users, your or third parties' legal rights to forbid circumvention of
432
+ technological measures.
433
+
434
+ 4. Conveying Verbatim Copies.
435
+
436
+ You may convey verbatim copies of the Program's source code as you
437
+ receive it, in any medium, provided that you conspicuously and
438
+ appropriately publish on each copy an appropriate copyright notice;
439
+ keep intact all notices stating that this License and any
440
+ non-permissive terms added in accord with section 7 apply to the code;
441
+ keep intact all notices of the absence of any warranty; and give all
442
+ recipients a copy of this License along with the Program.
443
+
444
+ You may charge any price or no price for each copy that you convey,
445
+ and you may offer support or warranty protection for a fee.
446
+
447
+ 5. Conveying Modified Source Versions.
448
+
449
+ You may convey a work based on the Program, or the modifications to
450
+ produce it from the Program, in the form of source code under the
451
+ terms of section 4, provided that you also meet all of these conditions:
452
+
453
+ a) The work must carry prominent notices stating that you modified
454
+ it, and giving a relevant date.
455
+
456
+ b) The work must carry prominent notices stating that it is
457
+ released under this License and any conditions added under section
458
+ 7. This requirement modifies the requirement in section 4 to
459
+ "keep intact all notices".
460
+
461
+ c) You must license the entire work, as a whole, under this
462
+ License to anyone who comes into possession of a copy. This
463
+ License will therefore apply, along with any applicable section 7
464
+ additional terms, to the whole of the work, and all its parts,
465
+ regardless of how they are packaged. This License gives no
466
+ permission to license the work in any other way, but it does not
467
+ invalidate such permission if you have separately received it.
468
+
469
+ d) If the work has interactive user interfaces, each must display
470
+ Appropriate Legal Notices; however, if the Program has interactive
471
+ interfaces that do not display Appropriate Legal Notices, your
472
+ work need not make them do so.
473
+
474
+ A compilation of a covered work with other separate and independent
475
+ works, which are not by their nature extensions of the covered work,
476
+ and which are not combined with it such as to form a larger program,
477
+ in or on a volume of a storage or distribution medium, is called an
478
+ "aggregate" if the compilation and its resulting copyright are not
479
+ used to limit the access or legal rights of the compilation's users
480
+ beyond what the individual works permit. Inclusion of a covered work
481
+ in an aggregate does not cause this License to apply to the other
482
+ parts of the aggregate.
483
+
484
+ 6. Conveying Non-Source Forms.
485
+
486
+ You may convey a covered work in object code form under the terms
487
+ of sections 4 and 5, provided that you also convey the
488
+ machine-readable Corresponding Source under the terms of this License,
489
+ in one of these ways:
490
+
491
+ a) Convey the object code in, or embodied in, a physical product
492
+ (including a physical distribution medium), accompanied by the
493
+ Corresponding Source fixed on a durable physical medium
494
+ customarily used for software interchange.
495
+
496
+ b) Convey the object code in, or embodied in, a physical product
497
+ (including a physical distribution medium), accompanied by a
498
+ written offer, valid for at least three years and valid for as
499
+ long as you offer spare parts or customer support for that product
500
+ model, to give anyone who possesses the object code either (1) a
501
+ copy of the Corresponding Source for all the software in the
502
+ product that is covered by this License, on a durable physical
503
+ medium customarily used for software interchange, for a price no
504
+ more than your reasonable cost of physically performing this
505
+ conveying of source, or (2) access to copy the
506
+ Corresponding Source from a network server at no charge.
507
+
508
+ c) Convey individual copies of the object code with a copy of the
509
+ written offer to provide the Corresponding Source. This
510
+ alternative is allowed only occasionally and noncommercially, and
511
+ only if you received the object code with such an offer, in accord
512
+ with subsection 6b.
513
+
514
+ d) Convey the object code by offering access from a designated
515
+ place (gratis or for a charge), and offer equivalent access to the
516
+ Corresponding Source in the same way through the same place at no
517
+ further charge. You need not require recipients to copy the
518
+ Corresponding Source along with the object code. If the place to
519
+ copy the object code is a network server, the Corresponding Source
520
+ may be on a different server (operated by you or a third party)
521
+ that supports equivalent copying facilities, provided you maintain
522
+ clear directions next to the object code saying where to find the
523
+ Corresponding Source. Regardless of what server hosts the
524
+ Corresponding Source, you remain obligated to ensure that it is
525
+ available for as long as needed to satisfy these requirements.
526
+
527
+ e) Convey the object code using peer-to-peer transmission, provided
528
+ you inform other peers where the object code and Corresponding
529
+ Source of the work are being offered to the general public at no
530
+ charge under subsection 6d.
531
+
532
+ A separable portion of the object code, whose source code is excluded
533
+ from the Corresponding Source as a System Library, need not be
534
+ included in conveying the object code work.
535
+
536
+ A "User Product" is either (1) a "consumer product", which means any
537
+ tangible personal property which is normally used for personal, family,
538
+ or household purposes, or (2) anything designed or sold for incorporation
539
+ into a dwelling. In determining whether a product is a consumer product,
540
+ doubtful cases shall be resolved in favor of coverage. For a particular
541
+ product received by a particular user, "normally used" refers to a
542
+ typical or common use of that class of product, regardless of the status
543
+ of the particular user or of the way in which the particular user
544
+ actually uses, or expects or is expected to use, the product. A product
545
+ is a consumer product regardless of whether the product has substantial
546
+ commercial, industrial or non-consumer uses, unless such uses represent
547
+ the only significant mode of use of the product.
548
+
549
+ "Installation Information" for a User Product means any methods,
550
+ procedures, authorization keys, or other information required to install
551
+ and execute modified versions of a covered work in that User Product from
552
+ a modified version of its Corresponding Source. The information must
553
+ suffice to ensure that the continued functioning of the modified object
554
+ code is in no case prevented or interfered with solely because
555
+ modification has been made.
556
+
557
+ If you convey an object code work under this section in, or with, or
558
+ specifically for use in, a User Product, and the conveying occurs as
559
+ part of a transaction in which the right of possession and use of the
560
+ User Product is transferred to the recipient in perpetuity or for a
561
+ fixed term (regardless of how the transaction is characterized), the
562
+ Corresponding Source conveyed under this section must be accompanied
563
+ by the Installation Information. But this requirement does not apply
564
+ if neither you nor any third party retains the ability to install
565
+ modified object code on the User Product (for example, the work has
566
+ been installed in ROM).
567
+
568
+ The requirement to provide Installation Information does not include a
569
+ requirement to continue to provide support service, warranty, or updates
570
+ for a work that has been modified or installed by the recipient, or for
571
+ the User Product in which it has been modified or installed. Access to a
572
+ network may be denied when the modification itself materially and
573
+ adversely affects the operation of the network or violates the rules and
574
+ protocols for communication across the network.
575
+
576
+ Corresponding Source conveyed, and Installation Information provided,
577
+ in accord with this section must be in a format that is publicly
578
+ documented (and with an implementation available to the public in
579
+ source code form), and must require no special password or key for
580
+ unpacking, reading or copying.
581
+
582
+ 7. Additional Terms.
583
+
584
+ "Additional permissions" are terms that supplement the terms of this
585
+ License by making exceptions from one or more of its conditions.
586
+ Additional permissions that are applicable to the entire Program shall
587
+ be treated as though they were included in this License, to the extent
588
+ that they are valid under applicable law. If additional permissions
589
+ apply only to part of the Program, that part may be used separately
590
+ under those permissions, but the entire Program remains governed by
591
+ this License without regard to the additional permissions.
592
+
593
+ When you convey a copy of a covered work, you may at your option
594
+ remove any additional permissions from that copy, or from any part of
595
+ it. (Additional permissions may be written to require their own
596
+ removal in certain cases when you modify the work.) You may place
597
+ additional permissions on material, added by you to a covered work,
598
+ for which you have or can give appropriate copyright permission.
599
+
600
+ Notwithstanding any other provision of this License, for material you
601
+ add to a covered work, you may (if authorized by the copyright holders of
602
+ that material) supplement the terms of this License with terms:
603
+
604
+ a) Disclaiming warranty or limiting liability differently from the
605
+ terms of sections 15 and 16 of this License; or
606
+
607
+ b) Requiring preservation of specified reasonable legal notices or
608
+ author attributions in that material or in the Appropriate Legal
609
+ Notices displayed by works containing it; or
610
+
611
+ c) Prohibiting misrepresentation of the origin of that material, or
612
+ requiring that modified versions of such material be marked in
613
+ reasonable ways as different from the original version; or
614
+
615
+ d) Limiting the use for publicity purposes of names of licensors or
616
+ authors of the material; or
617
+
618
+ e) Declining to grant rights under trademark law for use of some
619
+ trade names, trademarks, or service marks; or
620
+
621
+ f) Requiring indemnification of licensors and authors of that
622
+ material by anyone who conveys the material (or modified versions of
623
+ it) with contractual assumptions of liability to the recipient, for
624
+ any liability that these contractual assumptions directly impose on
625
+ those licensors and authors.
626
+
627
+ All other non-permissive additional terms are considered "further
628
+ restrictions" within the meaning of section 10. If the Program as you
629
+ received it, or any part of it, contains a notice stating that it is
630
+ governed by this License along with a term that is a further
631
+ restriction, you may remove that term. If a license document contains
632
+ a further restriction but permits relicensing or conveying under this
633
+ License, you may add to a covered work material governed by the terms
634
+ of that license document, provided that the further restriction does
635
+ not survive such relicensing or conveying.
636
+
637
+ If you add terms to a covered work in accord with this section, you
638
+ must place, in the relevant source files, a statement of the
639
+ additional terms that apply to those files, or a notice indicating
640
+ where to find the applicable terms.
641
+
642
+ Additional terms, permissive or non-permissive, may be stated in the
643
+ form of a separately written license, or stated as exceptions;
644
+ the above requirements apply either way.
645
+
646
+ 8. Termination.
647
+
648
+ You may not propagate or modify a covered work except as expressly
649
+ provided under this License. Any attempt otherwise to propagate or
650
+ modify it is void, and will automatically terminate your rights under
651
+ this License (including any patent licenses granted under the third
652
+ paragraph of section 11).
653
+
654
+ However, if you cease all violation of this License, then your
655
+ license from a particular copyright holder is reinstated (a)
656
+ provisionally, unless and until the copyright holder explicitly and
657
+ finally terminates your license, and (b) permanently, if the copyright
658
+ holder fails to notify you of the violation by some reasonable means
659
+ prior to 60 days after the cessation.
660
+
661
+ Moreover, your license from a particular copyright holder is
662
+ reinstated permanently if the copyright holder notifies you of the
663
+ violation by some reasonable means, this is the first time you have
664
+ received notice of violation of this License (for any work) from that
665
+ copyright holder, and you cure the violation prior to 30 days after
666
+ your receipt of the notice.
667
+
668
+ Termination of your rights under this section does not terminate the
669
+ licenses of parties who have received copies or rights from you under
670
+ this License. If your rights have been terminated and not permanently
671
+ reinstated, you do not qualify to receive new licenses for the same
672
+ material under section 10.
673
+
674
+ 9. Acceptance Not Required for Having Copies.
675
+
676
+ You are not required to accept this License in order to receive or
677
+ run a copy of the Program. Ancillary propagation of a covered work
678
+ occurring solely as a consequence of using peer-to-peer transmission
679
+ to receive a copy likewise does not require acceptance. However,
680
+ nothing other than this License grants you permission to propagate or
681
+ modify any covered work. These actions infringe copyright if you do
682
+ not accept this License. Therefore, by modifying or propagating a
683
+ covered work, you indicate your acceptance of this License to do so.
684
+
685
+ 10. Automatic Licensing of Downstream Recipients.
686
+
687
+ Each time you convey a covered work, the recipient automatically
688
+ receives a license from the original licensors, to run, modify and
689
+ propagate that work, subject to this License. You are not responsible
690
+ for enforcing compliance by third parties with this License.
691
+
692
+ An "entity transaction" is a transaction transferring control of an
693
+ organization, or substantially all assets of one, or subdividing an
694
+ organization, or merging organizations. If propagation of a covered
695
+ work results from an entity transaction, each party to that
696
+ transaction who receives a copy of the work also receives whatever
697
+ licenses to the work the party's predecessor in interest had or could
698
+ give under the previous paragraph, plus a right to possession of the
699
+ Corresponding Source of the work from the predecessor in interest, if
700
+ the predecessor has it or can get it with reasonable efforts.
701
+
702
+ You may not impose any further restrictions on the exercise of the
703
+ rights granted or affirmed under this License. For example, you may
704
+ not impose a license fee, royalty, or other charge for exercise of
705
+ rights granted under this License, and you may not initiate litigation
706
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
707
+ any patent claim is infringed by making, using, selling, offering for
708
+ sale, or importing the Program or any portion of it.
709
+
710
+ 11. Patents.
711
+
712
+ A "contributor" is a copyright holder who authorizes use under this
713
+ License of the Program or a work on which the Program is based. The
714
+ work thus licensed is called the contributor's "contributor version".
715
+
716
+ A contributor's "essential patent claims" are all patent claims
717
+ owned or controlled by the contributor, whether already acquired or
718
+ hereafter acquired, that would be infringed by some manner, permitted
719
+ by this License, of making, using, or selling its contributor version,
720
+ but do not include claims that would be infringed only as a
721
+ consequence of further modification of the contributor version. For
722
+ purposes of this definition, "control" includes the right to grant
723
+ patent sublicenses in a manner consistent with the requirements of
724
+ this License.
725
+
726
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
727
+ patent license under the contributor's essential patent claims, to
728
+ make, use, sell, offer for sale, import and otherwise run, modify and
729
+ propagate the contents of its contributor version.
730
+
731
+ In the following three paragraphs, a "patent license" is any express
732
+ agreement or commitment, however denominated, not to enforce a patent
733
+ (such as an express permission to practice a patent or covenant not to
734
+ sue for patent infringement). To "grant" such a patent license to a
735
+ party means to make such an agreement or commitment not to enforce a
736
+ patent against the party.
737
+
738
+ If you convey a covered work, knowingly relying on a patent license,
739
+ and the Corresponding Source of the work is not available for anyone
740
+ to copy, free of charge and under the terms of this License, through a
741
+ publicly available network server or other readily accessible means,
742
+ then you must either (1) cause the Corresponding Source to be so
743
+ available, or (2) arrange to deprive yourself of the benefit of the
744
+ patent license for this particular work, or (3) arrange, in a manner
745
+ consistent with the requirements of this License, to extend the patent
746
+ license to downstream recipients. "Knowingly relying" means you have
747
+ actual knowledge that, but for the patent license, your conveying the
748
+ covered work in a country, or your recipient's use of the covered work
749
+ in a country, would infringe one or more identifiable patents in that
750
+ country that you have reason to believe are valid.
751
+
752
+ If, pursuant to or in connection with a single transaction or
753
+ arrangement, you convey, or propagate by procuring conveyance of, a
754
+ covered work, and grant a patent license to some of the parties
755
+ receiving the covered work authorizing them to use, propagate, modify
756
+ or convey a specific copy of the covered work, then the patent license
757
+ you grant is automatically extended to all recipients of the covered
758
+ work and works based on it.
759
+
760
+ A patent license is "discriminatory" if it does not include within
761
+ the scope of its coverage, prohibits the exercise of, or is
762
+ conditioned on the non-exercise of one or more of the rights that are
763
+ specifically granted under this License. You may not convey a covered
764
+ work if you are a party to an arrangement with a third party that is
765
+ in the business of distributing software, under which you make payment
766
+ to the third party based on the extent of your activity of conveying
767
+ the work, and under which the third party grants, to any of the
768
+ parties who would receive the covered work from you, a discriminatory
769
+ patent license (a) in connection with copies of the covered work
770
+ conveyed by you (or copies made from those copies), or (b) primarily
771
+ for and in connection with specific products or compilations that
772
+ contain the covered work, unless you entered into that arrangement,
773
+ or that patent license was granted, prior to 28 March 2007.
774
+
775
+ Nothing in this License shall be construed as excluding or limiting
776
+ any implied license or other defenses to infringement that may
777
+ otherwise be available to you under applicable patent law.
778
+
779
+ 12. No Surrender of Others' Freedom.
780
+
781
+ If conditions are imposed on you (whether by court order, agreement or
782
+ otherwise) that contradict the conditions of this License, they do not
783
+ excuse you from the conditions of this License. If you cannot convey a
784
+ covered work so as to satisfy simultaneously your obligations under this
785
+ License and any other pertinent obligations, then as a consequence you may
786
+ not convey it at all. For example, if you agree to terms that obligate you
787
+ to collect a royalty for further conveying from those to whom you convey
788
+ the Program, the only way you could satisfy both those terms and this
789
+ License would be to refrain entirely from conveying the Program.
790
+
791
+ 13. Use with the GNU Affero General Public License.
792
+
793
+ Notwithstanding any other provision of this License, you have
794
+ permission to link or combine any covered work with a work licensed
795
+ under version 3 of the GNU Affero General Public License into a single
796
+ combined work, and to convey the resulting work. The terms of this
797
+ License will continue to apply to the part which is the covered work,
798
+ but the special requirements of the GNU Affero General Public License,
799
+ section 13, concerning interaction through a network will apply to the
800
+ combination as such.
801
+
802
+ 14. Revised Versions of this License.
803
+
804
+ The Free Software Foundation may publish revised and/or new versions of
805
+ the GNU General Public License from time to time. Such new versions will
806
+ be similar in spirit to the present version, but may differ in detail to
807
+ address new problems or concerns.
808
+
809
+ Each version is given a distinguishing version number. If the
810
+ Program specifies that a certain numbered version of the GNU General
811
+ Public License "or any later version" applies to it, you have the
812
+ option of following the terms and conditions either of that numbered
813
+ version or of any later version published by the Free Software
814
+ Foundation. If the Program does not specify a version number of the
815
+ GNU General Public License, you may choose any version ever published
816
+ by the Free Software Foundation.
817
+
818
+ If the Program specifies that a proxy can decide which future
819
+ versions of the GNU General Public License can be used, that proxy's
820
+ public statement of acceptance of a version permanently authorizes you
821
+ to choose that version for the Program.
822
+
823
+ Later license versions may give you additional or different
824
+ permissions. However, no additional obligations are imposed on any
825
+ author or copyright holder as a result of your choosing to follow a
826
+ later version.
827
+
828
+ 15. Disclaimer of Warranty.
829
+
830
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
831
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
832
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
833
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
834
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
835
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
836
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
837
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
838
+
839
+ 16. Limitation of Liability.
840
+
841
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
842
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
843
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
844
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
845
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
846
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
847
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
848
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
849
+ SUCH DAMAGES.
850
+
851
+ 17. Interpretation of Sections 15 and 16.
852
+
853
+ If the disclaimer of warranty and limitation of liability provided
854
+ above cannot be given local legal effect according to their terms,
855
+ reviewing courts shall apply local law that most closely approximates
856
+ an absolute waiver of all civil liability in connection with the
857
+ Program, unless a warranty or assumption of liability accompanies a
858
+ copy of the Program in return for a fee.
859
+
860
+ END OF TERMS AND CONDITIONS
861
+
862
+ How to Apply These Terms to Your New Programs
863
+
864
+ If you develop a new program, and you want it to be of the greatest
865
+ possible use to the public, the best way to achieve this is to make it
866
+ free software which everyone can redistribute and change under these terms.
867
+
868
+ To do so, attach the following notices to the program. It is safest
869
+ to attach them to the start of each source file to most effectively
870
+ state the exclusion of warranty; and each file should have at least
871
+ the "copyright" line and a pointer to where the full notice is found.
872
+
873
+ <one line to give the program's name and a brief idea of what it does.>
874
+ Copyright (C) <year> <name of author>
875
+
876
+ This program is free software: you can redistribute it and/or modify
877
+ it under the terms of the GNU General Public License as published by
878
+ the Free Software Foundation, either version 3 of the License, or
879
+ (at your option) any later version.
880
+
881
+ This program is distributed in the hope that it will be useful,
882
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
883
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
884
+ GNU General Public License for more details.
885
+
886
+ You should have received a copy of the GNU General Public License
887
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
888
+
889
+ Also add information on how to contact you by electronic and paper mail.
890
+
891
+ If the program does terminal interaction, make it output a short
892
+ notice like this when it starts in an interactive mode:
893
+
894
+ <program> Copyright (C) <year> <name of author>
895
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
896
+ This is free software, and you are welcome to redistribute it
897
+ under certain conditions; type `show c' for details.
898
+
899
+ The hypothetical commands `show w' and `show c' should show the appropriate
900
+ parts of the General Public License. Of course, your program's commands
901
+ might be different; for a GUI interface, you would use an "about box".
902
+
903
+ You should also get your employer (if you work as a programmer) or school,
904
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
905
+ For more information on this, and how to apply and follow the GNU GPL, see
906
+ <https://www.gnu.org/licenses/>.
907
+
908
+ The GNU General Public License does not permit incorporating your program
909
+ into proprietary programs. If your program is a subroutine library, you
910
+ may consider it more useful to permit linking proprietary applications with
911
+ the library. If this is what you want to do, use the GNU Lesser General
912
+ Public License instead of this License. But first, please read
913
+ <https://www.gnu.org/licenses/why-not-lgpl.html>.
914
+
915
+ Name: libquadmath
916
+ Files: numpy.libs/libquadmath*.so
917
+ Description: dynamically linked to files compiled with gcc
918
+ Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libquadmath
919
+ License: LGPL-2.1-or-later
920
+
921
+ GCC Quad-Precision Math Library
922
+ Copyright (C) 2010-2019 Free Software Foundation, Inc.
923
+ Written by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
924
+
925
+ This file is part of the libquadmath library.
926
+ Libquadmath is free software; you can redistribute it and/or
927
+ modify it under the terms of the GNU Library General Public
928
+ License as published by the Free Software Foundation; either
929
+ version 2.1 of the License, or (at your option) any later version.
930
+
931
+ Libquadmath is distributed in the hope that it will be useful,
932
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
933
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
934
+ Lesser General Public License for more details.
935
+ https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/include/numpy/libdivide/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ zlib License
2
+ ------------
3
+
4
+ Copyright (C) 2010 - 2019 ridiculous_fish, <libdivide@ridiculousfish.com>
5
+ Copyright (C) 2016 - 2019 Kim Walisch, <kim.walisch@gmail.com>
6
+
7
+ This software is provided 'as-is', without any express or implied
8
+ warranty. In no event will the authors be held liable for any damages
9
+ arising from the use of this software.
10
+
11
+ Permission is granted to anyone to use this software for any purpose,
12
+ including commercial applications, and to alter it and redistribute it
13
+ freely, subject to the following restrictions:
14
+
15
+ 1. The origin of this software must not be misrepresented; you must not
16
+ claim that you wrote the original software. If you use this software
17
+ in a product, an acknowledgment in the product documentation would be
18
+ appreciated but is not required.
19
+ 2. Altered source versions must be plainly marked as such, and must not be
20
+ misrepresented as being the original software.
21
+ 3. This notice may not be removed or altered from any source distribution.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/common/pythoncapi-compat/COPYING ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD Zero Clause License
2
+
3
+ Copyright Contributors to the pythoncapi_compat project.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/highway/LICENSE ADDED
@@ -0,0 +1,371 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This project is primarily dual-licensed under your choice of either the Apache
2
+ License 2.0 or the BSD 3-Clause License.
3
+
4
+ The following files are licensed under different terms:
5
+ * hwy/contrib/random/random-inl.h: CC0 1.0 Universal
6
+
7
+ The full texts of all applicable licenses are included below, separated by
8
+ '---'.
9
+
10
+ --------------------------------------------------------------------------------
11
+ Apache License 2.0
12
+ --------------------------------------------------------------------------------
13
+
14
+ Apache License
15
+ Version 2.0, January 2004
16
+ http://www.apache.org/licenses/
17
+
18
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
19
+
20
+ 1. Definitions.
21
+
22
+ "License" shall mean the terms and conditions for use, reproduction,
23
+ and distribution as defined by Sections 1 through 9 of this document.
24
+
25
+ "Licensor" shall mean the copyright owner or entity authorized by
26
+ the copyright owner that is granting the License.
27
+
28
+ "Legal Entity" shall mean the union of the acting entity and all
29
+ other entities that control, are controlled by, or are under common
30
+ control with that entity. For the purposes of this definition,
31
+ "control" means (i) the power, direct or indirect, to cause the
32
+ direction or management of such entity, whether by contract or
33
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
34
+ outstanding shares, or (iii) beneficial ownership of such entity.
35
+
36
+ "You" (or "Your") shall mean an individual or Legal Entity
37
+ exercising permissions granted by this License.
38
+
39
+ "Source" form shall mean the preferred form for making modifications,
40
+ including but not limited to software source code, documentation
41
+ source, and configuration files.
42
+
43
+ "Object" form shall mean any form resulting from mechanical
44
+ transformation or translation of a Source form, including but
45
+ not limited to compiled object code, generated documentation,
46
+ and conversions to other media types.
47
+
48
+ "Work" shall mean the work of authorship, whether in Source or
49
+ Object form, made available under the License, as indicated by a
50
+ copyright notice that is included in or attached to the work
51
+ (an example is provided in the Appendix below).
52
+
53
+ "Derivative Works" shall mean any work, whether in Source or Object
54
+ form, that is based on (or derived from) the Work and for which the
55
+ editorial revisions, annotations, elaborations, or other modifications
56
+ represent, as a whole, an original work of authorship. For the purposes
57
+ of this License, Derivative Works shall not include works that remain
58
+ separable from, or merely link (or bind by name) to the interfaces of,
59
+ the Work and Derivative Works thereof.
60
+
61
+ "Contribution" shall mean any work of authorship, including
62
+ the original version of the Work and any modifications or additions
63
+ to that Work or Derivative Works thereof, that is intentionally
64
+ submitted to Licensor for inclusion in the Work by the copyright owner
65
+ or by an individual or Legal Entity authorized to submit on behalf of
66
+ the copyright owner. For the purposes of this definition, "submitted"
67
+ means any form of electronic, verbal, or written communication sent
68
+ to the Licensor or its representatives, including but not limited to
69
+ communication on electronic mailing lists, source code control systems,
70
+ and issue tracking systems that are managed by, or on behalf of, the
71
+ Licensor for the purpose of discussing and improving the Work, but
72
+ excluding communication that is conspicuously marked or otherwise
73
+ designated in writing by the copyright owner as "Not a Contribution."
74
+
75
+ "Contributor" shall mean Licensor and any individual or Legal Entity
76
+ on behalf of whom a Contribution has been received by Licensor and
77
+ subsequently incorporated within the Work.
78
+
79
+ 2. Grant of Copyright License. Subject to the terms and conditions of
80
+ this License, each Contributor hereby grants to You a perpetual,
81
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
82
+ copyright license to reproduce, prepare Derivative Works of,
83
+ publicly display, publicly perform, sublicense, and distribute the
84
+ Work and such Derivative Works in Source or Object form.
85
+
86
+ 3. Grant of Patent License. Subject to the terms and conditions of
87
+ this License, each Contributor hereby grants to You a perpetual,
88
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
89
+ (except as stated in this section) patent license to make, have made,
90
+ use, offer to sell, sell, import, and otherwise transfer the Work,
91
+ where such license applies only to those patent claims licensable
92
+ by such Contributor that are necessarily infringed by their
93
+ Contribution(s) alone or by combination of their Contribution(s)
94
+ with the Work to which such Contribution(s) was submitted. If You
95
+ institute patent litigation against any entity (including a
96
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
97
+ or a Contribution incorporated within the Work constitutes direct
98
+ or contributory patent infringement, then any patent licenses
99
+ granted to You under this License for that Work shall terminate
100
+ as of the date such litigation is filed.
101
+
102
+ 4. Redistribution. You may reproduce and distribute copies of the
103
+ Work or Derivative Works thereof in any medium, with or without
104
+ modifications, and in Source or Object form, provided that You
105
+ meet the following conditions:
106
+
107
+ (a) You must give any other recipients of the Work or
108
+ Derivative Works a copy of this License; and
109
+
110
+ (b) You must cause any modified files to carry prominent notices
111
+ stating that You changed the files; and
112
+
113
+ (c) You must retain, in the Source form of any Derivative Works
114
+ that You distribute, all copyright, patent, trademark, and
115
+ attribution notices from the Source form of the Work,
116
+ excluding those notices that do not pertain to any part of
117
+ the Derivative Works; and
118
+
119
+ (d) If the Work includes a "NOTICE" text file as part of its
120
+ distribution, then any Derivative Works that You distribute must
121
+ include a readable copy of the attribution notices contained
122
+ within such NOTICE file, excluding those notices that do not
123
+ pertain to any part of the Derivative Works, in at least one
124
+ of the following places: within a NOTICE text file distributed
125
+ as part of the Derivative Works; within the Source form or
126
+ documentation, if provided along with the Derivative Works; or,
127
+ within a display generated by the Derivative Works, if and
128
+ wherever such third-party notices normally appear. The contents
129
+ of the NOTICE file are for informational purposes only and
130
+ do not modify the License. You may add Your own attribution
131
+ notices within Derivative Works that You distribute, alongside
132
+ or as an addendum to the NOTICE text from the Work, provided
133
+ that such additional attribution notices cannot be construed
134
+ as modifying the License.
135
+
136
+ You may add Your own copyright statement to Your modifications and
137
+ may provide additional or different license terms and conditions
138
+ for use, reproduction, or distribution of Your modifications, or
139
+ for any such Derivative Works as a whole, provided Your use,
140
+ reproduction, and distribution of the Work otherwise complies with
141
+ the conditions stated in this License.
142
+
143
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
144
+ any Contribution intentionally submitted for inclusion in the Work
145
+ by You to the Licensor shall be under the terms and conditions of
146
+ this License, without any additional terms or conditions.
147
+ Notwithstanding the above, nothing herein shall supersede or modify
148
+ the terms of any separate license agreement you may have executed
149
+ with Licensor regarding such Contributions.
150
+
151
+ 6. Trademarks. This License does not grant permission to use the trade
152
+ names, trademarks, service marks, or product names of the Licensor,
153
+ except as required for reasonable and customary use in describing the
154
+ origin of the Work and reproducing the content of the NOTICE file.
155
+
156
+ 7. Disclaimer of Warranty. Unless required by applicable law or
157
+ agreed to in writing, Licensor provides the Work (and each
158
+ Contributor provides its Contributions) on an "AS IS" BASIS,
159
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
160
+ implied, including, without limitation, any warranties or conditions
161
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
162
+ PARTICULAR PURPOSE. You are solely responsible for determining the
163
+ appropriateness of using or redistributing the Work and assume any
164
+ risks associated with Your exercise of permissions under this License.
165
+
166
+ 8. Limitation of Liability. In no event and under no legal theory,
167
+ whether in tort (including negligence), contract, or otherwise,
168
+ unless required by applicable law (such as deliberate and grossly
169
+ negligent acts) or agreed to in writing, shall any Contributor be
170
+ liable to You for damages, including any direct, indirect, special,
171
+ incidental, or consequential damages of any character arising as a
172
+ result of this License or out of the use or inability to use the
173
+ Work (including but not limited to damages for loss of goodwill,
174
+ work stoppage, computer failure or malfunction, or any and all
175
+ other commercial damages or losses), even if such Contributor
176
+ has been advised of the possibility of such damages.
177
+
178
+ 9. Accepting Warranty or Additional Liability. While redistributing
179
+ the Work or Derivative Works thereof, You may choose to offer,
180
+ and charge a fee for, acceptance of support, warranty, indemnity,
181
+ or other liability obligations and/or rights consistent with this
182
+ License. However, in accepting such obligations, You may act only
183
+ on Your own behalf and on Your sole responsibility, not on behalf
184
+ of any other Contributor, and only if You agree to indemnify,
185
+ defend, and hold each Contributor harmless for any liability
186
+ incurred by, or claims asserted against, such Contributor by reason
187
+ of your accepting any such warranty or additional liability.
188
+
189
+ END OF TERMS AND CONDITIONS
190
+
191
+ APPENDIX: How to apply the Apache License to your work.
192
+
193
+ To apply the Apache License to your work, attach the following
194
+ boilerplate notice, with the fields enclosed by brackets "[]"
195
+ replaced with your own identifying information. (Don't include
196
+ the brackets!) The text should be enclosed in the appropriate
197
+ comment syntax for the file format. We also recommend that a
198
+ file or class name and description of purpose be included on the
199
+ same "printed page" as the copyright notice for easier
200
+ identification within third-party archives.
201
+
202
+ Copyright [yyyy] [name of copyright owner]
203
+
204
+ Licensed under the Apache License, Version 2.0 (the "License");
205
+ you may not use this file except in compliance with the License.
206
+ You may obtain a copy of the License at
207
+
208
+ http://www.apache.org/licenses/LICENSE-2.0
209
+
210
+ Unless required by applicable law or agreed to in writing, software
211
+ distributed under the License is distributed on an "AS IS" BASIS,
212
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
213
+ See the License for the specific language governing permissions and
214
+ limitations under the License.
215
+
216
+ --------------------------------------------------------------------------------
217
+ BSD 3-Clause License
218
+ --------------------------------------------------------------------------------
219
+
220
+ Copyright (c) The Highway Project Authors. All rights reserved.
221
+
222
+ Redistribution and use in source and binary forms, with or without modification,
223
+ are permitted provided that the following conditions are met:
224
+
225
+ 1. Redistributions of source code must retain the above copyright notice, this
226
+ list of conditions and the following disclaimer.
227
+
228
+ 2. Redistributions in binary form must reproduce the above copyright notice,
229
+ this list of conditions and the following disclaimer in the documentation
230
+ and/or other materials provided with the distribution.
231
+
232
+ 3. Neither the name of the copyright holder nor the names of its
233
+ contributors may be used to endorse or promote products derived from
234
+ this software without specific prior written permission.
235
+
236
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
237
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
238
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
239
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
240
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
241
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
242
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
243
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
244
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
245
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
246
+
247
+ --------------------------------------------------------------------------------
248
+ CC0 1.0 Universal
249
+ --------------------------------------------------------------------------------
250
+
251
+ Creative Commons Legal Code
252
+
253
+ CC0 1.0 Universal
254
+
255
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
256
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
257
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
258
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
259
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
260
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
261
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
262
+ HEREUNDER.
263
+
264
+ Statement of Purpose
265
+
266
+ The laws of most jurisdictions throughout the world automatically confer
267
+ exclusive Copyright and Related Rights (defined below) upon the creator
268
+ and subsequent owner(s) (each and all, an "owner") of an original work of
269
+ authorship and/or a database (each, a "Work").
270
+
271
+ Certain owners wish to permanently relinquish those rights to a Work for
272
+ the purpose of contributing to a commons of creative, cultural and
273
+ scientific works ("Commons") that the public can reliably and without fear
274
+ of later claims of infringement build upon, modify, incorporate in other
275
+ works, reuse and redistribute as freely as possible in any form whatsoever
276
+ and for any purposes, including without limitation commercial purposes.
277
+ These owners may contribute to the Commons to promote the ideal of a free
278
+ culture and the further production of creative, cultural and scientific
279
+ works, or to gain reputation or greater distribution for their Work in
280
+ part through the use and efforts of others.
281
+
282
+ For these and/or other purposes and motivations, and without any
283
+ expectation of additional consideration or compensation, the person
284
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
285
+ is an owner of Copyright and Related Rights in the Work, voluntarily
286
+ elects to apply CC0 to the Work and publicly distribute the Work under its
287
+ terms, with knowledge of his or her Copyright and Related Rights in the
288
+ Work and the meaning and intended legal effect of CC0 on those rights.
289
+
290
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
291
+ protected by copyright and related or neighboring rights ("Copyright and
292
+ Related Rights"). Copyright and Related Rights include, but are not
293
+ limited to, the following:
294
+
295
+ i. the right to reproduce, adapt, distribute, perform, display,
296
+ communicate, and translate a Work;
297
+ ii. moral rights retained by the original author(s) and/or performer(s);
298
+ iii. publicity and privacy rights pertaining to a person's image or
299
+ likeness depicted in a Work;
300
+ iv. rights protecting against unfair competition in regards to a Work,
301
+ subject to the limitations in paragraph 4(a), below;
302
+ v. rights protecting the extraction, dissemination, use and reuse of data
303
+ in a Work;
304
+ vi. database rights (such as those arising under Directive 96/9/EC of the
305
+ European Parliament and of the Council of 11 March 1996 on the legal
306
+ protection of databases, and under any national implementation
307
+ thereof, including any amended or successor version of such
308
+ directive); and
309
+ vii. other similar, equivalent or corresponding rights throughout the
310
+ world based on applicable law or treaty, and any national
311
+ implementations thereof.
312
+
313
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
314
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
315
+ irrevocably and unconditionally waives, abandons, and surrenders all of
316
+ Affirmer's Copyright and Related Rights and associated claims and causes
317
+ of action, whether now known or unknown (including existing as well as
318
+ future claims and causes of action), in the Work (i) in all territories
319
+ worldwide, (ii) for the maximum duration provided by applicable law or
320
+ treaty (including future time extensions), (iii) in any current or future
321
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
322
+ including without limitation commercial, advertising or promotional
323
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
324
+ member of the public at large and to the detriment of Affirmer's heirs and
325
+ successors, fully intending that such Waiver shall not be subject to
326
+ revocation, rescission, cancellation, termination, or any other legal or
327
+ equitable action to disrupt the quiet enjoyment of the Work by the public
328
+ as contemplated by Affirmer's express Statement of Purpose.
329
+
330
+ 3. Public License Fallback. Should any part of the Waiver for any reason
331
+ be judged legally invalid or ineffective under applicable law, then the
332
+ Waiver shall be preserved to the maximum extent permitted taking into
333
+ account Affirmer's express Statement of Purpose. In addition, to the
334
+ extent the Waiver is so judged Affirmer hereby grants to each affected
335
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
336
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
337
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
338
+ maximum duration provided by applicable law or treaty (including future
339
+ time extensions), (iii) in any current or future medium and for any number
340
+ of copies, and (iv) for any purpose whatsoever, including without
341
+ limitation commercial, advertising or promotional purposes (the
342
+ "License"). The License shall be deemed effective as of the date CC0 was
343
+ applied by Affirmer to the Work. Should any part of the License for any
344
+ reason be judged legally invalid or ineffective under applicable law, such
345
+ partial invalidity or ineffectiveness shall not invalidate the remainder
346
+ of the License, and in such case Affirmer hereby affirms that he or she
347
+ will not (i) exercise any of his or her remaining Copyright and Related
348
+ Rights in the Work or (ii) assert any associated claims and causes of
349
+ action with respect to the Work, in either case contrary to Affirmer's
350
+ express Statement of Purpose.
351
+
352
+ 4. Limitations and Disclaimers.
353
+
354
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
355
+ surrendered, licensed or otherwise affected by this document.
356
+ b. Affirmer offers the Work as-is and makes no representations or
357
+ warranties of any kind concerning the Work, express, implied,
358
+ statutory or otherwise, including without limitation warranties of
359
+ title, merchantability, fitness for a particular purpose, non
360
+ infringement, or the absence of latent or other defects, accuracy, or
361
+ the present or absence of errors, whether or not discoverable, all to
362
+ the greatest extent permissible under applicable law.
363
+ c. Affirmer disclaims responsibility for clearing rights of other persons
364
+ that may apply to the Work or any use thereof, including without
365
+ limitation any person's Copyright and Related Rights in the Work.
366
+ Further, Affirmer disclaims responsibility for obtaining any necessary
367
+ consents, permissions or other rights required for any use of the
368
+ Work.
369
+ d. Affirmer understands and acknowledges that Creative Commons is not a
370
+ party to this document and has no duty or obligation with respect to
371
+ this CC0 or use of the Work.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/multiarray/dragon4_LICENSE.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2014 Ryan Juckett
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to
5
+ deal in the Software without restriction, including without limitation the
6
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
+ sell copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19
+ IN THE SOFTWARE.
20
+
21
+ dragon4.c|h h contains a modified version of Ryan Juckett's Dragon4
22
+ implementation, obtained from https://www.ryanjuckett.com,
23
+ which has been ported from C++ to C and which has
24
+ modifications specific to printing floats in numpy.
25
+
26
+ Ryan Juckett's original code was under the Zlib license; he gave numpy
27
+ permission to include it under the MIT license instead.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/npysort/x86-simd-sort/LICENSE.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2022, Intel. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/_core/src/umath/svml/LICENSE ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2005-2021, 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.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/fft/pocketfft/LICENSE.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (C) 2010-2018 Max-Planck-Society
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification,
5
+ are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+ * Redistributions in binary form must reproduce the above copyright notice, this
10
+ list of conditions and the following disclaimer in the documentation and/or
11
+ other materials provided with the distribution.
12
+ * Neither the name of the copyright holder nor the names of its contributors may
13
+ be used to endorse or promote products derived from this software without
14
+ specific prior written permission.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
20
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
23
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/linalg/lapack_lite/LICENSE.txt ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 1992-2013 The University of Tennessee and The University
2
+ of Tennessee Research Foundation. All rights
3
+ reserved.
4
+ Copyright (c) 2000-2013 The University of California Berkeley. All
5
+ rights reserved.
6
+ Copyright (c) 2006-2013 The University of Colorado Denver. All rights
7
+ reserved.
8
+
9
+ $COPYRIGHT$
10
+
11
+ Additional copyrights may follow
12
+
13
+ $HEADER$
14
+
15
+ Redistribution and use in source and binary forms, with or without
16
+ modification, are permitted provided that the following conditions are
17
+ met:
18
+
19
+ - Redistributions of source code must retain the above copyright
20
+ notice, this list of conditions and the following disclaimer.
21
+
22
+ - Redistributions in binary form must reproduce the above copyright
23
+ notice, this list of conditions and the following disclaimer listed
24
+ in this license in the documentation and/or other materials
25
+ provided with the distribution.
26
+
27
+ - Neither the name of the copyright holders nor the names of its
28
+ contributors may be used to endorse or promote products derived from
29
+ this software without specific prior written permission.
30
+
31
+ The copyright holders provide no reassurances that the source code
32
+ provided does not infringe any patent, copyright, or any other
33
+ intellectual property rights of third parties. The copyright holders
34
+ disclaim any liability to any recipient for claims brought against
35
+ recipient by any third party for infringement of that parties
36
+ intellectual property rights.
37
+
38
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
39
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
40
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
41
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
42
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
43
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
44
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
45
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
46
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
47
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
48
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/ma/LICENSE ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * Copyright (c) 2006, University of Georgia and Pierre G.F. Gerard-Marchant
2
+ * All rights reserved.
3
+ * Redistribution and use in source and binary forms, with or without
4
+ * modification, are permitted provided that the following conditions are met:
5
+ *
6
+ * * Redistributions of source code must retain the above copyright
7
+ * notice, this list of conditions and the following disclaimer.
8
+ * * Redistributions in binary form must reproduce the above copyright
9
+ * notice, this list of conditions and the following disclaimer in the
10
+ * documentation and/or other materials provided with the distribution.
11
+ * * Neither the name of the University of Georgia nor the
12
+ * names of its contributors may be used to endorse or promote products
13
+ * derived from this software without specific prior written permission.
14
+ *
15
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
16
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ * DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
19
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/LICENSE.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ **This software is dual-licensed under the The University of Illinois/NCSA
2
+ Open Source License (NCSA) and The 3-Clause BSD License**
3
+
4
+ # NCSA Open Source License
5
+ **Copyright (c) 2019 Kevin Sheppard. All rights reserved.**
6
+
7
+ Developed by: Kevin Sheppard (<kevin.sheppard@economics.ox.ac.uk>,
8
+ <kevin.k.sheppard@gmail.com>)
9
+ [http://www.kevinsheppard.com](http://www.kevinsheppard.com)
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
12
+ this software and associated documentation files (the "Software"), to deal with
13
+ the Software without restriction, including without limitation the rights to
14
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
15
+ of the Software, and to permit persons to whom the Software is furnished to do
16
+ so, subject to the following conditions:
17
+
18
+ Redistributions of source code must retain the above copyright notice, this
19
+ list of conditions and the following disclaimers.
20
+
21
+ Redistributions in binary form must reproduce the above copyright notice, this
22
+ list of conditions and the following disclaimers in the documentation and/or
23
+ other materials provided with the distribution.
24
+
25
+ Neither the names of Kevin Sheppard, nor the names of any contributors may be
26
+ used to endorse or promote products derived from this Software without specific
27
+ prior written permission.
28
+
29
+ **THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
+ CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH
35
+ THE SOFTWARE.**
36
+
37
+
38
+ # 3-Clause BSD License
39
+ **Copyright (c) 2019 Kevin Sheppard. All rights reserved.**
40
+
41
+ Redistribution and use in source and binary forms, with or without
42
+ modification, are permitted provided that the following conditions are met:
43
+
44
+ 1. Redistributions of source code must retain the above copyright notice,
45
+ this list of conditions and the following disclaimer.
46
+
47
+ 2. Redistributions in binary form must reproduce the above copyright notice,
48
+ this list of conditions and the following disclaimer in the documentation
49
+ and/or other materials provided with the distribution.
50
+
51
+ 3. Neither the name of the copyright holder nor the names of its contributors
52
+ may be used to endorse or promote products derived from this software
53
+ without specific prior written permission.
54
+
55
+ **THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
56
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
57
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
58
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
59
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
60
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
61
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
62
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
63
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
64
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
65
+ THE POSSIBILITY OF SUCH DAMAGE.**
66
+
67
+ # Components
68
+
69
+ Many parts of this module have been derived from original sources,
70
+ often the algorithm's designer. Component licenses are located with
71
+ the component code.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/distributions/LICENSE.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## NumPy
2
+
3
+ Copyright (c) 2005-2017, NumPy Developers.
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are
8
+ met:
9
+
10
+ * Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above
14
+ copyright notice, this list of conditions and the following
15
+ disclaimer in the documentation and/or other materials provided
16
+ with the distribution.
17
+
18
+ * Neither the name of the NumPy Developers nor the names of any
19
+ contributors may be used to endorse or promote products derived
20
+ from this software without specific prior written permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
+
34
+
35
+ ## Julia
36
+
37
+ The ziggurat methods were derived from Julia.
38
+
39
+ Copyright (c) 2009-2019: Jeff Bezanson, Stefan Karpinski, Viral B. Shah,
40
+ and other contributors:
41
+
42
+ https://github.com/JuliaLang/julia/contributors
43
+
44
+ Permission is hereby granted, free of charge, to any person obtaining
45
+ a copy of this software and associated documentation files (the
46
+ "Software"), to deal in the Software without restriction, including
47
+ without limitation the rights to use, copy, modify, merge, publish,
48
+ distribute, sublicense, and/or sell copies of the Software, and to
49
+ permit persons to whom the Software is furnished to do so, subject to
50
+ the following conditions:
51
+
52
+ The above copyright notice and this permission notice shall be
53
+ included in all copies or substantial portions of the Software.
54
+
55
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
56
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
57
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
58
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
59
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
60
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
61
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/mt19937/LICENSE.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MT19937
2
+
3
+ Copyright (c) 2003-2005, Jean-Sebastien Roy (js@jeannot.org)
4
+
5
+ The rk_random and rk_seed functions algorithms and the original design of
6
+ the Mersenne Twister RNG:
7
+
8
+ Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
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
13
+ are met:
14
+
15
+ 1. Redistributions of source code must retain the above copyright
16
+ notice, this list of conditions and the following disclaimer.
17
+
18
+ 2. Redistributions in binary form must reproduce the above copyright
19
+ notice, this list of conditions and the following disclaimer in the
20
+ documentation and/or other materials provided with the distribution.
21
+
22
+ 3. The names of its contributors may not be used to endorse or promote
23
+ products derived from this software without specific prior written
24
+ permission.
25
+
26
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
29
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
30
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
31
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
32
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
33
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
34
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
35
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
36
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37
+
38
+ Original algorithm for the implementation of rk_interval function from
39
+ Richard J. Wagner's implementation of the Mersenne Twister RNG, optimised by
40
+ Magnus Jonsson.
41
+
42
+ Constants used in the rk_double implementation by Isaku Wada.
43
+
44
+ Permission is hereby granted, free of charge, to any person obtaining a
45
+ copy of this software and associated documentation files (the
46
+ "Software"), to deal in the Software without restriction, including
47
+ without limitation the rights to use, copy, modify, merge, publish,
48
+ distribute, sublicense, and/or sell copies of the Software, and to
49
+ permit persons to whom the Software is furnished to do so, subject to
50
+ the following conditions:
51
+
52
+ The above copyright notice and this permission notice shall be included
53
+ in all copies or substantial portions of the Software.
54
+
55
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
56
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
57
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
58
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
59
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
60
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
61
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/pcg64/LICENSE.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PCG64
2
+
3
+ ## The MIT License
4
+
5
+ PCG Random Number Generation for C.
6
+
7
+ Copyright 2014 Melissa O'Neill <oneill@pcg-random.org>
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining
10
+ a copy of this software and associated documentation files (the "Software"),
11
+ to deal in the Software without restriction, including without limitation
12
+ the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
19
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/philox/LICENSE.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PHILOX
2
+
3
+ Copyright 2010-2012, D. E. Shaw Research.
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are
8
+ met:
9
+
10
+ * Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions, and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions, and the following disclaimer in the
15
+ documentation and/or other materials provided with the distribution.
16
+
17
+ * Neither the name of D. E. Shaw Research nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/sfc64/LICENSE.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SFC64
2
+
3
+ ## The MIT License
4
+
5
+ Adapted from a C++ implementation of Chris Doty-Humphrey's SFC PRNG.
6
+
7
+ https://gist.github.com/imneme/f1f7821f07cf76504a97f6537c818083
8
+
9
+ Copyright (c) 2018 Melissa E. O'Neill
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a
12
+ copy of this software and associated documentation files (the "Software"),
13
+ to deal in the Software without restriction, including without limitation
14
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
15
+ and/or sell copies of the Software, and to permit persons to whom the
16
+ Software is furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in
19
+ all copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27
+ DEALINGS IN THE SOFTWARE.
.venv/lib/python3.12/site-packages/numpy-2.5.3.dist-info/licenses/numpy/random/src/splitmix64/LICENSE.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # SPLITMIX64
2
+
3
+ Written in 2015 by Sebastiano Vigna (vigna@acm.org)
4
+
5
+ To the extent possible under law, the author has dedicated all copyright
6
+ and related and neighboring rights to this software to the public domain
7
+ worldwide. This software is distributed without any warranty.
8
+
9
+ See <http://creativecommons.org/publicdomain/zero/1.0/>.
.venv/lib/python3.12/site-packages/numpy.libs/libgfortran-83c28eba-468e71e5.so.5.0.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6a368328d02a5d8a149746f13f6268f8cc9192df5c18777b25c3c9b5ef52160
3
+ size 2862249
.venv/lib/python3.12/site-packages/numpy.libs/libquadmath-2284e583-a9307bba.so.0.0.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bc3069003caec1f075be3c51ae8355332f081fa9465910c4b5724e7fe7d8ad4
3
+ size 275553
.venv/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-f48b354e.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:432e1c1739731468ba305771af96773939e43016643e2d630f58cb45b6670e96
3
+ size 24325657
.venv/lib/python3.12/site-packages/numpy/tests/test_scripts.py ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """ Test scripts
2
+
3
+ Test that we can run executable scripts that have been installed with numpy.
4
+ """
5
+ import os
6
+ import subprocess
7
+ import sys
8
+ from os.path import dirname
9
+
10
+ import pytest
11
+
12
+ import numpy as np
13
+ from numpy.testing import IS_WASM, assert_equal
14
+
15
+
16
+ def find_f2py_commands():
17
+ if sys.platform == 'win32':
18
+ exe_dir = dirname(sys.executable)
19
+ if exe_dir.endswith('Scripts'): # virtualenv
20
+ return [os.path.join(exe_dir, 'f2py')]
21
+ else:
22
+ return [os.path.join(exe_dir, "Scripts", 'f2py')]
23
+ else:
24
+ # Three scripts are installed in Unix-like systems:
25
+ # 'f2py', 'f2py{major}', and 'f2py{major.minor}'. For example,
26
+ # if installed with python3.9 the scripts would be named
27
+ # 'f2py', 'f2py3', and 'f2py3.9'.
28
+ version = sys.version_info
29
+ major = str(version.major)
30
+ minor = str(version.minor)
31
+ return ['f2py', 'f2py' + major, 'f2py' + major + '.' + minor]
32
+
33
+
34
+ @pytest.mark.xfail(reason="Test is unreliable")
35
+ @pytest.mark.parametrize('f2py_cmd', find_f2py_commands())
36
+ def test_f2py(f2py_cmd):
37
+ # test that we can run f2py script
38
+ stdout = subprocess.check_output([f2py_cmd, '-v'])
39
+ assert_equal(stdout.strip(), np.__version__.encode('ascii'))
40
+
41
+
42
+ @pytest.mark.skipif(IS_WASM, reason="Cannot start subprocess")
43
+ def test_pep338():
44
+ stdout = subprocess.check_output([sys.executable, '-mnumpy.f2py', '-v'])
45
+ assert_equal(stdout.strip(), np.__version__.encode('ascii'))
.venv/lib/python3.12/site-packages/numpy/tests/test_warnings.py ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Tests which scan for certain occurrences in the code, they may not find
3
+ all of these occurrences but should catch almost all.
4
+ """
5
+ import ast
6
+ import tokenize
7
+ from pathlib import Path
8
+
9
+ import pytest
10
+
11
+ import numpy
12
+
13
+
14
+ class ParseCall(ast.NodeVisitor):
15
+ def __init__(self):
16
+ self.ls = []
17
+
18
+ def visit_Attribute(self, node):
19
+ ast.NodeVisitor.generic_visit(self, node)
20
+ self.ls.append(node.attr)
21
+
22
+ def visit_Name(self, node):
23
+ self.ls.append(node.id)
24
+
25
+
26
+ class FindFuncs(ast.NodeVisitor):
27
+ def __init__(self, filename):
28
+ super().__init__()
29
+ self.__filename = filename
30
+
31
+ def visit_Call(self, node):
32
+ p = ParseCall()
33
+ p.visit(node.func)
34
+ ast.NodeVisitor.generic_visit(self, node)
35
+
36
+ if p.ls[-1] == 'simplefilter' or p.ls[-1] == 'filterwarnings':
37
+ if node.args and getattr(node.args[0], "value", None) == "ignore":
38
+ if not self.__filename.name.startswith("test_"):
39
+ raise AssertionError(
40
+ "ignore filters should only be used in tests; "
41
+ f"found in {self.__filename} on line {node.lineno}")
42
+
43
+ if p.ls[-1] == 'warn' and (
44
+ len(p.ls) == 1 or p.ls[-2] == 'warnings'):
45
+
46
+ if "testing/tests/test_warnings.py" == self.__filename:
47
+ # This file
48
+ return
49
+
50
+ # See if stacklevel or skip_file_prefixes exists:
51
+ if len(node.args) == 3:
52
+ return
53
+ args = {kw.arg for kw in node.keywords}
54
+ if "stacklevel" in args:
55
+ return
56
+ if "skip_file_prefixes" in args:
57
+ return
58
+ raise AssertionError(
59
+ "warnings should have an appropriate stacklevel or skip_file_prefixes; "
60
+ f"found in {self.__filename} on line {node.lineno}")
61
+
62
+
63
+ @pytest.mark.slow
64
+ def test_warning_calls():
65
+ # combined "ignore" and stacklevel error
66
+ base = Path(numpy.__file__).parent
67
+
68
+ for path in base.rglob("*.py"):
69
+ if base / "testing" in path.parents:
70
+ continue
71
+ if path == base / "__init__.py":
72
+ continue
73
+ if path == base / "random" / "__init__.py":
74
+ continue
75
+ if path == base / "conftest.py":
76
+ continue
77
+ # use tokenize to auto-detect encoding on systems where no
78
+ # default encoding is defined (e.g. LANG='C')
79
+ with tokenize.open(str(path)) as file:
80
+ tree = ast.parse(file.read())
81
+ FindFuncs(path).visit(tree)
.venv/lib/python3.12/site-packages/numpy/typing/__init__.py ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ ============================
3
+ Typing (:mod:`numpy.typing`)
4
+ ============================
5
+
6
+ .. versionadded:: 1.20
7
+
8
+ Large parts of the NumPy API have :pep:`484`-style type annotations. In
9
+ addition a number of type aliases are available to users, most prominently
10
+ the two below:
11
+
12
+ - `ArrayLike`: objects that can be converted to arrays
13
+ - `DTypeLike`: objects that can be converted to dtypes
14
+
15
+ .. _typing-extensions: https://pypi.org/project/typing-extensions/
16
+
17
+ Mypy plugin
18
+ -----------
19
+
20
+ .. versionadded:: 1.21
21
+
22
+ .. automodule:: numpy.typing.mypy_plugin
23
+
24
+ .. currentmodule:: numpy.typing
25
+
26
+ Differences from the runtime NumPy API
27
+ --------------------------------------
28
+
29
+ NumPy is very flexible. Trying to describe the full range of
30
+ possibilities statically would result in types that are not very
31
+ helpful. For that reason, the typed NumPy API is often stricter than
32
+ the runtime NumPy API. This section describes some notable
33
+ differences.
34
+
35
+ ArrayLike
36
+ ~~~~~~~~~
37
+
38
+ The `ArrayLike` type tries to avoid creating object arrays. For
39
+ example,
40
+
41
+ .. code-block:: python
42
+
43
+ >>> np.array(x**2 for x in range(10))
44
+ array(<generator object <genexpr> at ...>, dtype=object)
45
+
46
+ is valid NumPy code which will create a 0-dimensional object
47
+ array. Type checkers will complain about the above example when using
48
+ the NumPy types however. If you really intended to do the above, then
49
+ you can either use a ``# type: ignore`` comment:
50
+
51
+ .. code-block:: python
52
+
53
+ >>> np.array(x**2 for x in range(10)) # type: ignore
54
+
55
+ or explicitly type the array like object as `~typing.Any`:
56
+
57
+ .. code-block:: python
58
+
59
+ >>> from typing import Any
60
+ >>> array_like: Any = (x**2 for x in range(10))
61
+ >>> np.array(array_like)
62
+ array(<generator object <genexpr> at ...>, dtype=object)
63
+
64
+ DTypeLike
65
+ ~~~~~~~~~
66
+
67
+ The `DTypeLike` type tries to avoid creation of dtype objects using
68
+ dictionary of fields like below:
69
+
70
+ .. code-block:: python
71
+
72
+ >>> x = np.dtype({"field1": (float, 1), "field2": (int, 3)})
73
+
74
+ Although this is valid NumPy code, the type checker will complain about it,
75
+ since its usage is discouraged.
76
+ Please see : :ref:`Data type objects <arrays.dtypes>`
77
+
78
+ Number precision
79
+ ~~~~~~~~~~~~~~~~
80
+
81
+ The precision of `numpy.number` subclasses is treated as an invariant generic
82
+ parameter (see :class:`~NBitBase`), simplifying the annotating of processes
83
+ involving precision-based casting.
84
+
85
+ .. code-block:: python
86
+
87
+ >>> from typing import TypeVar
88
+ >>> import numpy as np
89
+ >>> import numpy.typing as npt
90
+
91
+ >>> T = TypeVar("T", bound=npt.NBitBase)
92
+ >>> def func(a: np.floating[T], b: np.floating[T]) -> np.floating[T]:
93
+ ... ...
94
+
95
+ Consequently, the likes of `~numpy.float16`, `~numpy.float32` and
96
+ `~numpy.float64` are still sub-types of `~numpy.floating`, but, contrary to
97
+ runtime, they're not necessarily considered as sub-classes.
98
+
99
+ .. deprecated:: 2.3
100
+ The :class:`~numpy.typing.NBitBase` helper is deprecated and will be
101
+ removed in a future release. Prefer expressing precision relationships via
102
+ ``typing.overload`` or ``TypeVar`` definitions bounded by concrete scalar
103
+ classes. For example:
104
+
105
+ .. code-block:: python
106
+
107
+ from typing import TypeVar
108
+ import numpy as np
109
+
110
+ S = TypeVar("S", bound=np.floating)
111
+
112
+ def func(a: S, b: S) -> S:
113
+ ...
114
+
115
+ or in the case of different input types mapping to different output types:
116
+
117
+ .. code-block:: python
118
+
119
+ from typing import overload
120
+ import numpy as np
121
+
122
+ @overload
123
+ def phase(x: np.complex64) -> np.float32: ...
124
+ @overload
125
+ def phase(x: np.complex128) -> np.float64: ...
126
+ @overload
127
+ def phase(x: np.clongdouble) -> np.longdouble: ...
128
+ def phase(x: np.complexfloating) -> np.floating:
129
+ ...
130
+
131
+ Timedelta64
132
+ ~~~~~~~~~~~
133
+
134
+ The `~numpy.timedelta64` class is not considered a subclass of
135
+ `~numpy.signedinteger`, the former only inheriting from `~numpy.generic`
136
+ while static type checking.
137
+
138
+ Record array dtypes
139
+ ~~~~~~~~~~~~~~~~~~~
140
+
141
+ The dtype of `numpy.recarray`, and the :ref:`routines.array-creation.rec`
142
+ functions in general, can be specified in one of two ways:
143
+
144
+ * Directly via the ``dtype`` argument.
145
+ * With up to five helper arguments that operate via `numpy.rec.format_parser`:
146
+ ``formats``, ``names``, ``titles``, ``aligned`` and ``byteorder``.
147
+
148
+ These two approaches are currently typed as being mutually exclusive,
149
+ *i.e.* if ``dtype`` is specified than one may not specify ``formats``.
150
+ While this mutual exclusivity is not (strictly) enforced during runtime,
151
+ combining both dtype specifiers can lead to unexpected or even downright
152
+ buggy behavior.
153
+
154
+ API
155
+ ---
156
+
157
+ .. rubric:: ndarray
158
+
159
+ The `numpy.ndarray` class is a `generic type`_ that accepts two type arguments:
160
+
161
+ 1. The type of `numpy.ndarray.shape`, which must be a `tuple` of `int`, e.g.
162
+ ``tuple[int, int]`` (2-D shape) or ``tuple[()]`` (0-D shape).
163
+ The default shape is ``tuple[Any, ...]``, which represents an unknown shape with
164
+ *any* number of dimensions.
165
+ Currently, ``Literal`` ints or other more specific types are not supported.
166
+ 2. The type of `numpy.ndarray.dtype`, which must be a subtype of `numpy.dtype` such as
167
+ ``numpy.dtype[numpy.float64]``. If omitted, it will default to ``numpy.dtype[Any]``.
168
+
169
+ .. code-block:: python
170
+
171
+ >>> import numpy as np
172
+
173
+ >>> type ImageRGB = np.ndarray[tuple[int, int, int], np.dtype[np.uint8]]
174
+ >>> type Vector[S: np.generic] = np.ndarray[tuple[int], np.dtype[S]]
175
+
176
+ .. _generic type: https://typing.python.org/en/latest/spec/generics.html
177
+
178
+ """
179
+ # NOTE: The API section will be appended with additional entries
180
+ # further down in this file
181
+
182
+ # pyright: reportDeprecated=false
183
+
184
+ from numpy._typing import ArrayLike, DTypeLike, NBitBase, NDArray
185
+
186
+ __all__ = ["ArrayLike", "DTypeLike", "NBitBase", "NDArray"]
187
+
188
+
189
+ __DIR = __all__ + [k for k in globals() if k.startswith("__") and k.endswith("__")]
190
+ __DIR_SET = frozenset(__DIR)
191
+
192
+
193
+ def __dir__() -> list[str]:
194
+ return __DIR
195
+
196
+ def __getattr__(name: str) -> object:
197
+ if name == "NBitBase":
198
+ import warnings
199
+
200
+ # Deprecated in NumPy 2.3, 2025-05-01
201
+ warnings.warn(
202
+ "`NBitBase` is deprecated and will be removed from numpy.typing in the "
203
+ "future. Use `@typing.overload` or a `TypeVar` with a scalar-type as upper "
204
+ "bound, instead. (deprecated in NumPy 2.3)",
205
+ DeprecationWarning,
206
+ stacklevel=2,
207
+ )
208
+ return NBitBase
209
+
210
+ if name in __DIR_SET:
211
+ return globals()[name]
212
+
213
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
214
+
215
+
216
+ if __doc__ is not None:
217
+ from numpy._typing._add_docstring import _docstrings
218
+ __doc__ += _docstrings
219
+ __doc__ += '\n.. autoclass:: numpy.typing.NBitBase\n'
220
+ del _docstrings
221
+
222
+ from numpy._pytesttester import PytestTester
223
+
224
+ test = PytestTester(__name__)
225
+ del PytestTester
.venv/lib/python3.12/site-packages/numpy/typing/__init__.pyi ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from numpy._typing import ( # type: ignore[deprecated]
2
+ ArrayLike,
3
+ DTypeLike,
4
+ NBitBase,
5
+ NDArray,
6
+ )
7
+
8
+ __all__ = ["ArrayLike", "DTypeLike", "NBitBase", "NDArray"]
.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (7.28 kB). View file
 
.venv/lib/python3.12/site-packages/numpy/typing/mypy_plugin.py ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """A mypy_ plugin for managing a number of platform-specific annotations.
2
+ Its functionality can be split into three distinct parts:
3
+
4
+ * Assigning the (platform-dependent) precisions of certain `~numpy.number`
5
+ subclasses, including the likes of `~numpy.int_`, `~numpy.intp` and
6
+ `~numpy.longlong`. See the documentation on
7
+ :ref:`scalar types <arrays.scalars.built-in>` for a comprehensive overview
8
+ of the affected classes. Without the plugin the precision of all relevant
9
+ classes will be inferred as `~typing.Any`.
10
+ * Removing all extended-precision `~numpy.number` subclasses that are
11
+ unavailable for the platform in question. Most notably this includes the
12
+ likes of `~numpy.float128` and `~numpy.complex256`. Without the plugin *all*
13
+ extended-precision types will, as far as mypy is concerned, be available
14
+ to all platforms.
15
+ * Assigning the (platform-dependent) precision of `~numpy.ctypeslib.c_intp`.
16
+ Without the plugin the type will default to `ctypes.c_int64`.
17
+
18
+ .. versionadded:: 1.22
19
+
20
+ .. deprecated:: 2.3
21
+ The :mod:`numpy.typing.mypy_plugin` entry-point is deprecated in favor of
22
+ platform-agnostic static type inference. Remove
23
+ ``numpy.typing.mypy_plugin`` from the ``plugins`` section of your mypy
24
+ configuration; if that surfaces new errors, please open an issue with a
25
+ minimal reproducer.
26
+
27
+ Examples
28
+ --------
29
+ To enable the plugin, one must add it to their mypy `configuration file`_:
30
+
31
+ .. code-block:: ini
32
+
33
+ [mypy]
34
+ plugins = numpy.typing.mypy_plugin
35
+
36
+ .. _mypy: https://mypy-lang.org/
37
+ .. _configuration file: https://mypy.readthedocs.io/en/stable/config_file.html
38
+
39
+ """
40
+
41
+ from collections.abc import Callable, Iterable
42
+ from typing import TYPE_CHECKING, Final, cast
43
+
44
+ import numpy as np
45
+
46
+ __all__: list[str] = []
47
+
48
+
49
+ def _get_precision_dict() -> dict[str, str]:
50
+ names = [
51
+ ("_NBitByte", np.byte),
52
+ ("_NBitShort", np.short),
53
+ ("_NBitIntC", np.intc),
54
+ ("_NBitIntP", np.intp),
55
+ ("_NBitInt", np.int_),
56
+ ("_NBitLong", np.long),
57
+ ("_NBitLongLong", np.longlong),
58
+
59
+ ("_NBitHalf", np.half),
60
+ ("_NBitSingle", np.single),
61
+ ("_NBitDouble", np.double),
62
+ ("_NBitLongDouble", np.longdouble),
63
+ ]
64
+ ret: dict[str, str] = {}
65
+ for name, typ in names:
66
+ n = 8 * np.dtype(typ).itemsize
67
+ ret[f"{_MODULE}._nbit.{name}"] = f"{_MODULE}._nbit_base._{n}Bit"
68
+ return ret
69
+
70
+
71
+ def _get_extended_precision_list() -> list[str]:
72
+ extended_names = [
73
+ "float96",
74
+ "float128",
75
+ "complex192",
76
+ "complex256",
77
+ ]
78
+ return [i for i in extended_names if hasattr(np, i)]
79
+
80
+ def _get_c_intp_name() -> str:
81
+ # Adapted from `np.core._internal._getintp_ctype`
82
+ return {
83
+ "i": "c_int",
84
+ "l": "c_long",
85
+ "q": "c_longlong",
86
+ }.get(np.dtype("n").char, "c_long")
87
+
88
+
89
+ _MODULE: Final = "numpy._typing"
90
+
91
+ #: A dictionary mapping type-aliases in `numpy._typing._nbit` to
92
+ #: concrete `numpy.typing.NBitBase` subclasses.
93
+ _PRECISION_DICT: Final = _get_precision_dict()
94
+
95
+ #: A list with the names of all extended precision `np.number` subclasses.
96
+ _EXTENDED_PRECISION_LIST: Final = _get_extended_precision_list()
97
+
98
+ #: The name of the ctypes equivalent of `np.intp`
99
+ _C_INTP: Final = _get_c_intp_name()
100
+
101
+
102
+ try:
103
+ if TYPE_CHECKING:
104
+ from mypy.typeanal import TypeAnalyser
105
+
106
+ import mypy.types
107
+ from mypy.build import PRI_MED
108
+ from mypy.nodes import ImportFrom, MypyFile, Statement
109
+ from mypy.plugin import AnalyzeTypeContext, Plugin
110
+
111
+ except ModuleNotFoundError as _exc:
112
+
113
+ def plugin(version: str) -> type:
114
+ raise _exc
115
+
116
+ else:
117
+
118
+ type _HookFunc = Callable[[AnalyzeTypeContext], mypy.types.Type]
119
+
120
+ def _hook(ctx: AnalyzeTypeContext) -> mypy.types.Type:
121
+ """Replace a type-alias with a concrete ``NBitBase`` subclass."""
122
+ typ, _, api = ctx
123
+ name = typ.name.split(".")[-1]
124
+ name_new = _PRECISION_DICT[f"{_MODULE}._nbit.{name}"]
125
+ return cast("TypeAnalyser", api).named_type(name_new)
126
+
127
+ def _index(iterable: Iterable[Statement], id: str) -> int:
128
+ """Identify the first ``ImportFrom`` instance the specified `id`."""
129
+ for i, value in enumerate(iterable):
130
+ if getattr(value, "id", None) == id:
131
+ return i
132
+ raise ValueError("Failed to identify a `ImportFrom` instance "
133
+ f"with the following id: {id!r}")
134
+
135
+ def _override_imports(
136
+ file: MypyFile,
137
+ module: str,
138
+ imports: list[tuple[str, str | None]],
139
+ ) -> None:
140
+ """Override the first `module`-based import with new `imports`."""
141
+ # Construct a new `from module import y` statement
142
+ import_obj = ImportFrom(module, 0, names=imports)
143
+ import_obj.is_top_level = True
144
+
145
+ # Replace the first `module`-based import statement with `import_obj`
146
+ for lst in [file.defs, cast("list[Statement]", file.imports)]:
147
+ i = _index(lst, module)
148
+ lst[i] = import_obj
149
+
150
+ class _NumpyPlugin(Plugin):
151
+ """A mypy plugin for handling versus numpy-specific typing tasks."""
152
+
153
+ def get_type_analyze_hook(self, fullname: str) -> _HookFunc | None:
154
+ """Set the precision of platform-specific `numpy.number`
155
+ subclasses.
156
+
157
+ For example: `numpy.int_`, `numpy.longlong` and `numpy.longdouble`.
158
+ """
159
+ if fullname in _PRECISION_DICT:
160
+ return _hook
161
+ return None
162
+
163
+ def get_additional_deps(
164
+ self, file: MypyFile
165
+ ) -> list[tuple[int, str, int]]:
166
+ """Handle all import-based overrides.
167
+
168
+ * Import platform-specific extended-precision `numpy.number`
169
+ subclasses (*e.g.* `numpy.float96` and `numpy.float128`).
170
+ * Import the appropriate `ctypes` equivalent to `numpy.intp`.
171
+
172
+ """
173
+ fullname = file.fullname
174
+ if fullname == "numpy":
175
+ _override_imports(
176
+ file,
177
+ f"{_MODULE}._extended_precision",
178
+ imports=[(v, v) for v in _EXTENDED_PRECISION_LIST],
179
+ )
180
+ elif fullname == "numpy.ctypeslib":
181
+ _override_imports(
182
+ file,
183
+ "ctypes",
184
+ imports=[(_C_INTP, "_c_intp")],
185
+ )
186
+ return [(PRI_MED, fullname, -1)]
187
+
188
+ def plugin(version: str) -> type:
189
+ import warnings
190
+
191
+ plugin = "numpy.typing.mypy_plugin"
192
+ # Deprecated 2025-01-10, NumPy 2.3
193
+ warn_msg = (
194
+ f"`{plugin}` is deprecated, and will be removed in a future "
195
+ f"release. Please remove `plugins = {plugin}` in your mypy config."
196
+ f"(deprecated in NumPy 2.3)"
197
+ )
198
+ warnings.warn(warn_msg, DeprecationWarning, stacklevel=3)
199
+
200
+ return _NumpyPlugin
.venv/lib/python3.12/site-packages/numpy/typing/tests/__init__.py ADDED
File without changes
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/arithmetic.pyi ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ import numpy as np
4
+ import numpy.typing as npt
5
+
6
+ b_ = np.bool()
7
+ dt = np.datetime64(0, "D")
8
+ td = np.timedelta64(0, "D")
9
+
10
+ AR_b: npt.NDArray[np.bool]
11
+ AR_u: npt.NDArray[np.uint32]
12
+ AR_i: npt.NDArray[np.int64]
13
+ AR_f: npt.NDArray[np.longdouble]
14
+ AR_c: npt.NDArray[np.complex128]
15
+ AR_m: npt.NDArray[np.timedelta64]
16
+ AR_M: npt.NDArray[np.datetime64]
17
+
18
+ ANY: Any
19
+
20
+ AR_LIKE_b: list[bool]
21
+ AR_LIKE_u: list[np.uint32]
22
+ AR_LIKE_i: list[int]
23
+ AR_LIKE_f: list[float]
24
+ AR_LIKE_c: list[complex]
25
+ AR_LIKE_m: list[np.timedelta64]
26
+ AR_LIKE_M: list[np.datetime64]
27
+
28
+ # Array subtraction
29
+
30
+ # NOTE: mypys `NoReturn` errors are, unfortunately, not that great
31
+ _1 = AR_b - AR_LIKE_b # type: ignore[var-annotated]
32
+ _2 = AR_LIKE_b - AR_b # type: ignore[var-annotated]
33
+ AR_i - b"" # type: ignore[operator]
34
+
35
+ AR_f - AR_LIKE_m # type: ignore[operator]
36
+ AR_f - AR_LIKE_M # type: ignore[operator]
37
+ AR_c - AR_LIKE_m # type: ignore[operator]
38
+ AR_c - AR_LIKE_M # type: ignore[operator]
39
+
40
+ AR_m - AR_LIKE_f # type: ignore[operator]
41
+ AR_M - AR_LIKE_f # type: ignore[operator]
42
+ AR_m - AR_LIKE_c # type: ignore[operator]
43
+ AR_M - AR_LIKE_c # type: ignore[operator]
44
+
45
+ AR_m - AR_LIKE_M # type: ignore[operator]
46
+ AR_LIKE_m - AR_M # type: ignore[operator]
47
+
48
+ # array floor division
49
+
50
+ AR_M // AR_LIKE_b # type: ignore[operator]
51
+ AR_M // AR_LIKE_u # type: ignore[operator]
52
+ AR_M // AR_LIKE_i # type: ignore[operator]
53
+ AR_M // AR_LIKE_f # type: ignore[operator]
54
+ AR_M // AR_LIKE_c # type: ignore[operator]
55
+ AR_M // AR_LIKE_m # type: ignore[operator]
56
+ AR_M // AR_LIKE_M # type: ignore[operator]
57
+
58
+ AR_b // AR_LIKE_M # type: ignore[operator]
59
+ AR_u // AR_LIKE_M # type: ignore[operator]
60
+ AR_i // AR_LIKE_M # type: ignore[operator]
61
+ AR_f // AR_LIKE_M # type: ignore[operator]
62
+ AR_c // AR_LIKE_M # type: ignore[operator]
63
+ AR_m // AR_LIKE_M # type: ignore[operator]
64
+ AR_M // AR_LIKE_M # type: ignore[operator]
65
+
66
+ _3 = AR_m // AR_LIKE_b # type: ignore[var-annotated]
67
+ AR_m // AR_LIKE_c # type: ignore[operator]
68
+
69
+ AR_b // AR_LIKE_m # type: ignore[operator]
70
+ AR_u // AR_LIKE_m # type: ignore[operator]
71
+ AR_i // AR_LIKE_m # type: ignore[operator]
72
+ AR_f // AR_LIKE_m # type: ignore[operator]
73
+ AR_c // AR_LIKE_m # type: ignore[operator]
74
+
75
+ # regression tests for https://github.com/numpy/numpy/issues/28957
76
+ AR_c // 2 # type: ignore[operator]
77
+ AR_c // AR_i # type: ignore[operator]
78
+ AR_c // AR_c # type: ignore[operator]
79
+
80
+ # Array multiplication
81
+
82
+ AR_b *= AR_LIKE_u # type: ignore[arg-type]
83
+ AR_b *= AR_LIKE_i # type: ignore[arg-type]
84
+ AR_b *= AR_LIKE_f # type: ignore[arg-type]
85
+ AR_b *= AR_LIKE_c # type: ignore[arg-type]
86
+ AR_b *= AR_LIKE_m # type: ignore[arg-type]
87
+
88
+ AR_u *= AR_LIKE_f # type: ignore[arg-type]
89
+ AR_u *= AR_LIKE_c # type: ignore[arg-type]
90
+ AR_u *= AR_LIKE_m # type: ignore[arg-type]
91
+
92
+ AR_i *= AR_LIKE_f # type: ignore[arg-type]
93
+ AR_i *= AR_LIKE_c # type: ignore[arg-type]
94
+ AR_i *= AR_LIKE_m # type: ignore[arg-type]
95
+
96
+ AR_f *= AR_LIKE_c # type: ignore[arg-type]
97
+ AR_f *= AR_LIKE_m # type: ignore[arg-type]
98
+
99
+ # Array power
100
+
101
+ AR_b **= AR_LIKE_b # type: ignore[misc]
102
+ AR_b **= AR_LIKE_u # type: ignore[misc]
103
+ AR_b **= AR_LIKE_i # type: ignore[misc]
104
+ AR_b **= AR_LIKE_f # type: ignore[misc]
105
+ AR_b **= AR_LIKE_c # type: ignore[misc]
106
+
107
+ AR_u **= AR_LIKE_f # type: ignore[arg-type]
108
+ AR_u **= AR_LIKE_c # type: ignore[arg-type]
109
+
110
+ AR_i **= AR_LIKE_f # type: ignore[arg-type]
111
+ AR_i **= AR_LIKE_c # type: ignore[arg-type]
112
+
113
+ AR_f **= AR_LIKE_c # type: ignore[arg-type]
114
+
115
+ # Scalars
116
+
117
+ b_ - b_ # type: ignore[operator]
118
+
119
+ dt + dt # type: ignore[operator]
120
+ td - dt # type: ignore[operator]
121
+ td % 1 # type: ignore[operator]
122
+ td / dt # type: ignore[operator]
123
+ td % dt # type: ignore[operator]
124
+
125
+ -b_ # type: ignore[operator]
126
+ +b_ # type: ignore[operator]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/array_constructors.pyi ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ import numpy.typing as npt
3
+
4
+ a: npt.NDArray[np.float64]
5
+ generator = (i for i in range(10))
6
+
7
+ np.require(a, requirements=1) # type: ignore[call-overload]
8
+ np.require(a, requirements="TEST") # type: ignore[arg-type]
9
+
10
+ np.zeros("test") # type: ignore[arg-type]
11
+ np.zeros() # type: ignore[call-overload]
12
+
13
+ np.ones("test") # type: ignore[arg-type]
14
+ np.ones() # type: ignore[call-overload]
15
+
16
+ np.array(0, float, True) # type: ignore[call-overload]
17
+
18
+ np.linspace(None, "bob") # type: ignore[call-overload]
19
+ np.linspace(0, 2, num=10.0) # type: ignore[call-overload]
20
+ np.linspace(0, 2, endpoint="True") # type: ignore[call-overload]
21
+ np.linspace(0, 2, retstep=b"False") # type: ignore[call-overload]
22
+ np.linspace(0, 2, dtype=0) # type: ignore[call-overload]
23
+ np.linspace(0, 2, axis=None) # type: ignore[call-overload]
24
+
25
+ np.logspace(None, "bob") # type: ignore[call-overload]
26
+ np.logspace(0, 2, base=None) # type: ignore[call-overload]
27
+
28
+ np.geomspace(None, "bob") # type: ignore[call-overload]
29
+
30
+ np.stack(generator) # type: ignore[call-overload]
31
+ np.hstack({1, 2}) # type: ignore[call-overload]
32
+ np.vstack(1) # type: ignore[call-overload]
33
+
34
+ np.array([1], like=1) # type: ignore[call-overload]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/array_like.pyi ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ from numpy._typing import ArrayLike
3
+
4
+ class A: ...
5
+
6
+ x1: ArrayLike = (i for i in range(10)) # type: ignore[assignment]
7
+ x2: ArrayLike = A() # type: ignore[assignment]
8
+ x3: ArrayLike = {1: "foo", 2: "bar"} # type: ignore[assignment]
9
+
10
+ scalar = np.int64(1)
11
+ scalar.__array__(dtype=np.float64) # type: ignore[call-overload]
12
+ array = np.array([1])
13
+ array.__array__(dtype=np.float64) # type: ignore[call-overload]
14
+
15
+ array.setfield(np.eye(1), np.int32, (0, 1)) # type: ignore[arg-type]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/array_pad.pyi ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ import numpy.typing as npt
3
+
4
+ AR_i8: npt.NDArray[np.int64]
5
+
6
+ np.pad(AR_i8, 2, mode="bob") # type: ignore[call-overload]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/arrayprint.pyi ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Callable
2
+ from typing import Any
3
+
4
+ import numpy as np
5
+ import numpy.typing as npt
6
+
7
+ AR: npt.NDArray[np.float64]
8
+ func1: Callable[[Any], str]
9
+ func2: Callable[[np.integer], str]
10
+
11
+ np.array2string(AR, legacy="1.14") # type: ignore[arg-type]
12
+ np.array2string(AR, sign="*") # type: ignore[arg-type]
13
+ np.array2string(AR, floatmode="default") # type: ignore[arg-type]
14
+ np.array2string(AR, formatter={"A": func1}) # type: ignore[arg-type]
15
+ np.array2string(AR, formatter={"float": func2}) # type: ignore[arg-type]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/arrayterator.pyi ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ import numpy.typing as npt
3
+
4
+ AR_i8: npt.NDArray[np.int64]
5
+ ar_iter = np.lib.Arrayterator(AR_i8)
6
+
7
+ np.lib.Arrayterator(np.int64()) # type: ignore[arg-type]
8
+ ar_iter.shape = (10, 5) # type: ignore[misc]
9
+ ar_iter[None] # type: ignore[index]
10
+ ar_iter[None, 1] # type: ignore[index]
11
+ ar_iter[np.intp()] # type: ignore[index]
12
+ ar_iter[np.intp(), ...] # type: ignore[index]
13
+ ar_iter[AR_i8] # type: ignore[index]
14
+ ar_iter[AR_i8, :] # type: ignore[index]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/bitwise_ops.pyi ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+
3
+ i8 = np.int64()
4
+ i4 = np.int32()
5
+ u8 = np.uint64()
6
+ b_ = np.bool()
7
+ i = 0
8
+
9
+ f8 = np.float64()
10
+
11
+ b_ >> f8 # type: ignore[operator]
12
+ i8 << f8 # type: ignore[operator]
13
+ i | f8 # type: ignore[operator]
14
+ i8 ^ f8 # type: ignore[operator]
15
+ u8 & f8 # type: ignore[operator]
16
+ ~f8 # type: ignore[operator]
17
+ # TODO: Certain mixes like i4 << u8 go to float and thus should fail
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/char.pyi ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ import numpy.typing as npt
3
+
4
+ AR_U: npt.NDArray[np.str_]
5
+ AR_S: npt.NDArray[np.bytes_]
6
+
7
+ np.char.equal(AR_U, AR_S) # type: ignore[arg-type]
8
+ np.char.not_equal(AR_U, AR_S) # type: ignore[arg-type]
9
+
10
+ np.char.greater_equal(AR_U, AR_S) # type: ignore[arg-type]
11
+ np.char.less_equal(AR_U, AR_S) # type: ignore[arg-type]
12
+ np.char.greater(AR_U, AR_S) # type: ignore[arg-type]
13
+ np.char.less(AR_U, AR_S) # type: ignore[arg-type]
14
+
15
+ np.char.encode(AR_S) # type: ignore[arg-type]
16
+ np.char.decode(AR_U) # type: ignore[arg-type]
17
+
18
+ np.char.join(AR_U, b"_") # type: ignore[arg-type]
19
+ np.char.join(AR_S, "_") # type: ignore[arg-type]
20
+
21
+ np.char.ljust(AR_U, 5, fillchar=b"a") # type: ignore[arg-type]
22
+ np.char.rjust(AR_U, 5, fillchar=b"a") # type: ignore[arg-type]
23
+
24
+ np.char.lstrip(AR_U, chars=b"a") # type: ignore[arg-type]
25
+ np.char.lstrip(AR_S, chars="a") # type: ignore[arg-type]
26
+ np.char.strip(AR_U, chars=b"a") # type: ignore[arg-type]
27
+ np.char.strip(AR_S, chars="a") # type: ignore[arg-type]
28
+ np.char.rstrip(AR_U, chars=b"a") # type: ignore[arg-type]
29
+ np.char.rstrip(AR_S, chars="a") # type: ignore[arg-type]
30
+
31
+ np.char.partition(AR_U, b"a") # type: ignore[arg-type]
32
+ np.char.partition(AR_S, "a") # type: ignore[arg-type]
33
+ np.char.rpartition(AR_U, b"a") # type: ignore[arg-type]
34
+ np.char.rpartition(AR_S, "a") # type: ignore[arg-type]
35
+
36
+ np.char.replace(AR_U, b"_", b"-") # type: ignore[arg-type]
37
+ np.char.replace(AR_S, "_", "-") # type: ignore[arg-type]
38
+
39
+ np.char.split(AR_U, b"_") # type: ignore[arg-type]
40
+ np.char.split(AR_S, "_") # type: ignore[arg-type]
41
+ np.char.rsplit(AR_U, b"_") # type: ignore[arg-type]
42
+ np.char.rsplit(AR_S, "_") # type: ignore[arg-type]
43
+
44
+ np.char.count(AR_U, b"a", start=[1, 2, 3]) # type: ignore[arg-type]
45
+ np.char.count(AR_S, "a", end=9) # type: ignore[arg-type]
46
+
47
+ np.char.endswith(AR_U, b"a", start=[1, 2, 3]) # type: ignore[arg-type]
48
+ np.char.endswith(AR_S, "a", end=9) # type: ignore[arg-type]
49
+ np.char.startswith(AR_U, b"a", start=[1, 2, 3]) # type: ignore[arg-type]
50
+ np.char.startswith(AR_S, "a", end=9) # type: ignore[arg-type]
51
+
52
+ np.char.find(AR_U, b"a", start=[1, 2, 3]) # type: ignore[arg-type]
53
+ np.char.find(AR_S, "a", end=9) # type: ignore[arg-type]
54
+ np.char.rfind(AR_U, b"a", start=[1, 2, 3]) # type: ignore[arg-type]
55
+ np.char.rfind(AR_S, "a", end=9) # type: ignore[arg-type]
56
+
57
+ np.char.index(AR_U, b"a", start=[1, 2, 3]) # type: ignore[arg-type]
58
+ np.char.index(AR_S, "a", end=9) # type: ignore[arg-type]
59
+ np.char.rindex(AR_U, b"a", start=[1, 2, 3]) # type: ignore[arg-type]
60
+ np.char.rindex(AR_S, "a", end=9) # type: ignore[arg-type]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/chararray.pyi ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ import numpy as np
4
+
5
+ AR_U: np.char.chararray[tuple[Any, ...], np.dtype[np.str_]] # type: ignore[deprecated]
6
+ AR_S: np.char.chararray[tuple[Any, ...], np.dtype[np.bytes_]] # type: ignore[deprecated]
7
+
8
+ AR_S.encode() # type: ignore[misc]
9
+ AR_U.decode() # type: ignore[misc]
10
+
11
+ AR_U.join(b"_") # type: ignore[arg-type]
12
+ AR_S.join("_") # type: ignore[arg-type]
13
+
14
+ AR_U.ljust(5, fillchar=b"a") # type: ignore[arg-type]
15
+ AR_U.rjust(5, fillchar=b"a") # type: ignore[arg-type]
16
+
17
+ AR_U.lstrip(chars=b"a") # type: ignore[arg-type]
18
+ AR_S.lstrip(chars="a") # type: ignore[arg-type]
19
+ AR_U.strip(chars=b"a") # type: ignore[arg-type]
20
+ AR_S.strip(chars="a") # type: ignore[arg-type]
21
+ AR_U.rstrip(chars=b"a") # type: ignore[arg-type]
22
+ AR_S.rstrip(chars="a") # type: ignore[arg-type]
23
+
24
+ AR_U.partition(b"a") # type: ignore[arg-type]
25
+ AR_S.partition("a") # type: ignore[arg-type]
26
+ AR_U.rpartition(b"a") # type: ignore[arg-type]
27
+ AR_S.rpartition("a") # type: ignore[arg-type]
28
+
29
+ AR_U.replace(b"_", b"-") # type: ignore[arg-type]
30
+ AR_S.replace("_", "-") # type: ignore[arg-type]
31
+
32
+ AR_U.split(b"_") # type: ignore[arg-type]
33
+ AR_S.split("_") # type: ignore[arg-type]
34
+ AR_S.split(1) # type: ignore[arg-type]
35
+ AR_U.rsplit(b"_") # type: ignore[arg-type]
36
+ AR_S.rsplit("_") # type: ignore[arg-type]
37
+
38
+ AR_U.count(b"a", start=[1, 2, 3]) # type: ignore[arg-type]
39
+ AR_S.count("a", end=9) # type: ignore[arg-type]
40
+
41
+ AR_U.endswith(b"a", start=[1, 2, 3]) # type: ignore[arg-type]
42
+ AR_S.endswith("a", end=9) # type: ignore[arg-type]
43
+ AR_U.startswith(b"a", start=[1, 2, 3]) # type: ignore[arg-type]
44
+ AR_S.startswith("a", end=9) # type: ignore[arg-type]
45
+
46
+ AR_U.find(b"a", start=[1, 2, 3]) # type: ignore[arg-type]
47
+ AR_S.find("a", end=9) # type: ignore[arg-type]
48
+ AR_U.rfind(b"a", start=[1, 2, 3]) # type: ignore[arg-type]
49
+ AR_S.rfind("a", end=9) # type: ignore[arg-type]
50
+
51
+ AR_U.index(b"a", start=[1, 2, 3]) # type: ignore[arg-type]
52
+ AR_S.index("a", end=9) # type: ignore[arg-type]
53
+ AR_U.rindex(b"a", start=[1, 2, 3]) # type: ignore[arg-type]
54
+ AR_S.rindex("a", end=9) # type: ignore[arg-type]
55
+
56
+ AR_U == AR_S # type: ignore[operator]
57
+ AR_U != AR_S # type: ignore[operator]
58
+ AR_U >= AR_S # type: ignore[operator]
59
+ AR_U <= AR_S # type: ignore[operator]
60
+ AR_U > AR_S # type: ignore[operator]
61
+ AR_U < AR_S # type: ignore[operator]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/comparisons.pyi ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ import numpy.typing as npt
3
+
4
+ AR_i: npt.NDArray[np.int64]
5
+ AR_f: npt.NDArray[np.float64]
6
+ AR_c: npt.NDArray[np.complex128]
7
+ AR_m: npt.NDArray[np.timedelta64]
8
+ AR_M: npt.NDArray[np.datetime64]
9
+
10
+ AR_f > AR_m # type: ignore[operator]
11
+ AR_c > AR_m # type: ignore[operator]
12
+
13
+ AR_m > AR_f # type: ignore[operator]
14
+ AR_m > AR_c # type: ignore[operator]
15
+
16
+ AR_i > AR_M # type: ignore[operator]
17
+ AR_f > AR_M # type: ignore[operator]
18
+ AR_m > AR_M # type: ignore[operator]
19
+
20
+ AR_M > AR_i # type: ignore[operator]
21
+ AR_M > AR_f # type: ignore[operator]
22
+ AR_M > AR_m # type: ignore[operator]
23
+
24
+ AR_i > "" # type: ignore[operator]
25
+ AR_i > b"" # type: ignore[operator]
26
+ "" > AR_M # type: ignore[operator]
27
+ b"" > AR_M # type: ignore[operator]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/constants.pyi ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import numpy as np
2
+
3
+ np.little_endian = np.little_endian # type: ignore[misc]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/datasource.pyi ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+
3
+ import numpy as np
4
+
5
+ path: Path
6
+ d1: np.lib.npyio.DataSource
7
+
8
+ d1.abspath(path) # type: ignore[arg-type]
9
+ d1.abspath(b"...") # type: ignore[arg-type]
10
+
11
+ d1.exists(path) # type: ignore[arg-type]
12
+ d1.exists(b"...") # type: ignore[arg-type]
13
+
14
+ d1.open(path, "r") # type: ignore[arg-type]
15
+ d1.open(b"...", encoding="utf8") # type: ignore[arg-type]
16
+ d1.open(None, newline="/n") # type: ignore[arg-type]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/dtype.pyi ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+
3
+ class Test1:
4
+ not_dtype = np.dtype(float)
5
+
6
+ class Test2:
7
+ dtype = float
8
+
9
+ np.dtype(Test1()) # type: ignore[call-overload]
10
+ np.dtype(Test2()) # type: ignore[arg-type]
11
+
12
+ np.dtype( # type: ignore[call-overload]
13
+ {
14
+ "field1": (float, 1),
15
+ "field2": (int, 3),
16
+ }
17
+ )
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/einsumfunc.pyi ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ import numpy.typing as npt
3
+
4
+ AR_i: npt.NDArray[np.int64]
5
+ AR_f: npt.NDArray[np.float64]
6
+ AR_m: npt.NDArray[np.timedelta64]
7
+ AR_U: npt.NDArray[np.str_]
8
+
9
+ np.einsum("i,i->i", AR_i, AR_m) # type: ignore[arg-type]
10
+ np.einsum("i,i->i", AR_f, AR_f, dtype=np.int32) # type: ignore[arg-type]
11
+ np.einsum("i,i->i", AR_i, AR_i, out=AR_U) # type: ignore[type-var]
12
+ np.einsum("i,i->i", AR_i, AR_i, out=AR_U, casting="unsafe") # type: ignore[call-overload]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/flatiter.pyi ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ import numpy as np
4
+ import numpy.typing as npt
5
+
6
+ class _Index:
7
+ def __index__(self) -> int: ...
8
+
9
+ class _MyArray:
10
+ def __array__(self) -> np.ndarray[tuple[int], np.dtypes.Float64DType]: ...
11
+
12
+ _index: _Index
13
+ _my_array: _MyArray
14
+ _something: Any
15
+ _dtype: np.dtype[np.int8]
16
+
17
+ _a_nd: np.flatiter[npt.NDArray[np.float64]]
18
+
19
+ ###
20
+
21
+ _a_nd.base = _something # type: ignore[misc]
22
+ _a_nd.coords = _something # type: ignore[misc]
23
+ _a_nd.index = _something # type: ignore[misc]
24
+
25
+ _a_nd.copy("C") # type: ignore[call-arg]
26
+ _a_nd.copy(order="C") # type: ignore[call-arg]
27
+
28
+ # NOTE: Contrary to `ndarray.__getitem__` its counterpart in `flatiter`
29
+ # does not accept objects with the `__array__` or `__index__` protocols;
30
+ # boolean indexing is just plain broken (gh-17175)
31
+ _a_nd[np.True_] # type: ignore[call-overload]
32
+ _a_nd[_index] # type: ignore[call-overload]
33
+ _a_nd[_my_array] # type: ignore[call-overload]
34
+
35
+ # `dtype` and `copy` are no-ops in `flatiter.__array__`
36
+ _a_nd.__array__(_dtype) # type: ignore[arg-type]
37
+ _a_nd.__array__(dtype=_dtype) # type: ignore[call-arg]
38
+ _a_nd.__array__(copy=True) # type: ignore[arg-type]
.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/fromnumeric.pyi ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Tests for :mod:`numpy._core.fromnumeric`."""
2
+
3
+ import numpy as np
4
+ import numpy.typing as npt
5
+
6
+ A = np.array(True, ndmin=2, dtype=bool)
7
+ A.setflags(write=False)
8
+ AR_U: npt.NDArray[np.str_]
9
+ AR_M: npt.NDArray[np.datetime64]
10
+ AR_f4: npt.NDArray[np.float32]
11
+
12
+ a = np.bool(True)
13
+
14
+ np.take(a, None) # type: ignore[call-overload]
15
+ np.take(a, axis=1.0) # type: ignore[call-overload]
16
+ np.take(A, out=1) # type: ignore[call-overload]
17
+ np.take(A, mode="bob") # type: ignore[call-overload]
18
+
19
+ np.reshape(a, None) # type: ignore[call-overload]
20
+ np.reshape(A, 1, order="bob") # type: ignore[call-overload]
21
+
22
+ np.choose(a, None) # type: ignore[call-overload]
23
+ np.choose(a, out=1.0) # type: ignore[call-overload]
24
+ np.choose(A, mode="bob") # type: ignore[call-overload]
25
+
26
+ np.repeat(a, None) # type: ignore[call-overload]
27
+ np.repeat(A, 1, axis=1.0) # type: ignore[call-overload]
28
+
29
+ np.swapaxes(A, None, 1) # type: ignore[call-overload]
30
+ np.swapaxes(A, 1, [0]) # type: ignore[call-overload]
31
+
32
+ np.transpose(A, axes=1.0) # type: ignore[call-overload]
33
+
34
+ np.partition(a, None) # type: ignore[call-overload]
35
+ np.partition(a, 0, axis="bob") # type: ignore[call-overload]
36
+ np.partition(A, 0, kind="bob") # type: ignore[call-overload]
37
+ np.partition(A, 0, order=range(5)) # type: ignore[arg-type]
38
+
39
+ np.argpartition(a, None) # type: ignore[call-overload]
40
+ np.argpartition(a, 0, axis="bob") # type: ignore[call-overload]
41
+ np.argpartition(A, 0, kind="bob") # type: ignore[call-overload]
42
+ np.argpartition(A, 0, order=range(5)) # type: ignore[arg-type]
43
+ np.argpartition(AR_f4, 0, order="a") # type: ignore[arg-type]
44
+
45
+ np.sort(A, axis="bob") # type: ignore[call-overload]
46
+ np.sort(A, kind="bob") # type: ignore[call-overload]
47
+ np.sort(A, order=range(5)) # type: ignore[arg-type]
48
+
49
+ np.argsort(A, axis="bob") # type: ignore[call-overload]
50
+ np.argsort(A, kind="bob") # type: ignore[call-overload]
51
+ np.argsort(A, order=range(5)) # type: ignore[arg-type]
52
+
53
+ np.argmax(A, axis="bob") # type: ignore[call-overload]
54
+ np.argmax(A, kind="bob") # type: ignore[call-overload]
55
+ np.argmax(A, out=AR_f4) # type: ignore[type-var]
56
+
57
+ np.argmin(A, axis="bob") # type: ignore[call-overload]
58
+ np.argmin(A, kind="bob") # type: ignore[call-overload]
59
+ np.argmin(A, out=AR_f4) # type: ignore[type-var]
60
+
61
+ np.searchsorted(A[0], 0, side="bob") # type: ignore[call-overload]
62
+ np.searchsorted(A[0], 0, sorter=1.0) # type: ignore[call-overload]
63
+
64
+ np.resize(A, 1.0) # type: ignore[call-overload]
65
+
66
+ np.squeeze(A, 1.0) # type: ignore[call-overload]
67
+
68
+ np.diagonal(A, offset=None) # type: ignore[call-overload]
69
+ np.diagonal(A, axis1="bob") # type: ignore[call-overload]
70
+ np.diagonal(A, axis2=[]) # type: ignore[call-overload]
71
+
72
+ np.trace(A, offset=None) # type: ignore[call-overload]
73
+ np.trace(A, axis1="bob") # type: ignore[call-overload]
74
+ np.trace(A, axis2=[]) # type: ignore[call-overload]
75
+
76
+ np.ravel(a, order="bob") # type: ignore[call-overload]
77
+
78
+ np.nonzero(0) # type: ignore[call-overload]
79
+
80
+ np.compress([True], A, axis=1.0) # type: ignore[call-overload]
81
+
82
+ np.clip(a, 1, 2, out=1) # type: ignore[call-overload]
83
+
84
+ np.sum(a, axis=1.0) # type: ignore[call-overload]
85
+ np.sum(a, keepdims=1.0) # type: ignore[call-overload]
86
+ np.sum(a, initial=[1]) # type: ignore[call-overload]
87
+
88
+ np.all(a, axis=1.0) # type: ignore[call-overload]
89
+ np.all(a, keepdims=1.0) # type: ignore[call-overload]
90
+ np.all(a, out=1.0) # type: ignore[call-overload]
91
+
92
+ np.any(a, axis=1.0) # type: ignore[call-overload]
93
+ np.any(a, keepdims=1.0) # type: ignore[call-overload]
94
+ np.any(a, out=1.0) # type: ignore[call-overload]
95
+
96
+ np.cumsum(a, axis=1.0) # type: ignore[call-overload]
97
+ np.cumsum(a, dtype=1.0) # type: ignore[call-overload]
98
+ np.cumsum(a, out=1.0) # type: ignore[call-overload]
99
+
100
+ np.ptp(a, axis=1.0) # type: ignore[call-overload]
101
+ np.ptp(a, keepdims=1.0) # type: ignore[call-overload]
102
+ np.ptp(a, out=1.0) # type: ignore[call-overload]
103
+
104
+ np.amax(a, axis=1.0) # type: ignore[call-overload]
105
+ np.amax(a, keepdims=1.0) # type: ignore[call-overload]
106
+ np.amax(a, out=1.0) # type: ignore[call-overload]
107
+ np.amax(a, initial=[1.0]) # type: ignore[call-overload]
108
+ np.amax(a, where=[1.0]) # type: ignore[arg-type]
109
+
110
+ np.amin(a, axis=1.0) # type: ignore[call-overload]
111
+ np.amin(a, keepdims=1.0) # type: ignore[call-overload]
112
+ np.amin(a, out=1.0) # type: ignore[call-overload]
113
+ np.amin(a, initial=[1.0]) # type: ignore[call-overload]
114
+ np.amin(a, where=[1.0]) # type: ignore[arg-type]
115
+
116
+ np.prod(a, axis=1.0) # type: ignore[call-overload]
117
+ np.prod(a, out=False) # type: ignore[call-overload]
118
+ np.prod(a, keepdims=1.0) # type: ignore[call-overload]
119
+ np.prod(a, initial=int) # type: ignore[call-overload]
120
+ np.prod(a, where=1.0) # type: ignore[call-overload]
121
+ np.prod(AR_U) # type: ignore[type-var]
122
+
123
+ np.cumprod(a, axis=1.0) # type: ignore[call-overload]
124
+ np.cumprod(a, out=False) # type: ignore[call-overload]
125
+ np.cumprod(AR_U) # type: ignore[type-var]
126
+
127
+ np.size(a, axis=1.0) # type: ignore[arg-type]
128
+
129
+ np.around(a, decimals=1.0) # type: ignore[call-overload]
130
+ np.around(a, out=type) # type: ignore[call-overload]
131
+ np.around(AR_U) # type: ignore[type-var]
132
+
133
+ np.mean(a, axis=1.0) # type: ignore[call-overload]
134
+ np.mean(a, out=False) # type: ignore[call-overload]
135
+ np.mean(a, keepdims=1.0) # type: ignore[call-overload]
136
+ np.mean(AR_U) # type: ignore[arg-type]
137
+ np.mean(AR_M) # type: ignore[arg-type]
138
+
139
+ np.std(a, axis=1.0) # type: ignore[call-overload]
140
+ np.std(a, out=False) # type: ignore[call-overload]
141
+ np.std(a, ddof="test") # type: ignore[call-overload]
142
+ np.std(a, keepdims=1.0) # type: ignore[call-overload]
143
+ np.std(AR_U) # type: ignore[arg-type]
144
+
145
+ np.var(a, axis=1.0) # type: ignore[call-overload]
146
+ np.var(a, out=False) # type: ignore[call-overload]
147
+ np.var(a, ddof="test") # type: ignore[call-overload]
148
+ np.var(a, keepdims=1.0) # type: ignore[call-overload]
149
+ np.var(AR_U) # type: ignore[arg-type]