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
Metadata
Release files for hards 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hards-1.0.1.tar.gz | 11.7 kB | With provenance | Details for hards-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hards-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for hards-1.0.1-py3-none-any.whl |
Total release size: 20.9 kB
Release files / hards-1.0.1.tar.gz
| Download URL | hards-1.0.1.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a63724153a41607fbd1774f71d04272d32cbf239d136b7e48f11d2b5352304c
|
|
BLAKE2b-256 checksum How to use checksums |
d7f066a2351d2d46fa815043a6bac5d057d88946ab6485448f0935d831cc25dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2025.
Transparency logRelease files / hards-1.0.1-py3-none-any.whl
| Download URL | hards-1.0.1-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6eb41bec39797287e1d29c4bebcb1ebb0f970eb2f14108ce6b7cf3a24546c338
|
|
BLAKE2b-256 checksum How to use checksums |
7e63df4690ba5060b88ffb47d7cde84394ba008d4ef7237ddd3bbf8852fb59ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2025.
Transparency logSecurity for hards 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hards-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.