SymPy is a library created in 2007.
git clone https://github.com/sympy/sympy
A computer algebra system written in pure Python