The Rune Python Runtime provides shared support for Python models and functions generated from Rune DSL, including the Common Domain Model (CDM).
The Rune Python Code Generator translates Rune models into Python packages. This runtime supplies their shared validation, JSON serialization, metadata, reference handling, and function helpers.
Python 3.11 or later is required. The runtime is normally installed as a dependency of a generated model package. To install it directly:
python -m pip install rune-runtimeStart with the runtime design overview for the generator/runtime boundary, the main components, and links to the detailed design documents.
With Python 3.11 or later and Bash available (for example, Git Bash on Windows):
git clone https://github.com/finos/rune-python-runtime.git
cd rune-python-runtime
./dev_clean_setup.shThe setup script creates .pydevenv, installs development
dependencies, and registers pre-commit hooks, including license-header checks.
Build a wheel, then run the tests against it in an isolated environment:
./build_wheel.sh
./test/run_runtime_tests.shSee build_wheel.sh and the test runner for details.
The roadmap is aligned with Rune DSL and the CDM roadmap.
- CLOUDRISK Limited, email: info@cloudrisk.co.uk
- FT Advisory LLC, email: info@ftadvisory.co
- TradeHeader SL, email: info@tradeheader.com
For questions, bug reports, or feature requests, open a GitHub issue.
Read the contribution guidelines for the contribution process and FINOS contributor license agreement requirements, and follow the Community Code of Conduct. To contribute, fork the runtime, create a branch, and submit a pull request.
You can also get in touch through FINOS Slack.
This project follows the FINOS governance framework.
Copyright 2023-2026 CLOUDRISK Limited and FT Advisory LLC
Distributed under the Apache License, Version 2.0.
SPDX-License-Identifier: Apache-2.0