Skip to main content

Simvue Python client


Simvue

Collect metadata, metrics and artifacts from simulations, processing and AI/ML training tasks running on any platform, in real time.

Configuration

The service URL and token can be defined as environment variables:

export SIMVUE_URL=...
export SIMVUE_TOKEN=...

or a file simvue.toml can be created containing:

[server]
url = "..."
token = "..."

The exact contents of both of the above options can be obtained directly by clicking the Create new run button on the web UI. Note that the environment variables have preference over the config file.

Usage example

from simvue import Run

...

if __name__ == "__main__":
    ...

    # Using a context manager means that the status will be set to completed automatically,
    # and also means that if the code exits with an exception this will be reported to Simvue
    with Run() as run:
        # Specify a run name, metadata (dict), tags (list), description, folder
        run.init(
            "example-run-name",
            {
                "learning_rate": 0.001,
                "training_steps": 2000,
                "batch_size": 32,
            },  # Metadaata
            ["tensorflow"],  # Tags
            "This is a test.",  # Description
            "/Project-A/part1",
        )  # Folder full path

        # Set folder details if necessary
        run.set_folder_details(
            "/Project-A/part1",  # Folder full path
            metadata={},  # Metadata
            tags=["tensorflow"],  # Tags
            description="This is part 1 of a test",
        )  # Description

        # Upload the code
        run.save_file("training.py", "code")

        # Upload an input file
        run.save_file("params.in", "input")

        # Add an alert (the alert definition will be created if necessary)
        run.create_metric_threshold_alert(
            name="loss-too-high",  # Name
            rule="is above",  # Rule
            metric="loss",  # Metric
            frequency=1,  # Frequency
            window=1,  # Window
            threshold=10,  # Threshold
            notification="email",  # Notification type
        )

        ...

        while not converged:
            ...

            # Send metrics inside main application loop
            run.log_metrics({"loss": 0.5, "density": 34.4})

            ...

        # Upload an output file
        run.save_file("output.cdf", "output")

        # If we weren't using a context manager we'd need to end the run
        # run.close()

License

Released under the terms of the Apache 2 license.

Metadata

Release files for simvue 2.6.2

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

Source distribution (sdist)

Source distribution for simvue 2.6.2
File Size Uploaded Provenance Actions
simvue-2.6.2.tar.gz 585.2 kB With provenance Details for simvue-2.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simvue 2.6.2
File Interpreter ABI Platform Actions
simvue-2.6.2-py3-none-any.whl Python 3 none any Details for simvue-2.6.2-py3-none-any.whl

Total release size: 769.6 kB

Release files / simvue-2.6.2.tar.gz

Download URL simvue-2.6.2.tar.gz
Size 585.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c5c521f4b2b8e17a948ed11312e8b238f603b15e7d2b28d20ae0cc8f3d3d6df9
BLAKE2b-256 checksum
How to use checksums
17368a701b331cb48df97e5c5dfeb10c9f5a890246524c8b9dfe8221093927c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Release files / simvue-2.6.2-py3-none-any.whl

Download URL simvue-2.6.2-py3-none-any.whl
Size 184.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
489ca9a27e0a2f66d04fe4e456683b236b607f58b110c41bf210e83f9146853b
BLAKE2b-256 checksum
How to use checksums
5530c708133761e394c203b94d1ffaadaf88174906b38b6b29e64f0d30e953fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Security for simvue 2.6.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for simvue-2.6.2.tar.gz

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 Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.6.2 This release

2 release files Full provenance

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