Skip to main content

FINOS - Incubating Run Unit Tests OpenSSF Best PracticesPython CI

Rune Python Runtime

Rune Python Runtime - the runtime supports and is an integral part of Python code generated from a Rune DSL defined model. Rune DSL is a Domain-Specific Language used to model Financial Markets activities including the Common Domain Model (CDM).

The Rune Python Runtime is used in collaboration with the Rune Python Code Generator to translate a Rune DSL model into a fully usable Python package.

Installation

The runtime is not generally installed on a stand alone basis but rather comes as part of a generated package such as CDM. However, pip install rune-runtime would install it from PyPi.

Development setup

Setup for developers

This guide is meant for everyone who wants to contribute to the Rune Python Runtime and needs to get things up and running.

1. Clone the Project

Start by cloning the project: git clone https://github.com/regnosys/rune-python-generator

2. Setup the Development Environment

Use dev_clean_setup.sh to setup a development environment.

./dev_clean_setup.sh

This script installs all dev dependencies and registers the pre-commit hooks, including the license-header check. Every .py file under src/ and test/ must carry the Apache 2.0 SPDX header:

# Copyright (c) 2023-2026 CLOUDRISK Limited and FT Advisory LLC
# SPDX-License-Identifier: Apache-2.0

To add missing headers to all files at any time, run:

src/license/apply_headers.sh

3. Build

Use build_wheel.sh to build the package

./build_wheel.sh

To run the unit tests:

test/run_runtime_tests.sh

Roadmap

The Roadmap will be aligned to the Rune DSL and CDM roadmaps.

In addition, the intention is to make future releases available at PyPi

Contributors

Contributing

For any questions, bugs or feature requests please open an issue For anything else please send an email to {project mailing list}.

To submit a contribution:

  1. Fork it (https://github.com/regnosys/rune-python-runtime/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Read our contribution guidelines and Community Code of Conduct
  4. Commit your changes (git commit -am 'Add some fooBar')
  5. Push to the branch (git push origin feature/fooBar)
  6. Create a new Pull Request

NOTE: Commits and pull requests to FINOS repositories will only be accepted from those contributors with an active, executed Individual Contributor License Agreement (ICLA) with FINOS OR who are covered under an existing and active Corporate Contribution License Agreement (CCLA) executed with FINOS. Commits from individuals not covered under an ICLA or CCLA will be flagged and blocked by the FINOS Clabot tool (or EasyCLA). Please note that some CCLAs require individuals/employees to be explicitly named on the CCLA.

Need an ICLA? Unsure if you are covered under an existing CCLA? Email help@finos.org

Get in touch with the Rune Python Runtime Team

Get in touch with the Rune team by creating a GitHub issue and labelling it with "help wanted".

We encourage the community to get in touch via the FINOS Slack.

Governance

This project implements https://community.finos.org/docs/governance/#open-source-software-projects

License

Copyright 2023-2025 CLOUDRISK Limited and FT Advisory LLC

Distributed under the Apache License, Version 2.0.

SPDX-License-Identifier: Apache-2.0

Metadata

Release files for rune-runtime 2.2.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 rune-runtime 2.2.2
File Size Uploaded Provenance Actions
rune_runtime-2.2.2.tar.gz 74.7 kB With provenance Details for rune_runtime-2.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rune-runtime 2.2.2
File Interpreter ABI Platform Actions
rune_runtime-2.2.2-py3-none-any.whl Python 3 none any Details for rune_runtime-2.2.2-py3-none-any.whl

Total release size: 111.1 kB

Release files / rune_runtime-2.2.2.tar.gz

Download URL rune_runtime-2.2.2.tar.gz
Size 74.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c5b05f10a8f572dead3fe09c5c53fd8a52f4d67b8243a020aee6b706aeb175da
BLAKE2b-256 checksum
How to use checksums
5d157703fb078a3e662bd8ec8fe9fb56a2b14c5ec3f9fc61e4d27f2df20dcc0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 15, 2026.

Transparency log

Release files / rune_runtime-2.2.2-py3-none-any.whl

Download URL rune_runtime-2.2.2-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9354967f5245b2bc50505161226a35fc78af0ea6a9e0704c359c79f8d84826f4
BLAKE2b-256 checksum
How to use checksums
64e0c87dc66eb20f4269a268bb7026a31f948eb7ee8dcdae83ffff9f61b1d8e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 15, 2026.

Transparency log

Security for rune-runtime 2.2.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 rune_runtime-2.2.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 15, 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