Python arrays with named dimension and physical units
Project description
PyDims
About
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
unit
attribute, which we consider central and tightly linked to the concept of an array.
Installation
python -m pip install pydims
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydims-0.6.0.tar.gz
(42.4 kB
view details)
Built Distribution
pydims-0.6.0-py3-none-any.whl
(16.7 kB
view details)
File details
Details for the file pydims-0.6.0.tar.gz
.
File metadata
- Download URL: pydims-0.6.0.tar.gz
- Upload date:
- Size: 42.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 074b3b0885f5cb4c871eae5ed84c5c88e7e958d51748cc55281c76bee6e12691 |
|
MD5 | d0362221877cccbdc412ae4679ca44d4 |
|
BLAKE2b-256 | a1ec07bec7d2c20128e17d8a88c54dd623951bc7cb178bdf59c15e5562a08b59 |
File details
Details for the file pydims-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: pydims-0.6.0-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a250cbf92aa0dc89c56e68643b62dea2d997fa10536d86d1510c1aae8736f1ef |
|
MD5 | 8f7bb074ee19a05085b98f5fdc328e68 |
|
BLAKE2b-256 | 6116a9fcea9ff9dd84f5236e5cd878c96e4ce41ca69be04f9d2e04c6aa7eb468 |