Clone this wiki locally
Welcome to the SymPy wiki!
We encourage everyone to participate in this wiki. To edit it, you need to create an account (top right corner). Just fill in your name and password and that's it (no email confirmation, or other annoying things). Feel free to play/test something in the Sandbox.
Note, there are a bunch of pages in this wiki that are not linked to from here. See them all here.
SymPy is a computer algebra system (CAS) written in the Python programming language. SymPy is easy to use and install (see the download instructions and tutorial for more information), and works everywhere where Python 3.8 or newer is installed (Linux, Windows, Mac OS X, ...). SymPy's features include:
- Arbitrary precision integers, rationals and floats, as well as symbolic expressions
- Simplification (grouping like
a*b*b + 2*b*a*b→
3*a*b**2, expansion like
expand((a + b)**2)→
a**2 + 2*a*b + b**2, and other methods of rewriting expressions (
- Functions (
- Complex numbers (like
- Taylor (Laurent) series and limits
- Differentiation and integration
The issue tracker is located at http://github.com/sympy/sympy/issues.
The best place to begin is the Tutorial. A lot of useful information can also be found in the following:
- FAQ -- Frequently Asked Questions about SymPy
- Quick examples -- This page shows example commands for doing common calculations in SymPy
- Cookbook -- Various recipes
- Presentations -- Slides, tutorials and posters from conferences
- SymPy Papers -- Academic and white papers written about or using SymPy.
- External SymPy Media, Tutorials, and Presentations -- Learning materials written by others.
- SymPy in the news -- SymPy in the News and Blogs
- Related software -- projects related to SymPy
- Comparison to popular CAS's -- Axiom, Magma, Maple, Mathematica, Matlab, Maxima, Sage, Yacas
- Introduction to Contributing -- how to get started as a contributor
- Getting The Bleeding Edge -- how to get the latest development version of sympy
- Running tests -- how to test the code and examples in documentation
- Debugging -- useful when debugging more complex parts of SymPy
- Development workflow -- how to send a patch
- Windows development using git -- SymPy on Windows
- Jupyter Workflow -- Tips for using Jupyter Notebooks
- Pushing patches -- Guide for people who get push access to the official git repo
- Writing documentation -- how to write docstrings, tutorials etc.
- Adding Someone to AUTHORS -- details about how .mailmap works and tools for monitoring authors
- Using .mailmap
- Deprecating policy -- deprecating an existing method/function/class
- Python Version -- what Python versions we support and how long we do
- git hg rosetta stone -- direct translation of hg commands to git
- Sage Symbench -- Symbolic benchmarks
- buildbot -- SymPy buildbot
- Contributors -- list of all contributors and sponsors of SymPy
- Roadmap -- Our roadmap to SymPy 1.0
- Ideas -- Random ideas, not necessarily related to SymPy, but that could be useful for SymPy in the future
- Generic interface -- SymPy/SymPyCore design notes
- Technical References -- Related mathematical literature and websites
- Test automation -- Wishlist scratchpad for streamlining the test suite
- Unit systems -- Some ideas to improve unit systems.
- GSoC 2019 Student Instructions -- How to get started with an application.
- GSoC 2019 Ideas -- Ideas for Google Summer of Code projects
- GSoC 2019 Application Template -- The template for student applications for Google Summer of Code
- GSoC 2019 Current Applications -- A list of active proposals. Link your GSoC 2019 Project Proposal here
- GSoC 2019 Mentor Instructions -- Mentors need help too.
- GSoC 2019 Organization Application -- Our application to be an organization for Google Summer of Code
- GSoC 2019 Report -- Report for the GSoC 2019
- GSoC 2018 Student Instructions -- How to get started with an application.
- GSoC 2018 Ideas -- Ideas for Google Summer of Code projects
- GSoC 2018 Application Template -- The template for student applications for Google Summer of Code
- GSoC 2018 Current Applications -- A list of active proposals. Link your GSoC 2018 Project Proposal here