BSD Ports

wip/py-magnitude 0.9.4 NetBSD

Python library for computing with numbers with units

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
apache-2.0
Categories
wip, math

Description

A physical quantity is a number with a unit, like 10 km/h. Units can be any of the SI units, plus a bunch of non-SI, bits,dollars, and any combination of them. They can include the standard SI prefixes. Magnitude can operate with physical quantities, parse their units, and print them. You don't have to worry about unit consistency or conversions; everything is handled transparently. By default output is done in basic SI units, but you can specify any output unit as long as it can be reduced to the basic units of the physical quantity

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-magnitude && make install clean

Dependencies

No port depends on this one.