Sandbox — LSD is in active testing. All systems operational·payments are test-mode (no real charges).
Overview Use Cases News Docs Tool Store Support Community Get LSD
All docs
PackageManager· method

PackageManager.load

load only the named packages into the running host

Python
load(names: Iterable[str], bus: Any = None) -> List[str]

Returns List[str] — sorted names of the newly registered classes

Parameters#

name type default description
names Iterable[str] the package names to load (a subset of what's installed)
bus EventBus None optional desktop event bus; when given, package contributions are wired to it

Example#

Python
from lsdtools.advanced import PackageManager

pm = PackageManager()
new_classes = pm.load(["mim", "gis"])

Notes#

The project-scoped path: open a project and load exactly the packages it declares, rather than everything on disk (that's load_all). Idempotent — already-loaded and disabled packages are skipped. Returns the sorted list of Configurable class names (steps/entities) that newly appeared in the registry.

See also#

API: load_all · loaded_names · reload

Guides: The Package Manager · Dependencies

By LSD Team · Last updated Jul 17, 2026 Ask on Discord View as Markdown