NumPy

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

Library
PyPI
v2.5.4
33,113 stars
BSD 3-Clause License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
96 /100 Excellent
Development Activity 100
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
89%
AGPL 3.0

clarity-upscaler

AI Design Tools · Design Tools

5,152

Free open-source AI image upscaler reaching 13K resolution using Stable Diffusion, ControlNet, and Tiled Diffusion — a self-hostable alternative to Magnific.

View details
36
Repo Health
49
Technical
67
Dependency
Built with
Python 89%
Updated 1 years ago
TypeScript
72%
MIT

Claude Context

AI Code Assistants · Mcp

12,643

An MCP server and VS Code extension by Zilliz that turns your entire codebase into semantically searchable context for Claude Code, Cursor, and Gemini CLI, using vector embeddings and Merkle-tree change detection.

View details
39
Repo Health
71
Technical
71
Dependency
Built with
TypeScript 72%
Python 13%
JavaScript 11%
Updated 3 months ago
Python
100%
Apache 2.0

ClearML

Automation · Devops

6,915

Auto-magical MLOps platform that tracks experiments, versions data, orchestrates pipelines, and serves models with just two lines of code.

View details
95
Repo Health
79
Technical
68
Dependency
Built with
Python 100%
Updated 6 days ago
C++
68%
Apache 2.0

ClickHouse

Analytics · Data Engineering · Databases

50,569

Open-source column-oriented database that delivers real-time analytical queries on petabyte-scale data with millisecond latency.

View details
95
Repo Health
90
Technical
65
Dependency
Built with
C++ 68%
Python 13%
Updated 5 days ago
Rust
53%
Apache 2.0

cocoindex

AI Development · Data Engineering

11,746

An incremental data indexing engine that keeps AI agent context perpetually fresh by reprocessing only what changed.

View details
86
Repo Health
85
Technical
65
Dependency
Built with
Rust 53%
Python 47%
Updated 6 days ago
C
55%
Apache 2.0

Colibri

AI Development · Developer Tools

43,644

A pure-C, zero-dependency inference engine that runs GLM-5.2's 744-billion-parameter mixture-of-experts model on consumer hardware with roughly 25GB of RAM by streaming experts from disk like a JIT compiler stages hot code.

View details
84
Repo Health
86
Technical
77
Dependency
Built with
C 55%
Python 33%
Updated 5 days ago
Python
100%
GPL 3.0

ComfyUI

AI Design Tools · AI Development

142,410

The most powerful node-based AI workflow engine for creating images, video, 3D models, and audio with full control over every generation step.

View details
92
Repo Health
81
Technical
75
Dependency
Built with
Python 100%
Updated 5 days ago
TypeScript
84%
Apache 2.0

Continue

AI Code Assistants · AI Development · Automation

36,303

Open-source coding agent for VS Code, JetBrains, and CLI with support for 30+ LLM providers.

View details
66
Repo Health
88
Technical
62
Dependency
Built with
TypeScript 84%
Updated 1 weeks ago
Python
99%
MIT

deepagents

AI Agents · AI Development

30,539

The batteries-included Python agent harness — planning, sub-agents, filesystem, shell, memory, and skills bundled in, built on LangGraph.

View details
88
Repo Health
83
Technical
70
Dependency
Built with
Python 99%
Updated 5 days 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