Metadata-Version: 2.1
Name: simple-unit-system
Version: 0.0.2
Summary: A framework for applying physical units and performing unit conversions, for scientific and engineering analyses, based on NIST conversions and constants
Project-URL: Bug Reports, https://github.com/jeffcodez/PhysicalUnits/issues
Project-URL: Source, https://github.com/jeffcodez/PhysicalUnits
Requires-Python: >=3, <4
Description-Content-Type: text/markdown
License-File: LICENSE

# PhysicalUnits
Physical units framework for scientific and engineering programming
This implementation of a units framework for python, has low overhead, and can be expanded upon as desired.
Reference conversion factors and constants are derived from NIST standards when available
Some US customary units use implicit conversions and derivations

## Use:

**import the library and establish the base unit system**

from physicalunits import units
C = units('US')

**assign units to a number - in this case 10 lbf of force:**

F = 10*C.LBF

**report the number in units force:**

print( F/C.LBF )

**report the number in units of Newtons:**

print ( F/C.N )

**assign a mixed unit to a value in this case density in SI units:**

rho = 10 *C.KG/C.M**3

**report the unit is US customary units:**

print ( rho / (C.SLUG/C.FT**3) )
