Python arrays with named dimension and physical units.
Our goal is to provide a library wrapping any array library that supports the Python array API standard, adding named dimensions as well as physical units.
This is an alternative to Xarray's NamedArray.
The two main differences are
- NamedArray supports
attrs, which we think add unnecessary complexity while suffering from conceptual problems. - PyDims supports physical units via a
unitattribute, which we consider central and tightly linked to the concept of an array.
python -m pip install pydims