Skip to main content

simrun: simulation workflows on a k3s cluster

CI-CD Documentation Version Python Versions MIT License DOI

simrun runs simulation workflows on a small cluster of servers with k3s, Argo Workflows and Kueue. People and agents submit a workflow of tasks together with the working trees of their model and libraries, uncommitted changes included, and get a run id at once; the run is queued, placed, executed and recorded without the submitter staying connected.

Features include

  • workflows - YAML files of tasks of task types from plugins, which read the output ports of other tasks
  • split tasks - the units of a task (the repeats of a fit, the points of a scan) spread over the idle servers and are taken back by runs of a higher priority, with results which do not depend on the split
  • priorities - the owner of the cluster and the owner's agents first, then the other people, then their agents, with preemption by Kueue and reservations of nodes
  • learned resources - the memory of a pod is learned from earlier runs, a pod killed for memory is retried with more
  • snapshots and environments - the working trees are snapshotted into a shared run store, the third party dependencies are locked and built into an image only when they change
  • for people and agents - a command line, an HTTP API and an MCP server to submit, follow, compare and cancel runs
simrun submit fit.yaml --source model=~/git/pkdb_models --source sbmlsim=~/git/sbmlsim --group hctz
simrun wait <run>
simrun compare <run> <run>

Without a cluster the same workflow runs on this machine, with the web app, see local mode:

pip install simrun
simrun submit fit.yaml --source model=. --local
simrun outputs <run> <task> --to results

The documentation is available at https://matthiaskoenig.github.io/simrun: installation, concepts, workflows, command line, local mode, agents and MCP, plugins, service, cluster deployment and development.

If you have any questions or issues please open an issue.

Installation

pip install simrun

The package is the wheel of the binaries of simrun (the command line simrun, the MCP server simrun-mcp, the services and the harness of the pods, written in Rust) with the python package with which python task types are written. It needs python 3.14 or newer and runs on Linux; Windows is not supported (use WSL 2), see Installation.

The core of simrun for web pages, the validation and the estimate of a workflow compiled to WebAssembly and the browser backend which runs a workflow of WebAssembly units in web workers, is the npm package simrun-core, see the package simrun-core:

npm install simrun-core

How to cite

If you use simrun please cite the archived software on Zenodo:

König, M. simrun: a runner of simulation workflows on a k3s cluster. Zenodo. https://doi.org/10.5281/zenodo.24035618

This DOI stands for every version of simrun; the DOI of a single version is on its Zenodo page. The metadata of the citation are in CITATION.cff.

License

simrun is licensed under the MIT License.

Funding

Matthias König is supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (LiSyM, grant number 031L0054) and by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151 QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach) by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA). Matthias König has received funds from the EOSCsecretariat.eu which has received funding from the European Union's Horizon Programme call H2020-INFRAEOSC-05-2018-2019, grant Agreement number 831644.

© 2026 Matthias König

Metadata

Release files for simrun 0.6.1

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

Source distribution (sdist)

Source distribution for simrun 0.6.1
File Size Uploaded Provenance Actions
simrun-0.6.1.tar.gz 1.7 MB With provenance Details for simrun-0.6.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for simrun 0.6.1
File Actions
simrun-0.6.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for simrun-0.6.1-py3-none-musllinux_1_2_x86_64.whl
simrun-0.6.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for simrun-0.6.1-py3-none-musllinux_1_2_aarch64.whl
simrun-0.6.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for simrun-0.6.1-py3-none-manylinux_2_28_x86_64.whl
simrun-0.6.1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for simrun-0.6.1-py3-none-manylinux_2_28_aarch64.whl
simrun-0.6.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for simrun-0.6.1-py3-none-macosx_11_0_arm64.whl
simrun-0.6.1-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for simrun-0.6.1-py3-none-macosx_10_12_x86_64.whl

Total release size: 317.7 MB

Release files / simrun-0.6.1.tar.gz

Download URL simrun-0.6.1.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
915aea31712bf9ad6277ed8e3ace4071815657ac2743e09e9707dda363b5dd41
BLAKE2b-256 checksum
How to use checksums
3c421f49747507fe26f9a131dbc615d9a2d5f912b00b163bf208963f951cdce5
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 Nov 30, 2026.

Transparency log

Release files / simrun-0.6.1-py3-none-musllinux_1_2_x86_64.whl

Download URL simrun-0.6.1-py3-none-musllinux_1_2_x86_64.whl
Size 56.8 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5e2f843220bc07ee752aa98fcbb2d7b1951bb9b754e9ed0af5afaca8f9588d58
BLAKE2b-256 checksum
How to use checksums
5a6cb423a432e6283dcfee5f61d810b18d3d8f6e70a58b67c70f16e9af4caa46
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 Nov 30, 2026.

Transparency log

Release files / simrun-0.6.1-py3-none-musllinux_1_2_aarch64.whl

Download URL simrun-0.6.1-py3-none-musllinux_1_2_aarch64.whl
Size 50.0 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a0fc1d69830f58f3b895a2e38c13e36458a4c45b0d6da7451b11b7cf30a493b1
BLAKE2b-256 checksum
How to use checksums
cd9025f65cab9992d1421940f4427b9b0245d96bc3db22495ac25a851789217e
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 Nov 30, 2026.

Transparency log

Release files / simrun-0.6.1-py3-none-manylinux_2_28_x86_64.whl

Download URL simrun-0.6.1-py3-none-manylinux_2_28_x86_64.whl
Size 57.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b39b6a150958da67cabd6191c7fb0b3e2999f618e5e9590038aff5e6569c9d8a
BLAKE2b-256 checksum
How to use checksums
a5310d0fd7b3501ce38d802d73498d600810997c3543ed511382458194fcc1ad
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 Nov 30, 2026.

Transparency log

Release files / simrun-0.6.1-py3-none-manylinux_2_28_aarch64.whl

Download URL simrun-0.6.1-py3-none-manylinux_2_28_aarch64.whl
Size 50.3 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
ffebc2ebbb30b87e6e7951e4d1b7fbd9e7dd77911c014656a7cf6a5c4af02520
BLAKE2b-256 checksum
How to use checksums
186cc8f2fef952dc3759cd50c2ccab0955090b111723d910b6fe881bca9dfa3c
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 Nov 30, 2026.

Transparency log

Release files / simrun-0.6.1-py3-none-macosx_11_0_arm64.whl

Download URL simrun-0.6.1-py3-none-macosx_11_0_arm64.whl
Size 48.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dfe91bc6a345fd8404acad04580602c7075a85f3e5b3cc92bdbf68e67ff977d0
BLAKE2b-256 checksum
How to use checksums
016b7a13894a4b88a5e3d903dbe492032e0bad1f7620b1c91c1f165fca86212b
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 Nov 30, 2026.

Transparency log

Release files / simrun-0.6.1-py3-none-macosx_10_12_x86_64.whl

Download URL simrun-0.6.1-py3-none-macosx_10_12_x86_64.whl
Size 53.6 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
2c34c8c1aa60b90674e95e1e1928879c6b6bf67cdaff45817b89aeb5c81eb135
BLAKE2b-256 checksum
How to use checksums
7627b7cb2e85f33c742f44be1e1925bdb26f6157be6c2f6837a34b9965202f93
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 Nov 30, 2026.

Transparency log

Security for simrun 0.6.1

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

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for simrun-0.6.1.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 Nov 30, 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.

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