For MP work in Python, gmpy2 - https://pypi.org/project/gmpy2/ comes with a much better selection of MP functions, backed by MPFR, MPC.
Also, the buit-in Decimal class is horribly slow by comparison to gmpy2.
Also, the buit-in Decimal class is horribly slow by comparison to gmpy2.