SymPy
Computer algebra system in Python for symbolic mathematics and equation solving.
ML and data science PyPI BSD
Used in agent projects
28
0.2% of 12,697 public repos built with AI coding agents
Rank in ml and data science
#20 of 28
by use in those projects
Downloads
30.8M
PyPI, last 7 days, sympy
GitHub stars
15K
last push Oct 10, 2026
How SymPy is used
SymPy is a dependency in 28 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #20 of 28 in ml and data science. The most used alternative there is NumPy. Projects that use it most often also use NumPy (89.3%), PyYAML (89.3%), charset-normalizer (85.7%).
Often used with SymPy
| NumPy | 89.3% of SymPy projects · 23.3× more than average |
|---|---|
| PyYAML | 89.3% of SymPy projects · 29.4× more than average |
| charset-normalizer | 85.7% of SymPy projects · 68.9× more than average |
| Pillow | 85.7% of SymPy projects · 37.3× more than average |
| Requests | 82.1% of SymPy projects · 15.5× more than average |
By coding agent
| Claude Code | 0.4% of projects set up for it |
|---|---|
| GitHub Copilot | 0.4% of projects set up for it |
| Cursor | 0.3% of projects set up for it |
Share of public repos configured for each agent that list SymPy as a dependency.
Install
| Package | pip install sympy |
|---|---|
| Main stacks | Python (25), Next.js (3) |
| Example projects | NA-DEGEN-GIRL/multi-perp-dex, synapticore-io/marimo-flow, ManojINaik/manimAnimationAgent, nihilistau/CosySim, brandoz2255/Harvis |
Alternatives to SymPy
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| NumPy pypi Fundamental Python library for numerical computing with arrays and matrices. |
487 (3.8%) | 21M | 33K | — |
| 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 | — |