All docs
Context·
property
Context.project
the open project handle
Python
project: Project
Returns Project — the open project, or None
Example#
Python
@tool.command("demo/touch")
def touch(ctx: Context):
ent = ctx.project.entity("csv_import")
ent.update(path="new.csv")
ent.run()
Notes#
project.entity(name) returns an entity handle exposing .name, .params, .output, .run(), and
.update(...). A lazily populated slot — None when no project is open.
See also#
API: entity · engine · Context
Guides: Commands & actions
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown