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.7.0.tar.gz
(43.0 kB
view details)
Built Distribution
pydims-0.7.0-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file pydims-0.7.0.tar.gz
.
File metadata
- Download URL: pydims-0.7.0.tar.gz
- Upload date:
- Size: 43.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65430c39a11e70f59ac5a466e999eb663f1e3745674e6dfc471ffaefb33db01 |
|
MD5 | 53c2b1ceb6c762b98b3d31759348d4ad |
|
BLAKE2b-256 | 1079821248a753d3af13a29b26d43bcc0c30a791ef9d81bcf7d3bd7314c9a894 |
File details
Details for the file pydims-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: pydims-0.7.0-py3-none-any.whl
- Upload date:
- Size: 17.4 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 | 597679b5ce3d4f9ff1203860520be9d9466c4f52072e8f7242d9f7235a1ea931 |
|
MD5 | b11e1172b5da7a6d737386226597762e |
|
BLAKE2b-256 | 603561ed05270b7b168632e650a655de841e98d0e7a7034a3278e17537031792 |