Registry / workflow / loman
library0.6.0pypypi✓ verified 85d ago

Loman tracks the state of computations and the dependencies between them, enabling full and partial recalculations. It provides a directed acyclic graph (DAG) of computations with caching, error handling, and serialization support. Current version is 0.6.0, released in April 2026. Release cadence is approximately monthly.

pip install loman
INSTALL
IMPORT
SIG · LOMAN
L
loman
workflowpythonv0.6.0
Install
13.6s avg
Import
1912ms
Disk
274MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.5.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.992s · 269MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 13.6s · import 1.832s · 258MB
274MB installed
● package 274MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Computation
from loman import Computation
ComputationNode
from loman import ComputationNode

Define a simple computation graph with two nodes and run it.

from loman import Computation # Create a computation graph comp = Computation() # Define nodes (computations) @comp.node('a') def compute_a(): return 1 @comp.node('b', depends_on=['a']) def compute_b(a): return a + 2 # Run the computation comp.compute_all() print(comp.get_value('b')) # Output: 3
Debug
Known issues
breakingIn version 0.6.0, the dill dependency was removed, and serialization now uses Python's built-in pickle. Custom serialization logic may break if it relied on dill.
fix
Replace any usage of dill-specific serialization with standard pickle or check your serialization hooks.
affects: >=0.6.0
gotchaNode functions must not have side effects on mutable global state, or caching may produce unexpected results. Loman caches results by default, so if a node modifies an external list, partial recomputations will not re-trigger that side effect.
fix
Ensure node functions are pure (no side effects) or use the 'always_recompute' parameter.
affects: all
deprecatedThe 'compute_and_get_value' method is deprecated as of version 0.5.4. It may be removed in a future release.
fix
Use 'compute_all' then 'get_value' instead.
affects: >=0.5.4
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'dill'
dill was removed as a dependency in loman 0.6.0.
fix
Upgrade to loman 0.6.0 or later, and ensure your code does not import dill. If you need dill, install it separately: pip install dill
KeyError: 'node_name'
Trying to get the value of a node that hasn't been computed yet or doesn't exist.
fix
Ensure the node is defined and computed: call comp.compute_all() or compute the specific node before calling get_value('node_name').
Upgrade
Version history
0.6.0latest on PyPI · released Apr 26, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
loman — pip install loman · libregistry