A NOMAD plugin for heterogeneous catalysis data.
Project description
nomad-catalysis
This is a NOMAD plugin for heterogeneous catalysis data. You can find the full documentation here. For some default information about NOMAD plugins see below.
This nomad_ plugin was generated with Cookiecutter_ along with @nomad's cookiecutter-nomad-plugin template.
Install
You should create a virtual environment. You will need the nomad-lab package (and pytest).
We recommend using Python 3.11.
python3 -m venv .pyenv
source .pyenv/bin/activate
pip install --upgrade pip
pip install -e '.[dev]' --index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple
Note!
Until we have an official pypi NOMAD release with the plugins functionality. Make
sure to include NOMAD's internal package registry (e.g. via --index-url).
Testing
You can run automated tests with pytest:
pytest -svx tests
Run linting
ruff check .
Run auto-formatting
This is entirely optional. To add this as a check in github actions pipeline, uncomment the ruff-formatting step in ./github/workflows/actions.yaml.
ruff format .
Developing a NOMAD plugin
Follow the guide on how to develop NOMAD plugins.
Build the python package
The pyproject.toml file contains everything that is necessary to turn the project
into a pip installable python package. Run the python build tool to create a package distribution:
pip install build
python -m build --sdist
You can install the package with pip:
pip install dist/nomad-catalysis-0.1.0
Read more about python packages, pyproject.toml, and how to upload packages to PyPI
on the PyPI documentation.
Documentation on Github pages
To deploy documentation on Github pages, make sure to enable GitHub pages via the repo settings.
To view the documentation locally, install the documentation related packages using:
pip install -r requirements_docs.txt
Run the documentation server:
mkdocs serve
Template update
We use cruft to update the project based on template changes. A cruft-update.yml is included in Github workflows to automatically check for updates and create pull requests to apply updates. Follow the instructions on how to enable Github Actions to create pull requests.
To run the check for updates locally, follow the instructions on cruft website.
License
Distributed under the terms of the MIT_ license, "nomad-catalysis" is free and open source software.
How to cite this work
Schumann, J., Näsström, H., NOMAD Catalysis Plugin (all versions) [Computer software]. https://doi.org/10.5281/zenodo.17534066
Main contributors
| Name | |
|---|---|
| Hampus Näsström | |
| Julia Schumann |
Project details
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_catalysis-1.0.5.tar.gz.
File metadata
- Download URL: nomad_catalysis-1.0.5.tar.gz
- Upload date:
- Size: 4.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47c64133a38c08ce4630c265c650336d3f47f9f572fedaef6551bcb443c59001
|
|
| MD5 |
a754c8b894787f7f51628f2ea29240ca
|
|
| BLAKE2b-256 |
c796bc8f652d02c77f9bfa98814fe8c8d5d508e1d96ca60b0dd7b1f2755a2dac
|
Provenance
The following attestation bundles were made for nomad_catalysis-1.0.5.tar.gz:
Publisher:
python-publish.yml on FAIRmat-NFDI/nomad-catalysis-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nomad_catalysis-1.0.5.tar.gz -
Subject digest:
47c64133a38c08ce4630c265c650336d3f47f9f572fedaef6551bcb443c59001 - Sigstore transparency entry: 699348697
- Sigstore integration time:
-
Permalink:
FAIRmat-NFDI/nomad-catalysis-plugin@147685b119170b6d2b966a45e69f8fad5b288b40 -
Branch / Tag:
refs/tags/v1.0.5 - Owner: https://github.com/FAIRmat-NFDI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@147685b119170b6d2b966a45e69f8fad5b288b40 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nomad_catalysis-1.0.5-py3-none-any.whl.
File metadata
- Download URL: nomad_catalysis-1.0.5-py3-none-any.whl
- Upload date:
- Size: 84.1 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 |
c85154f1c28feaf40e8ae25ef1b78fa9e31407d5df2c66d303de5ea2afd90272
|
|
| MD5 |
2032e569952c8f7957db56a3562c79eb
|
|
| BLAKE2b-256 |
0b5ad6004c0d223838184959f26f25dc9ce090c8428a4125408d216ac31ee3ff
|
Provenance
The following attestation bundles were made for nomad_catalysis-1.0.5-py3-none-any.whl:
Publisher:
python-publish.yml on FAIRmat-NFDI/nomad-catalysis-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nomad_catalysis-1.0.5-py3-none-any.whl -
Subject digest:
c85154f1c28feaf40e8ae25ef1b78fa9e31407d5df2c66d303de5ea2afd90272 - Sigstore transparency entry: 699348711
- Sigstore integration time:
-
Permalink:
FAIRmat-NFDI/nomad-catalysis-plugin@147685b119170b6d2b966a45e69f8fad5b288b40 -
Branch / Tag:
refs/tags/v1.0.5 - Owner: https://github.com/FAIRmat-NFDI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@147685b119170b6d2b966a45e69f8fad5b288b40 -
Trigger Event:
release
-
Statement type: