numericalunits: https://pypi.python.org/pypi/numericalunits works with an arbitrary number implementation! Impressive.