unyt
Handle, manipulate, and convert data with units in Python
Handle, manipulate, and convert data with units in Python
To install this package, run one of the following:
A package for handling numpy arrays with units. Often writing code that deals with data that has units can be confusing. A function might return an array but at least with plain NumPy arrays, there is no way to easily tell what the units of the data are without somehow knowing them prior. The unyt package (pronounced like "unit") provides a subclass of NumPy's ndarray class that knows about units.
Summary
Handle, manipulate, and convert data with units in Python
Last Updated
Dec 5, 2025 at 11:23
License
BSD-3-Clause
Total Downloads
2.0K
Supported Platforms
Unsupported Platforms
GitHub Repository
https://github.com/yt-project/unytDocumentation
https://unyt.readthedocs.io