macOS
brew install numpylocal Homebrew formula metadata
brew
Package for scientific computing with Python. Version 2.5.1 via Homebrew; verified 2026-07-07.
install
brew install numpylocal Homebrew formula metadata
sudo apt install python-numpy-docDebian stable package indexes · python-numpy-doc · source: deb.debian.org
sudo dnf install python3-numpyFedora Rawhide package metadata · python3-numpy · source: dl.fedoraproject.org
sudo apt install python3-numpyUbuntu 24.04 LTS package indexes · python3-numpy · source: archive.ubuntu.com
choco install numpyChocolatey community package catalog · numpy · source: community.chocolatey.org
overview
Package for scientific computing with Python
history
NumPy is the foundational array package for scientific computing in Python. It supplies the `ndarray`, vectorized operations, broadcasting, linear algebra and numerical routines, a C API, and the `f2py` command-line interface for building Python bindings to Fortran code.
The official NumPy about page says NumPy was created in 2005, building on Numeric and Numarray. The old SciPy history records the project as a reunion: Travis Oliphant wanted to bring the split Numeric/numarray community back to one array package, refactored Numeric to absorb numarray's features, and after naming discussion the multidimensional array project became NumPy.
NumPy became the array substrate for the Python scientific stack. The 2020 Nature paper 'Array programming with NumPy' describes NumPy as a 2005 unification of Numarray's features with Numeric's small-array performance and C API, and says that by 2020 it underpinned almost every Python library doing scientific or numerical computation, including SciPy, Matplotlib, pandas, scikit-learn, and scikit-image.
Users install NumPy directly for dense arrays, vectorized math, broadcasting, random sampling, FFTs, statistics, basic linear algebra, and data interchange with other Python libraries. Package maintainers also care about the compiled-code boundary: `f2py` is distributed with NumPy as both `numpy.f2py` and a standalone command-line tool, making old Fortran routines callable from Python, while the C API supports extensions and downstream projects.
For package ecosystems, NumPy is not just a library; it is an ABI, build, and compatibility gravity well. Python packages with native extensions often pin or test against NumPy versions, scientific Linux/macOS distributions ship optimized BLAS/LAPACK stacks underneath it, and Homebrew's formula page showed 333,990 installs over 365 days on July 1, 2026 despite Python users often installing it through pip or conda instead.
security posture
No matching local secret-handling manifest was found for numpy. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
f2py | cli | global executable | |
numpy-config | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:numpy |
|---|---|
| Version | 2.5.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/numpy |
| Homepage | https://www.numpy.org/ |
| Repository | https://github.com/numpy/numpy |
| Upstream docs | https://numpy.org/doc/stable/index |
| License | BSD-3-Clause |
| Source archive | https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz |
| Last updated | 2026-07-07T20:38:47Z |
| Pulse | updated |
| Dependencies | openblas |
| Build dependencies | gcc, meson, ninja, python@3.13, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | To run `f2py`, you may need to `brew install python@3.14` |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | numpy |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
python-numpy-doc 1:2.2.4+ds-1
Python library for numerical computations (Documentation)
sudo apt install python-numpy-docpython3-numpy 1:2.2.4+ds-1
Python library for numerical computations (Python 3)
sudo apt install python3-numpypython3-numpy-dev 1:2.2.4+ds-1
Python library for numerical computations (Python 3 headers)
sudo apt install python3-numpy-devpython3-numpy 1:1.26.4+ds-6ubuntu1
Fast array facility to the Python language (Python 3)
sudo apt install python3-numpypython3-numpy 2.4.6-2.fc45
A fast multidimensional array facility for Python
sudo dnf install python3-numpypython3-numpy-doc 2.4.6-2.fc45
Documentation for numpy
sudo dnf install python3-numpy-docpython3-numpy-f2py 2.4.6-2.fc45
f2py for numpy
sudo dnf install python3-numpy-f2pynumpy
choco install numpysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.