golden hour
/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/lib
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
2.7 KB
Del
OK
__init__.pyi
5.46 KB
Del
OK
__pycache__
-
Del
OK
_datasource.py
22.1 KB
Del
OK
_iotools.py
30.14 KB
Del
OK
_version.py
4.74 KB
Del
OK
_version.pyi
633 B
Del
OK
arraypad.py
31.06 KB
Del
OK
arraypad.pyi
1.69 KB
Del
OK
arraysetops.py
32.87 KB
Del
OK
arraysetops.pyi
8.14 KB
Del
OK
arrayterator.py
6.9 KB
Del
OK
arrayterator.pyi
1.5 KB
Del
OK
format.py
33.95 KB
Del
OK
format.pyi
748 B
Del
OK
function_base.py
184.67 KB
Del
OK
function_base.pyi
16.2 KB
Del
OK
histograms.py
36.81 KB
Del
OK
histograms.pyi
995 B
Del
OK
index_tricks.py
30.61 KB
Del
OK
index_tricks.pyi
4.15 KB
Del
OK
mixins.py
6.91 KB
Del
OK
mixins.pyi
3.04 KB
Del
OK
nanfunctions.py
64.23 KB
Del
OK
nanfunctions.pyi
606 B
Del
OK
npyio.py
95.04 KB
Del
OK
npyio.pyi
9.5 KB
Del
OK
polynomial.py
43.1 KB
Del
OK
polynomial.pyi
6.79 KB
Del
OK
recfunctions.py
58.03 KB
Del
OK
scimath.py
14.68 KB
Del
OK
scimath.pyi
2.82 KB
Del
OK
setup.py
405 B
Del
OK
shape_base.py
38.03 KB
Del
OK
shape_base.pyi
5.06 KB
Del
OK
stride_tricks.py
17.49 KB
Del
OK
stride_tricks.pyi
1.71 KB
Del
OK
tests
-
Del
OK
twodim_base.py
32.17 KB
Del
OK
twodim_base.pyi
5.24 KB
Del
OK
type_check.py
19.49 KB
Del
OK
type_check.pyi
5.44 KB
Del
OK
ufunclike.py
6.18 KB
Del
OK
ufunclike.pyi
1.26 KB
Del
OK
user_array.py
7.54 KB
Del
OK
utils.py
36.92 KB
Del
OK
utils.pyi
2.3 KB
Del
OK
Edit: mixins.pyi
from abc import ABCMeta, abstractmethod from typing import Literal as L, Any from numpy import ufunc __all__: list[str] # NOTE: `NDArrayOperatorsMixin` is not formally an abstract baseclass, # even though it's reliant on subclasses implementing `__array_ufunc__` # NOTE: The accepted input- and output-types of the various dunders are # completely dependent on how `__array_ufunc__` is implemented. # As such, only little type safety can be provided here. class NDArrayOperatorsMixin(metaclass=ABCMeta): @abstractmethod def __array_ufunc__( self, ufunc: ufunc, method: L["__call__", "reduce", "reduceat", "accumulate", "outer", "inner"], *inputs: Any, **kwargs: Any, ) -> Any: ... def __lt__(self, other: Any) -> Any: ... def __le__(self, other: Any) -> Any: ... def __eq__(self, other: Any) -> Any: ... def __ne__(self, other: Any) -> Any: ... def __gt__(self, other: Any) -> Any: ... def __ge__(self, other: Any) -> Any: ... def __add__(self, other: Any) -> Any: ... def __radd__(self, other: Any) -> Any: ... def __iadd__(self, other: Any) -> Any: ... def __sub__(self, other: Any) -> Any: ... def __rsub__(self, other: Any) -> Any: ... def __isub__(self, other: Any) -> Any: ... def __mul__(self, other: Any) -> Any: ... def __rmul__(self, other: Any) -> Any: ... def __imul__(self, other: Any) -> Any: ... def __matmul__(self, other: Any) -> Any: ... def __rmatmul__(self, other: Any) -> Any: ... def __imatmul__(self, other: Any) -> Any: ... def __truediv__(self, other: Any) -> Any: ... def __rtruediv__(self, other: Any) -> Any: ... def __itruediv__(self, other: Any) -> Any: ... def __floordiv__(self, other: Any) -> Any: ... def __rfloordiv__(self, other: Any) -> Any: ... def __ifloordiv__(self, other: Any) -> Any: ... def __mod__(self, other: Any) -> Any: ... def __rmod__(self, other: Any) -> Any: ... def __imod__(self, other: Any) -> Any: ... def __divmod__(self, other: Any) -> Any: ... def __rdivmod__(self, other: Any) -> Any: ... def __pow__(self, other: Any) -> Any: ... def __rpow__(self, other: Any) -> Any: ... def __ipow__(self, other: Any) -> Any: ... def __lshift__(self, other: Any) -> Any: ... def __rlshift__(self, other: Any) -> Any: ... def __ilshift__(self, other: Any) -> Any: ... def __rshift__(self, other: Any) -> Any: ... def __rrshift__(self, other: Any) -> Any: ... def __irshift__(self, other: Any) -> Any: ... def __and__(self, other: Any) -> Any: ... def __rand__(self, other: Any) -> Any: ... def __iand__(self, other: Any) -> Any: ... def __xor__(self, other: Any) -> Any: ... def __rxor__(self, other: Any) -> Any: ... def __ixor__(self, other: Any) -> Any: ... def __or__(self, other: Any) -> Any: ... def __ror__(self, other: Any) -> Any: ... def __ior__(self, other: Any) -> Any: ... def __neg__(self) -> Any: ... def __pos__(self) -> Any: ... def __abs__(self) -> Any: ... def __invert__(self) -> Any: ...
Save