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.2.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.2-py3-none-any.whl (83.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nomad_catalysis-1.0.2.tar.gz
  • Upload date:
  • Size: 4.6 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.2.tar.gz
Algorithm Hash digest
SHA256 b57cc7756e6f8de83b1a98c95030b093f75948ef760364b2ed6c57c435bac8c3
MD5 58eaa77a6231fcf90477eb4723f788f0
BLAKE2b-256 1c1b48a0165be40cadb5b4116bca3262b0b68b6c3a8d40e06625b5144c496ac4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for nomad_catalysis-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ad0fb1aab7fc3039d02318bb44f13e0ce4608ba76d286e204a31bd192558352
MD5 b6d9d9c178fefc9ed89e42eea752ff40
BLAKE2b-256 6753d522b68b351cebba245ffa4dfa4d18daac635ef74b71d636e88510cd76ef

See more details on using hashes here.

Provenance

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