Linux boca.hozzt.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
: 159.253.39.62 | : 18.119.28.230
Cant Read [ /etc/named.conf ]
7.4.33
renovkoron
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
cloudlinux /
venv /
lib /
python3.11 /
site-packages /
astroid /
brain /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
brain_argparse.py
1.52
KB
-rw-r--r--
brain_attrs.py
2.97
KB
-rw-r--r--
brain_boto3.py
1012
B
-rw-r--r--
brain_builtin_inference.py
33.45
KB
-rw-r--r--
brain_collections.py
4.31
KB
-rw-r--r--
brain_crypt.py
863
B
-rw-r--r--
brain_ctypes.py
2.6
KB
-rw-r--r--
brain_curses.py
3.4
KB
-rw-r--r--
brain_dataclasses.py
21.57
KB
-rw-r--r--
brain_dateutil.py
767
B
-rw-r--r--
brain_fstrings.py
2.41
KB
-rw-r--r--
brain_functools.py
5.85
KB
-rw-r--r--
brain_gi.py
7.37
KB
-rw-r--r--
brain_hashlib.py
2.75
KB
-rw-r--r--
brain_http.py
10.39
KB
-rw-r--r--
brain_hypothesis.py
1.69
KB
-rw-r--r--
brain_io.py
1.49
KB
-rw-r--r--
brain_mechanize.py
2.58
KB
-rw-r--r--
brain_multiprocessing.py
3.14
KB
-rw-r--r--
brain_namedtuple_enum.py
22.19
KB
-rw-r--r--
brain_nose.py
2.27
KB
-rw-r--r--
brain_numpy_core_einsumfunc.py
825
B
-rw-r--r--
brain_numpy_core_fromnumeric.p...
732
B
-rw-r--r--
brain_numpy_core_function_base...
1.27
KB
-rw-r--r--
brain_numpy_core_multiarray.py
4.14
KB
-rw-r--r--
brain_numpy_core_numeric.py
1.59
KB
-rw-r--r--
brain_numpy_core_numerictypes....
8.35
KB
-rw-r--r--
brain_numpy_core_umath.py
4.78
KB
-rw-r--r--
brain_numpy_ma.py
896
B
-rw-r--r--
brain_numpy_ndarray.py
8.79
KB
-rw-r--r--
brain_numpy_random_mtrand.py
3.36
KB
-rw-r--r--
brain_numpy_utils.py
2.58
KB
-rw-r--r--
brain_pathlib.py
1.51
KB
-rw-r--r--
brain_pkg_resources.py
2.15
KB
-rw-r--r--
brain_pytest.py
2.17
KB
-rw-r--r--
brain_qt.py
2.74
KB
-rw-r--r--
brain_random.py
2.82
KB
-rw-r--r--
brain_re.py
2.8
KB
-rw-r--r--
brain_regex.py
3.28
KB
-rw-r--r--
brain_responses.py
1.82
KB
-rw-r--r--
brain_scipy_signal.py
2.22
KB
-rw-r--r--
brain_signal.py
3.79
KB
-rw-r--r--
brain_six.py
7.42
KB
-rw-r--r--
brain_sqlalchemy.py
1009
B
-rw-r--r--
brain_ssl.py
6.4
KB
-rw-r--r--
brain_subprocess.py
2.93
KB
-rw-r--r--
brain_threading.py
870
B
-rw-r--r--
brain_type.py
2.42
KB
-rw-r--r--
brain_typing.py
13.98
KB
-rw-r--r--
brain_unittest.py
1.12
KB
-rw-r--r--
brain_uuid.py
667
B
-rw-r--r--
helpers.py
908
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : brain_numpy_core_numerictypes.py
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE # Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt # TODO(hippo91) : correct the methods signature. """Astroid hooks for numpy.core.numerictypes module.""" from astroid.brain.brain_numpy_utils import numpy_supports_type_hints from astroid.brain.helpers import register_module_extender from astroid.builder import parse from astroid.manager import AstroidManager def numpy_core_numerictypes_transform(): # TODO: Uniformize the generic API with the ndarray one. # According to numpy doc the generic object should expose # the same API than ndarray. This has been done here partially # through the astype method. generic_src = """ class generic(object): def __init__(self, value): self.T = np.ndarray([0, 0]) self.base = None self.data = None self.dtype = None self.flags = None # Should be a numpy.flatiter instance but not available for now # Putting an array instead so that iteration and indexing are authorized self.flat = np.ndarray([0, 0]) self.imag = None self.itemsize = None self.nbytes = None self.ndim = None self.real = None self.size = None self.strides = None def all(self): return uninferable def any(self): return uninferable def argmax(self): return uninferable def argmin(self): return uninferable def argsort(self): return uninferable def astype(self, dtype, order='K', casting='unsafe', subok=True, copy=True): return np.ndarray([0, 0]) def base(self): return uninferable def byteswap(self): return uninferable def choose(self): return uninferable def clip(self): return uninferable def compress(self): return uninferable def conj(self): return uninferable def conjugate(self): return uninferable def copy(self): return uninferable def cumprod(self): return uninferable def cumsum(self): return uninferable def data(self): return uninferable def diagonal(self): return uninferable def dtype(self): return uninferable def dump(self): return uninferable def dumps(self): return uninferable def fill(self): return uninferable def flags(self): return uninferable def flat(self): return uninferable def flatten(self): return uninferable def getfield(self): return uninferable def imag(self): return uninferable def item(self): return uninferable def itemset(self): return uninferable def itemsize(self): return uninferable def max(self): return uninferable def mean(self): return uninferable def min(self): return uninferable def nbytes(self): return uninferable def ndim(self): return uninferable def newbyteorder(self): return uninferable def nonzero(self): return uninferable def prod(self): return uninferable def ptp(self): return uninferable def put(self): return uninferable def ravel(self): return uninferable def real(self): return uninferable def repeat(self): return uninferable def reshape(self): return uninferable def resize(self): return uninferable def round(self): return uninferable def searchsorted(self): return uninferable def setfield(self): return uninferable def setflags(self): return uninferable def shape(self): return uninferable def size(self): return uninferable def sort(self): return uninferable def squeeze(self): return uninferable def std(self): return uninferable def strides(self): return uninferable def sum(self): return uninferable def swapaxes(self): return uninferable def take(self): return uninferable def tobytes(self): return uninferable def tofile(self): return uninferable def tolist(self): return uninferable def tostring(self): return uninferable def trace(self): return uninferable def transpose(self): return uninferable def var(self): return uninferable def view(self): return uninferable """ if numpy_supports_type_hints(): generic_src += """ @classmethod def __class_getitem__(cls, value): return cls """ return parse( generic_src + """ class dtype(object): def __init__(self, obj, align=False, copy=False): self.alignment = None self.base = None self.byteorder = None self.char = None self.descr = None self.fields = None self.flags = None self.hasobject = None self.isalignedstruct = None self.isbuiltin = None self.isnative = None self.itemsize = None self.kind = None self.metadata = None self.name = None self.names = None self.num = None self.shape = None self.str = None self.subdtype = None self.type = None def newbyteorder(self, new_order='S'): return uninferable def __neg__(self): return uninferable class busdaycalendar(object): def __init__(self, weekmask='1111100', holidays=None): self.holidays = None self.weekmask = None class flexible(generic): pass class bool_(generic): pass class number(generic): def __neg__(self): return uninferable class datetime64(generic): def __init__(self, nb, unit=None): pass class void(flexible): def __init__(self, *args, **kwargs): self.base = None self.dtype = None self.flags = None def getfield(self): return uninferable def setfield(self): return uninferable class character(flexible): pass class integer(number): def __init__(self, value): self.denominator = None self.numerator = None class inexact(number): pass class str_(str, character): def maketrans(self, x, y=None, z=None): return uninferable class bytes_(bytes, character): def fromhex(self, string): return uninferable def maketrans(self, frm, to): return uninferable class signedinteger(integer): pass class unsignedinteger(integer): pass class complexfloating(inexact): pass class floating(inexact): pass class float64(floating, float): def fromhex(self, string): return uninferable class uint64(unsignedinteger): pass class complex64(complexfloating): pass class int16(signedinteger): pass class float96(floating): pass class int8(signedinteger): pass class uint32(unsignedinteger): pass class uint8(unsignedinteger): pass class _typedict(dict): pass class complex192(complexfloating): pass class timedelta64(signedinteger): def __init__(self, nb, unit=None): pass class int32(signedinteger): pass class uint16(unsignedinteger): pass class float32(floating): pass class complex128(complexfloating, complex): pass class float16(floating): pass class int64(signedinteger): pass buffer_type = memoryview bool8 = bool_ byte = int8 bytes0 = bytes_ cdouble = complex128 cfloat = complex128 clongdouble = complex192 clongfloat = complex192 complex_ = complex128 csingle = complex64 double = float64 float_ = float64 half = float16 int0 = int32 int_ = int32 intc = int32 intp = int32 long = int32 longcomplex = complex192 longdouble = float96 longfloat = float96 longlong = int64 object0 = object_ object_ = object_ short = int16 single = float32 singlecomplex = complex64 str0 = str_ string_ = bytes_ ubyte = uint8 uint = uint32 uint0 = uint32 uintc = uint32 uintp = uint32 ulonglong = uint64 unicode = str_ unicode_ = str_ ushort = uint16 void0 = void """ ) register_module_extender( AstroidManager(), "numpy.core.numerictypes", numpy_core_numerictypes_transform )
Close