Extensible interface for managing hierarchical arbitrary data storage.
Project description
Hierarchical ARbitrary Data Storage: HARDS
An API and corresponding simple filesystem implementation for managing hierarchical datasets in Python.
Installation
HARDS can be installed using pip by running:
pip install hards
Developers may wish to install HARDS from source:
git clone https://github.com/ukaea/HARDS.git
cd HARDS
pip install .
This makes the hards package (and its modules) available for importing into other Python libraries/scripts.
Examples
Examples of using hards can be found in the examples directory. To run the notebooks, install HARDS from source and ensure the examples dependencies are installed in your Python environment by running:
pip install .'[examples]'
in the root project directory.
Development
Development dependencies can be installed by running the following inside of the root project directory:
pip install .'[dev]'
You can then test the code by running:
pytest
You can lint and format the code by running:
ruff check
ruff format
Before commiting any changes, you should install the pre-commit hook by running:
pre-commit install
which will then ensure the code passes the lint and format checks before allowing the commit.
Acknowledgements
This work was funded by the EPSRC Energy Programme [grant number EP/W006839/1]. To obtain further information, please contact PublicationsManager@ukaea.uk.
License
HARDS is provided under the MIT license, please see the LICENSE file for full details.
Copyright (c) 2025 UK Atomic Energy Authority
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hards-1.0.1.tar.gz.
File metadata
- Download URL: hards-1.0.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a63724153a41607fbd1774f71d04272d32cbf239d136b7e48f11d2b5352304c
|
|
| MD5 |
550797d516bd624d978ffff114ea8268
|
|
| BLAKE2b-256 |
d7f066a2351d2d46fa815043a6bac5d057d88946ab6485448f0935d831cc25dd
|
Provenance
The following attestation bundles were made for hards-1.0.1.tar.gz:
Publisher:
pypi.yml on ukaea/HARDS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hards-1.0.1.tar.gz -
Subject digest:
0a63724153a41607fbd1774f71d04272d32cbf239d136b7e48f11d2b5352304c - Sigstore transparency entry: 682367013
- Sigstore integration time:
-
Permalink:
ukaea/HARDS@d5baf130e0d65eab87c0bc31c0e8a28d15f65a87 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/ukaea
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@d5baf130e0d65eab87c0bc31c0e8a28d15f65a87 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hards-1.0.1-py3-none-any.whl.
File metadata
- Download URL: hards-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6eb41bec39797287e1d29c4bebcb1ebb0f970eb2f14108ce6b7cf3a24546c338
|
|
| MD5 |
d4522c44b86aa134b85bbc6c8e604e50
|
|
| BLAKE2b-256 |
7e63df4690ba5060b88ffb47d7cde84394ba008d4ef7237ddd3bbf8852fb59ef
|
Provenance
The following attestation bundles were made for hards-1.0.1-py3-none-any.whl:
Publisher:
pypi.yml on ukaea/HARDS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hards-1.0.1-py3-none-any.whl -
Subject digest:
6eb41bec39797287e1d29c4bebcb1ebb0f970eb2f14108ce6b7cf3a24546c338 - Sigstore transparency entry: 682367015
- Sigstore integration time:
-
Permalink:
ukaea/HARDS@d5baf130e0d65eab87c0bc31c0e8a28d15f65a87 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/ukaea
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@d5baf130e0d65eab87c0bc31c0e8a28d15f65a87 -
Trigger Event:
release
-
Statement type: