NumPy

The fundamental N-dimensional array library powering Python's scientific computing stack.

Library
PyPI
v2.5.3
32,864 stars
BSD 3-Clause License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
95 /100 Excellent
Development Activity 96
Maintenance 96
Community 88
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
90 /100 Excellent
Architecture 92
Code Quality 95
Innovation 88
Learning Curve 85

NumPy is the foundational library for numerical and scientific computing in Python, providing a fast, memory-efficient N-dimensional array object (ndarray) alongside broadcasting, vectorized universal functions (ufuncs), and tools for linear algebra, Fourier transforms, and random number generation. It underpins the vast majority of the Python data science and machine learning ecosystem — pandas, SciPy, scikit-learn, PyTorch, and TensorFlow all build directly on NumPy’s array protocol and C API.

Originally created in 2005 by merging the Numeric and Numarray projects, NumPy is now maintained by NumFOCUS and a large, active contributor base. Its core is implemented in C for performance, built with Meson and Cython bindings, while the Python-facing API exposes a broad, fully-typed surface (bundled .pyi stubs) for array manipulation, indexing, and interoperability with C/C++ and Fortran code via f2py.

What You Get

  • A fast, memory-efficient N-dimensional array object (ndarray) with broadcasting and vectorized operations
  • Comprehensive linear algebra, Fourier transform, and random number generation modules
  • C, C++, and Fortran interoperability via f2py and a stable C API for building extensions
  • Bundled type stubs (.pyi) for static typing support across the entire public API

Common Use Cases

  • Numerical simulations and scientific computing pipelines
  • Backing array/tensor operations for machine learning frameworks like PyTorch and TensorFlow
  • Data preprocessing and vectorized transformations ahead of pandas or SciPy analysis
  • Image and signal processing via array slicing, FFTs, and linear algebra routines

Under The Hood

Architecture - NumPy’s core (numpy/_core) is a C-implemented ndarray type and ufunc dispatch machinery; the Python layer wraps and extends it through dedicated submodules — numpy/lib, numpy/linalg, numpy/fft, numpy/random, numpy/ma, numpy/polynomial, numpy/matrixlib — each exposing a typed Python API backed by native code, with numpy/f2py bridging Fortran extensions into the same array protocol.

Tech Stack - The codebase is primarily Python (61%) and C (33%), with C++, Cython, and Fortran mixed in for performance-critical paths; the build system is Meson via meson-python (>=0.20.0) with Cython (>=3.1.0), targets Python >=3.12, and vendors several third-party numeric libraries (libdivide, Google Highway, x86-simd-sort, pocketfft) each tracked with its own license in pyproject.toml.

Code Quality - Every subpackage carries a colocated tests/ directory (numpy/_core/tests, numpy/linalg/tests, numpy/random/tests, etc.) run with pytest and hypothesis; ruff.toml and .clang-format enforce consistent Python and C style, pytest.ini configures test execution, and CI runs across both GitHub Actions and CircleCI for cross-platform and cross-architecture coverage.

API Design - The ndarray-centric API stays internally consistent across submodules — dtype and broadcasting semantics behave uniformly whether you’re in linalg, fft, random, or ma — and basic usage requires minimal boilerplate (import numpy as np; np.array(...)), though the project’s sheer API surface area and native build toolchain raise the bar for anyone compiling NumPy from source or contributing to its C internals.

Used by 82 apps in this directory

Python
76%
Apache 2.0

Second Me

AI Assistants · Productivity

15,690

Train a locally hosted AI twin on your own memories—then connect it to the world through a decentralized identity network.

View details
41
Repo Health
75
Technical
67
Dependency
Built with
Python 76%
TypeScript 19%
Updated 1 years ago
Python
64%
AGPL 3.0

Shadowbroker

Analytics · Monitoring · Security

11,261

Self-hosted OSINT dashboard that fuses 60+ live intelligence feeds — flight tracking, ship AIS, satellites, CCTV, seismic and radio networks — into one real-time map, with an agent-ready command channel for AI co-analysts.

View details
84
Repo Health
83
Technical
71
Dependency
Built with
Python 64%
TypeScript 32%
Updated 2 weeks ago
TypeScript
50%
Other

SigNoz

Analytics · Monitoring

32,224

Self-host your entire observability stack — logs, metrics, traces, and LLM monitoring — in one OpenTelemetry-native platform, without the Datadog bill.

View details
92
Repo Health
83
Technical
67
Dependency
Built with
TypeScript 50%
Go 38%
Updated 1 weeks ago
Python
94%
BSD 3

skrub

Developer Tools

1,653

Turn messy real-world dataframes into machine learning features — no manual wrangling required.

View details
86
Repo Health
84
Technical
80
Dependency
Built with
Python 94%
Updated 2 weeks ago
Python
54%
AGPL 3.0

Speakr

AI Assistants

4,030

Self-hosted AI transcription with speaker diarization, smart tagging, and multi-user collaboration — your recordings stay on your infrastructure.

View details
82
Repo Health
79
Technical
70
Dependency
Built with
Python 54%
HTML 24%
JavaScript 19%
Updated 2 weeks ago
HTML
66%
AGPL 3.0

ST3GG

Developer Tools · Security

1,796

The ultimate open-source steganography suite — hide anything in any file using 100+ encoding techniques, detect it all, and run everything 100% in your browser.

View details
39
Repo Health
74
Technical
72
Dependency
Built with
HTML 66%
Python 31%
Updated 3 months ago
Python
67%
Apache 2.0

SurfSense

AI Assistants · Search

16,270

The open-source, unlimited NotebookLM alternative with real-time collaboration, a desktop app, and no vendor lock-in.

View details
87
Repo Health
71
Technical
66
Dependency
Built with
Python 67%
TypeScript 30%
Updated 1 weeks ago
Python
94%
Apache 2.0

SWIRL

Data Engineering · Databases · Search

3,047

Federated AI search and RAG across 100+ enterprise sources—no data extraction, no vector database required.

View details
62
Repo Health
83
Technical
65
Dependency
Built with
Python 94%
Updated 1 weeks ago
Python
97%
MPL 2.0

Taiga Back

Developer Tools · Project Management

854

Self-hosted agile project management backend with Scrum, Kanban, issue tracking, and a full REST API — built on Django and PostgreSQL.

View details
76
Repo Health
74
Technical
64
Dependency
Built with
Python 97%
Updated 2 weeks ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers