numpy
- NumPy =====_distributor_init
- Distributor init file_globals
- Module defining global singleton classes._pytesttester
- Pytest test running._version
- Undocumentedarray_api
- A NumPy sub-namespace that conforms to the Python array API standard._array_object
- Wrapper class around the ndarray object for the array API standard._constants
- Undocumented_creation_functions
- No module docstring; 15/17 functions documented_data_type_functions
- No module docstring; 6/7 functions, 0/2 class documented_dtypes
- Undocumented_elementwise_functions
- No module docstring; 56/56 functions documented_manipulation_functions
- No module docstring; 8/8 functions documented_searching_functions
- No module docstring; 4/4 functions documented_set_functions
- No module docstring; 3/4 functions, 0/3 class documented_sorting_functions
- No module docstring; 2/2 functions documented_statistical_functions
- Undocumented_typing
- This file defines the types for type annotations._utility_functions
- No module docstring; 2/2 functions documentedlinalg
- No module docstring; 19/24 functions, 0/4 class documentedsetup
- Undocumentedtests
- Tests for the array API namespace.test_array_object
- Undocumentedtest_creation_functions
- Undocumentedtest_elementwise_functions
- Undocumentedtest_set_functions
- No module docstring; 0/1 variable, 1/1 function documentedtest_sorting_functions
- No module docstring; 1/1 function documentedcompat
- Compatibility module._inspect
- Subset of inspect module from upstream pythonpy3k
- Python 3.X compatibility tools.setup
- Undocumentedtests
- Undocumentedtest_compat
- Undocumentedconftest
- Pytest configuration and fixtures for the Numpy test suite.core
- Contains the core of NumPy: ndarray, ufuncs, dtypes, etc._add_newdocs
- This is only meant to add docs to objects defined in C-extension modules. The purpose is to allow easier editing of the docstrings without requiring a re-compile._add_newdocs_scalars
- This file is separate from _add_newdocs.py so that it can be mocked out by our sphinx conf.py during doc builds, where we want to avoid showing platform-dependent information._asarray
- Functions in the as*array family that promote array-likes into arrays._dtype
- A place for code to be called from the implementation of np.dtype_dtype_ctypes
- Conversion from ctypes to dtype._exceptions
- Various richly-typed exceptions, that also help us deal with string formatting in python where it's easier._internal
- A place for internal code_machar
- Machine arithmetic - determine the parameters of the floating-point arithmetic system_methods
- Array methods which are called by both the C-code for the method and the Python code for the NumPy-namespace function_string_helpers
- String-handling utilities to avoid locale-dependence._type_aliases
- No summary_ufunc_config
- Functions for changing global ufunc configurationarrayprint
- Array printing functionchar
- This module contains a set of functions for vectorized string operations and methods.code_generators
- No package docstring; 3/6 modules documentedgenapi
- Get API information encoded in C files.generate_numpy_api
- Undocumentedgenerate_ufunc_api
- Undocumentedgenerate_umath
- No module docstring; 0/45 variable, 0/3 constant, 1/7 function, 3/4 classes documentednumpy_api
- Here we define the exported functions, types, etc... which need to be exported through a global C pointer.ufunc_docstrings
- Docstrings for generated ufuncscversions
- Simple script to compute the api hash of the current API.einsumfunc
- Implementation of optimized einsum.fromnumeric
- Module containing non-deprecated functions borrowed from Numeric.function_base
- No module docstring; 0/1 variable, 4/8 functions documentedgetlimits
- Machine limits for Float32 and Float64 and (long double) if available...memmap
- No module docstring; 0/3 variable, 1/1 class documentedmultiarray
- No summarynumeric
- No module docstring; 0/10 variable, 28/53 functions, 2/3 classes documentednumerictypes
- numerictypes: Define the numeric type objectsoverrides
- Implementation of __array_function__ overrides from NEP-18.rec
- Record Arrays ============= Record arrays expose the fields of structured arrays as properties.setup
- No module docstring; 0/3 constant, 5/13 functions, 0/1 class documentedsetup_common
- No module docstring; 0/27 constant, 6/10 functions, 0/1 class documentedshape_base
- No module docstring; 0/4 variable, 13/24 functions documentedtests
- No package docstring; 15/58 modules documented_locales
- Provide class for testing in French localetest__exceptions
- Tests of the ._exceptions module. Primarily for exercising the __str__ methods.test_abc
- Undocumentedtest_api
- No module docstring; 0/1 constant, 2/20 functions documentedtest_argparse
- Tests for the private NumPy argument parsing functionality. They mainly exists to ensure good test coverage without having to try the weirder cases on actual numpy functions but test them in one place.test_array_coercion
- Tests for array coercion, mainly through testing np.array
results directly. Note that other such tests exist e.g. in test_api.py
and many corner-cases are tested (sometimes indirectly) elsewhere.test_arraymethod
- This file tests the generic aspects of ArrayMethod. At the time of writing this is private API, but when added, public API may be added here.test_arrayprint
- No module docstring; 0/1 function, 1/5 class documentedtest_casting_unittests
- The tests exercise the casting machinery in a more low-level manner. The reason is mostly to test a new implementation of the casting machinery.test_conversion_utils
- Tests for numpy/core/src/multiarray/conversion_utils.ctest_cpu_dispatcher
- No module docstring; 1/1 function documentedtest_cpu_features
- Undocumentedtest_custom_dtypes
- Undocumentedtest_cython
- Undocumentedtest_datetime
- Undocumentedtest_defchararray
- No module docstring; 0/2 variable, 1/1 function, 2/10 classes documentedtest_deprecations
- Tests related to deprecation warnings. Also a convenient place to document how deprecations should eventually be turned into errors.test_dlpack
- Undocumentedtest_dtype
- No module docstring; 1/9 function, 4/17 classes documentedtest_einsum
- Undocumentedtest_errstate
- Undocumentedtest_extint128
- No module docstring; 0/9 constant, 1/14 function documentedtest_function_base
- Undocumentedtest_getlimits
- Test functions for limits module.test_half
- Undocumentedtest_hashtable
- Undocumentedtest_indexerrors
- No module docstring; 1/1 class documentedtest_indexing
- No module docstring; 5/13 classes documentedtest_item_selection
- Undocumentedtest_limited_api
- No module docstring; 1/1 function documentedtest_longdouble
- No module docstring; 0/4 variable, 0/1 constant, 2/16 functions, 0/2 class documentedtest_machar
- Test machar. Given recent changes to hardcode type data, we might want to get rid of both MachAr and this test at some point.test_mem_overlap
- No module docstring; 0/3 variable, 0/2 constant, 6/23 functions, 1/1 class documentedtest_mem_policy
- No module docstring; 1/14 function documentedtest_memmap
- Undocumentedtest_multiarray
- No module docstring; 0/1 constant, 1/19 function, 6/73 classes documentedtest_nditer
- No module docstring; 2/97 functions, 0/1 class documentedtest_numeric
- No module docstring; 0/2 function, 1/36 class documentedtest_numerictypes
- No module docstring; 0/5 variable, 1/2 function, 14/24 classes documentedtest_overrides
- No module docstring; 0/1 variable, 3/4 functions, 0/8 class documentedtest_print
- No module docstring; 0/1 constant, 7/8 functions, 0/1 class documentedtest_protocols
- Undocumentedtest_records
- Undocumentedtest_regression
- Undocumentedtest_scalar_ctors
- Test the scalar constructors, which also do type-coerciontest_scalar_methods
- Test the scalar constructors, which also do type-coerciontest_scalarbuffer
- Test scalar buffer interface adheres to PEP 3118test_scalarinherit
- Test printing of scalar types.test_scalarmath
- Undocumentedtest_scalarprint
- Test printing of scalar types.test_shape_base
- Undocumentedtest_simd
- No module docstring; 0/13 variable, 6/7 classes documentedtest_simd_module
- Undocumentedtest_ufunc
- No module docstring; 0/2 constant, 2/8 functions, 1/3 class documentedtest_umath
- No module docstring; 0/3 variable, 6/37 functions, 0/51 class documentedtest_umath_accuracy
- Undocumentedtest_umath_complex
- Undocumentedtest_unicode
- No module docstring; 0/2 variable, 0/2 function, 25/25 classes documentedumath
- No summaryumath_tests
- Shim for _umath_tests to allow a deprecation period for the new name.ctypeslib
- ============================ ctypes Utility Functions ============================distutils
- An enhanced distutils, providing support for Fortran compilers, for BLAS, LAPACK and other common libraries for numerical computing, and more._shell_utils
- Helper functions for interacting with the shell, and consuming shell-style parameters provided in config files.armccompiler
- No module docstring; 1/1 class documentedccompiler
- No module docstring; 0/4 variable, 11/15 functions documentedccompiler_opt
- No summarycommand
- distutils.commandautodist
- This module implements additional tests ala autoconf which can be useful.bdist_rpm
- Undocumentedbuild
- Undocumentedbuild_clib
- Modified version of build_clib that handles fortran source files.build_ext
- Modified version of build_ext that handles fortran source files.build_py
- Undocumentedbuild_scripts
- Modified version of build_scripts that handles building scripts from functions.build_src
- Build swig and f2py sources.config
- Undocumentedconfig_compiler
- No module docstring; 0/1 function, 2/2 classes documenteddevelop
- Override the develop command from setuptools so we can ensure that our generated files (from build_src or build_scripts) are properly converted to real files with filenames.egg_info
- Undocumentedinstall
- Undocumentedinstall_clib
- Undocumentedinstall_data
- Undocumentedinstall_headers
- Undocumentedsdist
- Undocumentedconv_template
- takes templated file .xxx.src and produces .xxx file where .xxx is .i or .c or .h, using the following template rulescore
- No module docstring; 0/2 variable, 1/6 function documentedcpuinfo
- cpuinfoexec_command
- exec_commandextension
- distutils.extensionfcompiler
- numpy.distutils.fcompilerabsoft
- Undocumentedarm
- Undocumentedcompaq
- Undocumentedenvironment
- Undocumentedfujitsu
- fujitsug95
- Undocumentedgnu
- No module docstring; 0/1 variable, 0/1 constant, 1/2 function, 0/2 class documentedhpux
- Undocumentedibm
- Undocumentedintel
- Undocumentedlahey
- Undocumentedmips
- Undocumentednag
- Undocumentednone
- Undocumentednv
- No module docstring; 0/1 variable, 1/1 class documentedpathf95
- Undocumentedpg
- Undocumentedsun
- Undocumentedvast
- Undocumentedfrom_template
- process_file(filename)intelccompiler
- No module docstring; 4/5 classes documentedlib2def
- No module docstring; 0/3 variable, 0/4 constant, 4/4 functions documentedline_endings
- Functions for converting from DOS to UNIX line endingslog
- Undocumentedmingw32ccompiler
- Support code for building Python extensions on Windows.misc_util
- No module docstring; 0/8 variable, 34/64 functions, 1/2 class documentedmsvc9compiler
- No module docstring; 1/1 function, 0/1 class documentedmsvccompiler
- No module docstring; 1/1 function, 0/1 class documentednpy_pkg_config
- No module docstring; 0/2 constant, 2/9 functions, 4/4 classes documentednumpy_distribution
- Undocumentedpathccompiler
- No module docstring; 1/1 class documentedsetup
- Undocumentedsystem_info
- No summarytests
- No package docstring; 1/15 module documentedtest_build_ext
- Tests for numpy.distutils.build_ext.test_ccompiler_opt
- Undocumentedtest_ccompiler_opt_conf
- No module docstring; 0/2 variable, 1/3 class documentedtest_exec_command
- No module docstring; 0/2 function, 3/4 classes documentedtest_fcompiler
- Undocumentedtest_fcompiler_gnu
- Undocumentedtest_fcompiler_intel
- Undocumentedtest_fcompiler_nagfor
- Undocumentedtest_from_template
- No module docstring; 0/2 variable, 2/2 functions documentedtest_log
- Undocumentedtest_mingw32ccompiler
- No module docstring; 1/1 function documentedtest_misc_util
- Undocumentedtest_npy_pkg_config
- Undocumentedtest_shell_utils
- No module docstring; 0/1 variable, 2/4 functions documentedtest_system_info
- No module docstring; 0/2 variable, 0/1 constant, 2/3 functions, 3/5 classes documentedunixccompiler
- unixccompiler - can handle very long argument lists for ar.doc
- No package docstring; 0/2 variable, 2/2 modules documenteddual
- f2py
- Fortran to Python Interface Generator.__main__
- Undocumented__version__
- Undocumentedauxfuncs
- Auxiliary functions for f2py2e.capi_maps
- No summarycb_rules
- Build call-back mechanism for f2py2e.cfuncs
- C declarations, CPP macros, and C functions for f2py2e. Only required declarations/macros/functions will be used.common_rules
- Build common block mechanism for f2py2e.crackfortran
- crackfortran --- read fortran (77,90) code and extract declaration information.diagnose
- Undocumentedf2py2e
- f2py2e - Fortran to Python C/API generator. 2nd Edition. See __usage__ below.f2py_testing
- Undocumentedf90mod_rules
- Build F90 module support for f2py2e.func2subr
- Rules for building C/API module with f2py2e.rules
- Rules for building C/API module with f2py2e.setup
- setup.py for installing F2PYsymbolic
- Fortran/C symbolic expressionstests
- No package docstring; 3/24 modules documentedtest_abstract_interface
- Undocumentedtest_array_from_pyobj
- No module docstring; 0/4 variable, 1/3 function, 0/5 class documentedtest_assumed_shape
- Undocumentedtest_block_docstring
- Undocumentedtest_callback
- No module docstring; 2/4 classes documentedtest_common
- Undocumentedtest_compile_function
- See https://github.com/numpy/numpy/pull/11937.test_crackfortran
- No module docstring; 1/7 class documentedtest_kind
- Undocumentedtest_mixed
- Undocumentedtest_module_doc
- Undocumentedtest_parameter
- Undocumentedtest_quoted_character
- See https://github.com/numpy/numpy/pull/10676.test_regression
- Undocumentedtest_return_character
- Undocumentedtest_return_complex
- Undocumentedtest_return_integer
- Undocumentedtest_return_logical
- Undocumentedtest_return_real
- Undocumentedtest_semicolon_split
- Undocumentedtest_size
- Undocumentedtest_string
- Undocumentedtest_symbolic
- Undocumentedutil
- Utility functions foruse_rules
- Build 'use others module data' mechanism for f2py2e.fft
- Discrete Fourier Transform (numpy.fft
) =============================================_pocketfft
- Discrete Fourier Transformshelper
- Discrete Fourier Transforms - helper.pysetup
- Undocumentedtests
- No package docstring; 1/2 module documentedtest_helper
- Test functions for fftpack.helper moduletest_pocketfft
- Undocumentedlib
- Note: almost all functions in the numpy.lib namespace are also present in the main numpy namespace. Please use the functions as np.<funcname> where possible._datasource
- A file interface for handling local and remote data files._iotools
- A collection of functions designed to help I/O with ascii files._version
- Utility to compare (NumPy) version strings.arraypad
- The arraypad module contains a group of functions to pad values onto the edges of an n-dimensional array.arraysetops
- Set operations for arrays based on sorting.arrayterator
- A buffered iterator for big arrays.emath
- Wrapper functions to more user-friendly calling of certain math functions whose output data-type is different than the input data-type in certain domains of the input.format
- Binary serializationfunction_base
- No module docstring; 0/4 variable, 0/5 constant, 50/90 functions, 1/1 class documentedhistograms
- Histogram-related functionsindex_tricks
- No module docstring; 0/7 variable, 4/7 functions, 9/9 classes documentedmixins
- Mixin classes for custom array types that don't inherit from ndarray.nanfunctions
- Functions that ignore NaN.npyio
- No module docstring; 0/4 variable, 0/1 constant, 14/22 functions, 3/3 classes documentedpolynomial
- Functions to operate on polynomials.recfunctions
- Collection of utilities to manipulate structured arrays.setup
- Undocumentedshape_base
- No module docstring; 0/1 variable, 16/30 functions documentedstride_tricks
- Utilities that manipulate strides to achieve desirable effects.tests
- No package docstring; 5/24 modules documentedtest__datasource
- No module docstring; 0/7 variable, 1/12 function, 0/6 class documentedtest__iotools
- No module docstring; 0/1 function, 2/4 classes documentedtest__version
- Tests for the NumpyVersion class.test_arraypad
- Tests for the array padding functions.test_arraysetops
- Test functions for 1D array set operations.test_arrayterator
- Undocumentedtest_financial_expired
- Undocumentedtest_format
- Test the .npy file format.test_function_base
- No module docstring; 1/4 function, 0/46 class documentedtest_histograms
- No module docstring; 1/3 class documentedtest_index_tricks
- Undocumentedtest_io
- No module docstring; 0/3 constant, 1/7 function, 1/12 class documentedtest_mixins
- Undocumentedtest_nanfunctions
- No module docstring; 0/4 variable, 0/3 constant, 1/2 function, 0/11 class documentedtest_packbits
- Undocumentedtest_polynomial
- Undocumentedtest_recfunctions
- No module docstring; 1/8 class documentedtest_regression
- Undocumentedtest_shape_base
- No module docstring; 0/1 constant, 2/2 functions, 2/16 classes documentedtest_stride_tricks
- Undocumentedtest_twodim_base
- Test functions for matrix moduletest_type_check
- Undocumentedtest_ufunclike
- Undocumentedtest_utils
- No module docstring; 0/4 variable, 3/18 functions, 0/1 class documentedtwodim_base
- Basic functions for manipulating 2d arraystype_check
- Automatically adapted for numpy Sep 19, 2005 by convertcode.pyufunclike
- Module of functions that are like ufuncs in acting on arrays and optionally storing results in an output array.user_array
- Standard container-class for easy multiple-inheritance.utils
- No module docstring; 0/4 variable, 16/20 functions, 1/1 class documentedlinalg
- numpy.linalg ================linalg
- Lite version of scipy.linalg.setup
- Undocumentedtests
- No package docstring; 3/3 modules documentedtest_deprecations
- Test deprecation and future warnings.test_linalg
- Test functions for linalg moduletest_regression
- Test functions for linalg modulema
- ============= Masked Arrays =============bench
- Undocumentedcore
- numpy.ma : a package to handle missing or invalid values.extras
- Masked arrays add-ons.mrecords
- numpy.ma..mrecords
setup
- Undocumentedtests
- No package docstring; 5/7 modules documentedtest_core
- Tests suite for MaskedArray & subclassing.test_deprecations
- Test deprecation and future warnings.test_extras
- Tests suite for MaskedArray. Adapted from the original test_ma by Pierre Gerard-Marchanttest_mrecords
- Tests suite for mrecords.test_old_ma
- Undocumentedtest_regression
- Undocumentedtest_subclassing
- Tests suite for MaskedArray & subclassing.testutils
- Miscellaneous functions for testing masked arrays and subclassestimer_comparison
- Undocumentedmatlib
- No module docstring; 8/8 functions documentedmatrixlib
- Sub-package containing the matrix class and related functions.defmatrix
- No module docstring; 2/4 functions, 1/1 class documentedsetup
- Undocumentedtests
- No package docstring; 2/7 modules documentedtest_defmatrix
- Undocumentedtest_interaction
- Tests of interaction of matrix with other parts of numpy.test_masked_matrix
- Undocumentedtest_matrix_linalg
- Test functions for linalg module using the matrix class.test_multiarray
- Undocumentedtest_numeric
- Undocumentedtest_regression
- Undocumentedpolynomial
- A sub-package for efficiently dealing with polynomials._polybase
- Abstract base class for the various polynomial Classes.chebyshev
- ==================================================== Chebyshev Series (numpy.polynomial.chebyshev
) ====================================================hermite
- ============================================================== Hermite Series, "Physicists" (numpy.polynomial.hermite
) ==============================================================hermite_e
- =================================================================== HermiteE Series, "Probabilists" (numpy.polynomial.hermite_e
) ===================================================================laguerre
- ================================================== Laguerre Series (numpy.polynomial.laguerre
) ==================================================legendre
- ================================================== Legendre Series (numpy.polynomial.legendre
) ==================================================polynomial
- ================================================= Power Series (numpy.polynomial.polynomial
) =================================================polyutils
- Utility classes and functions for the polynomial modules.setup
- Undocumentedtests
- No package docstring; 8/9 modules documentedtest_chebyshev
- Tests for chebyshev module.test_classes
- Test inter-conversion of different polynomial classes.test_hermite
- Tests for hermite module.test_hermite_e
- Tests for hermite_e module.test_laguerre
- Tests for laguerre module.test_legendre
- Tests for legendre module.test_polynomial
- Tests for polynomial module.test_polyutils
- Tests for polyutils module.test_printing
- No module docstring; 2/4 functions, 1/6 class documentedrandom
- ======================== Random Number Generation ========================_pickle
- No module docstring; 0/1 variable, 3/3 functions documentedsetup
- Undocumentedtests
- Undocumenteddata
- Undocumentedtest_direct
- Undocumentedtest_extending
- Undocumentedtest_generator_mt19937
- Undocumentedtest_generator_mt19937_regressions
- Undocumentedtest_random
- Undocumentedtest_randomstate
- Undocumentedtest_randomstate_regression
- Undocumentedtest_regression
- Undocumentedtest_seed_sequence
- No module docstring; 2/2 functions documentedtest_smoke
- Undocumentedsetup
- Undocumentedtesting
- Common test support for all numpy test scripts._private
- No package docstring; 5/6 modules documenteddecorators
- Decorators for labeling and modifying behavior of test objects.extbuild
- Build a c-extension module on-the-fly in tests. See build_and_import_extensions for usage hintsnoseclasses
- No module docstring; 0/1 variable, 3/8 classes documentednosetester
- Nose test running.parameterized
- tl;dr: all code code is licensed under simplified BSD, unless stated otherwise.utils
- Utility function to facilitate testing.print_coercion_tables
- Prints type-coercion tables for the built-in NumPy typessetup
- Undocumentedtests
- No package docstring; 1/2 module documentedtest_doctesting
- Doctests for NumPy-specific nose/doctest modificationstest_utils
- No module docstring; 0/12 function, 1/16 class documentedutils
- Back compatibility utils module. It will import the appropriate set of toolstests
- No package docstring; 3/8 modules documentedtest__all__
- Undocumentedtest_ctypeslib
- No module docstring; 0/3 variable, 1/5 class documentedtest_matlib
- Undocumentedtest_numpy_version
- Check the numpy version is valid.test_public_api
- No module docstring; 0/1 variable, 0/5 constant, 8/12 functions documentedtest_reloading
- No module docstring; 1/3 function documentedtest_scripts
- Test scriptstest_warnings
- Tests which scan for certain occurrences in the code, they may not find all of these occurrences but should catch almost all.typing
- ============================ Typing (numpy.typing
) ============================_add_docstring
- A module for creating docstrings for sphinx data domains._array_like
- Undocumented_char_codes
- Undocumented_dtype_like
- Undocumented_extended_precision
- A module with platform-specific extended precision numpy.number
subclasses._generic_alias
- No module docstring; 0/3 variable, 0/2 constant, 3/3 functions, 1/1 class documented_nbit
- A module with the precisions of platform-specific `~numpy.number`s._nested_sequence
- A module containing the _NestedSequence
protocol._scalars
- Undocumented_shape
- Undocumentedmypy_plugin
- A mypy_ plugin for managing a number of platform-specific annotations. Its functionality can be split into three distinct parts:setup
- Undocumentedtests
- No package docstring; 1/4 module documentedtest_generic_alias
- No module docstring; 0/6 variable, 0/4 constant, 0/1 function, 1/1 class documentedtest_isfile
- Undocumentedtest_runtime
- Test the runtime usage of numpy.typing
.test_typing
- No module docstring; 0/14 constant, 8/15 functions documentedversion
- Undocumented