ANN: magnitude 0.9.1

Joan M. Garcia juan at
Thu Oct 18 10:20:09 CEST 2007

George Sakkis <george.sakkis at> writes:
> On Oct 16, 7:35 am, Laurent Pointal <laurent.poin... at> >
>> How does it compare to the scalar module ?
>> (see
> or the Unum module ( ?

Both scalar and unum treat units as variables.  You are
supposed to import them, so you end up with variables like M
and S in your namespace.  And they don't seem to be able to
understand prefixes as they combine with variable names.

On the other side, they both provide something that
magnitude does not have: the ability to define arbitrary
units.  magnitude limits you to combinations of the standard
SI units, plus dollar and bit.  It is trivial to implement
user generation of arbitrary names for these combinations,
but not of arbitrary independent units.


More information about the Python-list mailing list