The UDUNITS package supports units of physical quantities.
anaconda login
conda install rshekhar::udunits2