SILENT KILLERPanel

Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > > site-packages > numpy > core >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/venv/lib64/python3.11//site-packages/numpy/core/

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
include Directory - -
lib Directory - -
tests Directory - -
__init__.py File 5779 bytes April 17 2025 13:10:58.
__init__.pyi File 126 bytes April 17 2025 13:10:58.
_add_newdocs.py File 208972 bytes April 17 2025 13:10:58.
_add_newdocs_scalars.py File 12106 bytes April 17 2025 13:10:58.
_asarray.py File 3884 bytes April 17 2025 13:10:58.
_asarray.pyi File 1086 bytes April 17 2025 13:10:58.
_dtype.py File 10606 bytes April 17 2025 13:10:58.
_dtype_ctypes.py File 3673 bytes April 17 2025 13:10:58.
_exceptions.py File 5379 bytes April 17 2025 13:10:58.
_internal.py File 28348 bytes April 17 2025 13:10:58.
_internal.pyi File 1032 bytes April 17 2025 13:10:58.
_machar.py File 11565 bytes April 17 2025 13:10:58.
_methods.py File 8613 bytes April 17 2025 13:10:58.
_multiarray_tests.cpython-311-x86_64-linux-gnu.so File 175512 bytes April 17 2025 13:11:30.
_multiarray_umath.cpython-311-x86_64-linux-gnu.so File 6959064 bytes April 17 2025 13:11:30.
_operand_flag_tests.cpython-311-x86_64-linux-gnu.so File 16944 bytes April 17 2025 13:11:30.
_rational_tests.cpython-311-x86_64-linux-gnu.so File 59688 bytes April 17 2025 13:11:30.
_simd.cpython-311-x86_64-linux-gnu.so File 2586024 bytes April 17 2025 13:11:30.
_string_helpers.py File 2852 bytes April 17 2025 13:10:58.
_struct_ufunc_tests.cpython-311-x86_64-linux-gnu.so File 17048 bytes April 17 2025 13:11:30.
_type_aliases.py File 7534 bytes April 17 2025 13:10:58.
_type_aliases.pyi File 404 bytes April 17 2025 13:10:58.
_ufunc_config.py File 13944 bytes April 17 2025 13:10:58.
_ufunc_config.pyi File 1066 bytes April 17 2025 13:10:58.
_umath_tests.cpython-311-x86_64-linux-gnu.so File 41992 bytes April 17 2025 13:11:30.
arrayprint.py File 63608 bytes April 17 2025 13:10:58.
arrayprint.pyi File 4428 bytes April 17 2025 13:10:58.
cversions.py File 347 bytes April 17 2025 13:10:58.
defchararray.py File 73617 bytes April 17 2025 13:10:58.
defchararray.pyi File 9216 bytes April 17 2025 13:10:58.
einsumfunc.py File 51868 bytes April 17 2025 13:10:58.
einsumfunc.pyi File 4860 bytes April 17 2025 13:10:58.
fromnumeric.py File 128821 bytes April 17 2025 13:10:58.
fromnumeric.pyi File 23510 bytes April 17 2025 13:10:58.
function_base.py File 19836 bytes April 17 2025 13:10:58.
function_base.pyi File 4725 bytes April 17 2025 13:10:58.
generate_numpy_api.py File 7654 bytes April 17 2025 13:10:58.
getlimits.py File 25865 bytes April 17 2025 13:10:58.
getlimits.pyi File 82 bytes April 17 2025 13:10:58.
memmap.py File 11771 bytes April 17 2025 13:10:58.
memmap.pyi File 55 bytes April 17 2025 13:10:58.
multiarray.py File 56097 bytes April 17 2025 13:10:58.
multiarray.pyi File 24768 bytes April 17 2025 13:10:58.
numeric.py File 77014 bytes April 17 2025 13:10:58.
numeric.pyi File 14230 bytes April 17 2025 13:10:58.
numerictypes.py File 18098 bytes April 17 2025 13:10:58.
numerictypes.pyi File 3267 bytes April 17 2025 13:10:58.
overrides.py File 7093 bytes April 17 2025 13:10:58.
records.py File 37533 bytes April 17 2025 13:10:58.
records.pyi File 5692 bytes April 17 2025 13:10:58.
setup.py File 48182 bytes April 17 2025 13:10:58.
setup_common.py File 17085 bytes April 17 2025 13:10:58.
shape_base.py File 29743 bytes April 17 2025 13:10:58.
shape_base.pyi File 2774 bytes April 17 2025 13:10:58.
umath.py File 2040 bytes April 17 2025 13:10:58.
umath_tests.py File 389 bytes April 17 2025 13:10:58.

Reading File: //opt/cloudlinux/venv/lib64/python3.11//site-packages/numpy/core//einsumfunc.pyi

from collections.abc import Sequence
from typing import TypeVar, Any, overload, Union, Literal

from numpy import (
    ndarray,
    dtype,
    bool_,
    number,
    _OrderKACF,
)
from numpy._typing import (
    _ArrayLikeBool_co,
    _ArrayLikeUInt_co,
    _ArrayLikeInt_co,
    _ArrayLikeFloat_co,
    _ArrayLikeComplex_co,
    _ArrayLikeObject_co,
    _DTypeLikeBool,
    _DTypeLikeUInt,
    _DTypeLikeInt,
    _DTypeLikeFloat,
    _DTypeLikeComplex,
    _DTypeLikeComplex_co,
    _DTypeLikeObject,
)

_ArrayType = TypeVar(
    "_ArrayType",
    bound=ndarray[Any, dtype[Union[bool_, number[Any]]]],
)

_OptimizeKind = None | bool | Literal["greedy", "optimal"] | Sequence[Any]
_CastingSafe = Literal["no", "equiv", "safe", "same_kind"]
_CastingUnsafe = Literal["unsafe"]

__all__: list[str]

# TODO: Properly handle the `casting`-based combinatorics
# TODO: We need to evaluate the content `__subscripts` in order
# to identify whether or an array or scalar is returned. At a cursory
# glance this seems like something that can quite easily be done with
# a mypy plugin.
# Something like `is_scalar = bool(__subscripts.partition("->")[-1])`
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeBool_co,
    out: None = ...,
    dtype: None | _DTypeLikeBool = ...,
    order: _OrderKACF = ...,
    casting: _CastingSafe = ...,
    optimize: _OptimizeKind = ...,
) -> Any: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeUInt_co,
    out: None = ...,
    dtype: None | _DTypeLikeUInt = ...,
    order: _OrderKACF = ...,
    casting: _CastingSafe = ...,
    optimize: _OptimizeKind = ...,
) -> Any: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeInt_co,
    out: None = ...,
    dtype: None | _DTypeLikeInt = ...,
    order: _OrderKACF = ...,
    casting: _CastingSafe = ...,
    optimize: _OptimizeKind = ...,
) -> Any: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeFloat_co,
    out: None = ...,
    dtype: None | _DTypeLikeFloat = ...,
    order: _OrderKACF = ...,
    casting: _CastingSafe = ...,
    optimize: _OptimizeKind = ...,
) -> Any: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeComplex_co,
    out: None = ...,
    dtype: None | _DTypeLikeComplex = ...,
    order: _OrderKACF = ...,
    casting: _CastingSafe = ...,
    optimize: _OptimizeKind = ...,
) -> Any: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: Any,
    casting: _CastingUnsafe,
    dtype: None | _DTypeLikeComplex_co = ...,
    out: None = ...,
    order: _OrderKACF = ...,
    optimize: _OptimizeKind = ...,
) -> Any: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeComplex_co,
    out: _ArrayType,
    dtype: None | _DTypeLikeComplex_co = ...,
    order: _OrderKACF = ...,
    casting: _CastingSafe = ...,
    optimize: _OptimizeKind = ...,
) -> _ArrayType: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: Any,
    out: _ArrayType,
    casting: _CastingUnsafe,
    dtype: None | _DTypeLikeComplex_co = ...,
    order: _OrderKACF = ...,
    optimize: _OptimizeKind = ...,
) -> _ArrayType: ...

@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeObject_co,
    out: None = ...,
    dtype: None | _DTypeLikeObject = ...,
    order: _OrderKACF = ...,
    casting: _CastingSafe = ...,
    optimize: _OptimizeKind = ...,
) -> Any: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: Any,
    casting: _CastingUnsafe,
    dtype: None | _DTypeLikeObject = ...,
    out: None = ...,
    order: _OrderKACF = ...,
    optimize: _OptimizeKind = ...,
) -> Any: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeObject_co,
    out: _ArrayType,
    dtype: None | _DTypeLikeObject = ...,
    order: _OrderKACF = ...,
    casting: _CastingSafe = ...,
    optimize: _OptimizeKind = ...,
) -> _ArrayType: ...
@overload
def einsum(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: Any,
    out: _ArrayType,
    casting: _CastingUnsafe,
    dtype: None | _DTypeLikeObject = ...,
    order: _OrderKACF = ...,
    optimize: _OptimizeKind = ...,
) -> _ArrayType: ...

# NOTE: `einsum_call` is a hidden kwarg unavailable for public use.
# It is therefore excluded from the signatures below.
# NOTE: In practice the list consists of a `str` (first element)
# and a variable number of integer tuples.
def einsum_path(
    subscripts: str | _ArrayLikeInt_co,
    /,
    *operands: _ArrayLikeComplex_co | _DTypeLikeObject,
    optimize: _OptimizeKind = ...,
) -> tuple[list[Any], str]: ...

SILENT KILLER Tool