A NOMAD parser plugin for parsing json files to entries.
Project description
NOMAD's JSON Mapper plugin
This is a plugin for NOMAD which allows to create mappings from JSON into NOMAD schemas and parse the suitable JSON data files accordingly.
The plugin allows to create specific JSON files which specify the mapping of data into NOMAD schemas. These mapper files are
identified by the presence of the key json_mapper_class_key.
JSON data files are identified by the presence of the key mapped_json_class_key. If a mapper with the same key value exists, the data will be parsed into NOMAD entries according to the mapping.
Getting started
nomad-json-parser can be installed to your oasis via the steps given in here.
Setting up your OASIS
Read the NOMAD oasis documentation for details on how to add the plugin on your NOMAD instance.
You don't need to modify the nomad.yaml configuration file of your NOMAD instance, beacuse the package is pip installed and all the available modules (entry points) are loaded.
To include, instead, only some of the entry points, you need to specify them in the include section of the nomad.yaml. In the following lines, a list of all the available entry points:
plugins:
include:
- "nomad_json_parser.schema_packages:json_mapper_schema_package"
- "nomad_json_parser.parsers:json_mapper_parser"
- "nomad_json_parser.parsers:mapped_json_parser"
- "nomad_json_parser.schema_packages:example_schema_package"
- "nomad_json_parser.example_uploads:example_upload_entry_point"
Further documentation
For a detailed documentation on how this plugin works and how to create JSON mapper, please refer to the documentation.
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 nomad_json_parser-1.1.0.tar.gz.
File metadata
- Download URL: nomad_json_parser-1.1.0.tar.gz
- Upload date:
- Size: 113.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc030304272b5946aa7639bf95f2d82eb9669325dffae5c9d1108df868d52a6
|
|
| MD5 |
2420d330618edba72ec6f88e28920e9b
|
|
| BLAKE2b-256 |
a263d10a364056044934939c4f8920080e1151e73b85f5df16a3882ac105a429
|
Provenance
The following attestation bundles were made for nomad_json_parser-1.1.0.tar.gz:
Publisher:
python-publish.yml on FAIRmat-NFDI/nomad-json-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nomad_json_parser-1.1.0.tar.gz -
Subject digest:
dfc030304272b5946aa7639bf95f2d82eb9669325dffae5c9d1108df868d52a6 - Sigstore transparency entry: 667293650
- Sigstore integration time:
-
Permalink:
FAIRmat-NFDI/nomad-json-parser@16111c06345c3cc41011e2186f13f2354b8c2c23 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/FAIRmat-NFDI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@16111c06345c3cc41011e2186f13f2354b8c2c23 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nomad_json_parser-1.1.0-py3-none-any.whl.
File metadata
- Download URL: nomad_json_parser-1.1.0-py3-none-any.whl
- Upload date:
- Size: 13.9 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 |
951afa63ff80315296bda9d73d7f7e34eed117ce2528730d5bf0fd7a43443654
|
|
| MD5 |
321162e8b7243d95fdcd80fc7b1e45cb
|
|
| BLAKE2b-256 |
a33f7154ed5f3ad03b28399ecaf69ad7f2813c0834f543b837fd993cb8830d4b
|
Provenance
The following attestation bundles were made for nomad_json_parser-1.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on FAIRmat-NFDI/nomad-json-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nomad_json_parser-1.1.0-py3-none-any.whl -
Subject digest:
951afa63ff80315296bda9d73d7f7e34eed117ce2528730d5bf0fd7a43443654 - Sigstore transparency entry: 667293652
- Sigstore integration time:
-
Permalink:
FAIRmat-NFDI/nomad-json-parser@16111c06345c3cc41011e2186f13f2354b8c2c23 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/FAIRmat-NFDI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@16111c06345c3cc41011e2186f13f2354b8c2c23 -
Trigger Event:
release
-
Statement type: