All docs
Engine·
classmethod
Engine.ephemeral
creates an in-memory engine backed by a temp workspace
Python
Engine.ephemeral() -> Engine
Returns Engine — an in-memory engine backed by a temp workspace
Example#
Python
from lsdtools import Engine
engine = Engine.ephemeral()
engine.run(pipeline).raise_on_error()
Notes#
Nothing is persisted — the workspace is a throwaway temp directory, so this is the explicit,
readable form for tests and one-off scripts. Equivalent to Engine() with no workspace argument.
Call save(path) if you later want to keep the work.
See also#
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown