dl1wjd2 commited on
Commit
ffc4eac
·
verified ·
1 Parent(s): efb9cb0

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 +16 -0
  2. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/INSTALLER +1 -0
  3. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/METADATA +139 -0
  4. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/RECORD +0 -0
  5. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/WHEEL +6 -0
  6. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/entry_points.txt +13 -0
  7. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/LICENSE.txt +935 -0
  8. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/_core/include/numpy/libdivide/LICENSE.txt +21 -0
  9. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/_core/src/common/pythoncapi-compat/COPYING +14 -0
  10. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/_core/src/highway/LICENSE +371 -0
  11. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/_core/src/multiarray/dragon4_LICENSE.txt +27 -0
  12. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/_core/src/npysort/x86-simd-sort/LICENSE.md +28 -0
  13. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/_core/src/umath/svml/LICENSE +30 -0
  14. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/fft/pocketfft/LICENSE.md +25 -0
  15. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/linalg/lapack_lite/LICENSE.txt +48 -0
  16. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/ma/LICENSE +24 -0
  17. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/random/LICENSE.md +71 -0
  18. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/random/src/distributions/LICENSE.md +61 -0
  19. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/random/src/mt19937/LICENSE.md +61 -0
  20. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/random/src/pcg64/LICENSE.md +22 -0
  21. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/random/src/philox/LICENSE.md +31 -0
  22. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/random/src/sfc64/LICENSE.md +27 -0
  23. hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/numpy/random/src/splitmix64/LICENSE.md +9 -0
  24. hug/lib/python3.12/site-packages/numpy.libs/libgfortran-83c28eba-468e71e5.so.5.0.0 +3 -0
  25. hug/lib/python3.12/site-packages/numpy.libs/libquadmath-2284e583-a9307bba.so.0.0.0 +3 -0
  26. hug/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-f48b354e.so +3 -0
  27. hug/lib/python3.12/site-packages/numpy/random/LICENSE.md +71 -0
  28. hug/lib/python3.12/site-packages/numpy/random/__init__.pxd +14 -0
  29. hug/lib/python3.12/site-packages/numpy/random/__init__.py +213 -0
  30. hug/lib/python3.12/site-packages/numpy/random/__init__.pyi +130 -0
  31. hug/lib/python3.12/site-packages/numpy/random/__pycache__/__init__.cpython-312.pyc +0 -0
  32. hug/lib/python3.12/site-packages/numpy/random/__pycache__/_pickle.cpython-312.pyc +0 -0
  33. hug/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so +3 -0
  34. hug/lib/python3.12/site-packages/numpy/random/_bounded_integers.pxd +29 -0
  35. hug/lib/python3.12/site-packages/numpy/random/_bounded_integers.pyi +1 -0
  36. hug/lib/python3.12/site-packages/numpy/random/_common.cpython-312-x86_64-linux-gnu.so +3 -0
  37. hug/lib/python3.12/site-packages/numpy/random/_common.pxd +110 -0
  38. hug/lib/python3.12/site-packages/numpy/random/_common.pyi +17 -0
  39. hug/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/extending.cpython-312.pyc +0 -0
  40. hug/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/parse.cpython-312.pyc +0 -0
  41. hug/lib/python3.12/site-packages/numpy/random/_examples/cffi/extending.py +44 -0
  42. hug/lib/python3.12/site-packages/numpy/random/_examples/cffi/parse.py +53 -0
  43. hug/lib/python3.12/site-packages/numpy/random/_examples/cython/extending.pyx +77 -0
  44. hug/lib/python3.12/site-packages/numpy/random/_examples/cython/extending_distributions.pyx +117 -0
  45. hug/lib/python3.12/site-packages/numpy/random/_examples/cython/meson.build +53 -0
  46. hug/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending.cpython-312.pyc +0 -0
  47. hug/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending_distributions.cpython-312.pyc +0 -0
  48. hug/lib/python3.12/site-packages/numpy/random/_examples/numba/extending.py +86 -0
  49. hug/lib/python3.12/site-packages/numpy/random/_examples/numba/extending_distributions.py +67 -0
  50. hug/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-x86_64-linux-gnu.so +3 -0
.gitattributes CHANGED
@@ -178,3 +178,19 @@ hug/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_linalg.cpyt
178
  hug/lib/python3.12/site-packages/numpy/ma/__pycache__/core.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
179
  hug/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_core.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
180
  hug/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_extras.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  hug/lib/python3.12/site-packages/numpy/ma/__pycache__/core.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
179
  hug/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_core.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
180
  hug/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_extras.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
181
+ hug/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
182
+ hug/lib/python3.12/site-packages/numpy/random/_common.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
183
+ hug/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
184
+ hug/lib/python3.12/site-packages/numpy/random/_mt19937.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
185
+ hug/lib/python3.12/site-packages/numpy/random/_pcg64.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
186
+ hug/lib/python3.12/site-packages/numpy/random/_philox.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
187
+ hug/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
188
+ hug/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
189
+ hug/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
190
+ hug/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_random.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
191
+ hug/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
192
+ hug/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
193
+ hug/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/test_utils.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
194
+ hug/lib/python3.12/site-packages/numpy.libs/libgfortran-83c28eba-468e71e5.so.5.0.0 filter=lfs diff=lfs merge=lfs -text
195
+ hug/lib/python3.12/site-packages/numpy.libs/libquadmath-2284e583-a9307bba.so.0.0.0 filter=lfs diff=lfs merge=lfs -text
196
+ hug/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-f48b354e.so filter=lfs diff=lfs merge=lfs -text
hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/METADATA ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: numpy
3
+ Version: 2.5.4
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.
hug/lib/python3.12/site-packages/numpy-2.5.4.dist-info/RECORD ADDED
The diff for this file is too large to render. See raw diff
 
hug/lib/python3.12/site-packages/numpy-2.5.4.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
+
hug/lib/python3.12/site-packages/numpy-2.5.4.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
+
hug/lib/python3.12/site-packages/numpy-2.5.4.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
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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.
hug/lib/python3.12/site-packages/numpy-2.5.4.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/>.
hug/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
hug/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
hug/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
hug/lib/python3.12/site-packages/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.
hug/lib/python3.12/site-packages/numpy/random/__init__.pxd ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cimport numpy as np
2
+ from libc.stdint cimport uint32_t, uint64_t
3
+
4
+ cdef extern from "numpy/random/bitgen.h":
5
+ struct bitgen:
6
+ void *state
7
+ uint64_t (*next_uint64)(void *st) nogil
8
+ uint32_t (*next_uint32)(void *st) nogil
9
+ double (*next_double)(void *st) nogil
10
+ uint64_t (*next_raw)(void *st) nogil
11
+
12
+ ctypedef bitgen bitgen_t
13
+
14
+ from numpy.random.bit_generator cimport BitGenerator, SeedSequence
hug/lib/python3.12/site-packages/numpy/random/__init__.py ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ ========================
3
+ Random Number Generation
4
+ ========================
5
+
6
+ Use ``default_rng()`` to create a `Generator` and call its methods.
7
+
8
+ =============== =========================================================
9
+ Generator
10
+ --------------- ---------------------------------------------------------
11
+ Generator Class implementing all of the random number distributions
12
+ default_rng Default constructor for ``Generator``
13
+ =============== =========================================================
14
+
15
+ ============================================= ===
16
+ BitGenerator Streams that work with Generator
17
+ --------------------------------------------- ---
18
+ MT19937
19
+ PCG64
20
+ PCG64DXSM
21
+ Philox
22
+ SFC64
23
+ ============================================= ===
24
+
25
+ ============================================= ===
26
+ Getting entropy to initialize a BitGenerator
27
+ --------------------------------------------- ---
28
+ SeedSequence
29
+ ============================================= ===
30
+
31
+
32
+ Legacy
33
+ ------
34
+
35
+ For backwards compatibility with previous versions of numpy before 1.17, the
36
+ various aliases to the global `RandomState` methods are left alone and do not
37
+ use the new `Generator` API.
38
+
39
+ ==================== =========================================================
40
+ Utility functions
41
+ -------------------- ---------------------------------------------------------
42
+ random Uniformly distributed floats over ``[0, 1)``
43
+ bytes Uniformly distributed random bytes.
44
+ permutation Randomly permute a sequence / generate a random sequence.
45
+ shuffle Randomly permute a sequence in place.
46
+ choice Random sample from 1-D array.
47
+ ==================== =========================================================
48
+
49
+ ==================== =========================================================
50
+ Compatibility
51
+ functions - removed
52
+ in the new API
53
+ -------------------- ---------------------------------------------------------
54
+ rand Uniformly distributed values.
55
+ randn Normally distributed values.
56
+ ranf Uniformly distributed floating point numbers.
57
+ random_integers Uniformly distributed integers in a given range.
58
+ (deprecated, use ``integers(..., closed=True)`` instead)
59
+ random_sample Alias for `random_sample`
60
+ randint Uniformly distributed integers in a given range
61
+ seed Seed the legacy random number generator.
62
+ ==================== =========================================================
63
+
64
+ ==================== =========================================================
65
+ Univariate
66
+ distributions
67
+ -------------------- ---------------------------------------------------------
68
+ beta Beta distribution over ``[0, 1]``.
69
+ binomial Binomial distribution.
70
+ chisquare :math:`\\chi^2` distribution.
71
+ exponential Exponential distribution.
72
+ f F (Fisher-Snedecor) distribution.
73
+ gamma Gamma distribution.
74
+ geometric Geometric distribution.
75
+ gumbel Gumbel distribution.
76
+ hypergeometric Hypergeometric distribution.
77
+ laplace Laplace distribution.
78
+ logistic Logistic distribution.
79
+ lognormal Log-normal distribution.
80
+ logseries Logarithmic series distribution.
81
+ negative_binomial Negative binomial distribution.
82
+ noncentral_chisquare Non-central chi-square distribution.
83
+ noncentral_f Non-central F distribution.
84
+ normal Normal / Gaussian distribution.
85
+ pareto Pareto distribution.
86
+ poisson Poisson distribution.
87
+ power Power distribution.
88
+ rayleigh Rayleigh distribution.
89
+ triangular Triangular distribution.
90
+ uniform Uniform distribution.
91
+ vonmises Von Mises circular distribution.
92
+ wald Wald (inverse Gaussian) distribution.
93
+ weibull Weibull distribution.
94
+ zipf Zipf's distribution over ranked data.
95
+ ==================== =========================================================
96
+
97
+ ==================== ==========================================================
98
+ Multivariate
99
+ distributions
100
+ -------------------- ----------------------------------------------------------
101
+ dirichlet Multivariate generalization of Beta distribution.
102
+ multinomial Multivariate generalization of the binomial distribution.
103
+ multivariate_normal Multivariate generalization of the normal distribution.
104
+ ==================== ==========================================================
105
+
106
+ ==================== =========================================================
107
+ Standard
108
+ distributions
109
+ -------------------- ---------------------------------------------------------
110
+ standard_cauchy Standard Cauchy-Lorentz distribution.
111
+ standard_exponential Standard exponential distribution.
112
+ standard_gamma Standard Gamma distribution.
113
+ standard_normal Standard normal distribution.
114
+ standard_t Standard Student's t-distribution.
115
+ ==================== =========================================================
116
+
117
+ ==================== =========================================================
118
+ Internal functions
119
+ -------------------- ---------------------------------------------------------
120
+ get_state Get tuple representing internal state of generator.
121
+ set_state Set state of generator.
122
+ ==================== =========================================================
123
+
124
+
125
+ """
126
+ __all__ = [
127
+ 'beta',
128
+ 'binomial',
129
+ 'bytes',
130
+ 'chisquare',
131
+ 'choice',
132
+ 'dirichlet',
133
+ 'exponential',
134
+ 'f',
135
+ 'gamma',
136
+ 'geometric',
137
+ 'get_state',
138
+ 'gumbel',
139
+ 'hypergeometric',
140
+ 'laplace',
141
+ 'logistic',
142
+ 'lognormal',
143
+ 'logseries',
144
+ 'multinomial',
145
+ 'multivariate_normal',
146
+ 'negative_binomial',
147
+ 'noncentral_chisquare',
148
+ 'noncentral_f',
149
+ 'normal',
150
+ 'pareto',
151
+ 'permutation',
152
+ 'poisson',
153
+ 'power',
154
+ 'rand',
155
+ 'randint',
156
+ 'randn',
157
+ 'random',
158
+ 'random_integers',
159
+ 'random_sample',
160
+ 'ranf',
161
+ 'rayleigh',
162
+ 'sample',
163
+ 'seed',
164
+ 'set_state',
165
+ 'shuffle',
166
+ 'standard_cauchy',
167
+ 'standard_exponential',
168
+ 'standard_gamma',
169
+ 'standard_normal',
170
+ 'standard_t',
171
+ 'triangular',
172
+ 'uniform',
173
+ 'vonmises',
174
+ 'wald',
175
+ 'weibull',
176
+ 'zipf',
177
+ ]
178
+
179
+ # add these for module-freeze analysis (like PyInstaller)
180
+ from . import _bounded_integers, _common, _pickle
181
+ from ._generator import Generator, default_rng
182
+ from ._mt19937 import MT19937
183
+ from ._pcg64 import PCG64, PCG64DXSM
184
+ from ._philox import Philox
185
+ from ._sfc64 import SFC64
186
+ from .bit_generator import BitGenerator, SeedSequence
187
+ from .mtrand import *
188
+
189
+ __all__ += ['Generator', 'RandomState', 'SeedSequence', 'MT19937',
190
+ 'Philox', 'PCG64', 'PCG64DXSM', 'SFC64', 'default_rng',
191
+ 'BitGenerator']
192
+
193
+
194
+ def __RandomState_ctor():
195
+ """Return a RandomState instance.
196
+
197
+ This function exists solely to assist (un)pickling.
198
+
199
+ Note that the state of the RandomState returned here is irrelevant, as this
200
+ function's entire purpose is to return a newly allocated RandomState whose
201
+ state pickle can set. Consequently the RandomState returned by this function
202
+ is a freshly allocated copy with a seed=0.
203
+
204
+ See https://github.com/numpy/numpy/issues/4763 for a detailed discussion
205
+
206
+ """
207
+ return RandomState(seed=0)
208
+
209
+
210
+ from numpy._pytesttester import PytestTester
211
+
212
+ test = PytestTester(__name__)
213
+ del PytestTester
hug/lib/python3.12/site-packages/numpy/random/__init__.pyi ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Final
2
+
3
+ from numpy._pytesttester import PytestTester
4
+
5
+ from ._generator import Generator, default_rng
6
+ from ._mt19937 import MT19937
7
+ from ._pcg64 import PCG64, PCG64DXSM
8
+ from ._philox import Philox
9
+ from ._sfc64 import SFC64
10
+ from .bit_generator import BitGenerator, SeedSequence
11
+ from .mtrand import (
12
+ RandomState,
13
+ beta,
14
+ binomial,
15
+ bytes,
16
+ chisquare,
17
+ choice,
18
+ dirichlet,
19
+ exponential,
20
+ f,
21
+ gamma,
22
+ geometric,
23
+ get_bit_generator as get_bit_generator,
24
+ get_state,
25
+ gumbel,
26
+ hypergeometric,
27
+ laplace,
28
+ logistic,
29
+ lognormal,
30
+ logseries,
31
+ multinomial,
32
+ multivariate_normal,
33
+ negative_binomial,
34
+ noncentral_chisquare,
35
+ noncentral_f,
36
+ normal,
37
+ pareto,
38
+ permutation,
39
+ poisson,
40
+ power,
41
+ rand,
42
+ randint,
43
+ randn,
44
+ random,
45
+ random_integers,
46
+ random_sample,
47
+ ranf,
48
+ rayleigh,
49
+ sample,
50
+ seed,
51
+ set_bit_generator as set_bit_generator,
52
+ set_state,
53
+ shuffle,
54
+ standard_cauchy,
55
+ standard_exponential,
56
+ standard_gamma,
57
+ standard_normal,
58
+ standard_t,
59
+ triangular,
60
+ uniform,
61
+ vonmises,
62
+ wald,
63
+ weibull,
64
+ zipf,
65
+ )
66
+
67
+ __all__ = [
68
+ "beta",
69
+ "binomial",
70
+ "bytes",
71
+ "chisquare",
72
+ "choice",
73
+ "dirichlet",
74
+ "exponential",
75
+ "f",
76
+ "gamma",
77
+ "geometric",
78
+ "get_state",
79
+ "gumbel",
80
+ "hypergeometric",
81
+ "laplace",
82
+ "logistic",
83
+ "lognormal",
84
+ "logseries",
85
+ "multinomial",
86
+ "multivariate_normal",
87
+ "negative_binomial",
88
+ "noncentral_chisquare",
89
+ "noncentral_f",
90
+ "normal",
91
+ "pareto",
92
+ "permutation",
93
+ "poisson",
94
+ "power",
95
+ "rand",
96
+ "randint",
97
+ "randn",
98
+ "random",
99
+ "random_integers",
100
+ "random_sample",
101
+ "ranf",
102
+ "rayleigh",
103
+ "sample",
104
+ "seed",
105
+ "set_state",
106
+ "shuffle",
107
+ "standard_cauchy",
108
+ "standard_exponential",
109
+ "standard_gamma",
110
+ "standard_normal",
111
+ "standard_t",
112
+ "triangular",
113
+ "uniform",
114
+ "vonmises",
115
+ "wald",
116
+ "weibull",
117
+ "zipf",
118
+ "Generator",
119
+ "RandomState",
120
+ "SeedSequence",
121
+ "MT19937",
122
+ "Philox",
123
+ "PCG64",
124
+ "PCG64DXSM",
125
+ "SFC64",
126
+ "default_rng",
127
+ "BitGenerator",
128
+ ]
129
+
130
+ test: Final[PytestTester] = ...
hug/lib/python3.12/site-packages/numpy/random/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (7.5 kB). View file
 
hug/lib/python3.12/site-packages/numpy/random/__pycache__/_pickle.cpython-312.pyc ADDED
Binary file (2.91 kB). View file
 
hug/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73bf58f374a46edac9bd1fbb3fc16f199b4a8e8ed12a222a23897e722655adcd
3
+ size 317000
hug/lib/python3.12/site-packages/numpy/random/_bounded_integers.pxd ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from libc.stdint cimport (uint8_t, uint16_t, uint32_t, uint64_t,
2
+ int8_t, int16_t, int32_t, int64_t, intptr_t)
3
+ import numpy as np
4
+ cimport numpy as np
5
+ ctypedef np.npy_bool bool_t
6
+
7
+ from numpy.random cimport bitgen_t
8
+
9
+ cdef inline uint64_t _gen_mask(uint64_t max_val) noexcept nogil:
10
+ """Mask generator for use in bounded random numbers"""
11
+ # Smallest bit mask >= max
12
+ cdef uint64_t mask = max_val
13
+ mask |= mask >> 1
14
+ mask |= mask >> 2
15
+ mask |= mask >> 4
16
+ mask |= mask >> 8
17
+ mask |= mask >> 16
18
+ mask |= mask >> 32
19
+ return mask
20
+
21
+ cdef object _rand_uint64(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
22
+ cdef object _rand_uint32(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
23
+ cdef object _rand_uint16(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
24
+ cdef object _rand_uint8(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
25
+ cdef object _rand_bool(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
26
+ cdef object _rand_int64(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
27
+ cdef object _rand_int32(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
28
+ cdef object _rand_int16(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
29
+ cdef object _rand_int8(object low, object high, object size, bint use_masked, bint closed, bitgen_t *state, object lock)
hug/lib/python3.12/site-packages/numpy/random/_bounded_integers.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ __all__: list[str] = []
hug/lib/python3.12/site-packages/numpy/random/_common.cpython-312-x86_64-linux-gnu.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:232d131170bce32fbe3bfed38a5f14a0104d7efd7bff521162c2e0b6e2ac4bee
3
+ size 258912
hug/lib/python3.12/site-packages/numpy/random/_common.pxd ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #cython: language_level=3
2
+
3
+ from libc.stdint cimport uint32_t, uint64_t, int32_t, int64_t
4
+
5
+ import numpy as np
6
+ cimport numpy as np
7
+
8
+ from numpy.random cimport bitgen_t
9
+
10
+ cdef double POISSON_LAM_MAX
11
+ cdef double LEGACY_POISSON_LAM_MAX
12
+ cdef uint64_t MAXSIZE
13
+
14
+ cdef enum ConstraintType:
15
+ CONS_NONE
16
+ CONS_NON_NEGATIVE
17
+ CONS_POSITIVE
18
+ CONS_POSITIVE_NOT_NAN
19
+ CONS_BOUNDED_0_1
20
+ CONS_BOUNDED_GT_0_1
21
+ CONS_BOUNDED_LT_0_1
22
+ CONS_GT_1
23
+ CONS_GTE_1
24
+ CONS_POISSON
25
+ LEGACY_CONS_POISSON
26
+ LEGACY_CONS_NON_NEGATIVE_INBOUNDS_LONG
27
+
28
+ ctypedef ConstraintType constraint_type
29
+ ctypedef fused double_or_int64:
30
+ double
31
+ int64_t
32
+
33
+ cdef object benchmark(bitgen_t *bitgen, object lock, Py_ssize_t cnt, object method)
34
+ cdef object random_raw(bitgen_t *bitgen, object lock, object size, object output)
35
+ cdef object prepare_cffi(bitgen_t *bitgen)
36
+ cdef object prepare_ctypes(bitgen_t *bitgen)
37
+ cdef int check_constraint(double_or_int64 val, object name, constraint_type cons) except -1
38
+ cdef int check_array_constraint(np.ndarray val, object name, constraint_type cons) except -1
39
+
40
+ cdef extern from "include/aligned_malloc.h":
41
+ cdef void *PyArray_realloc_aligned(void *p, size_t n)
42
+ cdef void *PyArray_malloc_aligned(size_t n)
43
+ cdef void *PyArray_calloc_aligned(size_t n, size_t s)
44
+ cdef void PyArray_free_aligned(void *p)
45
+
46
+ ctypedef void (*random_double_fill)(bitgen_t *state, np.npy_intp count, double* out) noexcept nogil
47
+ ctypedef double (*random_double_0)(void *state) noexcept nogil
48
+ ctypedef double (*random_double_1)(void *state, double a) noexcept nogil
49
+ ctypedef double (*random_double_2)(void *state, double a, double b) noexcept nogil
50
+ ctypedef double (*random_double_3)(void *state, double a, double b, double c) noexcept nogil
51
+
52
+ ctypedef void (*random_float_fill)(bitgen_t *state, np.npy_intp count, float* out) noexcept nogil
53
+ ctypedef float (*random_float_0)(bitgen_t *state) noexcept nogil
54
+ ctypedef float (*random_float_1)(bitgen_t *state, float a) noexcept nogil
55
+
56
+ ctypedef int64_t (*random_uint_0)(void *state) noexcept nogil
57
+ ctypedef int64_t (*random_uint_d)(void *state, double a) noexcept nogil
58
+ ctypedef int64_t (*random_uint_dd)(void *state, double a, double b) noexcept nogil
59
+ ctypedef int64_t (*random_uint_di)(void *state, double a, uint64_t b) noexcept nogil
60
+ ctypedef int64_t (*random_uint_i)(void *state, int64_t a) noexcept nogil
61
+ ctypedef int64_t (*random_uint_iii)(void *state, int64_t a, int64_t b, int64_t c) noexcept nogil
62
+
63
+ ctypedef uint32_t (*random_uint_0_32)(bitgen_t *state) noexcept nogil
64
+ ctypedef uint32_t (*random_uint_1_i_32)(bitgen_t *state, uint32_t a) noexcept nogil
65
+
66
+ ctypedef int32_t (*random_int_2_i_32)(bitgen_t *state, int32_t a, int32_t b) noexcept nogil
67
+ ctypedef int64_t (*random_int_2_i)(bitgen_t *state, int64_t a, int64_t b) noexcept nogil
68
+
69
+ cdef double kahan_sum(double *darr, np.npy_intp n) noexcept
70
+
71
+ cdef inline double uint64_to_double(uint64_t rnd) noexcept nogil:
72
+ return (rnd >> 11) * (1.0 / 9007199254740992.0)
73
+
74
+ cdef object double_fill(void *func, bitgen_t *state, object size, object lock, object out)
75
+
76
+ cdef object float_fill(void *func, bitgen_t *state, object size, object lock, object out)
77
+
78
+ cdef object float_fill_from_double(void *func, bitgen_t *state, object size, object lock, object out)
79
+
80
+ cdef object wrap_int(object val, object bits)
81
+
82
+ cdef np.ndarray int_to_array(object value, object name, object bits, object uint_size)
83
+
84
+ cdef validate_output_shape(iter_shape, np.ndarray output)
85
+
86
+ cdef object cont(void *func, void *state, object size, object lock, int narg,
87
+ object a, object a_name, constraint_type a_constraint,
88
+ object b, object b_name, constraint_type b_constraint,
89
+ object c, object c_name, constraint_type c_constraint,
90
+ object out)
91
+
92
+ cdef object disc(void *func, void *state, object size, object lock,
93
+ int narg_double, int narg_int64,
94
+ object a, object a_name, constraint_type a_constraint,
95
+ object b, object b_name, constraint_type b_constraint,
96
+ object c, object c_name, constraint_type c_constraint)
97
+
98
+ cdef object cont_f(void *func, bitgen_t *state, object size, object lock,
99
+ object a, object a_name, constraint_type a_constraint,
100
+ object out)
101
+
102
+ cdef object cont_broadcast_3(void *func, void *state, object size, object lock,
103
+ np.ndarray a_arr, object a_name, constraint_type a_constraint,
104
+ np.ndarray b_arr, object b_name, constraint_type b_constraint,
105
+ np.ndarray c_arr, object c_name, constraint_type c_constraint)
106
+
107
+ cdef object discrete_broadcast_iii(void *func, void *state, object size, object lock,
108
+ np.ndarray a_arr, object a_name, constraint_type a_constraint,
109
+ np.ndarray b_arr, object b_name, constraint_type b_constraint,
110
+ np.ndarray c_arr, object c_name, constraint_type c_constraint)
hug/lib/python3.12/site-packages/numpy/random/_common.pyi ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from _typeshed import Incomplete
2
+ from collections.abc import Callable
3
+ from typing import NamedTuple
4
+
5
+ import numpy as np
6
+
7
+ __all__ = ["interface"]
8
+
9
+ type _CDataVoidPointer = Incomplete # currently not expressible
10
+
11
+ class interface(NamedTuple):
12
+ state_address: int
13
+ state: _CDataVoidPointer
14
+ next_uint64: Callable[..., np.uint64]
15
+ next_uint32: Callable[..., np.uint32]
16
+ next_double: Callable[..., np.float64]
17
+ bit_generator: _CDataVoidPointer
hug/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/extending.cpython-312.pyc ADDED
Binary file (1.67 kB). View file
 
hug/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/parse.cpython-312.pyc ADDED
Binary file (2.29 kB). View file
 
hug/lib/python3.12/site-packages/numpy/random/_examples/cffi/extending.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Use cffi to access any of the underlying C functions from distributions.h
3
+ """
4
+ import os
5
+
6
+ import cffi
7
+
8
+ import numpy as np
9
+
10
+ from .parse import parse_distributions_h
11
+
12
+ ffi = cffi.FFI()
13
+
14
+ inc_dir = os.path.join(np.get_include(), 'numpy')
15
+
16
+ # Basic numpy types
17
+ ffi.cdef('''
18
+ typedef intptr_t npy_intp;
19
+ typedef unsigned char npy_bool;
20
+
21
+ ''')
22
+
23
+ parse_distributions_h(ffi, inc_dir)
24
+
25
+ lib = ffi.dlopen(np.random._generator.__file__)
26
+
27
+ # Compare the distributions.h random_standard_normal_fill to
28
+ # Generator.standard_random
29
+ bit_gen = np.random.PCG64()
30
+ rng = np.random.Generator(bit_gen)
31
+ state = bit_gen.state
32
+
33
+ interface = rng.bit_generator.cffi
34
+ n = 100
35
+ vals_cffi = ffi.new(f'double[{n}]')
36
+ lib.random_standard_normal_fill(interface.bit_generator, n, vals_cffi)
37
+
38
+ # reset the state
39
+ bit_gen.state = state
40
+
41
+ vals = rng.standard_normal(n)
42
+
43
+ for i in range(n):
44
+ assert vals[i] == vals_cffi[i]
hug/lib/python3.12/site-packages/numpy/random/_examples/cffi/parse.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+
4
+ def parse_distributions_h(ffi, inc_dir):
5
+ """
6
+ Parse distributions.h located in inc_dir for CFFI, filling in the ffi.cdef
7
+
8
+ Read the function declarations without the "#define ..." macros that will
9
+ be filled in when loading the library.
10
+ """
11
+
12
+ with open(os.path.join(inc_dir, 'random', 'bitgen.h')) as fid:
13
+ s = []
14
+ for line in fid:
15
+ # massage the include file
16
+ if line.strip().startswith('#'):
17
+ continue
18
+ s.append(line)
19
+ ffi.cdef('\n'.join(s))
20
+
21
+ with open(os.path.join(inc_dir, 'random', 'distributions.h')) as fid:
22
+ s = []
23
+ in_skip = 0
24
+ ignoring = False
25
+ for line in fid:
26
+ # check for and remove extern "C" guards
27
+ if ignoring:
28
+ if line.strip().startswith('#endif'):
29
+ ignoring = False
30
+ continue
31
+ if line.strip().startswith('#ifdef __cplusplus'):
32
+ ignoring = True
33
+
34
+ # massage the include file
35
+ if line.strip().startswith('#'):
36
+ continue
37
+
38
+ # skip any inlined function definition
39
+ # which starts with 'static inline xxx(...) {'
40
+ # and ends with a closing '}'
41
+ if line.strip().startswith('static inline'):
42
+ in_skip += line.count('{')
43
+ continue
44
+ elif in_skip > 0:
45
+ in_skip += line.count('{')
46
+ in_skip -= line.count('}')
47
+ continue
48
+
49
+ # replace defines with their value or remove them
50
+ line = line.replace('DECLDIR', '')
51
+ line = line.replace('RAND_INT_TYPE', 'int64_t')
52
+ s.append(line)
53
+ ffi.cdef('\n'.join(s))
hug/lib/python3.12/site-packages/numpy/random/_examples/cython/extending.pyx ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #cython: language_level=3
2
+
3
+ from libc.stdint cimport uint32_t
4
+ from cpython.pycapsule cimport PyCapsule_IsValid, PyCapsule_GetPointer
5
+
6
+ import numpy as np
7
+ cimport numpy as np
8
+ cimport cython
9
+
10
+ from numpy.random cimport bitgen_t
11
+ from numpy.random import PCG64
12
+
13
+ np.import_array()
14
+
15
+
16
+ @cython.boundscheck(False)
17
+ @cython.wraparound(False)
18
+ def uniform_mean(Py_ssize_t n):
19
+ cdef Py_ssize_t i
20
+ cdef bitgen_t *rng
21
+ cdef const char *capsule_name = "BitGenerator"
22
+ cdef double[::1] random_values
23
+ cdef np.ndarray randoms
24
+
25
+ x = PCG64()
26
+ capsule = x.capsule
27
+ if not PyCapsule_IsValid(capsule, capsule_name):
28
+ raise ValueError("Invalid pointer to anon_func_state")
29
+ rng = <bitgen_t *> PyCapsule_GetPointer(capsule, capsule_name)
30
+ random_values = np.empty(n)
31
+ # Best practice is to acquire the lock whenever generating random values.
32
+ # This prevents other threads from modifying the state. Acquiring the lock
33
+ # is only necessary if the GIL is also released, as in this example.
34
+ with x.lock, nogil:
35
+ for i in range(n):
36
+ random_values[i] = rng.next_double(rng.state)
37
+ randoms = np.asarray(random_values)
38
+ return randoms.mean()
39
+
40
+
41
+ # This function is declared nogil so it can be used without the GIL below
42
+ cdef uint32_t bounded_uint(uint32_t lb, uint32_t ub, bitgen_t *rng) nogil:
43
+ cdef uint32_t mask, delta, val
44
+ mask = delta = ub - lb
45
+ mask |= mask >> 1
46
+ mask |= mask >> 2
47
+ mask |= mask >> 4
48
+ mask |= mask >> 8
49
+ mask |= mask >> 16
50
+
51
+ val = rng.next_uint32(rng.state) & mask
52
+ while val > delta:
53
+ val = rng.next_uint32(rng.state) & mask
54
+
55
+ return lb + val
56
+
57
+
58
+ @cython.boundscheck(False)
59
+ @cython.wraparound(False)
60
+ def bounded_uints(uint32_t lb, uint32_t ub, Py_ssize_t n):
61
+ cdef Py_ssize_t i
62
+ cdef bitgen_t *rng
63
+ cdef uint32_t[::1] out
64
+ cdef const char *capsule_name = "BitGenerator"
65
+
66
+ x = PCG64()
67
+ out = np.empty(n, dtype=np.uint32)
68
+ capsule = x.capsule
69
+
70
+ if not PyCapsule_IsValid(capsule, capsule_name):
71
+ raise ValueError("Invalid pointer to anon_func_state")
72
+ rng = <bitgen_t *>PyCapsule_GetPointer(capsule, capsule_name)
73
+
74
+ with x.lock, nogil:
75
+ for i in range(n):
76
+ out[i] = bounded_uint(lb, ub, rng)
77
+ return np.asarray(out)
hug/lib/python3.12/site-packages/numpy/random/_examples/cython/extending_distributions.pyx ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #cython: language_level=3
2
+ """
3
+ This file shows how the to use a BitGenerator to create a distribution.
4
+ """
5
+ import numpy as np
6
+ cimport numpy as np
7
+ cimport cython
8
+ from cpython.pycapsule cimport PyCapsule_IsValid, PyCapsule_GetPointer
9
+ from libc.stdint cimport uint16_t, uint64_t
10
+ from numpy.random cimport bitgen_t
11
+ from numpy.random import PCG64
12
+ from numpy.random.c_distributions cimport (
13
+ random_standard_uniform_fill, random_standard_uniform_fill_f)
14
+
15
+ np.import_array()
16
+
17
+
18
+ @cython.boundscheck(False)
19
+ @cython.wraparound(False)
20
+ def uniforms(Py_ssize_t n):
21
+ """
22
+ Create an array of `n` uniformly distributed doubles.
23
+ A 'real' distribution would want to process the values into
24
+ some non-uniform distribution
25
+ """
26
+ cdef Py_ssize_t i
27
+ cdef bitgen_t *rng
28
+ cdef const char *capsule_name = "BitGenerator"
29
+ cdef double[::1] random_values
30
+
31
+ x = PCG64()
32
+ capsule = x.capsule
33
+ # Optional check that the capsule if from a BitGenerator
34
+ if not PyCapsule_IsValid(capsule, capsule_name):
35
+ raise ValueError("Invalid pointer to anon_func_state")
36
+ # Cast the pointer
37
+ rng = <bitgen_t *> PyCapsule_GetPointer(capsule, capsule_name)
38
+ random_values = np.empty(n, dtype='float64')
39
+ with x.lock, nogil:
40
+ for i in range(n):
41
+ # Call the function
42
+ random_values[i] = rng.next_double(rng.state)
43
+ randoms = np.asarray(random_values)
44
+
45
+ return randoms
46
+
47
+ # cython example 2
48
+ @cython.boundscheck(False)
49
+ @cython.wraparound(False)
50
+ def uint10_uniforms(Py_ssize_t n):
51
+ """Uniform 10 bit integers stored as 16-bit unsigned integers"""
52
+ cdef Py_ssize_t i
53
+ cdef bitgen_t *rng
54
+ cdef const char *capsule_name = "BitGenerator"
55
+ cdef uint16_t[::1] random_values
56
+ cdef int bits_remaining
57
+ cdef int width = 10
58
+ cdef uint64_t buff, mask = 0x3FF
59
+
60
+ x = PCG64()
61
+ capsule = x.capsule
62
+ if not PyCapsule_IsValid(capsule, capsule_name):
63
+ raise ValueError("Invalid pointer to anon_func_state")
64
+ rng = <bitgen_t *> PyCapsule_GetPointer(capsule, capsule_name)
65
+ random_values = np.empty(n, dtype='uint16')
66
+ # Best practice is to release GIL and acquire the lock
67
+ bits_remaining = 0
68
+ with x.lock, nogil:
69
+ for i in range(n):
70
+ if bits_remaining < width:
71
+ buff = rng.next_uint64(rng.state)
72
+ random_values[i] = buff & mask
73
+ buff >>= width
74
+
75
+ randoms = np.asarray(random_values)
76
+ return randoms
77
+
78
+ # cython example 3
79
+ def uniforms_ex(bit_generator, Py_ssize_t n, dtype=np.float64):
80
+ """
81
+ Create an array of `n` uniformly distributed doubles via a "fill" function.
82
+
83
+ A 'real' distribution would want to process the values into
84
+ some non-uniform distribution
85
+
86
+ Parameters
87
+ ----------
88
+ bit_generator: BitGenerator instance
89
+ n: int
90
+ Output vector length
91
+ dtype: {str, dtype}, optional
92
+ Desired dtype, either 'd' (or 'float64') or 'f' (or 'float32'). The
93
+ default dtype value is 'd'
94
+ """
95
+ cdef bitgen_t *rng
96
+ cdef const char *capsule_name = "BitGenerator"
97
+ cdef np.ndarray randoms
98
+
99
+ capsule = bit_generator.capsule
100
+ # Optional check that the capsule if from a BitGenerator
101
+ if not PyCapsule_IsValid(capsule, capsule_name):
102
+ raise ValueError("Invalid pointer to anon_func_state")
103
+ # Cast the pointer
104
+ rng = <bitgen_t *> PyCapsule_GetPointer(capsule, capsule_name)
105
+
106
+ _dtype = np.dtype(dtype)
107
+ randoms = np.empty(n, dtype=_dtype)
108
+ if _dtype == np.float32:
109
+ with bit_generator.lock:
110
+ random_standard_uniform_fill_f(rng, n, <float*>np.PyArray_DATA(randoms))
111
+ elif _dtype == np.float64:
112
+ with bit_generator.lock:
113
+ random_standard_uniform_fill(rng, n, <double*>np.PyArray_DATA(randoms))
114
+ else:
115
+ raise TypeError('Unsupported dtype %r for random' % _dtype)
116
+ return randoms
117
+
hug/lib/python3.12/site-packages/numpy/random/_examples/cython/meson.build ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ project('random-build-examples', 'c', 'cpp', 'cython')
2
+
3
+ py_mod = import('python')
4
+ py3 = py_mod.find_installation(pure: false)
5
+
6
+ cc = meson.get_compiler('c')
7
+ cy = meson.get_compiler('cython')
8
+
9
+ # Keep synced with pyproject.toml
10
+ if not cy.version().version_compare('>=3.0.6')
11
+ error('tests requires Cython >= 3.0.6')
12
+ endif
13
+
14
+ base_cython_args = []
15
+ if cy.version().version_compare('>=3.1.0')
16
+ base_cython_args += ['-Xfreethreading_compatible=True']
17
+ endif
18
+
19
+ _numpy_abs = run_command(py3, ['-c',
20
+ 'import os; os.chdir(".."); import numpy; print(os.path.abspath(numpy.get_include() + "../../.."))'],
21
+ check: true).stdout().strip()
22
+
23
+ npymath_path = _numpy_abs / '_core' / 'lib'
24
+ npy_include_path = _numpy_abs / '_core' / 'include'
25
+ npyrandom_path = _numpy_abs / 'random' / 'lib'
26
+ npymath_lib = cc.find_library('npymath', dirs: npymath_path)
27
+ npyrandom_lib = cc.find_library('npyrandom', dirs: npyrandom_path)
28
+
29
+ py3.extension_module(
30
+ 'extending_distributions',
31
+ 'extending_distributions.pyx',
32
+ install: false,
33
+ include_directories: [npy_include_path],
34
+ dependencies: [npyrandom_lib, npymath_lib],
35
+ cython_args: base_cython_args,
36
+ )
37
+ py3.extension_module(
38
+ 'extending',
39
+ 'extending.pyx',
40
+ install: false,
41
+ include_directories: [npy_include_path],
42
+ dependencies: [npyrandom_lib, npymath_lib],
43
+ cython_args: base_cython_args,
44
+ )
45
+ py3.extension_module(
46
+ 'extending_cpp',
47
+ 'extending_distributions.pyx',
48
+ install: false,
49
+ override_options : ['cython_language=cpp'],
50
+ cython_args: base_cython_args + ['--module-name', 'extending_cpp'],
51
+ include_directories: [npy_include_path],
52
+ dependencies: [npyrandom_lib, npymath_lib],
53
+ )
hug/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending.cpython-312.pyc ADDED
Binary file (3.87 kB). View file
 
hug/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending_distributions.cpython-312.pyc ADDED
Binary file (2.72 kB). View file
 
hug/lib/python3.12/site-packages/numpy/random/_examples/numba/extending.py ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from timeit import timeit
2
+
3
+ import numba as nb
4
+
5
+ import numpy as np
6
+ from numpy.random import PCG64
7
+
8
+ bit_gen = PCG64()
9
+ next_d = bit_gen.cffi.next_double
10
+ state_addr = bit_gen.cffi.state_address
11
+
12
+ def normals(n, state):
13
+ out = np.empty(n)
14
+ for i in range((n + 1) // 2):
15
+ x1 = 2.0 * next_d(state) - 1.0
16
+ x2 = 2.0 * next_d(state) - 1.0
17
+ r2 = x1 * x1 + x2 * x2
18
+ while r2 >= 1.0 or r2 == 0.0:
19
+ x1 = 2.0 * next_d(state) - 1.0
20
+ x2 = 2.0 * next_d(state) - 1.0
21
+ r2 = x1 * x1 + x2 * x2
22
+ f = np.sqrt(-2.0 * np.log(r2) / r2)
23
+ out[2 * i] = f * x1
24
+ if 2 * i + 1 < n:
25
+ out[2 * i + 1] = f * x2
26
+ return out
27
+
28
+
29
+ # Compile using Numba
30
+ normalsj = nb.jit(normals, nopython=True)
31
+ # Must use state address not state with numba
32
+ n = 10000
33
+
34
+ def numbacall():
35
+ return normalsj(n, state_addr)
36
+
37
+
38
+ rg = np.random.Generator(PCG64())
39
+
40
+ def numpycall():
41
+ return rg.normal(size=n)
42
+
43
+
44
+ # Check that the functions work
45
+ r1 = numbacall()
46
+ r2 = numpycall()
47
+ assert r1.shape == (n,)
48
+ assert r1.shape == r2.shape
49
+
50
+ t1 = timeit(numbacall, number=1000)
51
+ print(f'{t1:.2f} secs for {n} PCG64 (Numba/PCG64) gaussian randoms')
52
+ t2 = timeit(numpycall, number=1000)
53
+ print(f'{t2:.2f} secs for {n} PCG64 (NumPy/PCG64) gaussian randoms')
54
+
55
+ # example 2
56
+
57
+ next_u32 = bit_gen.ctypes.next_uint32
58
+ ctypes_state = bit_gen.ctypes.state
59
+
60
+ @nb.jit(nopython=True)
61
+ def bounded_uint(lb, ub, state):
62
+ mask = delta = ub - lb
63
+ mask |= mask >> 1
64
+ mask |= mask >> 2
65
+ mask |= mask >> 4
66
+ mask |= mask >> 8
67
+ mask |= mask >> 16
68
+
69
+ val = next_u32(state) & mask
70
+ while val > delta:
71
+ val = next_u32(state) & mask
72
+
73
+ return lb + val
74
+
75
+
76
+ print(bounded_uint(323, 2394691, ctypes_state.value))
77
+
78
+
79
+ @nb.jit(nopython=True)
80
+ def bounded_uints(lb, ub, n, state):
81
+ out = np.empty(n, dtype=np.uint32)
82
+ for i in range(n):
83
+ out[i] = bounded_uint(lb, ub, state)
84
+
85
+
86
+ bounded_uints(323, 2394691, 10000000, ctypes_state.value)
hug/lib/python3.12/site-packages/numpy/random/_examples/numba/extending_distributions.py ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ r"""
2
+ Building the required library in this example requires a source distribution
3
+ of NumPy or clone of the NumPy git repository since distributions.c is not
4
+ included in binary distributions.
5
+
6
+ On *nix, execute in numpy/random/src/distributions
7
+
8
+ export ${PYTHON_VERSION}=3.8 # Python version
9
+ export PYTHON_INCLUDE=#path to Python's include folder, usually \
10
+ ${PYTHON_HOME}/include/python${PYTHON_VERSION}m
11
+ export NUMPY_INCLUDE=#path to numpy's include folder, usually \
12
+ ${PYTHON_HOME}/lib/python${PYTHON_VERSION}/site-packages/numpy/_core/include
13
+ gcc -shared -o libdistributions.so -fPIC distributions.c \
14
+ -I${NUMPY_INCLUDE} -I${PYTHON_INCLUDE}
15
+ mv libdistributions.so ../../_examples/numba/
16
+
17
+ On Windows
18
+
19
+ rem PYTHON_HOME and PYTHON_VERSION are setup dependent, this is an example
20
+ set PYTHON_HOME=c:\Anaconda
21
+ set PYTHON_VERSION=38
22
+ cl.exe /LD .\distributions.c -DDLL_EXPORT \
23
+ -I%PYTHON_HOME%\lib\site-packages\numpy\_core\include \
24
+ -I%PYTHON_HOME%\include %PYTHON_HOME%\libs\python%PYTHON_VERSION%.lib
25
+ move distributions.dll ../../_examples/numba/
26
+ """
27
+ import os
28
+
29
+ import numba as nb
30
+ from cffi import FFI
31
+
32
+ import numpy as np
33
+ from numpy.random import PCG64
34
+
35
+ ffi = FFI()
36
+ if os.path.exists('./distributions.dll'):
37
+ lib = ffi.dlopen('./distributions.dll')
38
+ elif os.path.exists('./libdistributions.so'):
39
+ lib = ffi.dlopen('./libdistributions.so')
40
+ else:
41
+ raise RuntimeError('Required DLL/so file was not found.')
42
+
43
+ ffi.cdef("""
44
+ double random_standard_normal(void *bitgen_state);
45
+ """)
46
+ x = PCG64()
47
+ xffi = x.cffi
48
+ bit_generator = xffi.bit_generator
49
+
50
+ random_standard_normal = lib.random_standard_normal
51
+
52
+
53
+ def normals(n, bit_generator):
54
+ out = np.empty(n)
55
+ for i in range(n):
56
+ out[i] = random_standard_normal(bit_generator)
57
+ return out
58
+
59
+
60
+ normalsj = nb.jit(normals, nopython=True)
61
+
62
+ # Numba requires a memory address for void *
63
+ # Can also get address from x.ctypes.bit_generator.value
64
+ bit_generator_address = int(ffi.cast('uintptr_t', bit_generator))
65
+
66
+ norm = normalsj(1000, bit_generator_address)
67
+ print(norm[:12])
hug/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-x86_64-linux-gnu.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e362c7a4c9d5d97404ee1fcbf00c2b345ecec945df50f6ea3e0f4631d4ab336e
3
+ size 845808