summaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/numpy/core
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/numpy/core')
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__init__.py33
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__init__.pyi0
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/__init__.cpython-312.pycbin0 -> 1163 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype.cpython-312.pycbin0 -> 621 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype_ctypes.cpython-312.pycbin0 -> 642 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_internal.cpython-312.pycbin0 -> 961 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_multiarray_umath.cpython-312.pycbin0 -> 2125 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_utils.cpython-312.pycbin0 -> 1175 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/arrayprint.cpython-312.pycbin0 -> 633 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/defchararray.cpython-312.pycbin0 -> 639 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/einsumfunc.cpython-312.pycbin0 -> 633 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/fromnumeric.cpython-312.pycbin0 -> 636 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/function_base.cpython-312.pycbin0 -> 642 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/getlimits.cpython-312.pycbin0 -> 630 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/multiarray.cpython-312.pycbin0 -> 851 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numeric.cpython-312.pycbin0 -> 676 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numerictypes.cpython-312.pycbin0 -> 639 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/overrides.cpython-312.pycbin0 -> 630 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/records.cpython-312.pycbin0 -> 624 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/shape_base.cpython-312.pycbin0 -> 633 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/__pycache__/umath.cpython-312.pycbin0 -> 618 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/_dtype.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/_dtype.pyi0
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/_dtype_ctypes.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/_dtype_ctypes.pyi0
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/_internal.py27
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py57
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/_utils.py21
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/arrayprint.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/defchararray.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/einsumfunc.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/fromnumeric.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/function_base.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/getlimits.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/multiarray.py25
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/numeric.py12
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/numerictypes.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/overrides.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/overrides.pyi7
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/records.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/shape_base.py10
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/umath.py10
42 files changed, 312 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__init__.py b/.venv/lib/python3.12/site-packages/numpy/core/__init__.py
new file mode 100644
index 0000000..cfd96ed
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__init__.py
@@ -0,0 +1,33 @@
+"""
+The `numpy.core` submodule exists solely for backward compatibility
+purposes. The original `core` was renamed to `_core` and made private.
+`numpy.core` will be removed in the future.
+"""
+from numpy import _core
+
+from ._utils import _raise_warning
+
+
+# We used to use `np.core._ufunc_reconstruct` to unpickle.
+# This is unnecessary, but old pickles saved before 1.20 will be using it,
+# and there is no reason to break loading them.
+def _ufunc_reconstruct(module, name):
+ # The `fromlist` kwarg is required to ensure that `mod` points to the
+ # inner-most module rather than the parent package when module name is
+ # nested. This makes it possible to pickle non-toplevel ufuncs such as
+ # scipy.special.expit for instance.
+ mod = __import__(module, fromlist=[name])
+ return getattr(mod, name)
+
+
+# force lazy-loading of submodules to ensure a warning is printed
+
+__all__ = ["arrayprint", "defchararray", "_dtype_ctypes", "_dtype", # noqa: F822
+ "einsumfunc", "fromnumeric", "function_base", "getlimits",
+ "_internal", "multiarray", "_multiarray_umath", "numeric",
+ "numerictypes", "overrides", "records", "shape_base", "umath"]
+
+def __getattr__(attr_name):
+ attr = getattr(_core, attr_name)
+ _raise_warning(attr_name)
+ return attr
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__init__.pyi b/.venv/lib/python3.12/site-packages/numpy/core/__init__.pyi
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__init__.pyi
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc
new file mode 100644
index 0000000..b1cafa9
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype.cpython-312.pyc
new file mode 100644
index 0000000..63fe96e
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype_ctypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype_ctypes.cpython-312.pyc
new file mode 100644
index 0000000..00608ea
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype_ctypes.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_internal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_internal.cpython-312.pyc
new file mode 100644
index 0000000..c6b02f4
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_internal.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_multiarray_umath.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_multiarray_umath.cpython-312.pyc
new file mode 100644
index 0000000..d5fddef
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_multiarray_umath.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_utils.cpython-312.pyc
new file mode 100644
index 0000000..89d33af
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_utils.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/arrayprint.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/arrayprint.cpython-312.pyc
new file mode 100644
index 0000000..37e6ea5
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/arrayprint.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/defchararray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/defchararray.cpython-312.pyc
new file mode 100644
index 0000000..d7a00f9
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/defchararray.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/einsumfunc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/einsumfunc.cpython-312.pyc
new file mode 100644
index 0000000..b51b0b4
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/einsumfunc.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/fromnumeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/fromnumeric.cpython-312.pyc
new file mode 100644
index 0000000..78c87ac
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/fromnumeric.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/function_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/function_base.cpython-312.pyc
new file mode 100644
index 0000000..71d8965
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/function_base.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/getlimits.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/getlimits.cpython-312.pyc
new file mode 100644
index 0000000..b9dba58
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/getlimits.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/multiarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/multiarray.cpython-312.pyc
new file mode 100644
index 0000000..c88aa9f
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/multiarray.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numeric.cpython-312.pyc
new file mode 100644
index 0000000..f3785d1
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numeric.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numerictypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numerictypes.cpython-312.pyc
new file mode 100644
index 0000000..83d421e
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numerictypes.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/overrides.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/overrides.cpython-312.pyc
new file mode 100644
index 0000000..681b72f
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/overrides.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/records.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/records.cpython-312.pyc
new file mode 100644
index 0000000..ffb8960
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/records.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/shape_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/shape_base.cpython-312.pyc
new file mode 100644
index 0000000..9c55718
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/shape_base.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/umath.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/umath.cpython-312.pyc
new file mode 100644
index 0000000..03306e3
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/umath.cpython-312.pyc
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/_dtype.py b/.venv/lib/python3.12/site-packages/numpy/core/_dtype.py
new file mode 100644
index 0000000..5446079
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/_dtype.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import _dtype
+
+ from ._utils import _raise_warning
+ ret = getattr(_dtype, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core._dtype' has no attribute {attr_name}")
+ _raise_warning(attr_name, "_dtype")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/_dtype.pyi b/.venv/lib/python3.12/site-packages/numpy/core/_dtype.pyi
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/_dtype.pyi
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/_dtype_ctypes.py b/.venv/lib/python3.12/site-packages/numpy/core/_dtype_ctypes.py
new file mode 100644
index 0000000..10cfba2
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/_dtype_ctypes.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import _dtype_ctypes
+
+ from ._utils import _raise_warning
+ ret = getattr(_dtype_ctypes, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core._dtype_ctypes' has no attribute {attr_name}")
+ _raise_warning(attr_name, "_dtype_ctypes")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/_dtype_ctypes.pyi b/.venv/lib/python3.12/site-packages/numpy/core/_dtype_ctypes.pyi
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/_dtype_ctypes.pyi
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/_internal.py b/.venv/lib/python3.12/site-packages/numpy/core/_internal.py
new file mode 100644
index 0000000..63a6ccc
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/_internal.py
@@ -0,0 +1,27 @@
+from numpy._core import _internal
+
+
+# Build a new array from the information in a pickle.
+# Note that the name numpy.core._internal._reconstruct is embedded in
+# pickles of ndarrays made with NumPy before release 1.0
+# so don't remove the name here, or you'll
+# break backward compatibility.
+def _reconstruct(subtype, shape, dtype):
+ from numpy import ndarray
+ return ndarray.__new__(subtype, shape, dtype)
+
+
+# Pybind11 (in versions <= 2.11.1) imports _dtype_from_pep3118 from the
+# _internal submodule, therefore it must be importable without a warning.
+_dtype_from_pep3118 = _internal._dtype_from_pep3118
+
+def __getattr__(attr_name):
+ from numpy._core import _internal
+
+ from ._utils import _raise_warning
+ ret = getattr(_internal, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core._internal' has no attribute {attr_name}")
+ _raise_warning(attr_name, "_internal")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py b/.venv/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py
new file mode 100644
index 0000000..c1e6b4e
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py
@@ -0,0 +1,57 @@
+from numpy import ufunc
+from numpy._core import _multiarray_umath
+
+for item in _multiarray_umath.__dir__():
+ # ufuncs appear in pickles with a path in numpy.core._multiarray_umath
+ # and so must import from this namespace without warning or error
+ attr = getattr(_multiarray_umath, item)
+ if isinstance(attr, ufunc):
+ globals()[item] = attr
+
+
+def __getattr__(attr_name):
+ from numpy._core import _multiarray_umath
+
+ from ._utils import _raise_warning
+
+ if attr_name in {"_ARRAY_API", "_UFUNC_API"}:
+ import sys
+ import textwrap
+ import traceback
+
+ from numpy.version import short_version
+
+ msg = textwrap.dedent(f"""
+ A module that was compiled using NumPy 1.x cannot be run in
+ NumPy {short_version} as it may crash. To support both 1.x and 2.x
+ versions of NumPy, modules must be compiled with NumPy 2.0.
+ Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
+
+ If you are a user of the module, the easiest solution will be to
+ downgrade to 'numpy<2' or try to upgrade the affected module.
+ We expect that some modules will need time to support NumPy 2.
+
+ """)
+ tb_msg = "Traceback (most recent call last):"
+ for line in traceback.format_stack()[:-1]:
+ if "frozen importlib" in line:
+ continue
+ tb_msg += line
+
+ # Also print the message (with traceback). This is because old versions
+ # of NumPy unfortunately set up the import to replace (and hide) the
+ # error. The traceback shouldn't be needed, but e.g. pytest plugins
+ # seem to swallow it and we should be failing anyway...
+ sys.stderr.write(msg + tb_msg)
+ raise ImportError(msg)
+
+ ret = getattr(_multiarray_umath, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ "module 'numpy.core._multiarray_umath' has no attribute "
+ f"{attr_name}")
+ _raise_warning(attr_name, "_multiarray_umath")
+ return ret
+
+
+del _multiarray_umath, ufunc
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/_utils.py b/.venv/lib/python3.12/site-packages/numpy/core/_utils.py
new file mode 100644
index 0000000..5f47f4b
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/_utils.py
@@ -0,0 +1,21 @@
+import warnings
+
+
+def _raise_warning(attr: str, submodule: str | None = None) -> None:
+ new_module = "numpy._core"
+ old_module = "numpy.core"
+ if submodule is not None:
+ new_module = f"{new_module}.{submodule}"
+ old_module = f"{old_module}.{submodule}"
+ warnings.warn(
+ f"{old_module} is deprecated and has been renamed to {new_module}. "
+ "The numpy._core namespace contains private NumPy internals and its "
+ "use is discouraged, as NumPy internals can change without warning in "
+ "any release. In practice, most real-world usage of numpy.core is to "
+ "access functionality in the public NumPy API. If that is the case, "
+ "use the public NumPy API. If not, you are using NumPy internals. "
+ "If you would still like to access an internal attribute, "
+ f"use {new_module}.{attr}.",
+ DeprecationWarning,
+ stacklevel=3
+ )
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/arrayprint.py b/.venv/lib/python3.12/site-packages/numpy/core/arrayprint.py
new file mode 100644
index 0000000..8be5c5c
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/arrayprint.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import arrayprint
+
+ from ._utils import _raise_warning
+ ret = getattr(arrayprint, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.arrayprint' has no attribute {attr_name}")
+ _raise_warning(attr_name, "arrayprint")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/defchararray.py b/.venv/lib/python3.12/site-packages/numpy/core/defchararray.py
new file mode 100644
index 0000000..1c87068
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/defchararray.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import defchararray
+
+ from ._utils import _raise_warning
+ ret = getattr(defchararray, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.defchararray' has no attribute {attr_name}")
+ _raise_warning(attr_name, "defchararray")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/einsumfunc.py b/.venv/lib/python3.12/site-packages/numpy/core/einsumfunc.py
new file mode 100644
index 0000000..fe5aa39
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/einsumfunc.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import einsumfunc
+
+ from ._utils import _raise_warning
+ ret = getattr(einsumfunc, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.einsumfunc' has no attribute {attr_name}")
+ _raise_warning(attr_name, "einsumfunc")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/fromnumeric.py b/.venv/lib/python3.12/site-packages/numpy/core/fromnumeric.py
new file mode 100644
index 0000000..fae7a03
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/fromnumeric.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import fromnumeric
+
+ from ._utils import _raise_warning
+ ret = getattr(fromnumeric, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.fromnumeric' has no attribute {attr_name}")
+ _raise_warning(attr_name, "fromnumeric")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/function_base.py b/.venv/lib/python3.12/site-packages/numpy/core/function_base.py
new file mode 100644
index 0000000..e15c971
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/function_base.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import function_base
+
+ from ._utils import _raise_warning
+ ret = getattr(function_base, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.function_base' has no attribute {attr_name}")
+ _raise_warning(attr_name, "function_base")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/getlimits.py b/.venv/lib/python3.12/site-packages/numpy/core/getlimits.py
new file mode 100644
index 0000000..dc009cb
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/getlimits.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import getlimits
+
+ from ._utils import _raise_warning
+ ret = getattr(getlimits, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.getlimits' has no attribute {attr_name}")
+ _raise_warning(attr_name, "getlimits")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/multiarray.py b/.venv/lib/python3.12/site-packages/numpy/core/multiarray.py
new file mode 100644
index 0000000..b226709
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/multiarray.py
@@ -0,0 +1,25 @@
+from numpy._core import multiarray
+
+# these must import without warning or error from numpy.core.multiarray to
+# support old pickle files
+for item in ["_reconstruct", "scalar"]:
+ globals()[item] = getattr(multiarray, item)
+
+# Pybind11 (in versions <= 2.11.1) imports _ARRAY_API from the multiarray
+# submodule as a part of NumPy initialization, therefore it must be importable
+# without a warning.
+_ARRAY_API = multiarray._ARRAY_API
+
+def __getattr__(attr_name):
+ from numpy._core import multiarray
+
+ from ._utils import _raise_warning
+ ret = getattr(multiarray, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.multiarray' has no attribute {attr_name}")
+ _raise_warning(attr_name, "multiarray")
+ return ret
+
+
+del multiarray
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/numeric.py b/.venv/lib/python3.12/site-packages/numpy/core/numeric.py
new file mode 100644
index 0000000..ddd70b3
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/numeric.py
@@ -0,0 +1,12 @@
+def __getattr__(attr_name):
+ from numpy._core import numeric
+
+ from ._utils import _raise_warning
+
+ sentinel = object()
+ ret = getattr(numeric, attr_name, sentinel)
+ if ret is sentinel:
+ raise AttributeError(
+ f"module 'numpy.core.numeric' has no attribute {attr_name}")
+ _raise_warning(attr_name, "numeric")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/numerictypes.py b/.venv/lib/python3.12/site-packages/numpy/core/numerictypes.py
new file mode 100644
index 0000000..cf2ad99
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/numerictypes.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import numerictypes
+
+ from ._utils import _raise_warning
+ ret = getattr(numerictypes, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.numerictypes' has no attribute {attr_name}")
+ _raise_warning(attr_name, "numerictypes")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/overrides.py b/.venv/lib/python3.12/site-packages/numpy/core/overrides.py
new file mode 100644
index 0000000..17830ed
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/overrides.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import overrides
+
+ from ._utils import _raise_warning
+ ret = getattr(overrides, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.overrides' has no attribute {attr_name}")
+ _raise_warning(attr_name, "overrides")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/overrides.pyi b/.venv/lib/python3.12/site-packages/numpy/core/overrides.pyi
new file mode 100644
index 0000000..fab3512
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/overrides.pyi
@@ -0,0 +1,7 @@
+# NOTE: At runtime, this submodule dynamically re-exports any `numpy._core.overrides`
+# member, and issues a `DeprecationWarning` when accessed. But since there is no
+# `__dir__` or `__all__` present, these annotations would be unverifiable. Because
+# this module is also deprecated in favor of `numpy._core`, and therefore not part of
+# the public API, we omit the "re-exports", which in practice would require literal
+# duplication of the stubs in order for the `@deprecated` decorator to be understood
+# by type-checkers.
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/records.py b/.venv/lib/python3.12/site-packages/numpy/core/records.py
new file mode 100644
index 0000000..0cc4503
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/records.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import records
+
+ from ._utils import _raise_warning
+ ret = getattr(records, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.records' has no attribute {attr_name}")
+ _raise_warning(attr_name, "records")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/shape_base.py b/.venv/lib/python3.12/site-packages/numpy/core/shape_base.py
new file mode 100644
index 0000000..9cffce7
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/shape_base.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import shape_base
+
+ from ._utils import _raise_warning
+ ret = getattr(shape_base, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.shape_base' has no attribute {attr_name}")
+ _raise_warning(attr_name, "shape_base")
+ return ret
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/umath.py b/.venv/lib/python3.12/site-packages/numpy/core/umath.py
new file mode 100644
index 0000000..25a60cc
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/umath.py
@@ -0,0 +1,10 @@
+def __getattr__(attr_name):
+ from numpy._core import umath
+
+ from ._utils import _raise_warning
+ ret = getattr(umath, attr_name, None)
+ if ret is None:
+ raise AttributeError(
+ f"module 'numpy.core.umath' has no attribute {attr_name}")
+ _raise_warning(attr_name, "umath")
+ return ret