Question

Is there a standard pythonic way to treat physical units / quantities in python? I saw different module-specific solutions from different fields like physics or neuroscience. But I would rather like to use a standard method than "island"-solutions as others should be able to easily read my code.

Was it helpful?

Solution

The best solution is the Unum package. a de-facto standard, imho.

OTHER TIPS

quantities seems to be gaining a lot of traction lately.

I've been looking at the Enthought Units module

There is also pint which in his documentation has a list of other projects in their faq's.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top