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.3.0.tar.gz
(37.7 kB
view details)
Built Distribution
pydims-0.3.0-py3-none-any.whl
(13.6 kB
view details)
File details
Details for the file pydims-0.3.0.tar.gz
.
File metadata
- Download URL: pydims-0.3.0.tar.gz
- Upload date:
- Size: 37.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26cb7f85d8f4d24eefc76656a21c31f77f31be9685248026b1d136b00ef06d7f |
|
MD5 | 4b5f10a5fcc0175fe5ece02e10683f3a |
|
BLAKE2b-256 | 319ada58021521f71a3066ed7cb14e54809555cf3c52b5a5e7806b538e1a7ae2 |
File details
Details for the file pydims-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pydims-0.3.0-py3-none-any.whl
- Upload date:
- Size: 13.6 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 | 4a5fe7dd980fb3b55ae3311706706bec0f2a0906af0e782c3f4ed60a26e2a2bc |
|
MD5 | 3f4f88d3636f1078195c86ff3b7e67f2 |
|
BLAKE2b-256 | b1cf8e45faae54e747f8582d3719319dc8b9e0ae592282ab8e9876c8a8503f9f |