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.4.0.tar.gz
(38.9 kB
view details)
Built Distribution
pydims-0.4.0-py3-none-any.whl
(14.2 kB
view details)
File details
Details for the file pydims-0.4.0.tar.gz
.
File metadata
- Download URL: pydims-0.4.0.tar.gz
- Upload date:
- Size: 38.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ad0b7199a7b2a1ccabf81dacafa48bf511465bec117f728146a717d2d684a5 |
|
MD5 | c079bf275740f301619b94573e8a7bf3 |
|
BLAKE2b-256 | 97b5c559125ef3b11015ac1e094759625b1612d2ada70298384f51a122385145 |
File details
Details for the file pydims-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: pydims-0.4.0-py3-none-any.whl
- Upload date:
- Size: 14.2 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 | 83fdd2900fe193bb223f16f16201db95a937156c92f5959e3d75e7002daf0549 |
|
MD5 | 5606efae799e24960f538d7e0eb30fc6 |
|
BLAKE2b-256 | 2ccb28e992b6b2e35675d371d88660d25daf831958efd0463a13a67cb2323c11 |