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 3.0.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 rune-runtime 3.0.1
File Size Uploaded Provenance Actions
rune_runtime-3.0.1.tar.gz 106.1 kB With provenance Details for rune_runtime-3.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 149.9 kB

Release files / rune_runtime-3.0.1.tar.gz

Download URL rune_runtime-3.0.1.tar.gz
Size 106.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ddfe9f3f0511f4fb9ec0d3808a82edc20c9df7382047b92b7090f171576f9c94
BLAKE2b-256 checksum
How to use checksums
a9c3dc1cc235415b75bd581c2b9ef7fb4f3be0d21b4c994f643daa87a2d65106
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 12, 2026.

Transparency log

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

Download URL rune_runtime-3.0.1-py3-none-any.whl
Size 43.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ef5c0c94fa9d43298602df097ad1bda149941a981ade1224665075634f84d09
BLAKE2b-256 checksum
How to use checksums
be9f4e73f93c9dc089327dc1acc1cb40711e40568536a58164a3d195a8bc36dd
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 12, 2026.

Transparency log

Security for rune-runtime 3.0.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

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

Select from 2 files

Attestation for rune_runtime-3.0.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 12, 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