In [6]:
import pint
ureg = pint.UnitRegistry()

In [7]:
v = 65 * ureg.mile/ureg.hr

In [8]:
v.ito(ureg.m/ureg.s)
v


Out[8]:
29.0576 meter/second

In [15]:
p = 2.588e-4*ureg.kPa/(ureg.hr**3)
p


Out[15]:
0.0002588 kilopascal/hour3

In [32]:
p.ito(ureg.bar/(ureg.s**3))
print('{0:1.2e}'.format(p))


5.55e-17 bar / second ** 3

In [17]:
ps = 450 * ureg.N/(ureg.m**2)
ps


Out[17]:
450.0 newton/meter2

In [19]:
ps.ito(ureg.psi)
ps


Out[19]:
0.06526698197859415 pound_force_per_square_inch

In [25]:
pr = 221e5 * ureg.lb/ureg.inch**2
pr


Out[25]:
22100000.0 pound/inch2

In [31]:
pr.ito(ureg.g/ureg.cm**2)
print('{0:1.2e}'.format(pr))


1.55e+09 gram / centimeter ** 2

In [ ]: