All docs
PackageManager·
method
PackageManager.load_all
load every discoverable package into the running host
Python
load_all(bus: Any = None) -> List[str]
Returns List[str] — sorted names of the newly registered classes
Parameters#
| name | type | default | description |
|---|---|---|---|
bus |
EventBus |
None |
optional desktop event bus; when given, package contributions are wired to it |
Example#
Python
from lsdtools.advanced import PackageManager
pm = PackageManager()
pm.load_all(desktop_bus) # imports packages, wires contributions
Notes#
Loads from all three sources — the search_paths folders,
directory packages recorded by add_local, and pip packages
advertising the lsd.packages entry-point group. Disabled and min_lsd-blocked packages are skipped.
Importing a package auto-registers its step classes; passing bus also wires its menu/action
contributions. Returns the sorted list of newly registered class names — the same contract as
lsd.load_plugins(). Use load when you want only a named subset.
See also#
API: load · search_paths · blocked
Guides: The Package Manager · Develop a package
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown