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.0.tar.gz (4.2 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.0-py3-none-any.whl (62.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nomad_catalysis-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nomad_catalysis-1.0.0.tar.gz
Algorithm Hash digest
SHA256 014f28c1dff59dfa5206862b3bbd3b816aa67a251d1e8c4d0e477fda307a8781
MD5 4e5fa09d8a8d5b3dfa3df78774d647f5
BLAKE2b-256 177befa899b4b29a30aeb583242e27289dd7f8fd823d66eb7ba7f64a1479bac2

See more details on using hashes here.

Provenance

The following attestation bundles were made for nomad_catalysis-1.0.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nomad_catalysis-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbbdd6e986a7ff0f2cd1d199774ef0cece7add24ac0e746162116f0ea67e7c6e
MD5 cfdb57741529beb677be1f874509c4ba
BLAKE2b-256 697898dfa39b0f753245ff34f9f467184639bd236dd583ca7435d6dd3dc4bf89

See more details on using hashes here.

Provenance

The following attestation bundles were made for nomad_catalysis-1.0.0-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