Units of measurement

Robert Kern robert.kern at gmail.com
Wed Jan 17 17:27:14 EST 2007


Paul Rubin wrote:
> I'm sure this has been done before, but it just struck my fancy, an
> example of Python's "emulating numeric types", inspired by the old
> Unix "units" utility, and the Frink language.

Oh yeah, it's been done before. Several times over, in fact.

Unum
http://home.tiscali.be/be052320/Unum.html

Caltech's pyre.units
http://www.cacr.caltech.edu/projects/pyre/

Konrad Hinsen's Scientific.Physics.PhysicalQuantity
http://dirac.cnrs-orleans.fr/ScientificPython/

Will Ware posted one to the list.
http://groups.google.com/group/comp.lang.python/browse_frm/thread/8ed89844218b92c7/0f05aea353c1563d

And there was another one announced here sometime in the past year or so, IIRC,
but I don't recall the name of it or that of the author.  :-(

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list