JEDI Configuration Builder
Project description
JEDI Configuration Builder
Repository status:
Installation
git clone https://github.com/noaa-emc/jcb
cd jcb
# Optional step if you want to run the client integration tests
./jcb_client_init.py # May first require `pip install pyyaml` if it is not available
pip install --prefix=/path/to/where/you/want/installed .
# Run the tests
pytest
Description
How to use from the command line:
jcb render dictionary_of_templates.yaml jedi_config.yaml
The below shows two examples of calling jcb from a python client. In each case you have to provide a dictionary that describes all the ways that you want to render the templates in the contained JEDI YAML files.
First jcb provides a convenient single line call passing in the dictionary of templated and getting back the dictionary. The dictionary of templates has to contain an algorithm key telling the system which JEDI algorithm you want to run.
import jcb
jedi_config_dict = jcb.render(dictionary_of_templates)
For situations where you wish to create YAML files for several algorithms using the same dictionary of templates you can access the class directly.
import jcb
jcb_obj = jcb.Renderer(dictionary_of_templates)
jedi_dict_2_a = jcb_obj.render('hofx4d')
jedi_dict_2_b = jcb_obj.render('variational')
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 jcb-0.0.5.tar.gz.
File metadata
- Download URL: jcb-0.0.5.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eecb8452a936d63f068d8f977c85c37da0b6c029e5c3a8edf821226415ae9bdd
|
|
| MD5 |
fa7f2c07f8969788c179b5333f7f89e5
|
|
| BLAKE2b-256 |
c2f836e580cb94093d8ad2e7bfc96c092e692f106dc73ed9c6c2f13bac0d6d7a
|
Provenance
The following attestation bundles were made for jcb-0.0.5.tar.gz:
Publisher:
release.yaml on NOAA-EMC/jcb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jcb-0.0.5.tar.gz -
Subject digest:
eecb8452a936d63f068d8f977c85c37da0b6c029e5c3a8edf821226415ae9bdd - Sigstore transparency entry: 1724991473
- Sigstore integration time:
-
Permalink:
NOAA-EMC/jcb@cea9eb07b4d0e3d7f2794ad458e423a06915dc39 -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/NOAA-EMC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@cea9eb07b4d0e3d7f2794ad458e423a06915dc39 -
Trigger Event:
release
-
Statement type:
File details
Details for the file jcb-0.0.5-py3-none-any.whl.
File metadata
- Download URL: jcb-0.0.5-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8d93ff7d1dbedf4b17938e67e83b3ab021f7346568e96ee963eddee4e807ee8
|
|
| MD5 |
30d42da930a7939cbd259a6f8a7840fd
|
|
| BLAKE2b-256 |
482e6884abf06be1c79967627348c30addb948fb0ff5279d6c315359a791fc0e
|
Provenance
The following attestation bundles were made for jcb-0.0.5-py3-none-any.whl:
Publisher:
release.yaml on NOAA-EMC/jcb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jcb-0.0.5-py3-none-any.whl -
Subject digest:
d8d93ff7d1dbedf4b17938e67e83b3ab021f7346568e96ee963eddee4e807ee8 - Sigstore transparency entry: 1724991601
- Sigstore integration time:
-
Permalink:
NOAA-EMC/jcb@cea9eb07b4d0e3d7f2794ad458e423a06915dc39 -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/NOAA-EMC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@cea9eb07b4d0e3d7f2794ad458e423a06915dc39 -
Trigger Event:
release
-
Statement type: