Skip to main content

A NOMAD plugin for heterogeneous catalysis data.

Project description

nomad plugin logo

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.

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

nomad_catalysis-1.0.3.tar.gz (4.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nomad_catalysis-1.0.3-py3-none-any.whl (83.8 kB view details)

Uploaded Python 3

File details

Details for the file nomad_catalysis-1.0.3.tar.gz.

File metadata

  • Download URL: nomad_catalysis-1.0.3.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

Hashes for nomad_catalysis-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e796570865712fec63a7ce94c0e45bd4366089a5a6656d74c47a22ed374a59a3
MD5 9d44a0139470cb8aa3f1a78e8eadd69b
BLAKE2b-256 f3e7ff3ff3a4966af38af802932dbc9e2f851c2b7dcbf68a9491de1fff194c20

See more details on using hashes here.

Provenance

The following attestation bundles were made for nomad_catalysis-1.0.3.tar.gz:

Publisher: python-publish.yml on FAIRmat-NFDI/nomad-catalysis-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nomad_catalysis-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nomad_catalysis-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78346bf895c43c97710cb4a27e8b5dbefe4bbf86f71c65a74d25f5100adbf1d3
MD5 517641c80bc54c3d4e51504c64fd0f6c
BLAKE2b-256 7795e680253312a0904df93670084ebee808f30fe6bbd9282bcce28d5a93f06a

See more details on using hashes here.

Provenance

The following attestation bundles were made for nomad_catalysis-1.0.3-py3-none-any.whl:

Publisher: python-publish.yml on FAIRmat-NFDI/nomad-catalysis-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page