For those coding in Swift, there is the Physical[0] package.
[0] https://github.com/hyperjeff/Physical