views:

206

answers:

3

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.

+6  A: 

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

Stefano Borini
+2  A: 

I've been looking at the Enthought Units module

otto
+2  A: 

quantities seems to be gaining a lot of traction lately.

Autoplectic
+1: seems very cool!
Stefano Borini