SymPy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. SymPy is written entirely in Python and does require just mpmath as an external library. SymPy has several optional dependencies which enhance its functionality or make it faster. Here are some available at SlackBuilds.org: numpy, scipy, matplotlib, ipython and pyglet. NOTE: some of these SlackBuilds might be available for python3 only. Version 1.5.1 is the last one available with python2 compatibility. All later versions are python3 only.