/opt/imh-python/lib/python3.9/site-packages/numpy/lib
NameSizeModeActions
tests/-0755rm
__pycache__/-0755rm
arraypad.py318030644editdlrm
arraypad.pyi17280644editdlrm
arraysetops.py336550644editdlrm
arraysetops.pyi83720644editdlrm
arrayterator.py70630644editdlrm
arrayterator.pyi15370644editdlrm
format.py347690644editdlrm
format.pyi7480644editdlrm
function_base.py1891030644editdlrm
function_base.pyi165850644editdlrm
histograms.py377780644editdlrm
histograms.pyi9950644editdlrm
index_tricks.py313460644editdlrm
index_tricks.pyi42510644editdlrm
mixins.py70710644editdlrm
mixins.pyi31170644editdlrm
nanfunctions.py657750644editdlrm
nanfunctions.pyi6060644editdlrm
npyio.py973160644editdlrm
npyio.pyi97280644editdlrm
polynomial.py441330644editdlrm
polynomial.pyi69580644editdlrm
recfunctions.py594230644editdlrm
scimath.py150370644editdlrm
scimath.pyi28830644editdlrm
setup.py4050644editdlrm
shape_base.py389470644editdlrm
shape_base.pyi53410644editdlrm
stride_tricks.py179110644editdlrm
stride_tricks.pyi17470644editdlrm
twodim_base.py329470644editdlrm
twodim_base.pyi53700644editdlrm
type_check.py199540644editdlrm
type_check.pyi55710644editdlrm
ufunclike.py63250644editdlrm
ufunclike.pyi12930644editdlrm
user_array.py77210644editdlrm
utils.py378040644editdlrm
utils.pyi23600644editdlrm
_datasource.py226310644editdlrm
_iotools.py308680644editdlrm
_version.py48550644editdlrm
_version.pyi6330644editdlrm
__init__.py27130644editdlrm
__init__.pyi55960644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/numpy/lib/utils.pyi (2360B)
from ast import AST from collections.abc import Callable, Mapping, Sequence from typing import ( Any, overload, TypeVar, Protocol, ) from numpy import ndarray, generic from numpy.core.numerictypes import ( issubclass_ as issubclass_, issubdtype as issubdtype, issubsctype as issubsctype, ) _T_contra = TypeVar("_T_contra", contravariant=True) _FuncType = TypeVar("_FuncType", bound=Callable[..., Any]) # A file-like object opened in `w` mode class _SupportsWrite(Protocol[_T_contra]): def write(self, s: _T_contra, /) -> Any: ... __all__: list[str] class _Deprecate: old_name: None | str new_name: None | str message: None | str def __init__( self, old_name: None | str = ..., new_name: None | str = ..., message: None | str = ..., ) -> None: ... # NOTE: `__call__` can in principle take arbitrary `*args` and `**kwargs`, # even though they aren't used for anything def __call__(self, func: _FuncType) -> _FuncType: ... def get_include() -> str: ... @overload def deprecate( *, old_name: None | str = ..., new_name: None | str = ..., message: None | str = ..., ) -> _Deprecate: ... @overload def deprecate( func: _FuncType, /, old_name: None | str = ..., new_name: None | str = ..., message: None | str = ..., ) -> _FuncType: ... def deprecate_with_doc(msg: None | str) -> _Deprecate: ... # NOTE: In practice `byte_bounds` can (potentially) take any object # implementing the `__array_interface__` protocol. The caveat is # that certain keys, marked as optional in the spec, must be present for # `byte_bounds`. This concerns `"strides"` and `"data"`. def byte_bounds(a: generic | ndarray[Any, Any]) -> tuple[int, int]: ... def who(vardict: None | Mapping[str, ndarray[Any, Any]] = ...) -> None: ... def info( object: object = ..., maxwidth: int = ..., output: None | _SupportsWrite[str] = ..., toplevel: str = ..., ) -> None: ... def source( object: object, output: None | _SupportsWrite[str] = ..., ) -> None: ... def lookfor( what: str, module: None | str | Sequence[str] = ..., import_modules: bool = ..., regenerate: bool = ..., output: None | _SupportsWrite[str] =..., ) -> None: ... def safe_eval(source: str | AST) -> Any: ... def show_runtime() -> None: ...