NumPy

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

Library
PyPI
v2.5.2
32,554stars
BSD 3-Clause License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
96/100Excellent
Development Activity100
Maintenance96
Community88
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
90/100Excellent
Architecture92
Code Quality95
Innovation88
Learning Curve85

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 73 apps in this directory

Python
99%
MIT

Agent Lightning

AI Development

17,500

A Microsoft-built training framework that optimizes AI agents with reinforcement learning, automatic prompt optimization, or supervised fine-tuning — with near-zero code changes to your existing agent, in any framework.

View details
84
Repo Health
68
Technical
69
Dependency
Built with
Python99%
Updated today
Python
100%
Apache 2.0

Agno

Devops · AI Development · Automation

41,774

Build, run, and manage agent platforms with a full production stack — SDK, runtime, and control plane included.

View details
93
Repo Health
87
Technical
67
Dependency
Built with
Python100%
Updated today
Python
49%
Other

Airbyte

Developer Tools · Data Engineering

21,916

Open-source ELT platform with 600+ connectors for moving data from any source to warehouses, lakes, and AI agents.

View details
95
Repo Health
80
Technical
67
Dependency
Built with
Python49%
Kotlin42%
Updated today
Python
90%
Apache 2.0

Apache Airflow

Data Engineering

46,530

Define, schedule, and monitor complex data workflows as Python code — with a powerful UI, 80+ provider integrations, and battle-tested scalability across thousands of production deployments.

View details
96
Repo Health
89
Technical
66
Dependency
Built with
Python90%
Updated today
Python
59%
Apache 2.0

argilla

AI Development · Data Engineering

5,081

Collaborate on high-quality AI training data with a self-hosted annotation platform built for LLMs, NLP, and multimodal models.

View details
65
Repo Health
81
Technical
63
Dependency
Built with
Python59%
Jupyter Notebook21%
Updated 2 days ago
Python
88%
Apache 2.0

ART

AI Development

10,603

Give your LLM agents on-the-job training—ART lets you apply GRPO reinforcement learning to any multi-step agentic workflow with minimal code changes.

View details
85
Repo Health
82
Technical
72
Dependency
Built with
Python88%
Cuda10%
Updated today
Python
68%
Other

AutoGPT

Automation · Productivity · AI Assistants

186,687

Build, deploy, and run autonomous AI agents that automate complex multi-step workflows using a visual block-based graph editor.

View details
93
Repo Health
78
Technical
67
Dependency
Built with
Python68%
TypeScript31%
Updated today
Python
83%
MIT

autoresearch

AI Agents · AI Development

94,153

Give an AI agent a real LLM training setup and let it experiment autonomously overnight — you wake up to a log of experiments and (hopefully) a better model.

View details
34
Repo Health
77
Technical
81
Dependency
Built with
Python83%
Jupyter Notebook17%
Updated 4 months ago
Python
100%
Apache 2.0

BotCity Framework

Automation · Developer Tools

142

Computer-vision powered Python framework for building RPA bots that click, type, and read any desktop, web, or terminal UI without needing an API.

View details
60
Repo Health
53
Technical
73
Dependency
Built with
Python100%
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

Search