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.5.0.tar.gz
(39.8 kB
view details)
Built Distribution
pydims-0.5.0-py3-none-any.whl
(14.6 kB
view details)
File details
Details for the file pydims-0.5.0.tar.gz
.
File metadata
- Download URL: pydims-0.5.0.tar.gz
- Upload date:
- Size: 39.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4dad0800d037382db6bd77113d8246cd012473d6ce1d1f4974de5217e97823a |
|
MD5 | 3a5604607ec4f695099f7fea6cf4a305 |
|
BLAKE2b-256 | 76dfc72061a1770f6e2ae25d109a268e8a75a367ac8c004f71d201fcaaa7e16e |
File details
Details for the file pydims-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: pydims-0.5.0-py3-none-any.whl
- Upload date:
- Size: 14.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 | 48addfb435119330df0a461cb41f0b841e9f9e158cdbed16c95645fc2977e52b |
|
MD5 | 85350f655e5459c6514079aa0448b23c |
|
BLAKE2b-256 | 23cb45d7ead994dfff26bd5b2ed98ea058f4eac9fc32676b10f91ee128164c38 |