Skip to main content

festim-gui

GUI for FESTIM

License

This library is OpenSource and follow the MIT License

Installation

Install the application/library

pip install festim-gui

Run the application

festim-gui

Simulation runs

The Run page uses FESTIM_GUI_PYTHON to execute generated scripts, falling back to the interpreter running festim-gui. The Docker image configures this variable automatically. Outside Docker, install festim in the active environment or set the variable to an interpreter that provides it.

Simulation working directories are created under the system temporary directory (e.g. /tmp).

Each run gets its own temporary directory containing the generated script, a run.log file, and any simulation outputs written by the script.

Development setup

We recommend using uv for setting up and managing a virtual environment for your development.

# Create venv and install all dependencies
uv sync --all-extras --dev

# Activate environment
source .venv/bin/activate

# Install commit analysis
pre-commit install
pre-commit install --hook-type commit-msg

For running tests and checks, you can run nox.

# run all
nox

# lint
nox -s lint

# tests
nox -s tests

Docker

Build the Docker image from the repository root:

docker build -t festim-gui .

Run the image and expose it on port 8080:

docker run -it --rm -p 8080:80 festim-gui

For development, you can mount the source code into the container:

docker run -it --rm -p 8080:80 -v .:/local-app festim-gui

Then open http://localhost:8080/ in your browser.

The Docker image includes festim, so Run page executions work inside the container without any extra local FESTIM installation.

Docker setup files are located under setup/.

GPU support

The post-processing view can render either on the client or on the server:

  • Local rendering (default) – geometry is sent to the browser and rendered in browser. No GPU is needed on the server.

  • Remote rendering (GPU) – ParaView renders on the server and streams images to the browser. This requires a GPU available to the process, and is enabled with the --gpu flag.

The Docker image exposes both modes as separate apps, declared in setup/apps.yml:

  • http://localhost:8080/index.html – default app, local rendering.

  • http://localhost:8080/gpu.html – same app launched with --gpu, remote rendering.

Running the container with GPUs

Install the NVIDIA Container Toolkit on the host, then pass the GPUs to the container with --gpus:

docker run -it --rm --gpus all -p 8080:80 festim-gui

Then open http://localhost:8080/gpu.html in your browser.

Professional Support

  • Training: Learn how to confidently use trame from the expert developers at Kitware.

  • Support: Our experts can assist your team as you build your web application and establish in-house expertise.

  • Custom Development: Leverage Kitware’s 25+ years of experience to quickly build your web application.

Metadata

Release files for festim-gui 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for festim-gui 1.3.0
File Size Uploaded
festim_gui-1.3.0.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for festim-gui 1.3.0
File Interpreter ABI Platform
festim_gui-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 62.7 kB

Release files / festim_gui-1.3.0.tar.gz

Download URL festim_gui-1.3.0.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4ee3a372756b3651ff335342eaabe2643eb74e0b44bba2041ae493064f1dffb9
BLAKE2b-256 checksum
How to use checksums
9a50903901be3473c8f8a44f04561c304e527820ba7fee1f71b31b841da15f9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 28, 2026.

Transparency log

Release files / festim_gui-1.3.0-py3-none-any.whl

Download URL festim_gui-1.3.0-py3-none-any.whl
Size 38.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0914a34b8af5db0d66282475c42e6cf03a6e9213b11287c0b6a51e9ec73dae1e
BLAKE2b-256 checksum
How to use checksums
d4594ece36821833dfd77f6cef6808a93d8002143bdbf594484653a2bb1a57bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.0 This release

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