mpmath is a pure-Python library for arbitrary-precision floating-point arithmetic: it lets you compute with as many decimal digits as you ask for, instead of the roughly 16 digits of a standard Python ...