Skip to main content

nomad-north-voila

A voila web application from Jupyter Notebook.

This nomad plugin was generated with Cookiecutter along with @nomad's cookiecutter-nomad-plugin template.

Quickstart

This plugin is available in PyPI under the name nomad-north-voila. To install this plugin into a NOMAD Oasis, add the following to your pyproject.toml:

[project.optional-dependencies]
plugins = [
  "nomad-north-voila",
  ...
]

By adding this plugin, the voila NORTH tool will become available in the NORTH tools registry of the NOMAD Oasis.

By including nomad-north-voila plugin, a voila container with a specific image tag (according to the Python package version) will be available in the NORTH tools, but you can also switch to a specific nomad-north-voila image tag or different image using the nomad.yaml configuration file:

plugins:
  entry_points:
    options:
      nomad_north_voila.north_tools.voila:
        north_tool:
          image: ghcr.io/fairmat-nfdi/nomad-north-voila:<image-tag>

Development

If you want to develop locally this plugin, clone the project and in the plugin folder, create a virtual environment (you can use Python 3.10, 3.11 or 3.12):

git clone https://github.com/FAIRmat-NFDI/nomad-north-voila.git
cd nomad-north-voila
python3.11 -m venv .pyenv
. .pyenv/bin/activate

Make sure to have pip upgraded:

pip install --upgrade pip

We recommend installing uv for fast pip installation of the packages:

pip install uv

Install the nomad-lab package:

uv pip install -e '.[dev]'

Run the tests

You can run locally the tests:

python -m pytest -sv tests

where the -s and -v options toggle the output verbosity.

Our CI/CD pipeline produces a more comprehensive test report using the pytest-cov package. You can generate a local coverage report:

uv pip install pytest-cov
python -m pytest --cov=src tests

Run linting and auto-formatting

We use Ruff for linting and formatting the code. Ruff auto-formatting is also a part of the GitHub workflow actions. You can run locally:

ruff check .
ruff format . --check

Debugging

For interactive debugging of the tests, use pytest with the --pdb flag. We recommend using an IDE for debugging, e.g., VSCode. If that is the case, add the following snippet to your .vscode/launch.json:

{
  "configurations": [
      {
        "name": "<descriptive tag>",
        "type": "debugpy",
        "request": "launch",
        "cwd": "${workspaceFolder}",
        "program": "${workspaceFolder}/.pyenv/bin/pytest",
        "justMyCode": true,
        "env": {
            "_PYTEST_RAISE": "1"
        },
        "args": [
            "-sv",
            "--pdb",
            "<path-to-plugin-tests>",
        ]
    }
  ]
}

where <path-to-plugin-tests> must be changed to the local path to the test module to be debugged.

The settings configuration file .vscode/settings.json automatically applies the linting and formatting upon saving the modified file.

Documentation on Github pages

To view the documentation locally, install the related packages using:

uv pip install -r requirements_docs.txt

Run the documentation server:

mkdocs serve

Adding this plugin to NOMAD

Currently, NOMAD has two distinct flavors that are relevant depending on your role as an user:

  1. A NOMAD Oasis: any user with a NOMAD Oasis instance.
  2. Local NOMAD installation and the source code of NOMAD: internal developers.

Adding this plugin in your NOMAD Oasis

Read the NOMAD plugin documentation for all details on how to deploy the plugin on your NOMAD instance.

Adding this plugin in your local NOMAD installation and the source code of NOMAD

We now recommend using the dedicated nomad-distro-dev repository to simplify the process. Please refer to that repository for detailed instructions.

Template update

We use cruft to update the project based on template changes. To run the check for updates locally, run cruft update in the root of the project. More details see the instructions on cruft website.

Publish note

In our Python package publishing workflow, before building the package, we update the image tag in the NORTHTool entry point to the latest release version of the image (e.g., v0.1.5), and then publish the package to PyPI.

However, the updated image tag in NORTHTool is not pushed back to the GitHub repository. Therefore, the image tag in the GitHub repository always remains set to main, even when you check out a specific release tag. For this reason, we recommend installing the plugin from PyPI, where the entry point always contains the correct image tag corresponding to the release.

If you download a ZIP file of a specific release from GitHub, the image tag in the entry point will still be set to main, which is not correct. In that case, you can either manually update the image tag in the entry point to the correct release version (e.g., v0.1.5), or install the plugin directly from PyPI.

Main contributors

Name E-mail
NOMAD Authors fairmat@physik.hu-berlin.de

Metadata

Release files for nomad-north-voila 0.1.15

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-north-voila 0.1.15
File Size Uploaded
nomad_north_voila-0.1.15.tar.gz 117.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nomad-north-voila 0.1.15
File Interpreter ABI Platform
nomad_north_voila-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 136.1 kB

Release files / nomad_north_voila-0.1.15.tar.gz

Download URL nomad_north_voila-0.1.15.tar.gz
Size 117.8 kB
Tags Source
SHA-256 checksum
How to use checksums
10fe130d5fdaed84466d2eb3c9dc3e2bdbc60e4b12ef6e9e92a1eadcfafdc189
BLAKE2b-256 checksum
How to use checksums
f2f2e56efbc58b62d9329d5fb25c09136ba2f9b195e2a039a05a912373b767ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 29, 2026.

Transparency log

Release files / nomad_north_voila-0.1.15-py3-none-any.whl

Download URL nomad_north_voila-0.1.15-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cac4bbc5a34522f821653ed4e848b3dcf081d8d5b963684ff5923449a66b0282
BLAKE2b-256 checksum
How to use checksums
65a84e130ee35f2ed97940babe9bd3b6c8f65f0cf19a7949ee55997d57a16d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.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