Welcome to SymPy’s documentation!#

A PDF version of these docs is also available.

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.


Tutorials#

Tutorials introduce SymPy features to people who are new to the project. It includes installation instructions, a basic introduction to SymPy operations and common gotchas.

How-to Guides#

These are step-by-step instructions on how to do different key developer tasks. It details instructions on installing SymPy from source for development. The development setup and workflow is also discussed with elaborate details on debugging, building the docs, and general guidelines on writing documentation and docstrings.

Explanation#

Intermediate SymPy users and developers should reference this category of documentation for common pitfalls and advanced topics. The core SymPy features like variables, functions, symbolic expressions are detailed but it does not completely exhaust all SymPy operations.

API Reference#

This category has a detailed description of the SymPy API, it discusses what the different functions and modules do, their arguments and return values.