content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\cfuncs.cpython-313.pyc
cfuncs.cpython-313.pyc
Other
49,095
0.95
0.152288
0.195331
awesome-app
323
2025-04-27T11:54:45.239863
Apache-2.0
false
390790c1b243b450f44d5e4256afb794
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\common_rules.cpython-313.pyc
common_rules.cpython-313.pyc
Other
7,549
0.8
0.033058
0.008772
react-lib
765
2025-03-22T02:27:38.408913
BSD-3-Clause
false
00c6356bbfd795241fcfb9442d87cb8e
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\diagnose.cpython-313.pyc
diagnose.cpython-313.pyc
Other
6,638
0.95
0.018519
0.02
vue-tools
915
2025-02-05T04:31:55.277192
Apache-2.0
false
dc2b355d4ed2e61c3e1dd6160c62489a
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\f2py2e.cpython-313.pyc
f2py2e.cpython-313.pyc
Other
34,802
0.95
0.035581
0.00207
react-lib
704
2025-05-25T09:40:31.962864
GPL-3.0
false
b65cb805b95f7d89d6ab0c146f4dce59
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\f90mod_rules.cpython-313.pyc
f90mod_rules.cpython-313.pyc
Other
12,708
0.95
0.098684
0.006993
awesome-app
284
2025-06-27T10:57:59.632003
Apache-2.0
false
6cddda2f65d6810256d3580fc4221f3c
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\func2subr.cpython-313.pyc
func2subr.cpython-313.pyc
Other
12,050
0.95
0.05
0
python-kit
786
2023-09-03T07:04:31.224348
MIT
false
00390418ab85c78f826730df690f0161
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\rules.cpython-313.pyc
rules.cpython-313.pyc
Other
53,173
0.95
0.082645
0.135443
vue-tools
736
2023-11-03T00:28:18.266631
GPL-3.0
false
fadd9658dc63cfedc9f8ea30722a5268
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\symbolic.cpython-313.pyc
symbolic.cpython-313.pyc
Other
80,210
0.75
0.017442
0.007862
awesome-app
963
2023-10-02T19:26:07.527829
GPL-3.0
false
d8295aa7084ad33333566f3d52ed3324
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\use_rules.cpython-313.pyc
use_rules.cpython-313.pyc
Other
4,256
0.95
0.1
0.059701
python-kit
238
2023-07-16T17:01:18.323966
MIT
false
82feb8245d4500bca2d4ba16b94aeae5
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\_isocbind.cpython-313.pyc
_isocbind.cpython-313.pyc
Other
1,900
0.95
0.033333
0
react-lib
826
2024-06-06T18:18:39.674754
BSD-3-Clause
false
d8f8cdce9d724e0382cd7299bb018faa
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\_src_pyf.cpython-313.pyc
_src_pyf.cpython-313.pyc
Other
9,109
0.95
0.078431
0.040816
vue-tools
145
2024-11-19T21:52:17.869971
MIT
false
391f99e247e704692cc120518621ba03
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
3,010
0.85
0.095238
0.1
python-kit
695
2024-02-12T18:51:24.821558
GPL-3.0
false
60ed65fea025c9c8d3186fc63b9d7b57
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\__main__.cpython-313.pyc
__main__.cpython-313.pyc
Other
255
0.8
0
0
python-kit
908
2024-10-20T00:34:06.696836
GPL-3.0
false
c65ed90f28e0b53b5a8870e60582a8e8
\n\n
.venv\Lib\site-packages\numpy\f2py\__pycache__\__version__.cpython-313.pyc
__version__.cpython-313.pyc
Other
236
0.7
0
0
react-lib
714
2024-07-02T11:18:02.482732
Apache-2.0
false
4828949606cf6d177c7942cae0cdc2b2
def __getattr__(attr_name):\n import warnings\n\n from numpy.fft import _helper\n ret = getattr(_helper, attr_name, None)\n if ret is None:\n raise AttributeError(\n f"module 'numpy.fft.helper' has no attribute {attr_name}")\n warnings.warn(\n "The numpy.fft.helper has been made ...
.venv\Lib\site-packages\numpy\fft\helper.py
helper.py
Python
628
0.85
0.117647
0
python-kit
835
2023-08-28T03:40:44.909819
GPL-3.0
false
f55dd430897e11ea62427c063168142d
from typing import Any\nfrom typing import Literal as L\n\nfrom typing_extensions import deprecated\n\nimport numpy as np\nfrom numpy._typing import ArrayLike, NDArray, _ShapeLike\n\nfrom ._helper import integer_types as integer_types\n\n__all__ = ["fftfreq", "fftshift", "ifftshift", "rfftfreq"]\n\n###\n\n@deprecated("...
.venv\Lib\site-packages\numpy\fft\helper.pyi
helper.pyi
Other
913
0.95
0.181818
0.0625
node-utils
700
2025-03-14T22:21:39.523638
GPL-3.0
false
4a604e66aafb8e9e976450e117881309
"""\nDiscrete Fourier Transforms - _helper.py\n\n"""\nfrom numpy._core import arange, asarray, empty, integer, roll\nfrom numpy._core.overrides import array_function_dispatch, set_module\n\n# Created by Pearu Peterson, September 2002\n\n__all__ = ['fftshift', 'ifftshift', 'fftfreq', 'rfftfreq']\n\ninteger_types = (int,...
.venv\Lib\site-packages\numpy\fft\_helper.py
_helper.py
Python
7,022
0.95
0.114894
0.005291
node-utils
953
2024-02-15T00:46:39.107540
BSD-3-Clause
false
5ec4f15092560d138153c1638e9c778c
from typing import Any, Final, TypeVar, overload\nfrom typing import Literal as L\n\nfrom numpy import complexfloating, floating, generic, integer\nfrom numpy._typing import (\n ArrayLike,\n NDArray,\n _ArrayLike,\n _ArrayLikeComplex_co,\n _ArrayLikeFloat_co,\n _ShapeLike,\n)\n\n__all__ = ["fftfreq", ...
.venv\Lib\site-packages\numpy\fft\_helper.pyi
_helper.pyi
Other
1,439
0.95
0.177778
0.142857
python-kit
524
2023-08-13T17:26:04.481912
BSD-3-Clause
false
61b6b158770a76f1cc7ea9b753d7c9d2
"""\nDiscrete Fourier Transforms\n\nRoutines in this module:\n\nfft(a, n=None, axis=-1, norm="backward")\nifft(a, n=None, axis=-1, norm="backward")\nrfft(a, n=None, axis=-1, norm="backward")\nirfft(a, n=None, axis=-1, norm="backward")\nhfft(a, n=None, axis=-1, norm="backward")\nihfft(a, n=None, axis=-1, norm="backward"...
.venv\Lib\site-packages\numpy\fft\_pocketfft.py
_pocketfft.py
Python
64,291
0.75
0.100413
0.011086
python-kit
40
2023-09-18T13:55:18.852152
Apache-2.0
false
3fa1f49a2447276e2f7a8fa839c5df0b
from collections.abc import Sequence\nfrom typing import Literal as L\nfrom typing import TypeAlias\n\nfrom numpy import complex128, float64\nfrom numpy._typing import ArrayLike, NDArray, _ArrayLikeNumber_co\n\n__all__ = [\n "fft",\n "ifft",\n "rfft",\n "irfft",\n "hfft",\n "ihfft",\n "rfftn",\n ...
.venv\Lib\site-packages\numpy\fft\_pocketfft.pyi
_pocketfft.pyi
Other
3,312
0.95
0.101449
0.008264
vue-tools
305
2024-11-01T04:33:39.259867
BSD-3-Clause
false
b37eca93a5eeed3fa8f3c8bb6a0192dd
!<arch>\n/ -1 0 206 `\n
.venv\Lib\site-packages\numpy\fft\_pocketfft_umath.cp313-win_amd64.lib
_pocketfft_umath.cp313-win_amd64.lib
Other
2,176
0.8
0
0
vue-tools
789
2025-06-06T02:32:07.530046
GPL-3.0
false
0962ba8c17e0105a7730e50cef750b32
"""\nDiscrete Fourier Transform\n==========================\n\n.. currentmodule:: numpy.fft\n\nThe SciPy module `scipy.fft` is a more comprehensive superset\nof `numpy.fft`, which includes only a basic set of routines.\n\nStandard FFTs\n-------------\n\n.. autosummary::\n :toctree: generated/\n\n fft Discrete...
.venv\Lib\site-packages\numpy\fft\__init__.py
__init__.py
Python
8,506
0.95
0.083721
0.012048
awesome-app
60
2024-10-04T22:15:39.149395
Apache-2.0
false
c94471751c52c78cd0bd265bc36dcc1c
from ._helper import (\n fftfreq,\n fftshift,\n ifftshift,\n rfftfreq,\n)\nfrom ._pocketfft import (\n fft,\n fft2,\n fftn,\n hfft,\n ifft,\n ifft2,\n ifftn,\n ihfft,\n irfft,\n irfft2,\n irfftn,\n rfft,\n rfft2,\n rfftn,\n)\n\n__all__ = [\n "fft",\n "ifft",\n...
.venv\Lib\site-packages\numpy\fft\__init__.pyi
__init__.pyi
Other
557
0.85
0
0
node-utils
256
2023-12-26T18:05:00.696666
Apache-2.0
false
e39142f6802fd14b323791247d20f0f6
"""Test functions for fftpack.helper module\n\nCopied from fftpack.helper by Pearu Peterson, October 2005\n\n"""\nimport numpy as np\nfrom numpy import fft, pi\nfrom numpy.testing import assert_array_almost_equal\n\n\nclass TestFFTShift:\n\n def test_definition(self):\n x = [0, 1, 2, 3, 4, -4, -3, -2, -1]\n ...
.venv\Lib\site-packages\numpy\fft\tests\test_helper.py
test_helper.py
Python
6,321
0.95
0.143713
0.051095
node-utils
499
2023-08-10T19:49:28.513738
GPL-3.0
true
2ed1e7034405377d2d33a2245c5e758d
import queue\nimport threading\n\nimport pytest\n\nimport numpy as np\nfrom numpy.random import random\nfrom numpy.testing import IS_WASM, assert_allclose, assert_array_equal, assert_raises\n\n\ndef fft1(x):\n L = len(x)\n phase = -2j * np.pi * (np.arange(L) / L)\n phase = np.arange(L).reshape(-1, 1) * phase\n...
.venv\Lib\site-packages\numpy\fft\tests\test_pocketfft.py
test_pocketfft.py
Python
25,035
0.95
0.169779
0.06501
awesome-app
747
2025-03-30T05:27:39.888968
GPL-3.0
true
9ae85d31a45366f0d218c34ed518f8dc
\n\n
.venv\Lib\site-packages\numpy\fft\tests\__pycache__\test_helper.cpython-313.pyc
test_helper.cpython-313.pyc
Other
9,087
0.95
0.013158
0
node-utils
162
2023-07-14T03:07:28.658003
GPL-3.0
true
43bd243756274a37d1b3261cf10acd2f
\n\n
.venv\Lib\site-packages\numpy\fft\tests\__pycache__\test_pocketfft.cpython-313.pyc
test_pocketfft.cpython-313.pyc
Other
46,319
0.8
0.002865
0.005988
python-kit
482
2024-10-15T18:27:01.681906
GPL-3.0
true
73b3fe6dcf39b9218c0ab648e6f6a04d
\n\n
.venv\Lib\site-packages\numpy\fft\tests\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
190
0.7
0
0
node-utils
582
2024-10-30T10:28:03.253178
MIT
true
ce7db631f9709e597c22b22e9c23f37b
\n\n
.venv\Lib\site-packages\numpy\fft\__pycache__\helper.cpython-313.pyc
helper.cpython-313.pyc
Other
913
0.85
0
0
python-kit
704
2023-09-08T19:11:54.556154
GPL-3.0
false
ec9c4005d490733fe1db97a293e01668
\n\n
.venv\Lib\site-packages\numpy\fft\__pycache__\_helper.cpython-313.pyc
_helper.cpython-313.pyc
Other
7,566
0.95
0.069652
0
python-kit
398
2024-10-18T01:28:52.178096
MIT
false
d740aee709d2e6f63977623d26d62aa1
\n\n
.venv\Lib\site-packages\numpy\fft\__pycache__\_pocketfft.cpython-313.pyc
_pocketfft.cpython-313.pyc
Other
60,105
0.75
0.07788
0.006462
react-lib
61
2024-05-25T03:53:46.834174
Apache-2.0
false
d2a46cd6f84713e1faf96ac3e16c9f28
\n\n
.venv\Lib\site-packages\numpy\fft\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
8,403
0.95
0.084112
0.006024
vue-tools
481
2024-11-09T19:30:41.815853
Apache-2.0
false
d3abac69afb3112bf4a30fa52514b2ec
from ._array_utils_impl import ( # noqa: F401\n __all__,\n __doc__,\n byte_bounds,\n normalize_axis_index,\n normalize_axis_tuple,\n)\n
.venv\Lib\site-packages\numpy\lib\array_utils.py
array_utils.py
Python
151
0.95
0
0
react-lib
482
2024-11-11T19:17:30.383402
Apache-2.0
false
b865d1600d995b85baa34514b29e33c0
from ._array_utils_impl import (\n __all__ as __all__,\n)\nfrom ._array_utils_impl import (\n byte_bounds as byte_bounds,\n)\nfrom ._array_utils_impl import (\n normalize_axis_index as normalize_axis_index,\n)\nfrom ._array_utils_impl import (\n normalize_axis_tuple as normalize_axis_tuple,\n)\n
.venv\Lib\site-packages\numpy\lib\array_utils.pyi
array_utils.pyi
Other
308
0.85
0
0
vue-tools
432
2024-01-09T19:11:46.814242
MIT
false
071982cb93277cf619bb1317ecb98d1b
from ._format_impl import ( # noqa: F401\n ARRAY_ALIGN,\n BUFFER_SIZE,\n EXPECTED_KEYS,\n GROWTH_AXIS_MAX_DIGITS,\n MAGIC_LEN,\n MAGIC_PREFIX,\n __all__,\n __doc__,\n descr_to_dtype,\n drop_metadata,\n dtype_to_descr,\n header_data_from_array_1_0,\n isfileobj,\n magic,\n op...
.venv\Lib\site-packages\numpy\lib\format.py
format.py
Python
501
0.95
0
0
node-utils
839
2023-11-01T22:31:37.004782
GPL-3.0
false
9f856071e1809634b4114db977895ea4
from ._format_impl import (\n ARRAY_ALIGN as ARRAY_ALIGN,\n)\nfrom ._format_impl import (\n BUFFER_SIZE as BUFFER_SIZE,\n)\nfrom ._format_impl import (\n EXPECTED_KEYS as EXPECTED_KEYS,\n)\nfrom ._format_impl import (\n GROWTH_AXIS_MAX_DIGITS as GROWTH_AXIS_MAX_DIGITS,\n)\nfrom ._format_impl import (\n M...
.venv\Lib\site-packages\numpy\lib\format.pyi
format.pyi
Other
1,548
0.85
0
0
awesome-app
86
2023-12-29T15:18:31.881558
GPL-3.0
false
7071a53df1876fc7f672838f3628e220
"""\nIntrospection helper functions.\n"""\n\n__all__ = ['opt_func_info']\n\n\ndef opt_func_info(func_name=None, signature=None):\n """\n Returns a dictionary containing the currently supported CPU dispatched\n features for all optimized functions.\n\n Parameters\n ----------\n func_name : str (optiona...
.venv\Lib\site-packages\numpy\lib\introspect.py
introspect.py
Python
2,844
0.85
0.147368
0
node-utils
641
2025-02-17T21:50:41.994515
Apache-2.0
false
f884dc39bae045204843f2f9e8ab2f79
__all__ = ["opt_func_info"]\n\ndef opt_func_info(func_name: str | None = None, signature: str | None = None) -> dict[str, dict[str, dict[str, str]]]: ...\n
.venv\Lib\site-packages\numpy\lib\introspect.pyi
introspect.pyi
Other
155
0.85
0.333333
0
python-kit
698
2023-10-16T06:56:42.093774
MIT
false
9d1949f2e4e3e6f90bd7bc6563d8634f
"""\nMixin classes for custom array types that don't inherit from ndarray.\n"""\n\n__all__ = ['NDArrayOperatorsMixin']\n\n\ndef _disables_array_ufunc(obj):\n """True when __array_ufunc__ is set to None."""\n try:\n return obj.__array_ufunc__ is None\n except AttributeError:\n return False\n\n\nde...
.venv\Lib\site-packages\numpy\lib\mixins.py
mixins.py
Python
7,380
0.95
0.194444
0.045752
python-kit
643
2023-10-10T21:32:13.021448
Apache-2.0
false
4f5d88357e980305823d6d9c780f7cc8
from abc import ABC, abstractmethod\nfrom typing import Any\nfrom typing import Literal as L\n\nfrom numpy import ufunc\n\n__all__ = ["NDArrayOperatorsMixin"]\n\n# NOTE: `NDArrayOperatorsMixin` is not formally an abstract baseclass,\n# even though it's reliant on subclasses implementing `__array_ufunc__`\n\n# NOTE: The...
.venv\Lib\site-packages\numpy\lib\mixins.pyi
mixins.pyi
Other
3,206
0.95
0.706667
0.1
vue-tools
871
2025-01-16T05:37:59.367676
Apache-2.0
false
6d996ab341f6e5a870bbb8ea8c038d2b
from ._npyio_impl import DataSource, NpzFile, __doc__ # noqa: F401\n
.venv\Lib\site-packages\numpy\lib\npyio.py
npyio.py
Python
69
0.75
0
0
node-utils
261
2025-02-18T05:22:18.875627
BSD-3-Clause
false
30a65bcc4eac6a4d60b70ef70480c69b
from numpy.lib._npyio_impl import (\n DataSource as DataSource,\n)\nfrom numpy.lib._npyio_impl import (\n NpzFile as NpzFile,\n)\nfrom numpy.lib._npyio_impl import (\n __doc__ as __doc__,\n)\n
.venv\Lib\site-packages\numpy\lib\npyio.pyi
npyio.pyi
Other
201
0.85
0
0
vue-tools
107
2023-10-24T11:24:50.530267
MIT
false
248241c0b44b55b97adfa6ce0d0366b8
"""\nCollection of utilities to manipulate structured arrays.\n\nMost of these functions were initially implemented by John Hunter for\nmatplotlib. They have been rewritten and extended for convenience.\n\n"""\nimport itertools\n\nimport numpy as np\nimport numpy.ma as ma\nimport numpy.ma.mrecords as mrec\nfrom numpy....
.venv\Lib\site-packages\numpy\lib\recfunctions.py
recfunctions.py
Python
61,220
0.75
0.160619
0.070588
python-kit
861
2024-03-04T16:17:41.456932
GPL-3.0
false
208d59521b7cc33e36a46fafc26c8359
from collections.abc import Callable, Iterable, Mapping, Sequence\nfrom typing import Any, Literal, TypeAlias, overload\n\nfrom _typeshed import Incomplete\nfrom typing_extensions import TypeVar\n\nimport numpy as np\nimport numpy.typing as npt\nfrom numpy._typing import _AnyShape, _DTypeLike, _DTypeLikeVoid\nfrom nump...
.venv\Lib\site-packages\numpy\lib\recfunctions.pyi
recfunctions.pyi
Other
13,651
0.95
0.112644
0.081081
node-utils
323
2025-01-31T23:49:04.980862
BSD-3-Clause
false
b7c0511b46a1cb8f88f6bdb61f7f3b99
from ._scimath_impl import ( # noqa: F401\n __all__,\n __doc__,\n arccos,\n arcsin,\n arctanh,\n log,\n log2,\n log10,\n logn,\n power,\n sqrt,\n)\n
.venv\Lib\site-packages\numpy\lib\scimath.py
scimath.py
Python
182
0.95
0
0
node-utils
813
2025-05-01T01:22:32.527419
MIT
false
db4b3c6289e11aae867569d4409c6c7d
from ._scimath_impl import (\n __all__ as __all__,\n)\nfrom ._scimath_impl import (\n arccos as arccos,\n)\nfrom ._scimath_impl import (\n arcsin as arcsin,\n)\nfrom ._scimath_impl import (\n arctanh as arctanh,\n)\nfrom ._scimath_impl import (\n log as log,\n)\nfrom ._scimath_impl import (\n log2 as ...
.venv\Lib\site-packages\numpy\lib\scimath.pyi
scimath.pyi
Other
542
0.85
0
0
node-utils
381
2024-06-17T04:04:40.729317
MIT
false
6c808b33f491c90a511fb526bb13b546
from ._stride_tricks_impl import __doc__, as_strided, sliding_window_view # noqa: F401\n
.venv\Lib\site-packages\numpy\lib\stride_tricks.py
stride_tricks.py
Python
89
0.75
0
0
python-kit
133
2024-08-31T09:14:16.278216
Apache-2.0
false
a7ec66cbea0f4fcc4bb3f4462e85d787
from numpy.lib._stride_tricks_impl import (\n as_strided as as_strided,\n)\nfrom numpy.lib._stride_tricks_impl import (\n sliding_window_view as sliding_window_view,\n)\n
.venv\Lib\site-packages\numpy\lib\stride_tricks.pyi
stride_tricks.pyi
Other
176
0.85
0
0
react-lib
386
2025-04-03T02:05:28.173541
Apache-2.0
false
e62d5c7c69c36b4f9d7298e9513432e6
from ._user_array_impl import __doc__, container # noqa: F401\n
.venv\Lib\site-packages\numpy\lib\user_array.py
user_array.py
Python
64
0.75
0
0
vue-tools
911
2025-05-29T07:00:43.080599
GPL-3.0
false
1cf31a900ad92ca6073dc2ac37becc9f
from ._user_array_impl import container as container\n
.venv\Lib\site-packages\numpy\lib\user_array.pyi
user_array.pyi
Other
54
0.65
0
0
react-lib
422
2024-02-18T13:37:54.188915
Apache-2.0
false
e68c9a2d9b222abafdeead2978bb5b63
"""\nThe arraypad module contains a group of functions to pad values onto the edges\nof an n-dimensional array.\n\n"""\nimport numpy as np\nfrom numpy._core.overrides import array_function_dispatch\nfrom numpy.lib._index_tricks_impl import ndindex\n\n__all__ = ['pad']\n\n\n##############################################...
.venv\Lib\site-packages\numpy\lib\_arraypad_impl.py
_arraypad_impl.py
Python
33,186
0.95
0.134831
0.12349
node-utils
578
2024-11-10T19:27:33.415410
Apache-2.0
false
f78d8950de430ec4003c370226fe2e03
from typing import (\n Any,\n Protocol,\n TypeAlias,\n TypeVar,\n overload,\n type_check_only,\n)\nfrom typing import (\n Literal as L,\n)\n\nfrom numpy import generic\nfrom numpy._typing import (\n ArrayLike,\n NDArray,\n _ArrayLike,\n _ArrayLikeInt,\n)\n\n__all__ = ["pad"]\n\n_ScalarT...
.venv\Lib\site-packages\numpy\lib\_arraypad_impl.pyi
_arraypad_impl.pyi
Other
1,926
0.95
0.067416
0.085366
node-utils
8
2025-04-01T10:44:41.568286
Apache-2.0
false
6d71c8490b1af7566ee81c80da852f26
"""\nSet operations for arrays based on sorting.\n\nNotes\n-----\n\nFor floating point arrays, inaccurate results may appear due to usual round-off\nand floating point comparison issues.\n\nSpeed could be gained in some operations by an implementation of\n`numpy.sort`, that can provide directly the permutation vectors,...
.venv\Lib\site-packages\numpy\lib\_arraysetops_impl.py
_arraysetops_impl.py
Python
42,535
0.95
0.13254
0.072336
awesome-app
382
2023-07-30T08:57:04.643178
GPL-3.0
false
26c275b692484cf99ac61aef295d0a1c
from typing import Any, Generic, NamedTuple, SupportsIndex, TypeAlias, overload\nfrom typing import Literal as L\n\nfrom typing_extensions import TypeVar, deprecated\n\nimport numpy as np\nfrom numpy._typing import (\n ArrayLike,\n NDArray,\n _ArrayLike,\n _ArrayLikeBool_co,\n _ArrayLikeNumber_co,\n)\n\n...
.venv\Lib\site-packages\numpy\lib\_arraysetops_impl.pyi
_arraysetops_impl.pyi
Other
13,247
0.95
0.123874
0.109005
node-utils
521
2025-05-08T19:31:59.954852
MIT
false
62ea03125def41d131d8bb15bf4847e8
"""\nA buffered iterator for big arrays.\n\nThis module solves the problem of iterating over a big file-based array\nwithout having to read it into memory. The `Arrayterator` class wraps\nan array object, and when iterated it will return sub-arrays with at most\na user-specified number of elements.\n\n"""\nfrom functoo...
.venv\Lib\site-packages\numpy\lib\_arrayterator_impl.py
_arrayterator_impl.py
Python
7,442
0.95
0.196429
0.07027
awesome-app
776
2024-01-06T08:09:08.543371
Apache-2.0
false
6ac7583d5b1203ac31c4a62998552078
# pyright: reportIncompatibleMethodOverride=false\n\nfrom collections.abc import Generator\nfrom types import EllipsisType\nfrom typing import Any, Final, TypeAlias, overload\n\nfrom typing_extensions import TypeVar\n\nimport numpy as np\nfrom numpy._typing import _AnyShape, _Shape\n\n__all__ = ["Arrayterator"]\n\n_Sha...
.venv\Lib\site-packages\numpy\lib\_arrayterator_impl.pyi
_arrayterator_impl.pyi
Other
1,922
0.95
0.173913
0.171429
vue-tools
485
2023-10-22T02:34:44.234430
MIT
false
976e37d812a33b174503a63b14a78d69
"""\nMiscellaneous utils.\n"""\nfrom numpy._core import asarray\nfrom numpy._core.numeric import normalize_axis_index, normalize_axis_tuple\nfrom numpy._utils import set_module\n\n__all__ = ["byte_bounds", "normalize_axis_tuple", "normalize_axis_index"]\n\n\n@set_module("numpy.lib.array_utils")\ndef byte_bounds(a):\n ...
.venv\Lib\site-packages\numpy\lib\_array_utils_impl.py
_array_utils_impl.py
Python
1,759
0.95
0.064516
0.018519
python-kit
259
2024-06-16T00:10:50.181800
MIT
false
96bb2c48aa5101bba98c17b0e2343a87
from collections.abc import Iterable\nfrom typing import Any\n\nfrom numpy import generic\nfrom numpy.typing import NDArray\n\n__all__ = ["byte_bounds", "normalize_axis_tuple", "normalize_axis_index"]\n\n# NOTE: In practice `byte_bounds` can (potentially) take any object\n# implementing the `__array_interface__` protoc...
.venv\Lib\site-packages\numpy\lib\_array_utils_impl.pyi
_array_utils_impl.pyi
Other
846
0.95
0.153846
0.190476
awesome-app
32
2024-04-20T08:35:31.906405
MIT
false
9318f6ff079be444bf208cd36ee7e215
"""A file interface for handling local and remote data files.\n\nThe goal of datasource is to abstract some of the file system operations\nwhen dealing with data files so the researcher doesn't have to know all the\nlow-level details. Through datasource, a researcher can obtain and use a\nfile with one function call, ...
.venv\Lib\site-packages\numpy\lib\_datasource.py
_datasource.py
Python
23,431
0.95
0.162857
0.075676
vue-tools
953
2024-01-24T03:34:29.753069
BSD-3-Clause
false
90d66371a10c7a654cf3b6406adea5d5
from pathlib import Path\nfrom typing import IO, Any, TypeAlias\n\nfrom _typeshed import OpenBinaryMode, OpenTextMode\n\n_Mode: TypeAlias = OpenBinaryMode | OpenTextMode\n\n###\n\n# exported in numpy.lib.nppyio\nclass DataSource:\n def __init__(self, /, destpath: Path | str | None = ...) -> None: ...\n def __del_...
.venv\Lib\site-packages\numpy\lib\_datasource.pyi
_datasource.pyi
Other
1,027
0.95
0.322581
0.166667
awesome-app
9
2024-11-06T01:26:36.491929
MIT
false
a9a7c33b706898a0789dd6d310d52ddc
"""\nBinary serialization\n\nNPY format\n==========\n\nA simple format for saving numpy arrays to disk with the full\ninformation about them.\n\nThe ``.npy`` format is the standard binary file format in NumPy for\npersisting a *single* arbitrary NumPy array on disk. The format stores all\nof the shape and dtype informa...
.venv\Lib\site-packages\numpy\lib\_format_impl.py
_format_impl.py
Python
37,901
0.95
0.130309
0.097477
vue-tools
912
2023-11-30T07:46:59.551993
BSD-3-Clause
false
7e91467dad3db30d131b7a267362bea8
from typing import Final, Literal\n\nfrom numpy.lib._utils_impl import drop_metadata # noqa: F401\n\n__all__: list[str] = []\n\nEXPECTED_KEYS: Final[set[str]]\nMAGIC_PREFIX: Final[bytes]\nMAGIC_LEN: Literal[8]\nARRAY_ALIGN: Literal[64]\nBUFFER_SIZE: Literal[262144] # 2**18\nGROWTH_AXIS_MAX_DIGITS: Literal[21]\n\ndef ...
.venv\Lib\site-packages\numpy\lib\_format_impl.pyi
_format_impl.pyi
Other
895
0.95
0.5
0
python-kit
497
2025-03-02T23:07:31.010445
Apache-2.0
false
a8f8717818aca25e9982a0f2e515621f
# ruff: noqa: ANN401\nfrom collections.abc import Callable, Iterable, Sequence\nfrom typing import (\n Any,\n Concatenate,\n ParamSpec,\n Protocol,\n SupportsIndex,\n SupportsInt,\n TypeAlias,\n TypeVar,\n overload,\n type_check_only,\n)\nfrom typing import Literal as L\n\nfrom _typeshed i...
.venv\Lib\site-packages\numpy\lib\_function_base_impl.pyi
_function_base_impl.pyi
Other
25,101
0.95
0.117766
0.055378
vue-tools
555
2024-07-31T16:16:36.277078
BSD-3-Clause
false
97c08576ff274b70ba3e3b1cc5c6bdce
"""\nHistogram-related functions\n"""\nimport contextlib\nimport functools\nimport operator\nimport warnings\n\nimport numpy as np\nfrom numpy._core import overrides\n\n__all__ = ['histogram', 'histogramdd', 'histogram_bin_edges']\n\narray_function_dispatch = functools.partial(\n overrides.array_function_dispatch, m...
.venv\Lib\site-packages\numpy\lib\_histograms_impl.py
_histograms_impl.py
Python
39,517
0.95
0.142857
0.086809
python-kit
461
2025-06-12T08:00:49.292759
BSD-3-Clause
false
5d3fa42522bed5a1473ac265e19380d6
from collections.abc import Sequence\nfrom typing import (\n Any,\n SupportsIndex,\n TypeAlias,\n)\nfrom typing import (\n Literal as L,\n)\n\nfrom numpy._typing import (\n ArrayLike,\n NDArray,\n)\n\n__all__ = ["histogram", "histogramdd", "histogram_bin_edges"]\n\n_BinKind: TypeAlias = L[\n "stone...
.venv\Lib\site-packages\numpy\lib\_histograms_impl.pyi
_histograms_impl.pyi
Other
1,143
0.85
0.06
0
python-kit
666
2024-01-14T06:09:32.332255
BSD-3-Clause
false
9331bdb106187219ebc3893533291908
import functools\nimport math\nimport sys\nimport warnings\n\nimport numpy as np\nimport numpy._core.numeric as _nx\nimport numpy.matrixlib as matrixlib\nfrom numpy._core import linspace, overrides\nfrom numpy._core.multiarray import ravel_multi_index, unravel_index\nfrom numpy._core.numeric import ScalarType, array\nf...
.venv\Lib\site-packages\numpy\lib\_index_tricks_impl.py
_index_tricks_impl.py
Python
33,253
0.95
0.109653
0.041522
node-utils
718
2024-02-20T23:33:59.505826
BSD-3-Clause
false
dace44f8860cd962f544f4d3c83530fb
from collections.abc import Sequence\nfrom typing import Any, ClassVar, Final, Generic, Self, SupportsIndex, final, overload\nfrom typing import Literal as L\n\nfrom _typeshed import Incomplete\nfrom typing_extensions import TypeVar, deprecated\n\nimport numpy as np\nfrom numpy._core.multiarray import ravel_multi_index...
.venv\Lib\site-packages\numpy\lib\_index_tricks_impl.pyi
_index_tricks_impl.pyi
Other
6,521
0.95
0.270408
0.072727
node-utils
890
2024-11-06T08:24:17.769941
GPL-3.0
false
36fbef371ba5e8e54433d6ec3633cbf7
"""A collection of functions designed to help I/O with ascii files.\n\n"""\n__docformat__ = "restructuredtext en"\n\nimport itertools\n\nimport numpy as np\nimport numpy._core.numeric as nx\nfrom numpy._utils import asbytes, asunicode\n\n\ndef _decode_line(line, encoding=None):\n """Decode bytes from binary input st...
.venv\Lib\site-packages\numpy\lib\_iotools.py
_iotools.py
Python
31,776
0.95
0.192222
0.072633
vue-tools
407
2024-07-15T02:45:16.496255
BSD-3-Clause
false
cdc648b6be4beaf384869aa70cfb9191
from collections.abc import Callable, Iterable, Sequence\nfrom typing import (\n Any,\n ClassVar,\n Final,\n Literal,\n TypedDict,\n TypeVar,\n Unpack,\n overload,\n type_check_only,\n)\n\nimport numpy as np\nimport numpy.typing as npt\n\n_T = TypeVar("_T")\n\n@type_check_only\nclass _Validat...
.venv\Lib\site-packages\numpy\lib\_iotools.pyi
_iotools.pyi
Other
3,507
0.95
0.210526
0.050505
awesome-app
678
2024-11-13T19:11:23.169268
GPL-3.0
false
706b3f354ee006d8f620a3dc73ab95d8
"""\nFunctions that ignore NaN.\n\nFunctions\n---------\n\n- `nanmin` -- minimum non-NaN value\n- `nanmax` -- maximum non-NaN value\n- `nanargmin` -- index of minimum non-NaN value\n- `nanargmax` -- index of maximum non-NaN value\n- `nansum` -- sum of non-NaN values\n- `nanprod` -- product of non-NaN values\n- `nancums...
.venv\Lib\site-packages\numpy\lib\_nanfunctions_impl.py
_nanfunctions_impl.py
Python
73,973
0.75
0.130435
0.037725
awesome-app
739
2023-08-04T15:47:25.957139
GPL-3.0
false
5ff24b874321f6631cbba397fa596408
from numpy._core.fromnumeric import (\n amax,\n amin,\n argmax,\n argmin,\n cumprod,\n cumsum,\n mean,\n prod,\n std,\n sum,\n var,\n)\nfrom numpy.lib._function_base_impl import (\n median,\n percentile,\n quantile,\n)\n\n__all__ = [\n "nansum",\n "nanmax",\n "nanmin",...
.venv\Lib\site-packages\numpy\lib\_nanfunctions_impl.pyi
_nanfunctions_impl.pyi
Other
885
0.95
0
0.04
python-kit
554
2025-07-02T08:09:12.958949
MIT
false
9d08f654b951a1eb3ce130a4757b63d4
"""\nIO related functions.\n"""\nimport contextlib\nimport functools\nimport itertools\nimport operator\nimport os\nimport pickle\nimport re\nimport warnings\nimport weakref\nfrom collections.abc import Mapping\nfrom operator import itemgetter\n\nimport numpy as np\nfrom numpy._core import overrides\nfrom numpy._core._...
.venv\Lib\site-packages\numpy\lib\_npyio_impl.py
_npyio_impl.py
Python
101,876
0.75
0.164869
0.093054
node-utils
466
2023-09-11T15:45:59.806986
MIT
false
2147d506f7511927458dff4ab97e6c94
import types\nimport zipfile\nfrom collections.abc import Callable, Collection, Iterable, Iterator, Mapping, Sequence\nfrom re import Pattern\nfrom typing import (\n IO,\n Any,\n ClassVar,\n Generic,\n Protocol,\n Self,\n TypeAlias,\n overload,\n type_check_only,\n)\nfrom typing import Litera...
.venv\Lib\site-packages\numpy\lib\_npyio_impl.pyi
_npyio_impl.pyi
Other
9,689
0.95
0.116279
0.053571
vue-tools
911
2024-07-18T01:03:12.946651
Apache-2.0
false
72895b101df0244d9a8e24eb681cd213
"""\nFunctions to operate on polynomials.\n\n"""\n__all__ = ['poly', 'roots', 'polyint', 'polyder', 'polyadd',\n 'polysub', 'polymul', 'polydiv', 'polyval', 'poly1d',\n 'polyfit']\n\nimport functools\nimport re\nimport warnings\n\nimport numpy._core.numeric as NX\nfrom numpy._core import (\n abs,...
.venv\Lib\site-packages\numpy\lib\_polynomial_impl.py
_polynomial_impl.py
Python
45,599
0.95
0.117406
0.024723
python-kit
73
2024-06-23T22:19:29.584407
Apache-2.0
false
0f0a7a78238b3a109b29d24b15ec9a6c
from typing import (\n Any,\n NoReturn,\n SupportsIndex,\n SupportsInt,\n TypeAlias,\n TypeVar,\n overload,\n)\nfrom typing import (\n Literal as L,\n)\n\nimport numpy as np\nfrom numpy import (\n complex128,\n complexfloating,\n float64,\n floating,\n int32,\n int64,\n obje...
.venv\Lib\site-packages\numpy\lib\_polynomial_impl.pyi
_polynomial_impl.pyi
Other
7,315
0.95
0.136076
0.009934
node-utils
586
2023-08-27T12:49:32.603059
Apache-2.0
false
c4815b81822a2e63167cf0a9203aaada
"""\nWrapper functions to more user-friendly calling of certain math functions\nwhose output data-type is different than the input data-type in certain\ndomains of the input.\n\nFor example, for functions like `log` with branch cuts, the versions in this\nmodule provide the mathematically valid answers in the complex p...
.venv\Lib\site-packages\numpy\lib\_scimath_impl.py
_scimath_impl.py
Python
16,334
0.95
0.070093
0
node-utils
820
2024-09-22T23:31:40.131777
BSD-3-Clause
false
9768ec30fec11d0476ddcc9453c29041
from typing import Any, overload\n\nfrom numpy import complexfloating\nfrom numpy._typing import (\n NDArray,\n _ArrayLikeComplex_co,\n _ArrayLikeFloat_co,\n _ComplexLike_co,\n _FloatLike_co,\n)\n\n__all__ = ["sqrt", "log", "log2", "logn", "log10", "power", "arccos", "arcsin", "arctanh"]\n\n@overload\nde...
.venv\Lib\site-packages\numpy\lib\_scimath_impl.pyi
_scimath_impl.pyi
Other
2,867
0.85
0.387097
0
node-utils
621
2023-09-14T21:56:07.275369
MIT
false
9c292822a7498826c0f807b460aa30a8
import functools\nimport warnings\n\nimport numpy._core.numeric as _nx\nfrom numpy._core import atleast_3d, overrides, vstack\nfrom numpy._core._multiarray_umath import _array_converter\nfrom numpy._core.fromnumeric import reshape, transpose\nfrom numpy._core.multiarray import normalize_axis_index\nfrom numpy._core.num...
.venv\Lib\site-packages\numpy\lib\_shape_base_impl.py
_shape_base_impl.py
Python
40,780
0.95
0.108378
0.039623
vue-tools
42
2024-02-09T21:33:21.702694
MIT
false
c005279982129430b0c783efc0b379fc
from collections.abc import Callable, Sequence\nfrom typing import (\n Any,\n Concatenate,\n ParamSpec,\n Protocol,\n SupportsIndex,\n TypeVar,\n overload,\n type_check_only,\n)\n\nfrom typing_extensions import deprecated\n\nimport numpy as np\nfrom numpy import (\n _CastingKind,\n complex...
.venv\Lib\site-packages\numpy\lib\_shape_base_impl.pyi
_shape_base_impl.pyi
Other
5,647
0.95
0.157447
0.042453
python-kit
466
2024-10-12T00:59:12.041590
BSD-3-Clause
false
fcfd7d197bd962777752f8b7cfa6018c
"""\nUtilities that manipulate strides to achieve desirable effects.\n\nAn explanation of strides can be found in the :ref:`arrays.ndarray`.\n\n"""\nimport numpy as np\nfrom numpy._core.numeric import normalize_axis_tuple\nfrom numpy._core.overrides import array_function_dispatch, set_module\n\n__all__ = ['broadcast_to...
.venv\Lib\site-packages\numpy\lib\_stride_tricks_impl.py
_stride_tricks_impl.py
Python
18,574
0.95
0.10929
0.05298
awesome-app
701
2024-09-28T05:49:56.047156
Apache-2.0
false
12f4813761e8c5b71aea2c4a8fff1932
from collections.abc import Iterable\nfrom typing import Any, SupportsIndex, TypeVar, overload\n\nfrom numpy import generic\nfrom numpy._typing import ArrayLike, NDArray, _AnyShape, _ArrayLike, _ShapeLike\n\n__all__ = ["broadcast_to", "broadcast_arrays", "broadcast_shapes"]\n\n_ScalarT = TypeVar("_ScalarT", bound=gener...
.venv\Lib\site-packages\numpy\lib\_stride_tricks_impl.pyi
_stride_tricks_impl.pyi
Other
1,889
0.85
0.135135
0.046154
node-utils
294
2023-11-06T02:30:25.999186
BSD-3-Clause
false
1bd8861c68d87b9e139702bbab62d466
""" Basic functions for manipulating 2d arrays\n\n"""\nimport functools\nimport operator\n\nfrom numpy._core import iinfo, overrides\nfrom numpy._core._multiarray_umath import _array_converter\nfrom numpy._core.numeric import (\n arange,\n asanyarray,\n asarray,\n diagonal,\n empty,\n greater_equal,\n...
.venv\Lib\site-packages\numpy\lib\_twodim_base_impl.py
_twodim_base_impl.py
Python
35,126
0.95
0.104913
0.011423
node-utils
461
2024-04-06T18:02:46.140747
Apache-2.0
false
148b2969ac0238827e16628840a66324
from collections.abc import Callable, Sequence\nfrom typing import (\n Any,\n TypeAlias,\n TypeVar,\n overload,\n)\nfrom typing import (\n Literal as L,\n)\n\nimport numpy as np\nfrom numpy import (\n _OrderCF,\n complex128,\n complexfloating,\n datetime64,\n float64,\n floating,\n g...
.venv\Lib\site-packages\numpy\lib\_twodim_base_impl.pyi
_twodim_base_impl.pyi
Other
11,631
0.95
0.100457
0.033735
react-lib
754
2023-07-14T09:37:20.472693
GPL-3.0
false
a176c9c0b3d89081dd54a66f28edcd35
"""Automatically adapted for numpy Sep 19, 2005 by convertcode.py\n\n"""\nimport functools\n\n__all__ = ['iscomplexobj', 'isrealobj', 'imag', 'iscomplex',\n 'isreal', 'nan_to_num', 'real', 'real_if_close',\n 'typename', 'mintypecode',\n 'common_type']\n\nimport numpy._core.numeric as _nx\n...
.venv\Lib\site-packages\numpy\lib\_type_check_impl.py
_type_check_impl.py
Python
19,920
0.95
0.118741
0.008787
awesome-app
339
2023-09-25T09:04:01.000587
MIT
false
3a001879460df0bcb962e897676c70bd
from collections.abc import Container, Iterable\nfrom typing import Any, Protocol, TypeAlias, overload, type_check_only\nfrom typing import Literal as L\n\nfrom _typeshed import Incomplete\nfrom typing_extensions import TypeVar\n\nimport numpy as np\nfrom numpy._typing import (\n ArrayLike,\n NDArray,\n _16Bit...
.venv\Lib\site-packages\numpy\lib\_type_check_impl.pyi
_type_check_impl.pyi
Other
10,063
0.95
0.22
0.093656
vue-tools
311
2025-02-14T21:25:16.446258
Apache-2.0
false
cabdd77f2c16c8c551e6b27e6a1fc34c
"""\nModule of functions that are like ufuncs in acting on arrays and optionally\nstoring results in an output array.\n\n"""\n__all__ = ['fix', 'isneginf', 'isposinf']\n\nimport numpy._core.numeric as nx\nfrom numpy._core.overrides import array_function_dispatch\n\n\ndef _dispatcher(x, out=None):\n return (x, out)\n...
.venv\Lib\site-packages\numpy\lib\_ufunclike_impl.py
_ufunclike_impl.py
Python
6,516
0.95
0.115942
0.017544
awesome-app
391
2024-03-15T16:40:53.318417
BSD-3-Clause
false
b4a89db96c9d017f9619a70931889ece
from typing import Any, TypeVar, overload\n\nimport numpy as np\nfrom numpy import floating, object_\nfrom numpy._typing import (\n NDArray,\n _ArrayLikeFloat_co,\n _ArrayLikeObject_co,\n _FloatLike_co,\n)\n\n__all__ = ["fix", "isneginf", "isposinf"]\n\n_ArrayT = TypeVar("_ArrayT", bound=NDArray[Any])\n\n@o...
.venv\Lib\site-packages\numpy\lib\_ufunclike_impl.pyi
_ufunclike_impl.pyi
Other
1,355
0.95
0.149254
0
react-lib
958
2024-10-24T08:35:50.921166
BSD-3-Clause
false
221f234dcfd0ec7a50245d650f22d0be
"""\nContainer class for backward compatibility with NumArray.\n\nThe user_array.container class exists for backward compatibility with NumArray\nand is not meant to be used in new code. If you need to create an array\ncontainer class, we recommend either creating a class that wraps an ndarray\nor subclasses ndarray.\n...
.venv\Lib\site-packages\numpy\lib\_user_array_impl.py
_user_array_impl.py
Python
7,996
0.95
0.26087
0.030837
react-lib
665
2025-06-26T11:44:02.400076
Apache-2.0
false
a0b4a629273c349a7037a1e9a155901a
from types import EllipsisType\nfrom typing import Any, Generic, Self, SupportsIndex, TypeAlias, overload\n\nfrom _typeshed import Incomplete\nfrom typing_extensions import TypeVar, override\n\nimport numpy as np\nimport numpy.typing as npt\nfrom numpy._typing import (\n _AnyShape,\n _ArrayLike,\n _ArrayLikeBo...
.venv\Lib\site-packages\numpy\lib\_user_array_impl.pyi
_user_array_impl.pyi
Other
9,335
0.95
0.333333
0.130208
node-utils
591
2023-07-17T03:45:26.162038
Apache-2.0
false
77a1260109c4005e9583752b7304bab5
import functools\nimport os\nimport platform\nimport sys\nimport textwrap\nimport types\nimport warnings\n\nimport numpy as np\nfrom numpy._core import ndarray\nfrom numpy._utils import set_module\n\n__all__ = [\n 'get_include', 'info', 'show_runtime'\n]\n\n\n@set_module('numpy')\ndef show_runtime():\n """\n P...
.venv\Lib\site-packages\numpy\lib\_utils_impl.py
_utils_impl.py
Python
24,125
0.95
0.160462
0.054348
react-lib
962
2024-04-12T23:11:14.212658
Apache-2.0
false
a2639d4fce3d62c05da8911108369cc8
from _typeshed import SupportsWrite\n\nfrom numpy._typing import DTypeLike\n\n__all__ = ["get_include", "info", "show_runtime"]\n\ndef get_include() -> str: ...\ndef show_runtime() -> None: ...\ndef info(object: object = ..., maxwidth: int = ..., output: SupportsWrite[str] | None = ..., toplevel: str = ...) -> None: .....
.venv\Lib\site-packages\numpy\lib\_utils_impl.pyi
_utils_impl.pyi
Other
381
0.85
0.4
0
python-kit
221
2025-05-03T00:20:56.978760
Apache-2.0
false
27f15d2a9ae7313a19ed0b20c844ab27
"""Utility to compare (NumPy) version strings.\n\nThe NumpyVersion class allows properly comparing numpy version strings.\nThe LooseVersion and StrictVersion classes that distutils provides don't\nwork; they don't recognize anything like alpha/beta/rc/dev versions.\n\n"""\nimport re\n\n__all__ = ['NumpyVersion']\n\n\nc...
.venv\Lib\site-packages\numpy\lib\_version.py
_version.py
Python
5,005
0.95
0.201299
0.01626
vue-tools
530
2025-03-22T21:03:37.026217
GPL-3.0
false
72f9fe3d8527784a9706ab6463d04fda
__all__ = ["NumpyVersion"]\n\nclass NumpyVersion:\n vstring: str\n version: str\n major: int\n minor: int\n bugfix: int\n pre_release: str\n is_devversion: bool\n def __init__(self, vstring: str) -> None: ...\n def __lt__(self, other: str | NumpyVersion) -> bool: ...\n def __le__(self, oth...
.venv\Lib\site-packages\numpy\lib\_version.pyi
_version.pyi
Other
658
0.95
0.470588
0
vue-tools
288
2025-07-08T01:56:37.841622
BSD-3-Clause
false
8bce29b1dc8fa2ece35157afdadad88a
"""\n``numpy.lib`` is mostly a space for implementing functions that don't\nbelong in core or in another NumPy submodule with a clear purpose\n(e.g. ``random``, ``fft``, ``linalg``, ``ma``).\n\n``numpy.lib``'s private submodules contain basic functions that are used by\nother public modules and are useful to have in th...
.venv\Lib\site-packages\numpy\lib\__init__.py
__init__.py
Python
3,101
0.95
0.082474
0.069767
vue-tools
383
2024-05-14T08:04:35.447261
MIT
false
8fe8b00b65c229c3505603235511f601
from numpy._core.function_base import add_newdoc\nfrom numpy._core.multiarray import add_docstring, tracemalloc_domain\n\n# all submodules of `lib` are accessible at runtime through `__getattr__`,\n# so we implicitly re-export them here\nfrom . import _array_utils_impl as _array_utils_impl\nfrom . import _arraypad_impl...
.venv\Lib\site-packages\numpy\lib\__init__.pyi
__init__.pyi
Other
1,695
0.95
0
0.047619
vue-tools
442
2024-09-22T14:35:31.071514
Apache-2.0
false
cddfd62bb23ed6d37e8960678dfe4355
"""Tests for the array padding functions.\n\n"""\nimport pytest\n\nimport numpy as np\nfrom numpy.lib._arraypad_impl import _as_pairs\nfrom numpy.testing import assert_allclose, assert_array_equal, assert_equal\n\n_numeric_dtypes = (\n np._core.sctypes["uint"]\n + np._core.sctypes["int"]\n + np._core.sctypes["...
.venv\Lib\site-packages\numpy\lib\tests\test_arraypad.py
test_arraypad.py
Python
57,570
0.75
0.09258
0.017213
react-lib
429
2024-12-08T21:21:10.677200
BSD-3-Clause
true
7ceada4e32f033ed143f9aa75e1a2a00
"""Test functions for 1D array set operations.\n\n"""\nimport pytest\n\nimport numpy as np\nfrom numpy import ediff1d, intersect1d, isin, setdiff1d, setxor1d, union1d, unique\nfrom numpy.exceptions import AxisError\nfrom numpy.testing import (\n assert_array_equal,\n assert_equal,\n assert_raises,\n assert_...
.venv\Lib\site-packages\numpy\lib\tests\test_arraysetops.py
test_arraysetops.py
Python
41,519
0.95
0.10987
0.091703
python-kit
167
2024-01-16T10:15:12.506368
Apache-2.0
true
048501a9659b6293ac2e548d7a6b3b6d
from functools import reduce\nfrom operator import mul\n\nimport numpy as np\nfrom numpy.lib import Arrayterator\nfrom numpy.random import randint\nfrom numpy.testing import assert_\n\n\ndef test():\n np.random.seed(np.arange(10))\n\n # Create a random array\n ndims = randint(5) + 1\n shape = tuple(randint(...
.venv\Lib\site-packages\numpy\lib\tests\test_arrayterator.py
test_arrayterator.py
Python
1,347
0.95
0.173913
0.2
awesome-app
839
2024-04-07T19:47:36.484572
GPL-3.0
true
300e63a788c3f4058752bcdbfc39cedc
import numpy as np\nfrom numpy.lib import array_utils\nfrom numpy.testing import assert_equal\n\n\nclass TestByteBounds:\n def test_byte_bounds(self):\n # pointer difference matches size * itemsize\n # due to contiguity\n a = np.arange(12).reshape(3, 4)\n low, high = array_utils.byte_boun...
.venv\Lib\site-packages\numpy\lib\tests\test_array_utils.py
test_array_utils.py
Python
1,150
0.95
0.1875
0.148148
node-utils
248
2024-08-06T10:22:22.081342
Apache-2.0
true
0f0a4c924874dd153c8799d44e35bf76
# doctest\nr''' Test the .npy file format.\n\nSet up:\n\n >>> import sys\n >>> from io import BytesIO\n >>> from numpy.lib import format\n >>>\n >>> scalars = [\n ... np.uint8,\n ... np.int8,\n ... np.uint16,\n ... np.int16,\n ... np.uint32,\n ... np.int32,\n ...
.venv\Lib\site-packages\numpy\lib\tests\test_format.py
test_format.py
Python
43,010
0.95
0.077799
0.08306
vue-tools
850
2023-12-16T04:32:22.083783
MIT
true
a530290e6c9811de9b71745e29c998f9