├── .devcontainer ├── devcontainer.json ├── setup-uv.sh └── startup.sh ├── .editorconfig ├── .github ├── actions │ └── setup-project │ │ └── action.yml ├── renovate.json ├── scripts │ ├── book.sh │ ├── build-extras.sh │ ├── marimushka.sh │ ├── post-release.sh │ └── release.sh ├── template.yml └── workflows │ ├── book.yml │ ├── ci.yml │ ├── deptry.yml │ ├── devcontainer.yml │ ├── marimo.yml │ ├── pre-commit.yml │ ├── release.yml │ ├── structure.yml │ └── sync.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .readthedocs.yaml ├── AUTHORS ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── book └── marimo │ ├── cdos.py │ ├── interest_rate_swaps.py │ └── portfolio.py ├── docs ├── Makefile ├── _static │ └── example000.png ├── api.rst ├── conf.py ├── dev │ └── release.md ├── index.md ├── make.bat ├── requirements.txt └── user │ ├── features │ ├── creating │ │ ├── adding_nodes_using_decorators.md │ │ ├── automatically_expanding_named_tuples.md │ │ ├── constant_values.md │ │ ├── creating_computation_factories.md │ │ ├── index.md │ │ ├── non_string_node_names.md │ │ └── tagging_nodes.md │ ├── index.md │ ├── manipulating │ │ ├── index.md │ │ └── repointing_nodes.md │ ├── other │ │ ├── index.md │ │ ├── interactive_debugging.md │ │ └── serializing_computations.md │ └── querying │ │ ├── index.md │ │ ├── show_as_dataframe.md │ │ ├── view_inputs_outputs.md │ │ └── visualizing_computation_graph.md │ ├── install.md │ ├── intro.md │ ├── quickstart.md │ └── strategies.md ├── pyproject.toml ├── ruff.toml ├── src └── loman │ ├── __init__.py │ ├── compat.py │ ├── computeengine.py │ ├── consts.py │ ├── exception.py │ ├── graph_utils.py │ ├── nodekey.py │ ├── serialization │ ├── __init__.py │ ├── default.py │ └── transformer.py │ ├── util.py │ └── visualization.py ├── tests ├── __init__.py ├── standard_test_computations.py ├── test_blocks.py ├── test_class_style_definition.py ├── test_computeengine.py ├── test_computeengine_structure.py ├── test_converters.py ├── test_dill_serialization.py ├── test_docstrings.py ├── test_loman_tree_functions.py ├── test_makefile.py ├── test_metadata.py ├── test_nodekeys.py ├── test_readme.py ├── test_serialization.py ├── test_value_eq.py └── test_visualization.py └── uv.lock /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/setup-uv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.devcontainer/setup-uv.sh -------------------------------------------------------------------------------- /.devcontainer/startup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.devcontainer/startup.sh -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/actions/setup-project/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/actions/setup-project/action.yml -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/scripts/book.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/scripts/book.sh -------------------------------------------------------------------------------- /.github/scripts/build-extras.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/scripts/build-extras.sh -------------------------------------------------------------------------------- /.github/scripts/marimushka.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/scripts/marimushka.sh -------------------------------------------------------------------------------- /.github/scripts/post-release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/scripts/post-release.sh -------------------------------------------------------------------------------- /.github/scripts/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/scripts/release.sh -------------------------------------------------------------------------------- /.github/template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/template.yml -------------------------------------------------------------------------------- /.github/workflows/book.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/book.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/deptry.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/deptry.yml -------------------------------------------------------------------------------- /.github/workflows/devcontainer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/devcontainer.yml -------------------------------------------------------------------------------- /.github/workflows/marimo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/marimo.yml -------------------------------------------------------------------------------- /.github/workflows/pre-commit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/pre-commit.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/structure.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/structure.yml -------------------------------------------------------------------------------- /.github/workflows/sync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.github/workflows/sync.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/AUTHORS -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/README.md -------------------------------------------------------------------------------- /book/marimo/cdos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/book/marimo/cdos.py -------------------------------------------------------------------------------- /book/marimo/interest_rate_swaps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/book/marimo/interest_rate_swaps.py -------------------------------------------------------------------------------- /book/marimo/portfolio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/book/marimo/portfolio.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/example000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/_static/example000.png -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/dev/release.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/dev/release.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/user/features/creating/adding_nodes_using_decorators.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/creating/adding_nodes_using_decorators.md -------------------------------------------------------------------------------- /docs/user/features/creating/automatically_expanding_named_tuples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/creating/automatically_expanding_named_tuples.md -------------------------------------------------------------------------------- /docs/user/features/creating/constant_values.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/creating/constant_values.md -------------------------------------------------------------------------------- /docs/user/features/creating/creating_computation_factories.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/creating/creating_computation_factories.md -------------------------------------------------------------------------------- /docs/user/features/creating/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/creating/index.md -------------------------------------------------------------------------------- /docs/user/features/creating/non_string_node_names.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/creating/non_string_node_names.md -------------------------------------------------------------------------------- /docs/user/features/creating/tagging_nodes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/creating/tagging_nodes.md -------------------------------------------------------------------------------- /docs/user/features/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/index.md -------------------------------------------------------------------------------- /docs/user/features/manipulating/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/manipulating/index.md -------------------------------------------------------------------------------- /docs/user/features/manipulating/repointing_nodes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/manipulating/repointing_nodes.md -------------------------------------------------------------------------------- /docs/user/features/other/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/other/index.md -------------------------------------------------------------------------------- /docs/user/features/other/interactive_debugging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/other/interactive_debugging.md -------------------------------------------------------------------------------- /docs/user/features/other/serializing_computations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/other/serializing_computations.md -------------------------------------------------------------------------------- /docs/user/features/querying/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/querying/index.md -------------------------------------------------------------------------------- /docs/user/features/querying/show_as_dataframe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/querying/show_as_dataframe.md -------------------------------------------------------------------------------- /docs/user/features/querying/view_inputs_outputs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/querying/view_inputs_outputs.md -------------------------------------------------------------------------------- /docs/user/features/querying/visualizing_computation_graph.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/features/querying/visualizing_computation_graph.md -------------------------------------------------------------------------------- /docs/user/install.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/install.md -------------------------------------------------------------------------------- /docs/user/intro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/intro.md -------------------------------------------------------------------------------- /docs/user/quickstart.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/quickstart.md -------------------------------------------------------------------------------- /docs/user/strategies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/docs/user/strategies.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/pyproject.toml -------------------------------------------------------------------------------- /ruff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/ruff.toml -------------------------------------------------------------------------------- /src/loman/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/__init__.py -------------------------------------------------------------------------------- /src/loman/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/compat.py -------------------------------------------------------------------------------- /src/loman/computeengine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/computeengine.py -------------------------------------------------------------------------------- /src/loman/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/consts.py -------------------------------------------------------------------------------- /src/loman/exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/exception.py -------------------------------------------------------------------------------- /src/loman/graph_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/graph_utils.py -------------------------------------------------------------------------------- /src/loman/nodekey.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/nodekey.py -------------------------------------------------------------------------------- /src/loman/serialization/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/serialization/__init__.py -------------------------------------------------------------------------------- /src/loman/serialization/default.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/serialization/default.py -------------------------------------------------------------------------------- /src/loman/serialization/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/serialization/transformer.py -------------------------------------------------------------------------------- /src/loman/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/util.py -------------------------------------------------------------------------------- /src/loman/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/src/loman/visualization.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/standard_test_computations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/standard_test_computations.py -------------------------------------------------------------------------------- /tests/test_blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_blocks.py -------------------------------------------------------------------------------- /tests/test_class_style_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_class_style_definition.py -------------------------------------------------------------------------------- /tests/test_computeengine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_computeengine.py -------------------------------------------------------------------------------- /tests/test_computeengine_structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_computeengine_structure.py -------------------------------------------------------------------------------- /tests/test_converters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_converters.py -------------------------------------------------------------------------------- /tests/test_dill_serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_dill_serialization.py -------------------------------------------------------------------------------- /tests/test_docstrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_docstrings.py -------------------------------------------------------------------------------- /tests/test_loman_tree_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_loman_tree_functions.py -------------------------------------------------------------------------------- /tests/test_makefile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_makefile.py -------------------------------------------------------------------------------- /tests/test_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_metadata.py -------------------------------------------------------------------------------- /tests/test_nodekeys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_nodekeys.py -------------------------------------------------------------------------------- /tests/test_readme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_readme.py -------------------------------------------------------------------------------- /tests/test_serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_serialization.py -------------------------------------------------------------------------------- /tests/test_value_eq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_value_eq.py -------------------------------------------------------------------------------- /tests/test_visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/tests/test_visualization.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janushendersonassetallocation/loman/HEAD/uv.lock --------------------------------------------------------------------------------