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.2.0.tar.gz
(37.4 kB
view details)
Built Distribution
pydims-0.2.0-py3-none-any.whl
(13.6 kB
view details)
File details
Details for the file pydims-0.2.0.tar.gz
.
File metadata
- Download URL: pydims-0.2.0.tar.gz
- Upload date:
- Size: 37.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 | f567cc59f550657d1baec9fb353ebc4de30ab30c78fdecf3ee7e4d01b3e7c2f0 |
|
MD5 | 042472db8cb3df237e8d63f0d134502e |
|
BLAKE2b-256 | 3cd86ab1d4f5247d102879e0834ab504aeadcb0f6435afac4d2bc70e515e7024 |
File details
Details for the file pydims-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pydims-0.2.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 | 36ee3eeed30bcc22fd29c233ecdb65ba36d2d2096626e90c98972fc87fd1f44c |
|
MD5 | 9328405e1564c26cb0ea93fc91eb4e69 |
|
BLAKE2b-256 | ed5c7123bc2fe5647f0168593646afcc9730c71ea2946760705da30e1d425968 |