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.1.0.tar.gz
(36.7 kB
view details)
Built Distribution
pydims-0.1.0-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file pydims-0.1.0.tar.gz
.
File metadata
- Download URL: pydims-0.1.0.tar.gz
- Upload date:
- Size: 36.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 | 682becb1a41890e1ed626a3649ee736789532317e459be10d6b090748ae0fe51 |
|
MD5 | ecbc60c36d5d31f5697a1baabebcc94d |
|
BLAKE2b-256 | 86ef595633a13d097c505a603dbc677281585a1e4752891b479b917211b30317 |
File details
Details for the file pydims-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pydims-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.5 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 | d11dfd8dfc7ae3dab6a65a2c97a51038e1666952d1b71876475a5ea9b26f3bb6 |
|
MD5 | 15726da25381943b803baff2a1c9b9f5 |
|
BLAKE2b-256 | 308974584817b8b41d432017c01959ae6399d9b6e943b9532111f5ba922cfa4f |