SymPy
SymPy is an open-source Python library for symbolic computation, providing computer algebra capabilities for standalone use or as a library. It is written entirely in Python, making it easy to install and extend, and supports a wide range of mathematical operations from basic arithmetic to calculus, algebra, discrete math, and quantum physics. SymPy can output results in LaTeX and includes features like pretty-printing, code generation, and plotting (with external libraries). Started in 2005, it is licensed under the BSD license and maintained by a dedicated community.
View Wikipedia