Skip to main content

This is a collection of NOMAD parsers for simulation codes:

Preparing code input and output file for uploading to NOMAD

An upload is basically a directory structure with files. If you have all the files locally you can just upload everything as a .zip or .tar.gz file in a single step. While the upload is in the staging area (i.e. before it is published) you can also easily add or remove files in the directory tree via the web interface. NOMAD will automatically try to choose the right parser for you files.

For each parser there is one type of file that the respective parser can recognize. We call these files mainfiles. For each mainfile that NOMAD discovers it will create an entry in the database, which users can search, view, and download. NOMAD will consider all files in the same directory as auxiliary files that also are associated with that entry. Parsers might also read information from these auxillary files. This way you can add more files to an entry, even if the respective parser/code might not use them. However, we strongly recommend to not have multiple mainfiles in the same directory. For CMS calculations, we recommend having a separate directory for each code run.

Go to the NOMAD upload page to upload files or find instructions about how to upload files from the command line.

Using the parser

You can use NOMAD's parsers and normalizers locally on your computer. You need to install NOMAD's pypi package:

pip install nomad-lab

To parse code input/output from the command line, you can use NOMAD's command line interface (CLI) and print the processing results output to stdout:

nomad parse --show-archive <path-to-file>

To parse a file in Python, you can program something like this:

import sys
from nomad.cli.parse import parse, normalize_all

# match and run the parser
archive = parse(sys.argv[1])
# run all normalizers
normalize_all(archive)

# get the 'main section' section_run as a metainfo object
section_run = archive.section_run[0]

# get the same data as JSON serializable Python dict
python_dict = section_run.m_to_dict()

Developing the parser

Create a virtual environment to install the parser in development mode:

pip install virtualenv
virtualenv -p `which python3` .pyenv
source .pyenv/bin/activate

Install NOMAD's pypi package:

pip install nomad-lab

Clone the parser project and install it in development mode:

git clone https://github.com/nomad-coe/simulation-parsers.git simulation-parsers
pip install -e simulation-parsers

Running the parser now, will use the parser's Python code from the clone project.

Metadata

Release files for nomad-parser-plugins-simulation 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nomad-parser-plugins-simulation 1.0.3
File Size Uploaded
nomad_parser_plugins_simulation-1.0.3.tar.gz 119.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nomad-parser-plugins-simulation 1.0.3
File Interpreter ABI Platform
nomad_parser_plugins_simulation-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 235.6 kB

Release files / nomad_parser_plugins_simulation-1.0.3.tar.gz

Download URL nomad_parser_plugins_simulation-1.0.3.tar.gz
Size 119.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8ab115e5e82dfd33a04b44b4080c9634551513e6e95b437667adf8d3d1d4ea71
BLAKE2b-256 checksum
How to use checksums
c1b01629e45b3acf4dd357aea5cbb37982ecc282c20f3c675e9bda3d3e4b1b9f
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 Oct 30, 2025.

Transparency log

Release files / nomad_parser_plugins_simulation-1.0.3-py3-none-any.whl

Download URL nomad_parser_plugins_simulation-1.0.3-py3-none-any.whl
Size 115.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6c39c9ba00b8ba60a1d1da179b26ca4750ea5c1a8b1cb9a9eb2efb94b8bf246
BLAKE2b-256 checksum
How to use checksums
c03d4d619041cda0aee214a6080ecc30f2ff7107ca9d3945b1c50c610d2f57f5
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 Oct 30, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page