rune-runtime 1.0.20__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. rune_runtime-1.0.20/.github/CODE_OF_CONDUCT.md +3 -0
  2. rune_runtime-1.0.20/.github/ISSUE_TEMPLATE/Bug_report.md +24 -0
  3. rune_runtime-1.0.20/.github/ISSUE_TEMPLATE/Feature_request.md +17 -0
  4. rune_runtime-1.0.20/.github/ISSUE_TEMPLATE/Support_question.md +11 -0
  5. rune_runtime-1.0.20/.github/ISSUE_TEMPLATE/meeting-minutes.md +51 -0
  6. rune_runtime-1.0.20/.github/workflows/build-python-package.yml +38 -0
  7. rune_runtime-1.0.20/.github/workflows/cve-scanning-python.yml +19 -0
  8. rune_runtime-1.0.20/.github/workflows/license-scanning-python.yml +29 -0
  9. rune_runtime-1.0.20/.github/workflows/release.yml +34 -0
  10. rune_runtime-1.0.20/.github/workflows/run-tests.yml +66 -0
  11. rune_runtime-1.0.20/.gitignore +29 -0
  12. rune_runtime-1.0.20/.vscode/launch.json +15 -0
  13. rune_runtime-1.0.20/.vscode/settings.json +7 -0
  14. rune_runtime-1.0.20/CONTRIBUTING.md +55 -0
  15. rune_runtime-1.0.20/EASYCLA_CHANGEME.md +5 -0
  16. rune_runtime-1.0.20/LICENSE +201 -0
  17. rune_runtime-1.0.20/LICENSE.spdx +7 -0
  18. rune_runtime-1.0.20/NOTICE +5 -0
  19. rune_runtime-1.0.20/PKG-INFO +135 -0
  20. rune_runtime-1.0.20/README.md +101 -0
  21. rune_runtime-1.0.20/build_wheel.sh +23 -0
  22. rune_runtime-1.0.20/dev_clean_setup.sh +36 -0
  23. rune_runtime-1.0.20/docs/home.md +9 -0
  24. rune_runtime-1.0.20/netlify.toml +2 -0
  25. rune_runtime-1.0.20/pyproject.toml +51 -0
  26. rune_runtime-1.0.20/renovate.json +6 -0
  27. rune_runtime-1.0.20/safety-policy.yml +4 -0
  28. rune_runtime-1.0.20/setup.cfg +4 -0
  29. rune_runtime-1.0.20/src/rune/runtime/__init__.py +5 -0
  30. rune_runtime-1.0.20/src/rune/runtime/base_data_class.py +407 -0
  31. rune_runtime-1.0.20/src/rune/runtime/conditions.py +57 -0
  32. rune_runtime-1.0.20/src/rune/runtime/func_proxy.py +72 -0
  33. rune_runtime-1.0.20/src/rune/runtime/metadata.py +656 -0
  34. rune_runtime-1.0.20/src/rune/runtime/object_registry.py +17 -0
  35. rune_runtime-1.0.20/src/rune/runtime/py.typed +0 -0
  36. rune_runtime-1.0.20/src/rune/runtime/utils.py +387 -0
  37. rune_runtime-1.0.20/src/rune/runtime/version.py +24 -0
  38. rune_runtime-1.0.20/src/rune_runtime.egg-info/PKG-INFO +135 -0
  39. rune_runtime-1.0.20/src/rune_runtime.egg-info/SOURCES.txt +61 -0
  40. rune_runtime-1.0.20/src/rune_runtime.egg-info/dependency_links.txt +1 -0
  41. rune_runtime-1.0.20/src/rune_runtime.egg-info/requires.txt +9 -0
  42. rune_runtime-1.0.20/src/rune_runtime.egg-info/top_level.txt +1 -0
  43. rune_runtime-1.0.20/test/cdm/EUR-Vanilla-account.json +476 -0
  44. rune_runtime-1.0.20/test/cdm/test_create_irs.py +127 -0
  45. rune_runtime-1.0.20/test/cdm/test_trade_creation.py +60 -0
  46. rune_runtime-1.0.20/test/cdm/test_validation.py +23 -0
  47. rune_runtime-1.0.20/test/run_runtime_tests.sh +24 -0
  48. rune_runtime-1.0.20/test/serializer-round-trip/test_basic.py +127 -0
  49. rune_runtime-1.0.20/test/serializer-round-trip/test_conditions.py +28 -0
  50. rune_runtime-1.0.20/test/serializer-round-trip/test_enumtype.py +59 -0
  51. rune_runtime-1.0.20/test/serializer-round-trip/test_extension.py +126 -0
  52. rune_runtime-1.0.20/test/serializer-round-trip/test_metakey.py +256 -0
  53. rune_runtime-1.0.20/test/serializer-round-trip/test_metalocation.py +37 -0
  54. rune_runtime-1.0.20/test/serializer-round-trip/test_metascheme.py +58 -0
  55. rune_runtime-1.0.20/test/test_basic_types_with_meta.py +369 -0
  56. rune_runtime-1.0.20/test/test_complex_types_with_meta.py +69 -0
  57. rune_runtime-1.0.20/test/test_deep_keys_and_references.py +72 -0
  58. rune_runtime-1.0.20/test/test_keys_and_references.py +322 -0
  59. rune_runtime-1.0.20/test/test_operations.py +212 -0
  60. rune_runtime-1.0.20/test/test_parametrized_basic_types.py +77 -0
  61. rune_runtime-1.0.20/test/test_rune_parent.py +195 -0
  62. rune_runtime-1.0.20/test/test_rune_str.py +31 -0
  63. rune_runtime-1.0.20/test/test_zoned_date_time.py +33 -0
@@ -0,0 +1,3 @@
1
+ # Code of Conduct for {project name}
2
+
3
+ Please see the [Community Code of Conduct](https://www.finos.org/code-of-conduct).
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: 🐛 Bug Report
3
+ about: If something isn't working as expected 🤔.
4
+
5
+ ---
6
+
7
+ ## Bug Report
8
+
9
+ ### Steps to Reproduce:
10
+ 1. ...step 1 description...
11
+ 2. ...step 2 description...
12
+ 3. ...step 3 description...
13
+
14
+ ### Expected Result:
15
+ ...description of what you expected to see...
16
+
17
+ ### Actual Result:
18
+ ...what actually happened, including full exceptions (please include the entire stack trace, including "caused by" entries), log entries, screen shots etc. where appropriate...
19
+
20
+ ### Environment:
21
+ ...version and build of the project, OS and runtime versions, virtualised environment (if any), etc. ...
22
+
23
+ ### Additional Context:
24
+ ...add any other context about the problem here. If applicable, add screenshots to help explain...
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: 🚀 Feature Request
3
+ about: I have a suggestion (and may want to implement it 🙂)!
4
+
5
+ ---
6
+
7
+ ## Feature Request
8
+
9
+ ### Description of Problem:
10
+ ...what *problem* are you trying to solve that the project doesn't currently solve?
11
+
12
+ ...please resist the temptation to describe your request in terms of a solution. Job Story form ("When [triggering condition], I want to [motivation/goal], so I can [outcome].") can help ensure you're expressing a problem statement.
13
+
14
+ ### Potential Solutions:
15
+ ...clearly and concisely describe what you want to happen. Add any considered drawbacks.
16
+
17
+ ... if you've considered alternatives, clearly and concisely describe those too.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: 🤗 Support Question
3
+ about: If you have a question about configuration, usage, etc. 💬
4
+
5
+ ---
6
+
7
+ ## Support Question
8
+
9
+ ...ask your question here.
10
+
11
+ ...be sure to search existing issues since someone might have already asked something similar.
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: "\U0001F91D {project name} Meeting Minutes"
3
+ about: To track {project name} meeting agenda and attendance
4
+ title: DD MMM YYYY - {project name} Meeting Minutes
5
+ labels: meeting
6
+ assignees:
7
+
8
+ ---
9
+
10
+
11
+ ## Date
12
+ YYYYMMDD - time
13
+
14
+ ## Untracked attendees
15
+ - Fullname, Affiliation, (optional) GitHub username
16
+ - ...
17
+
18
+ ## Meeting notices
19
+ - FINOS **Project leads** are responsible for observing the FINOS guidelines for [running project meetings](https://community.finos.org/docs/governance/meeting-procedures/). Project maintainers can find additional resources in the [FINOS Maintainers Cheatsheet](https://community.finos.org/docs/finos-maintainers-cheatsheet).
20
+
21
+ - **All participants** in FINOS project meetings are subject to the [LF Antitrust Policy](https://www.linuxfoundation.org/antitrust-policy/), the [FINOS Community Code of Conduct](https://community.finos.org/docs/governance/code-of-conduct) and all other [FINOS policies](https://community.finos.org/docs/governance/#policies).
22
+
23
+ - FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact legal@finos.org with any questions.
24
+
25
+ - FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.
26
+
27
+ ## Agenda
28
+ - [ ] Convene & roll call (5mins)
29
+ - [ ] Display [FINOS Antitrust Policy summary slide](https://community.finos.org/Compliance-Slides/Antitrust-Compliance-Slide.pdf)
30
+ - [ ] Review Meeting Notices (see above)
31
+ - [ ] Approve past meeting minutes
32
+ - [ ] Agenda item 1
33
+ - [ ] Agenda item 2
34
+ - [ ] ...
35
+ - [ ] AOB, Q&A & Adjourn (5mins)
36
+
37
+ ## Decisions Made
38
+ - [ ] Decision 1
39
+ - [ ] Decision 2
40
+ - [ ] ...
41
+
42
+ ## Action Items
43
+ - [ ] Action 1
44
+ - [ ] Action 2
45
+ - [ ] ...
46
+
47
+ ### WebEx info
48
+ - Meeting link:
49
+ - Meeting number:
50
+ - Password:
51
+ - Call-in:
@@ -0,0 +1,38 @@
1
+ name: Build and Release Wheel
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '**' # Trigger on tags like v1.0.0, v2.1.3, etc.
7
+
8
+ jobs:
9
+ build-and-release:
10
+ name: Build Wheel and Create Release
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 0 # Needed for setuptools_scm to determine version from git tags
18
+
19
+ - name: Set up Python 3.11
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: '3.11'
23
+
24
+ - name: Install build dependencies
25
+ run: |
26
+ python -m pip install --upgrade pip
27
+ pip install build setuptools setuptools_scm wheel pytest-runner
28
+
29
+ - name: Build wheel
30
+ run: |
31
+ python -m build --wheel
32
+
33
+ - name: Create GitHub Release
34
+ uses: softprops/action-gh-release@v2
35
+ with:
36
+ files: dist/*.whl
37
+ env:
38
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,19 @@
1
+ name: CVE Scanning for Python
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 8,18 * * 1-5'
6
+ push: # Run on every push to any branch
7
+ pull_request: # Run on new pull requests
8
+ workflow_dispatch: # Enable manual run
9
+
10
+ jobs:
11
+ security:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ # - uses: actions/checkout@main
15
+ - uses: actions/checkout@v4
16
+ - name: Run Safety CLI to check for vulnerabilities
17
+ uses: pyupio/safety-action@v1
18
+ with:
19
+ api-key: ${{ secrets.SAFETY_API_KEY }}
@@ -0,0 +1,29 @@
1
+ name: License Scanning for Python
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 8,18 * * 1-5'
6
+ push:
7
+ paths:
8
+ - requirements.txt
9
+ - 'pyproject.toml'
10
+ - '.github/workflows/license-scanning-python.yml'
11
+
12
+ env:
13
+ ALLOW_LICENSES: "MIT License;Apache Software License;BSD License"
14
+ # IGNORE_PACKAGES: ""
15
+
16
+ jobs:
17
+ scan:
18
+ name: Scan for licenses
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: actions/setup-python@v4
23
+ with:
24
+ python-version: "3.11"
25
+ - name: Install pip-licenses
26
+ run: pip3 install pip-licenses
27
+ - name: Scan for licenses
28
+ run: pip-licenses --allow-only="${{ env.ALLOW_LICENSES }}" # --ignore-packages="${{ env.IGNORE_PACKAGES }}"
29
+ working-directory: .
@@ -0,0 +1,34 @@
1
+ name: Publish to PyPi
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build-and-publish:
9
+ runs-on: ubuntu-latest
10
+ environment: pypi
11
+ permissions:
12
+ # CRITICAL: This allows Trusted Publishing (OIDC)
13
+ id-token: write
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: ">=3.12"
22
+
23
+ - name: Build Wheel and SDist
24
+ run: |
25
+ pip install build
26
+ python -m build
27
+
28
+ - name: Publish to PyPI
29
+ uses: pypa/gh-action-pypi-publish@release/v1
30
+ with:
31
+ # This replaces the manual sigstore step.
32
+ # It signs and uploads attestations automatically.
33
+ packages-dir: ./dist/
34
+ verbose: true
@@ -0,0 +1,66 @@
1
+ name: Run Unit Tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - develop
8
+
9
+ jobs:
10
+ test:
11
+ name: Run Tests with pytest
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0 # Needed for setuptools_scm to determine version from git tags
19
+
20
+ - name: Set up Python 3.11
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: '3.11'
24
+
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install setuptools setuptools_scm wheel pytest pytest-cov pytest-mock
29
+ pip install .[dev]
30
+
31
+ - name: Run tests with coverage and generate reports
32
+ run: |
33
+ pytest --cov=rune.runtime --cov-report=term-missing --cov-report=xml:coverage.xml --junitxml=test-results.xml
34
+
35
+ #- name: Debug - List files after pytest
36
+ # run: |
37
+ # pwd
38
+ # ls -la
39
+
40
+ - name: Upload coverage report
41
+ uses: actions/upload-artifact@v4
42
+ if: always()
43
+ with:
44
+ name: coverage-report
45
+ path: coverage.xml
46
+
47
+ - name: Upload test results
48
+ uses: actions/upload-artifact@v4
49
+ if: always()
50
+ with:
51
+ name: pytest-results
52
+ path: test-results.xml
53
+
54
+ - name: Publish Test Results
55
+ uses: EnricoMi/publish-unit-test-result-action@v2
56
+ if: always() # Run even if tests fail
57
+ with:
58
+ files: test-results.xml
59
+
60
+ # disabled for now as codecov appears not to be working with xml reports
61
+ #- name: Upload coverage to Codecov
62
+ # uses: codecov/codecov-action@v4
63
+ # with:
64
+ # files: coverage.xml
65
+ # fail_ci_if_error: true
66
+ # verbose: true
@@ -0,0 +1,29 @@
1
+ # dependencies
2
+ website/node_modules
3
+
4
+ # production
5
+ website/build
6
+
7
+ # generated files
8
+ website/.docusaurus
9
+ .cache-loader
10
+
11
+ # misc
12
+ .DS_Store
13
+ .env.local
14
+ .env.development.local
15
+ .env.test.local
16
+ .env.production.local
17
+
18
+ website/npm-debug.log*
19
+ website/yarn-debug.log*
20
+ website/yarn-error.log*
21
+
22
+ # python related artefacts and directories
23
+ __pycache__
24
+ .pydevenv
25
+ build
26
+ src/rune.runtime.egg-info
27
+ rune.runtime-*.whl
28
+ src/rune/runtime/version.py
29
+ /.coverage
@@ -0,0 +1,15 @@
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "name": "Python Debugger: Current File",
9
+ "type": "debugpy",
10
+ "request": "launch",
11
+ "program": "${file}",
12
+ "console": "integratedTerminal"
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "python.testing.pytestArgs": [
3
+ "."
4
+ ],
5
+ "python.testing.unittestEnabled": false,
6
+ "python.testing.pytestEnabled": true
7
+ }
@@ -0,0 +1,55 @@
1
+ # Rune Python Runtime Contribution and Governance Policies
2
+
3
+ This document describes the contribution process and governance policies of the FINOS {project name} project. The project is also governed by the [Linux Foundation Antitrust Policy](https://www.linuxfoundation.org/antitrust-policy/), and the FINOS [IP Policy]( https://community.finos.org/governance-docs/IP-policy.pdf), [Code of Conduct](https://community.finos.org/docs/governance/code-of-conduct), [Collaborative Principles](https://community.finos.org/docs/governance/collaborative-principles/), and [Meeting Procedures](https://community.finos.org/docs/governance/meeting-procedures/).
4
+
5
+ ## Contribution Process
6
+
7
+ Before making a contribution, please take the following steps:
8
+ 1. Check whether there's already an open issue related to your proposed contribution. If there is, join the discussion and propose your contribution there.
9
+ 2. If there isn't already a relevant issue, create one, describing your contribution and the problem you're trying to solve.
10
+ 3. Respond to any questions or suggestions raised in the issue by other developers.
11
+ 4. Fork the project repository and prepare your proposed contribution.
12
+ 5. Submit a pull request.
13
+
14
+ NOTE: All contributors must have a contributor license agreement (CLA) on file with FINOS before their pull requests will be merged. Please review the FINOS [contribution requirements](https://community.finos.org/docs/governance/Software-Projects/contribution-compliance-requirements) and submit (or have your employer submit) the required CLA before submitting a pull request.
15
+
16
+ ## Governance
17
+
18
+ ### Roles
19
+
20
+ The project community consists of Contributors and Maintainers:
21
+ * A **Contributor** is anyone who submits a contribution to the project. (Contributions may include code, issues, comments, documentation, media, or any combination of the above.)
22
+ * A **Maintainer** is a Contributor who, by virtue of their contribution history, has been given write access to project repositories and may merge approved contributions.
23
+ * The **Lead Maintainer** is the project's interface with the FINOS team and Board. They are responsible for approving [quarterly project reports](https://community.finos.org/docs/governance/#project-governing-board-reporting) and communicating on behalf of the project. The Lead Maintainer is elected by a vote of the Maintainers.
24
+
25
+ ### Contribution Rules
26
+
27
+ Anyone is welcome to submit a contribution to the project. The rules below apply to all contributions. (The key words "MUST", "SHALL", "SHOULD", "MAY", etc. in this document are to be interpreted as described in [IETF RFC 2119](https://www.ietf.org/rfc/rfc2119.txt).)
28
+
29
+ * All contributions MUST be submitted as pull requests, including contributions by Maintainers.
30
+ * All pull requests SHOULD be reviewed by a Maintainer (other than the Contributor) before being merged.
31
+ * Pull requests for non-trivial contributions SHOULD remain open for a review period sufficient to give all Maintainers a sufficient opportunity to review and comment on them.
32
+ * After the review period, if no Maintainer has an objection to the pull request, any Maintainer MAY merge it.
33
+ * If any Maintainer objects to a pull request, the Maintainers SHOULD try to come to consensus through discussion. If not consensus can be reached, any Maintainer MAY call for a vote on the contribution.
34
+
35
+ ### Maintainer Voting
36
+
37
+ The Maintainers MAY hold votes only when they are unable to reach consensus on an issue. Any Maintainer MAY call a vote on a contested issue, after which Maintainers SHALL have 36 hours to register their votes. Votes SHALL take the form of "+1" (agree), "-1" (disagree), "+0" (abstain). Issues SHALL be decided by the majority of votes cast. If there is only one Maintainer, they SHALL decide any issue otherwise requiring a Maintainer vote. If a vote is tied, the Lead Maintainer MAY cast an additional tie-breaker vote.
38
+
39
+ The Maintainers SHALL decide the following matters by consensus or, if necessary, a vote:
40
+ * Contested pull requests
41
+ * Election and removal of the Lead Maintainer
42
+ * Election and removal of Maintainers
43
+
44
+ All Maintainer votes MUST be carried out transparently, with all discussion and voting occurring in public, either:
45
+ * in comments associated with the relevant issue or pull request, if applicable;
46
+ * on the project mailing list or other official public communication channel; or
47
+ * during a regular, minuted project meeting.
48
+
49
+ ### Maintainer Qualifications
50
+
51
+ Any Contributor who has made a substantial contribution to the project MAY apply (or be nominated) to become a Maintainer. The existing Maintainers SHALL decide whether to approve the nomination according to the Maintainer Voting process above.
52
+
53
+ ### Changes to this Document
54
+
55
+ This document MAY be amended by a vote of the Maintainers according to the Maintainer Voting process above.
@@ -0,0 +1,5 @@
1
+ This file is used to test EasyCLA onboarding.
2
+
3
+ To get started, [just submit a Pull Request](https://github.com/finos/software-project-blueprint/edit/main/EASYCLA_CHANGEME.md) with a simple change to this file (adding an empty line, or some random text at the bottom); this will trigger the EasyCLA bot, which will post a comment to the Pull Request stating whether all PR contributors are covered by FINOS CLA; if not, the bot will post instructions on how to sign the CLA.
4
+
5
+ You can read more about EasyCLA on [FINOS community repo](https://github.com/finos/community/blob/master/governance/Software-Projects/EasyCLA.md).
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2023-2025 CLOUDRISK Limited and FT Advisory LLC
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,7 @@
1
+ SPDXVersion: SPDX-2.0
2
+ DataLicense: CC0-1.0
3
+ Creator: CLOUDRISK Limited and FT Advisory LLC
4
+ PackageName: Rune Python Runtime
5
+ PackageOriginator: CLOUDRISK Limited and FT Advisory LLC
6
+ PackageHomePage: https://github.com/finos/rune-python-runtime
7
+ PackageLicenseDeclared: Apache-2.0
@@ -0,0 +1,5 @@
1
+ Rune Python Runtime - FINOS
2
+ Copyright 2025 CLOUDRISK Limited (info@cloudrisk.uk) and FT Advisory LLC (info@ftadvisory.co)
3
+
4
+ This product includes software developed at the Fintech Open Source Foundation (https://www.finos.org/).
5
+