Control complex calculation flow for quantitative research and trading
123
stars
589
commits
Python
primary language
Sep 8, 2026
updated
Smart computation management - Only recalculate what's necessary
Loman tracks the state of your computations and their dependencies, enabling intelligent partial recalculations that save time and computational resources. Perfect for data pipelines, real-time systems, and complex analytical workflows.
Build smarter computation graphs with automatic dependency tracking

The above computation graph was generated with this simple Loman code:
from loman import Computation
# Create a computation graph
comp = Computation()
comp.add_node('a', value=1) # Input node
comp.add_node('b', lambda a: a + 1) # b depends on a
comp.add_node('c', lambda a, b: 2 * a) # c depends on a and b
comp.add_node('d', lambda b, c: b + c) # d depends on b and c
comp.add_node('e', lambda c: c + 1) # e depends on c
# Smart computation - only calculates what's needed
comp.compute('d') # Will not compute 'e' unnecessarily!
# Inspect intermediate values
comp.to_dict()
# {'a': 1, 'b': 2, 'c': 2, 'd': 4, 'e': None}
# Visualize the computation graph
comp.draw() # Creates the graph shown above
📚 Explore More: Check out our Interactive Examples including:
Loman transforms how you build and maintain complex data processing pipelines by making computational dependencies explicit and manageable. Instead of manually tracking what needs to be recalculated when data changes, Loman handles this automatically.
🔴 Real-time Systems: Handle inputs that tick at different rates efficiently
📦 Batch Processing: Build robust daily/periodic processes
🔬 Research & Analytics: Accelerate iterative development
📖 Learn More: The Introduction explains in detail how Loman can transform your workflow.
pip install loman
git clone https://github.com/janusassetallocation/loman.git
cd loman
pip install -e .
Note: Use -e flag for editable installation during development
For contributors and advanced users
Loman uses modern Python development tools for a smooth developer experience:
# 📦 Install development dependencies
make install
# 🧪 Run tests with coverage
make test
# ✨ Format and lint code
make check
Instant development environment in your browser Click the button to launch a fully configured development environment in your browser.
We welcome contributions! 🎉
Whether you're fixing bugs, adding features, or improving documentation, your help makes Loman better for everyone.
git checkout -b feature/amazing-featuremake testgit commit -m 'Add amazing feature'git push origin feature/amazing-feature⭐ If you find Loman useful, please consider giving it a star! ⭐
Python
90.5%
JavaScript
4.5%
Makefile
2.2%
CSS
1.6%
Shell
1.2%
Control complex calculation flow for quantitative research and trading
123
stars
589
commits
Python
primary language
Sep 8, 2026
updated
Smart computation management - Only recalculate what's necessary
Loman tracks the state of your computations and their dependencies, enabling intelligent partial recalculations that save time and computational resources. Perfect for data pipelines, real-time systems, and complex analytical workflows.
Build smarter computation graphs with automatic dependency tracking

The above computation graph was generated with this simple Loman code:
from loman import Computation
# Create a computation graph
comp = Computation()
comp.add_node('a', value=1) # Input node
comp.add_node('b', lambda a: a + 1) # b depends on a
comp.add_node('c', lambda a, b: 2 * a) # c depends on a and b
comp.add_node('d', lambda b, c: b + c) # d depends on b and c
comp.add_node('e', lambda c: c + 1) # e depends on c
# Smart computation - only calculates what's needed
comp.compute('d') # Will not compute 'e' unnecessarily!
# Inspect intermediate values
comp.to_dict()
# {'a': 1, 'b': 2, 'c': 2, 'd': 4, 'e': None}
# Visualize the computation graph
comp.draw() # Creates the graph shown above
📚 Explore More: Check out our Interactive Examples including:
Loman transforms how you build and maintain complex data processing pipelines by making computational dependencies explicit and manageable. Instead of manually tracking what needs to be recalculated when data changes, Loman handles this automatically.
🔴 Real-time Systems: Handle inputs that tick at different rates efficiently
📦 Batch Processing: Build robust daily/periodic processes
🔬 Research & Analytics: Accelerate iterative development
📖 Learn More: The Introduction explains in detail how Loman can transform your workflow.
pip install loman
git clone https://github.com/janusassetallocation/loman.git
cd loman
pip install -e .
Note: Use -e flag for editable installation during development
For contributors and advanced users
Loman uses modern Python development tools for a smooth developer experience:
# 📦 Install development dependencies
make install
# 🧪 Run tests with coverage
make test
# ✨ Format and lint code
make check
Instant development environment in your browser Click the button to launch a fully configured development environment in your browser.
We welcome contributions! 🎉
Whether you're fixing bugs, adding features, or improving documentation, your help makes Loman better for everyone.
git checkout -b feature/amazing-featuremake testgit commit -m 'Add amazing feature'git push origin feature/amazing-feature⭐ If you find Loman useful, please consider giving it a star! ⭐
Python
90.5%
JavaScript
4.5%
Makefile
2.2%
CSS
1.6%
Shell
1.2%