SymPy
SymPy is a Python library for symbolic mathematics, capable of performing symbolic computations in areas like algebra, calculus, discrete mathematics, and geometry. Its goal is to become a full-featured computer algebra system (CAS) while keeping the code as simple and comprehensible as possible.