pint
Operate and manipulate physical quantities in Python
Operate and manipulate physical quantities in Python
To install this package, run one of the following:
Pint is a Python package to define, operate and manipulate physical quantities: the product of a numerical value and a unit of measurement. It allows arithmetic operations between them and conversions from and to different units. It is distributed with a comprehensive list of physical units, prefixes and constants. Due to its modular design, you can extend (or even rewrite!) the complete list without changing the source code. It supports a lot of numpy mathematical operations without monkey patching or wrapping numpy.
Summary
Operate and manipulate physical quantities in Python
Last Updated
Nov 7, 2025 at 02:17
License
BSD-3-Clause
Total Downloads
4.0M
Supported Platforms
Unsupported Platforms
GitHub Repository
https://github.com/hgrecco/pintDocumentation
https://pint.readthedocs.org/