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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
import pytest\n\nimport numpy as np\nfrom numpy import histogram, histogram_bin_edges, histogramdd\nfrom numpy.testing import (\n assert_,\n assert_allclose,\n assert_almost_equal,\n assert_array_almost_equal,\n assert_array_equal,\n assert_array_max_ulp,\n assert_equal,\n assert_raises,\n as... | .venv\Lib\site-packages\numpy\lib\tests\test_histograms.py | test_histograms.py | Python | 34,821 | 0.95 | 0.132164 | 0.130556 | node-utils | 176 | 2025-04-22T08:14:44.238917 | GPL-3.0 | true | bd45a09df4e69308d804a1f1fdba73e3 |
import pytest\n\nimport numpy as np\nfrom numpy.lib._index_tricks_impl import (\n c_,\n diag_indices,\n diag_indices_from,\n fill_diagonal,\n index_exp,\n ix_,\n mgrid,\n ndenumerate,\n ndindex,\n ogrid,\n r_,\n s_,\n)\nfrom numpy.testing import (\n assert_,\n assert_almost_equ... | .venv\Lib\site-packages\numpy\lib\tests\test_index_tricks.py | test_index_tricks.py | Python | 21,045 | 0.95 | 0.128521 | 0.085595 | vue-tools | 704 | 2024-12-11T12:24:45.124210 | GPL-3.0 | true | 0118f5a8e4a8efdafb154323c237ecb7 |
"""\nTests specific to `np.loadtxt` added during the move of loadtxt to be backed\nby C code.\nThese tests complement those found in `test_io.py`.\n"""\n\nimport os\nimport sys\nfrom io import StringIO\nfrom tempfile import NamedTemporaryFile, mkstemp\n\nimport pytest\n\nimport numpy as np\nfrom numpy.ma.testutils impo... | .venv\Lib\site-packages\numpy\lib\tests\test_loadtxt.py | test_loadtxt.py | Python | 41,658 | 0.95 | 0.122616 | 0.085106 | node-utils | 922 | 2024-06-15T19:39:44.733022 | Apache-2.0 | true | abeb0671724294b1b547f6130c9d6230 |
import numbers\nimport operator\n\nimport numpy as np\nfrom numpy.testing import assert_, assert_equal, assert_raises\n\n# NOTE: This class should be kept as an exact copy of the example from the\n# docstring for NDArrayOperatorsMixin.\n\nclass ArrayLike(np.lib.mixins.NDArrayOperatorsMixin):\n def __init__(self, val... | .venv\Lib\site-packages\numpy\lib\tests\test_mixins.py | test_mixins.py | Python | 7,224 | 0.95 | 0.204651 | 0.086207 | awesome-app | 140 | 2024-09-28T21:24:15.370786 | MIT | true | 31e3a643a9cf11aa70c9505693c6ac39 |
import inspect\nimport warnings\nfrom functools import partial\n\nimport pytest\n\nimport numpy as np\nfrom numpy._core.numeric import normalize_axis_tuple\nfrom numpy.exceptions import AxisError, ComplexWarning\nfrom numpy.lib._nanfunctions_impl import _nan_mask, _replace_nan\nfrom numpy.testing import (\n assert_,... | .venv\Lib\site-packages\numpy\lib\tests\test_nanfunctions.py | test_nanfunctions.py | Python | 55,536 | 0.75 | 0.173853 | 0.062197 | react-lib | 344 | 2023-08-03T21:45:27.074330 | BSD-3-Clause | true | 171191939e040e31de00f6e7b8597f5a |
from itertools import chain\n\nimport pytest\n\nimport numpy as np\nfrom numpy.testing import assert_array_equal, assert_equal, assert_raises\n\n\ndef test_packbits():\n # Copied from the docstring.\n a = [[[1, 0, 1], [0, 1, 0]],\n [[1, 1, 0], [0, 0, 1]]]\n for dt in '?bBhHiIlLqQ':\n arr = np.ar... | .venv\Lib\site-packages\numpy\lib\tests\test_packbits.py | test_packbits.py | Python | 17,919 | 0.95 | 0.103723 | 0.044248 | python-kit | 246 | 2024-05-01T05:45:24.369659 | BSD-3-Clause | true | f524dcfd0676b9c290fb758701eee985 |
import pytest\n\nimport numpy as np\nimport numpy.polynomial.polynomial as poly\nfrom numpy.testing import (\n assert_,\n assert_allclose,\n assert_almost_equal,\n assert_array_almost_equal,\n assert_array_equal,\n assert_equal,\n assert_raises,\n)\n\n# `poly1d` has some support for `np.bool` and `... | .venv\Lib\site-packages\numpy\lib\tests\test_polynomial.py | test_polynomial.py | Python | 12,632 | 0.95 | 0.1 | 0.080586 | react-lib | 334 | 2024-02-06T07:29:45.497459 | MIT | true | 0bed5a22954f07d6c17268e8ef20a87c |
\nimport numpy as np\nimport numpy.ma as ma\nfrom numpy.lib.recfunctions import (\n append_fields,\n apply_along_fields,\n assign_fields_by_name,\n drop_fields,\n find_duplicates,\n get_fieldstructure,\n join_by,\n merge_arrays,\n recursive_fill_fields,\n rename_fields,\n repack_fields,... | .venv\Lib\site-packages\numpy\lib\tests\test_recfunctions.py | test_recfunctions.py | Python | 44,980 | 0.95 | 0.070342 | 0.095291 | python-kit | 795 | 2024-02-03T14:49:16.935999 | GPL-3.0 | true | 5357191b26eee8cf1fd872c1eb5dde08 |
import os\n\nimport numpy as np\nfrom numpy.testing import (\n _assert_valid_refcount,\n assert_,\n assert_array_almost_equal,\n assert_array_equal,\n assert_equal,\n assert_raises,\n)\n\n\nclass TestRegression:\n def test_poly1d(self):\n # Ticket #28\n assert_equal(np.poly1d([1]) - n... | .venv\Lib\site-packages\numpy\lib\tests\test_regression.py | test_regression.py | Python | 7,947 | 0.95 | 0.17316 | 0.14359 | python-kit | 580 | 2024-02-07T09:45:02.605128 | BSD-3-Clause | true | b120ccd8f9d38b2aea5cf7e042bbe080 |
import functools\nimport sys\n\nimport pytest\n\nimport numpy as np\nfrom numpy import (\n apply_along_axis,\n apply_over_axes,\n array_split,\n column_stack,\n dsplit,\n dstack,\n expand_dims,\n hsplit,\n kron,\n put_along_axis,\n split,\n take_along_axis,\n tile,\n vsplit,\n)... | .venv\Lib\site-packages\numpy\lib\tests\test_shape_base.py | test_shape_base.py | Python | 28,219 | 0.95 | 0.162362 | 0.051205 | node-utils | 996 | 2025-02-01T09:21:10.918778 | Apache-2.0 | true | 545c02b31adf4d79baf990cff6a83337 |
import pytest\n\nimport numpy as np\nfrom numpy._core._rational_tests import rational\nfrom numpy.lib._stride_tricks_impl import (\n _broadcast_shape,\n as_strided,\n broadcast_arrays,\n broadcast_shapes,\n broadcast_to,\n sliding_window_view,\n)\nfrom numpy.testing import (\n assert_,\n assert_... | .venv\Lib\site-packages\numpy\lib\tests\test_stride_tricks.py | test_stride_tricks.py | Python | 23,686 | 0.95 | 0.117378 | 0.119718 | awesome-app | 350 | 2023-10-25T08:41:23.205047 | MIT | true | a6507b70447c82e2d9910fdfd1b399c0 |
"""Test functions for matrix module\n\n"""\nimport pytest\n\nimport numpy as np\nfrom numpy import (\n add,\n arange,\n array,\n diag,\n eye,\n fliplr,\n flipud,\n histogram2d,\n mask_indices,\n ones,\n tri,\n tril_indices,\n tril_indices_from,\n triu_indices,\n triu_indices... | .venv\Lib\site-packages\numpy\lib\tests\test_twodim_base.py | test_twodim_base.py | Python | 19,484 | 0.95 | 0.118068 | 0.049383 | react-lib | 505 | 2023-11-14T21:48:59.605507 | Apache-2.0 | true | 67f9f1674e5da760318bdfc6da0d886a |
import numpy as np\nfrom numpy import (\n common_type,\n iscomplex,\n iscomplexobj,\n isneginf,\n isposinf,\n isreal,\n isrealobj,\n mintypecode,\n nan_to_num,\n real_if_close,\n)\nfrom numpy.testing import assert_, assert_array_equal, assert_equal\n\n\ndef assert_all(x):\n assert_(np.a... | .venv\Lib\site-packages\numpy\lib\tests\test_type_check.py | test_type_check.py | Python | 15,269 | 0.95 | 0.173362 | 0.053619 | node-utils | 887 | 2025-02-27T23:30:57.698590 | BSD-3-Clause | true | e4ef0a469cf1a521d4720a175bee8fef |
import numpy as np\nfrom numpy import fix, isneginf, isposinf\nfrom numpy.testing import assert_, assert_array_equal, assert_equal, assert_raises\n\n\nclass TestUfunclike:\n\n def test_isposinf(self):\n a = np.array([np.inf, -np.inf, np.nan, 0.0, 3.0, -3.0])\n out = np.zeros(a.shape, bool)\n tgt... | .venv\Lib\site-packages\numpy\lib\tests\test_ufunclike.py | test_ufunclike.py | Python | 3,112 | 0.95 | 0.123711 | 0.012658 | vue-tools | 541 | 2024-03-22T06:21:11.325890 | BSD-3-Clause | true | bb59ea38c8541de49baaf139f6ae3c80 |
from io import StringIO\n\nimport pytest\n\nimport numpy as np\nimport numpy.lib._utils_impl as _utils_impl\nfrom numpy.testing import assert_raises_regex\n\n\ndef test_assert_raises_regex_context_manager():\n with assert_raises_regex(ValueError, 'no deprecation warning'):\n raise ValueError('no deprecation w... | .venv\Lib\site-packages\numpy\lib\tests\test_utils.py | test_utils.py | Python | 2,454 | 0.95 | 0.1375 | 0.114754 | awesome-app | 830 | 2024-10-22T12:55:02.035419 | Apache-2.0 | true | 2e1daca389219ab738fded568b8d4ee7 |
import os\nimport urllib.request as urllib_request\nfrom shutil import rmtree\nfrom tempfile import NamedTemporaryFile, mkdtemp, mkstemp\nfrom urllib.error import URLError\nfrom urllib.parse import urlparse\n\nimport pytest\n\nimport numpy.lib._datasource as datasource\nfrom numpy.testing import assert_, assert_equal, ... | .venv\Lib\site-packages\numpy\lib\tests\test__datasource.py | test__datasource.py | Python | 10,933 | 0.95 | 0.201705 | 0.113553 | node-utils | 1,000 | 2023-09-19T15:22:59.470585 | GPL-3.0 | true | e465baf526c9257274432129e31019af |
import time\nfrom datetime import date\n\nimport numpy as np\nfrom numpy.lib._iotools import (\n LineSplitter,\n NameValidator,\n StringConverter,\n easy_dtype,\n flatten_dtype,\n has_nested_fields,\n)\nfrom numpy.testing import (\n assert_,\n assert_allclose,\n assert_equal,\n assert_rais... | .venv\Lib\site-packages\numpy\lib\tests\test__iotools.py | test__iotools.py | Python | 14,125 | 0.95 | 0.1 | 0.121019 | python-kit | 904 | 2025-01-04T11:37:40.936391 | Apache-2.0 | true | d69abaaa392d67915ba0430b5ac3bd05 |
"""Tests for the NumpyVersion class.\n\n"""\nfrom numpy.lib import NumpyVersion\nfrom numpy.testing import assert_, assert_raises\n\n\ndef test_main_versions():\n assert_(NumpyVersion('1.8.0') == '1.8.0')\n for ver in ['1.9.0', '2.0.0', '1.8.1', '10.0.1']:\n assert_(NumpyVersion('1.8.0') < ver)\n\n for ... | .venv\Lib\site-packages\numpy\lib\tests\test__version.py | test__version.py | Python | 2,063 | 0.95 | 0.28125 | 0.02381 | python-kit | 589 | 2024-01-30T04:41:13.943246 | Apache-2.0 | true | ecd132735dc295965034126258d76da8 |
NUMPY | .venv\Lib\site-packages\numpy\lib\tests\data\py2-np0-objarr.npy | py2-np0-objarr.npy | Other | 258 | 0.7 | 0 | 0 | vue-tools | 130 | 2024-03-01T23:26:50.941110 | GPL-3.0 | true | fd9274c0b0f7f9eeb933df64a8490889 |
NUMPY | .venv\Lib\site-packages\numpy\lib\tests\data\py2-objarr.npy | py2-objarr.npy | Other | 258 | 0.7 | 0 | 0 | vue-tools | 663 | 2024-12-19T21:52:06.710439 | MIT | true | eb31460bb4d6d38bd00c016e664e88f4 |
PK | .venv\Lib\site-packages\numpy\lib\tests\data\py2-objarr.npz | py2-objarr.npz | Other | 366 | 0.7 | 0 | 0 | vue-tools | 773 | 2024-08-29T09:25:38.313643 | MIT | true | fa746445f9cfd2450137cd66f1b5d4f6 |
NUMPY | .venv\Lib\site-packages\numpy\lib\tests\data\py3-objarr.npy | py3-objarr.npy | Other | 325 | 0.7 | 0 | 0 | awesome-app | 563 | 2025-07-03T21:00:36.282755 | GPL-3.0 | true | 97bd16c6401130e9a43208f2cf43493d |
PK | .venv\Lib\site-packages\numpy\lib\tests\data\py3-objarr.npz | py3-objarr.npz | Other | 453 | 0.7 | 0 | 0 | vue-tools | 790 | 2023-09-27T14:41:50.243608 | GPL-3.0 | true | 6cb135f375e1216284bc4bc12d6155d1 |
NUMPY | .venv\Lib\site-packages\numpy\lib\tests\data\python3.npy | python3.npy | Other | 96 | 0.5 | 0 | 0 | awesome-app | 738 | 2024-07-11T18:02:11.816424 | BSD-3-Clause | true | f6194a36c42fda0d01a86f3b766043dd |
NUMPY | .venv\Lib\site-packages\numpy\lib\tests\data\win64python2.npy | win64python2.npy | Other | 96 | 0.5 | 0 | 0 | react-lib | 375 | 2025-01-21T04:10:47.091976 | Apache-2.0 | true | 14a911bf052baffdc7b88590a86f5760 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_arraypad.cpython-313.pyc | test_arraypad.cpython-313.pyc | Other | 72,032 | 0.75 | 0.022117 | 0.004934 | node-utils | 544 | 2025-02-25T10:40:58.724698 | BSD-3-Clause | true | 1fdc6163ec68dbdad100f711fb727a68 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_arraysetops.cpython-313.pyc | test_arraysetops.cpython-313.pyc | Other | 57,902 | 0.75 | 0.020316 | 0.013857 | python-kit | 910 | 2024-10-19T06:12:25.550859 | Apache-2.0 | true | a3ebe256687a2bdc5c552ae80dcc5fce |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_arrayterator.cpython-313.pyc | test_arrayterator.cpython-313.pyc | Other | 2,654 | 0.8 | 0 | 0.045455 | react-lib | 271 | 2025-03-18T00:19:22.276078 | BSD-3-Clause | true | 5a9914508edd76f3ba5dca9e43f0c0b8 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_array_utils.cpython-313.pyc | test_array_utils.cpython-313.pyc | Other | 2,584 | 0.8 | 0 | 0 | vue-tools | 304 | 2024-10-15T04:52:03.108227 | Apache-2.0 | true | 3bb36ca38bc8ec1f80628d077b801253 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_format.cpython-313.pyc | test_format.cpython-313.pyc | Other | 54,947 | 0.75 | 0.007375 | 0.006144 | vue-tools | 284 | 2024-01-30T23:01:12.500771 | MIT | true | d192f24e821fcbff27086592efb11e45 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_histograms.cpython-313.pyc | test_histograms.cpython-313.pyc | Other | 50,208 | 0.95 | 0.019851 | 0.007692 | awesome-app | 585 | 2023-12-15T03:03:16.012503 | MIT | true | 05ca841f2daffdef9727f4aeb5f7c1ea |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_index_tricks.cpython-313.pyc | test_index_tricks.cpython-313.pyc | Other | 35,787 | 0.8 | 0 | 0 | awesome-app | 689 | 2024-09-28T12:04:31.140733 | MIT | true | dba1cc37f47b285f521bb9114ecded39 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_loadtxt.cpython-313.pyc | test_loadtxt.cpython-313.pyc | Other | 66,363 | 0.75 | 0.009324 | 0.068 | python-kit | 277 | 2025-05-25T16:11:18.570542 | BSD-3-Clause | true | 9145d95fa65392deab650930f557e29a |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_mixins.cpython-313.pyc | test_mixins.cpython-313.pyc | Other | 12,783 | 0.8 | 0.008929 | 0 | vue-tools | 795 | 2023-09-19T05:04:20.254136 | MIT | true | 271ee5a10dcddb356fc59f831e648f40 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_nanfunctions.cpython-313.pyc | test_nanfunctions.cpython-313.pyc | Other | 92,106 | 0.75 | 0.004552 | 0 | react-lib | 154 | 2025-03-10T01:35:00.873628 | MIT | true | d2ea25f616b31bf0c413ec28c278f9f7 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_packbits.cpython-313.pyc | test_packbits.cpython-313.pyc | Other | 22,929 | 0.8 | 0 | 0.015748 | awesome-app | 582 | 2024-01-23T19:22:36.591081 | BSD-3-Clause | true | 5b7d01a3fe97ae48ac8f36c4d224c1e8 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_polynomial.cpython-313.pyc | test_polynomial.cpython-313.pyc | Other | 22,323 | 0.8 | 0.014599 | 0 | node-utils | 707 | 2023-09-18T16:14:51.896680 | GPL-3.0 | true | be2bc9666f057110d2e5735f4ab574f2 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_recfunctions.cpython-313.pyc | test_recfunctions.cpython-313.pyc | Other | 56,943 | 0.75 | 0 | 0.007229 | node-utils | 499 | 2023-10-25T20:14:26.981604 | MIT | true | ce701e4739caf3981df05aa2aa13ea18 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_regression.cpython-313.pyc | test_regression.cpython-313.pyc | Other | 15,310 | 0.95 | 0.02 | 0 | react-lib | 10 | 2024-05-31T07:52:15.312850 | Apache-2.0 | true | 31934ed122c52f9b353145d480b7d57b |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_shape_base.cpython-313.pyc | test_shape_base.cpython-313.pyc | Other | 56,967 | 0.75 | 0.015748 | 0.004115 | vue-tools | 22 | 2023-12-16T14:05:58.528763 | BSD-3-Clause | true | 32b03e89e417660bbe2329a5a8feea02 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_stride_tricks.cpython-313.pyc | test_stride_tricks.cpython-313.pyc | Other | 30,040 | 0.8 | 0.00295 | 0.009119 | vue-tools | 11 | 2024-01-12T03:26:13.505245 | MIT | true | 5a93df75577372d2e31f4fcf03ac110c |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_twodim_base.cpython-313.pyc | test_twodim_base.cpython-313.pyc | Other | 29,203 | 0.95 | 0.009091 | 0.009804 | vue-tools | 592 | 2025-05-23T17:01:56.048298 | GPL-3.0 | true | 2ea8032c19233c9290a217a292e6bd92 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_type_check.cpython-313.pyc | test_type_check.cpython-313.pyc | Other | 32,478 | 0.8 | 0 | 0 | react-lib | 924 | 2024-12-15T22:09:33.745124 | MIT | true | ff0806a5ac8b3b8aecd99d6064e801a0 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_ufunclike.cpython-313.pyc | test_ufunclike.cpython-313.pyc | Other | 6,108 | 0.8 | 0 | 0 | react-lib | 338 | 2024-11-02T20:51:09.191950 | Apache-2.0 | true | e125abe737e6e7d05a2693e2be6cd450 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test_utils.cpython-313.pyc | test_utils.cpython-313.pyc | Other | 4,264 | 0.8 | 0 | 0 | awesome-app | 730 | 2025-04-02T20:06:02.082504 | BSD-3-Clause | true | c2791d8faf4a2fa2db8fff2e8557b23f |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test__datasource.cpython-313.pyc | test__datasource.cpython-313.pyc | Other | 21,042 | 0.8 | 0.007092 | 0.022727 | python-kit | 791 | 2025-03-30T14:00:49.405040 | BSD-3-Clause | true | b6408707dfd3b329c28c235ec9456401 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test__iotools.cpython-313.pyc | test__iotools.cpython-313.pyc | Other | 18,644 | 0.95 | 0.010417 | 0 | awesome-app | 886 | 2023-11-15T02:47:02.556036 | Apache-2.0 | true | 52d040a0418210918e8a373016ac043c |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\test__version.cpython-313.pyc | test__version.cpython-313.pyc | Other | 3,475 | 0.8 | 0.1 | 0 | python-kit | 56 | 2025-04-01T08:16:27.949198 | GPL-3.0 | true | 43806c6a298a35324e697cbe36a56ee9 |
\n\n | .venv\Lib\site-packages\numpy\lib\tests\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 190 | 0.7 | 0 | 0 | node-utils | 315 | 2024-12-12T10:06:34.279165 | Apache-2.0 | true | e50813ce529e22db52a1593c2f745db8 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\array_utils.cpython-313.pyc | array_utils.cpython-313.pyc | Other | 348 | 0.7 | 0 | 0 | awesome-app | 370 | 2023-11-03T04:12:15.253661 | GPL-3.0 | false | 48d7d78560af766d36a074e3fc09c6b7 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\format.cpython-313.pyc | format.cpython-313.pyc | Other | 786 | 0.7 | 0 | 0 | react-lib | 312 | 2025-04-03T02:54:02.159545 | Apache-2.0 | false | 5e30e4c27577225871bf47ff3a97f6a1 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\introspect.cpython-313.pyc | introspect.cpython-313.pyc | Other | 3,149 | 0.95 | 0.050633 | 0 | node-utils | 49 | 2024-07-16T10:08:43.571794 | GPL-3.0 | false | 9447aaa6ea0c19206cb786ddf4df3618 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\mixins.cpython-313.pyc | mixins.cpython-313.pyc | Other | 8,758 | 0.95 | 0.154472 | 0.018018 | vue-tools | 562 | 2023-12-11T06:17:50.265442 | BSD-3-Clause | false | 310fd435362ed2d4b32dbde7133e80d5 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\npyio.cpython-313.pyc | npyio.cpython-313.pyc | Other | 269 | 0.7 | 0 | 0 | awesome-app | 362 | 2024-09-03T08:11:04.357732 | MIT | false | 09edb7e09b5f7fc1361e10b1a8db4fef |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\recfunctions.cpython-313.pyc | recfunctions.cpython-313.pyc | Other | 62,042 | 0.75 | 0.033429 | 0.012712 | python-kit | 214 | 2023-10-03T08:10:51.157320 | MIT | false | 2dc914b53b2f069b6f0939f05b3f9c88 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\scimath.cpython-313.pyc | scimath.cpython-313.pyc | Other | 409 | 0.7 | 0 | 0 | vue-tools | 470 | 2025-05-25T01:38:31.969061 | BSD-3-Clause | false | 3360c9d48fa9f261ddf257b483f94487 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\stride_tricks.cpython-313.pyc | stride_tricks.cpython-313.pyc | Other | 297 | 0.7 | 0 | 0 | node-utils | 799 | 2023-11-20T06:21:24.451121 | GPL-3.0 | false | e59bd49157d98a223bfa228ee5fd94ce |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\user_array.cpython-313.pyc | user_array.cpython-313.pyc | Other | 260 | 0.7 | 0 | 0 | node-utils | 790 | 2025-05-23T19:36:24.693383 | GPL-3.0 | false | 05ff28199c9cbcf0df05b7a1f6c04125 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_arraypad_impl.cpython-313.pyc | _arraypad_impl.cpython-313.pyc | Other | 27,298 | 0.95 | 0.078261 | 0 | awesome-app | 129 | 2023-07-21T23:19:39.386666 | GPL-3.0 | false | ed0535d54c098c7250e1cadaeec9b72c |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_arraysetops_impl.cpython-313.pyc | _arraysetops_impl.cpython-313.pyc | Other | 41,155 | 0.95 | 0.076243 | 0.029716 | python-kit | 712 | 2024-11-08T09:28:52.496309 | MIT | false | c583c5923142d01ca1a900f40e510efb |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_arrayterator_impl.cpython-313.pyc | _arrayterator_impl.cpython-313.pyc | Other | 9,307 | 0.95 | 0.083333 | 0.013986 | vue-tools | 34 | 2023-11-04T13:02:31.894960 | MIT | false | 89d9eebc2f81d38dd21a60755f6e3648 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_array_utils_impl.cpython-313.pyc | _array_utils_impl.cpython-313.pyc | Other | 2,020 | 0.95 | 0 | 0 | python-kit | 559 | 2024-06-19T04:17:38.121221 | GPL-3.0 | false | fe637e109fcd3ceb7b57cda6bc04e4d8 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_datasource.cpython-313.pyc | _datasource.cpython-313.pyc | Other | 24,203 | 0.95 | 0.088937 | 0 | awesome-app | 129 | 2024-12-24T12:35:57.152001 | MIT | false | 54663b51f08b57fe5c54780d68439ff3 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_format_impl.cpython-313.pyc | _format_impl.cpython-313.pyc | Other | 35,160 | 0.95 | 0.061856 | 0 | vue-tools | 312 | 2024-03-29T01:31:29.279801 | Apache-2.0 | false | 309081e6e672b684884c8515b0a240de |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_histograms_impl.cpython-313.pyc | _histograms_impl.cpython-313.pyc | Other | 39,102 | 0.95 | 0.086667 | 0.009375 | vue-tools | 487 | 2023-08-01T05:14:25.115379 | Apache-2.0 | false | e7d9a772d05c8fdecf5cf48cbd7b8c06 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_index_tricks_impl.cpython-313.pyc | _index_tricks_impl.cpython-313.pyc | Other | 34,498 | 0.95 | 0.033738 | 0.001621 | awesome-app | 361 | 2024-09-09T12:34:42.178704 | GPL-3.0 | false | e2249e5d1f76b3366a915bc625b7d572 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_iotools.cpython-313.pyc | _iotools.cpython-313.pyc | Other | 34,043 | 0.95 | 0.061538 | 0.010917 | python-kit | 477 | 2024-09-15T13:30:48.503145 | GPL-3.0 | false | b8a1760677c32ab51916d58dd7216cef |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_nanfunctions_impl.cpython-313.pyc | _nanfunctions_impl.cpython-313.pyc | Other | 71,316 | 0.75 | 0.080026 | 0.006584 | awesome-app | 724 | 2023-08-07T10:02:27.715177 | MIT | false | 6b1783cc9ba885913d6aee5ba128a9a5 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_npyio_impl.cpython-313.pyc | _npyio_impl.cpython-313.pyc | Other | 94,166 | 0.75 | 0.052445 | 0.008684 | react-lib | 886 | 2024-07-18T10:01:57.050293 | GPL-3.0 | false | ac166fd98d246e4ec952a8187877e49a |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_polynomial_impl.cpython-313.pyc | _polynomial_impl.cpython-313.pyc | Other | 51,262 | 0.95 | 0.032287 | 0.005501 | python-kit | 456 | 2023-11-25T22:15:45.473349 | MIT | false | a8af414739eae273950a383894ee5f92 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_scimath_impl.cpython-313.pyc | _scimath_impl.cpython-313.pyc | Other | 16,901 | 0.95 | 0.044723 | 0.002309 | vue-tools | 12 | 2023-09-24T08:01:38.027722 | Apache-2.0 | false | 997bf784338961e0e8e35db8195f6b7a |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_shape_base_impl.cpython-313.pyc | _shape_base_impl.cpython-313.pyc | Other | 41,125 | 0.95 | 0.051777 | 0 | vue-tools | 573 | 2023-09-29T03:40:39.411567 | MIT | false | 79af3398f327c8b651555c77ae897237 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_stride_tricks_impl.cpython-313.pyc | _stride_tricks_impl.cpython-313.pyc | Other | 18,496 | 0.95 | 0.050343 | 0.005305 | vue-tools | 187 | 2024-02-04T17:07:05.272175 | BSD-3-Clause | false | 2c90e2b1254df7c84e370ab11346cbd3 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_twodim_base_impl.cpython-313.pyc | _twodim_base_impl.cpython-313.pyc | Other | 35,429 | 0.95 | 0.075433 | 0.006158 | react-lib | 512 | 2023-11-19T01:00:51.831513 | MIT | false | ba257a8795e0f072d58c54c0466b765f |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_type_check_impl.cpython-313.pyc | _type_check_impl.cpython-313.pyc | Other | 20,796 | 0.95 | 0.071168 | 0 | node-utils | 575 | 2024-11-04T14:36:14.642124 | BSD-3-Clause | false | 05e3b84c809c1df5468a2380e56aad2f |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_ufunclike_impl.cpython-313.pyc | _ufunclike_impl.cpython-313.pyc | Other | 6,750 | 0.95 | 0.082873 | 0 | python-kit | 907 | 2024-10-30T06:50:53.678617 | Apache-2.0 | false | 9c88bd5297dff22a561ca0d52d6308b9 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_user_array_impl.cpython-313.pyc | _user_array_impl.cpython-313.pyc | Other | 16,208 | 0.95 | 0.090909 | 0.013889 | python-kit | 445 | 2024-08-01T23:08:01.796303 | BSD-3-Clause | false | 4ce0aa205b3b6b60606951890b386020 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_utils_impl.cpython-313.pyc | _utils_impl.cpython-313.pyc | Other | 24,709 | 0.95 | 0.085417 | 0.01937 | awesome-app | 982 | 2024-11-27T15:16:47.710224 | GPL-3.0 | false | 683f7a4c62c6c101f66e263d6d99d8a9 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\_version.cpython-313.pyc | _version.cpython-313.pyc | Other | 6,715 | 0.95 | 0.020619 | 0 | awesome-app | 808 | 2023-12-08T03:14:31.360595 | MIT | false | cc89f31ed59325dd6f2c9e47f9dd5cf6 |
\n\n | .venv\Lib\site-packages\numpy\lib\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 2,998 | 0.95 | 0.09434 | 0 | vue-tools | 546 | 2025-05-28T04:58:53.839038 | Apache-2.0 | false | 08449038f87e252477b9730c61a06ede |
!<arch>\n/ -1 0 186 `\n | .venv\Lib\site-packages\numpy\linalg\lapack_lite.cp313-win_amd64.lib | lapack_lite.cp313-win_amd64.lib | Other | 2,084 | 0.8 | 0 | 0 | vue-tools | 626 | 2024-04-01T00:01:08.165433 | GPL-3.0 | false | b9da89ade641ca61624742341b046a88 |
MZ | .venv\Lib\site-packages\numpy\linalg\lapack_lite.cp313-win_amd64.pyd | lapack_lite.cp313-win_amd64.pyd | Other | 18,432 | 0.95 | 0.018519 | 0.037736 | react-lib | 823 | 2024-10-10T00:00:13.221786 | BSD-3-Clause | false | 36165f3e64566cbb0b4cb56b20d93db0 |
from typing import Final, TypedDict, type_check_only\n\nimport numpy as np\nfrom numpy._typing import NDArray\n\nfrom ._linalg import fortran_int\n\n###\n\n@type_check_only\nclass _GELSD(TypedDict):\n m: int\n n: int\n nrhs: int\n lda: int\n ldb: int\n rank: int\n lwork: int\n info: int\n\n@type... | .venv\Lib\site-packages\numpy\linalg\lapack_lite.pyi | lapack_lite.pyi | Other | 2,813 | 0.95 | 0.106383 | 0.040323 | react-lib | 50 | 2024-10-29T15:49:04.422790 | BSD-3-Clause | false | 1376d270289a87b52b72614d84598693 |
def __getattr__(attr_name):\n import warnings\n\n from numpy.linalg import _linalg\n ret = getattr(_linalg, attr_name, None)\n if ret is None:\n raise AttributeError(\n f"module 'numpy.linalg.linalg' has no attribute {attr_name}")\n warnings.warn(\n "The numpy.linalg.linalg has b... | .venv\Lib\site-packages\numpy\linalg\linalg.py | linalg.py | Python | 602 | 0.85 | 0.117647 | 0 | vue-tools | 777 | 2023-07-21T04:34:32.324396 | Apache-2.0 | false | 3f15c93034dc47ae220ef1fb3f1ae31e |
from ._linalg import (\n LinAlgError,\n cholesky,\n cond,\n cross,\n det,\n diagonal,\n eig,\n eigh,\n eigvals,\n eigvalsh,\n inv,\n lstsq,\n matmul,\n matrix_norm,\n matrix_power,\n matrix_rank,\n matrix_transpose,\n multi_dot,\n norm,\n outer,\n pinv,\n ... | .venv\Lib\site-packages\numpy\linalg\linalg.pyi | linalg.pyi | Other | 1,001 | 0.85 | 0 | 0 | vue-tools | 468 | 2024-10-09T15:00:21.144292 | Apache-2.0 | false | 93d6e1a210375d9f17393dba3a1d2926 |
from collections.abc import Iterable\nfrom typing import (\n Any,\n NamedTuple,\n Never,\n SupportsIndex,\n SupportsInt,\n TypeAlias,\n TypeVar,\n overload,\n)\nfrom typing import Literal as L\n\nimport numpy as np\nfrom numpy import (\n complex128,\n complexfloating,\n float64,\n # ... | .venv\Lib\site-packages\numpy\linalg\_linalg.pyi | _linalg.pyi | Other | 11,623 | 0.95 | 0.170124 | 0.060948 | node-utils | 583 | 2024-03-20T20:44:09.855774 | Apache-2.0 | false | 0885a254f4940431712124c18b404800 |
!<arch>\n/ -1 0 194 `\n | .venv\Lib\site-packages\numpy\linalg\_umath_linalg.cp313-win_amd64.lib | _umath_linalg.cp313-win_amd64.lib | Other | 2,120 | 0.8 | 0 | 0 | react-lib | 4 | 2025-02-06T18:06:04.039460 | Apache-2.0 | false | be1df0919eeaaf7439188c943f6e9ec6 |
MZ | .venv\Lib\site-packages\numpy\linalg\_umath_linalg.cp313-win_amd64.pyd | _umath_linalg.cp313-win_amd64.pyd | Other | 111,616 | 0.75 | 0.015823 | 0 | node-utils | 292 | 2024-08-21T13:04:08.312979 | Apache-2.0 | false | dad8c35150bd1996d3e0f2fe484f0f1d |
from typing import Final\nfrom typing import Literal as L\n\nimport numpy as np\nfrom numpy._typing._ufunc import _GUFunc_Nin2_Nout1\n\n__version__: Final[str] = ...\n_ilp64: Final[bool] = ...\n\n###\n# 1 -> 1\n\n# (m,m) -> ()\ndet: Final[np.ufunc] = ...\n# (m,m) -> (m)\ncholesky_lo: Final[np.ufunc] = ...\ncholesky_up:... | .venv\Lib\site-packages\numpy\linalg\_umath_linalg.pyi | _umath_linalg.pyi | Other | 1,470 | 0.95 | 0 | 0.469388 | vue-tools | 851 | 2024-12-01T07:39:15.199556 | MIT | false | 2913a60e751ab014be7186e4b18a6789 |
"""\n``numpy.linalg``\n================\n\nThe NumPy linear algebra functions rely on BLAS and LAPACK to provide efficient\nlow level implementations of standard linear algebra algorithms. Those\nlibraries may be provided by NumPy itself using C versions of a subset of their\nreference implementations but, when possibl... | .venv\Lib\site-packages\numpy\linalg\__init__.py | __init__.py | Python | 2,222 | 0.95 | 0 | 0.013333 | react-lib | 793 | 2024-05-26T03:26:14.248212 | GPL-3.0 | false | b0cd0cab2e60051e5736363a0bb14053 |
from . import _linalg as _linalg\nfrom . import _umath_linalg as _umath_linalg\nfrom . import linalg as linalg\nfrom ._linalg import (\n cholesky,\n cond,\n cross,\n det,\n diagonal,\n eig,\n eigh,\n eigvals,\n eigvalsh,\n inv,\n lstsq,\n matmul,\n matrix_norm,\n matrix_power,\... | .venv\Lib\site-packages\numpy\linalg\__init__.pyi | __init__.pyi | Other | 1,133 | 0.85 | 0.013699 | 0 | react-lib | 473 | 2025-04-17T22:15:24.030635 | BSD-3-Clause | false | 247396d354ef444f2985136fd470011b |
"""Test deprecation and future warnings.\n\n"""\nimport numpy as np\nfrom numpy.testing import assert_warns\n\n\ndef test_qr_mode_full_future_warning():\n """Check mode='full' FutureWarning.\n\n In numpy 1.8 the mode options 'full' and 'economic' in linalg.qr were\n deprecated. The release date will probably b... | .venv\Lib\site-packages\numpy\linalg\tests\test_deprecations.py | test_deprecations.py | Python | 660 | 0.85 | 0.05 | 0 | vue-tools | 212 | 2024-05-30T14:05:29.961288 | MIT | true | 2a08aa64d05a819eaad56cbd033ea9d4 |
""" Test functions for linalg module\n\n"""\nimport itertools\nimport os\nimport subprocess\nimport sys\nimport textwrap\nimport threading\nimport traceback\n\nimport pytest\n\nimport numpy as np\nfrom numpy import (\n array,\n asarray,\n atleast_2d,\n cdouble,\n csingle,\n dot,\n double,\n iden... | .venv\Lib\site-packages\numpy\linalg\tests\test_linalg.py | test_linalg.py | Python | 86,742 | 0.75 | 0.13786 | 0.107715 | python-kit | 742 | 2024-11-14T17:01:37.108279 | BSD-3-Clause | true | bf22590d53398da048b4c3156bd760e6 |
""" Test functions for linalg module\n"""\n\nimport pytest\n\nimport numpy as np\nfrom numpy import arange, array, dot, float64, linalg, transpose\nfrom numpy.testing import (\n assert_,\n assert_array_almost_equal,\n assert_array_equal,\n assert_array_less,\n assert_equal,\n assert_raises,\n)\n\n\ncl... | .venv\Lib\site-packages\numpy\linalg\tests\test_regression.py | test_regression.py | Python | 6,885 | 0.95 | 0.110497 | 0.112583 | python-kit | 461 | 2025-05-22T05:41:03.634145 | MIT | true | e5032f829cee30f361559bdf0501fb62 |
\n\n | .venv\Lib\site-packages\numpy\linalg\tests\__pycache__\test_deprecations.cpython-313.pyc | test_deprecations.cpython-313.pyc | Other | 1,199 | 0.8 | 0 | 0 | vue-tools | 86 | 2025-04-28T13:03:30.572291 | GPL-3.0 | true | 8369cfb65d9f6b230e463c4b6e0dc0f5 |
\n\n | .venv\Lib\site-packages\numpy\linalg\tests\__pycache__\test_regression.cpython-313.pyc | test_regression.cpython-313.pyc | Other | 10,786 | 0.95 | 0.011494 | 0 | vue-tools | 744 | 2025-02-04T15:11:25.672141 | GPL-3.0 | true | 71c1f4a89ac797739d31ebab0b9d63a3 |
\n\n | .venv\Lib\site-packages\numpy\linalg\tests\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 193 | 0.7 | 0 | 0 | python-kit | 340 | 2024-08-05T20:58:10.894281 | Apache-2.0 | true | b403e743fffb1c53a44f939a0b4bea64 |
\n\n | .venv\Lib\site-packages\numpy\linalg\__pycache__\linalg.cpython-313.pyc | linalg.cpython-313.pyc | Other | 893 | 0.85 | 0 | 0 | node-utils | 846 | 2024-02-22T01:24:38.720034 | Apache-2.0 | false | ecf304c82fb81526cb2bee20504e13cf |
\n\n | .venv\Lib\site-packages\numpy\linalg\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 2,338 | 0.95 | 0 | 0 | python-kit | 453 | 2025-06-04T04:23:28.132771 | Apache-2.0 | false | e1f8bda2396b7eafd55d2bd123de024c |
.. -*- rest -*-\n\n==================================================\nAPI changes in the new masked array implementation\n==================================================\n\nMasked arrays are subclasses of ndarray\n---------------------------------------\n\nContrary to the original implementation, masked arrays are ... | .venv\Lib\site-packages\numpy\ma\API_CHANGES.txt | API_CHANGES.txt | Other | 3,540 | 0.85 | 0.044444 | 0 | node-utils | 745 | 2024-06-14T01:16:17.546369 | Apache-2.0 | false | e275133c8f869be496724fba9156453f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.