NumPy
Fundamental Python library for numerical computing with arrays and matrices.
ML and data science PyPI
Used in agent projects
487
3.8% of 12,697 public repos built with AI coding agents
Rank in ml and data science
#1 of 28
by use in those projects
Downloads
21M
PyPI, last 7 days, numpy
GitHub stars
33K
last push Oct 9, 2026
How NumPy is used
NumPy is a dependency in 487 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (3.8%), #1 of 28 in ml and data science. The most used alternative there is pandas. Projects that use it most often also use pandas (58.5%), python-dotenv (53.4%), Requests (51.7%). It is more common in projects set up for Roo Code (7.1%) than for OpenCode (3.8%).
Often used with NumPy
| pandas | 58.5% of NumPy projects · 19.4× more than average |
|---|---|
| python-dotenv | 53.4% of NumPy projects · 8.2× more than average |
| Requests | 51.7% of NumPy projects · 9.7× more than average |
| Pydantic | 45.8% of NumPy projects · 9.0× more than average |
| Uvicorn | 38.4% of NumPy projects · 9.0× more than average |
| FastAPI | 38.2% of NumPy projects · 9.0× more than average |
| PyYAML | 33.1% of NumPy projects · 10.9× more than average |
| Pillow | 30.6% of NumPy projects · 13.3× more than average |
By coding agent
| Claude Code | 5.2% of projects set up for it |
|---|---|
| GitHub Copilot | 5.4% of projects set up for it |
| Cursor | 5.7% of projects set up for it |
| Gemini CLI | 5.7% of projects set up for it |
| OpenAI Codex | 4.2% of projects set up for it |
| Devin Desktop | 5.8% of projects set up for it |
| OpenCode | 3.8% of projects set up for it |
| Roo Code | 7.1% of projects set up for it |
Share of public repos configured for each agent that list NumPy as a dependency.
Install
| Package | pip install numpy |
|---|---|
| Main stacks | Python (476), Next.js (9), Other (1), React Native / Expo (1) |
| Example projects | dramaclaw/dramaclaw, Josh-XT/AGiXT, imbue-bit/AlphaGPT, solana-developers/solana-cookbook, Kaggle/kaggle-environments |
Alternatives to NumPy
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| pandas pypi Data manipulation and analysis library with DataFrames for structured data. |
383 (3.0%) | 143M | 50K | — |
| scikit-learn pypi Python machine learning library with classification, regression and clustering algorithms. |
160 (1.3%) | 44.3M | 67.5K | — |
| SciPy pypi Fundamental algorithms for scientific computing with optimized numerical routines. |
141 (1.1%) | 72.2M | 15.1K | — |
| PyTorch pypi Deep learning framework with tensors and dynamic neural networks with GPU support. |
109 (0.9%) | 13.2M | 104K | — |
| Sentence Transformers pypi Pre-trained models for semantic embeddings, retrieval and reranking. |
83 (0.7%) | 5.1M | 19.2K | — |
| Hugging Face Transformers pypi State-of-the-art NLP and multimodal models for inference and training. |
80 (0.6%) | 24.8M | 167K | Apache 2.0 License |
| NetworkX pypi Python package for creating, analyzing and manipulating complex networks and graphs. |
73 (0.6%) | 50.2M | 17.3K | — |
| joblib pypi Lightweight pipelining and parallel computing for Python functions with caching support. |
65 (0.5%) | 38.7M | 4,403 | — |