Welcome to SymPy’s documentation!

SymPy is a Python library for symbolic mathematics. If you are new to SymPy, start with the Tutorial.

This is the central page for all of SymPy’s documentation.


If something cannot be easily accessed from this page, it’s a bug (please report it).

This documentation is maintained with docutils, so you might see some comments in the form #doctest:... . You can safely ignore them.

Docs for other versions

SymPy 0.6.7

SymPy 0.7.0

SymPy 0.7.1

SymPy 0.7.2

SymPy 0.7.2 (Python 3)

SymPy 0.7.3

SymPy 0.7.4


SymPy 0.7.5

SymPy 0.7.6


SymPy 1.0

SymPy git

SymPy 1.1

SymPy 1.1.1

SymPy 1.2

SymPy 1.3

SymPy 1.4

Next topic


This Page