Hacker News new | past | comments | ask | show | jobs | submit login

For Python, there is the Pint library: https://pint.readthedocs.io/en/stable/



Another python alternative that work well with numpy arrays is astropy.units (also mentioned on the pint website):

https://docs.astropy.org/en/stable/units/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: