Dataclasses for the pyiron workflow framework
Project description
Dataclasses for pyiron
The pyiron_dataclasses
module provides a series of dataclasses
for the pyiron
workflow framework. It can load HDF5 files created by pyiron_atomistics
and read the content stored
in those files, without depending on pyiron_atomistics
. Furthermore, it is not fixed to a single version of
pyiron_atomistics
but rather matches multiple versions of pyiron_atomistics
to the same API version of
pyiron_dataclasses
.
Usage
Using the get_dataclass()
function of the built-in converter:
from h5io_browser import read_dict_from_hdf
from pyiron_dataclasses.v1.converter import get_dataclass
job_classes = get_dataclass(
job_dict=read_dict_from_hdf(
file_name=job.project_hdf5.file_name,
h5_path="/",
recursive=True,
slash='ignore',
)[job.job_name]
)
job_classes
Supported Versions
Version 1 - v1
Supported versions of pyiron_atomistics
:
0.6.13
0.6.12
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
File details
Details for the file pyiron_dataclasses-0.0.1.tar.gz
.
File metadata
- Download URL: pyiron_dataclasses-0.0.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23270dc5825b433da32d8716de49ca70514142b85fc1b2aaa93afd05bc4b7e91 |
|
MD5 | 1f4a526c1d9525646e45b1a9a2bcbc85 |
|
BLAKE2b-256 | 787a0a5de72c516117b0a721f6a7d0ade8709e5baecca3c9da3a576893e054a3 |
File details
Details for the file pyiron_dataclasses-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyiron_dataclasses-0.0.1-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07af81fe503ab4d8e502cbd0951cff3f72a576a1bc710b6ce6f779ed9a544269 |
|
MD5 | 411794d8c5446dcff49cc868f43372ed |
|
BLAKE2b-256 | b6f88b85bee1a84fe6d19697c2cd461444b468f9bc3923c1a6471301282749d0 |