SymPy is a Python library for symbolic mathematics.