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· property

PackageManager.search_paths

the package search directories, in priority order

Python
search_paths -> List[Path]

Returns List[Path] — the package search directories, highest priority first

Example#

Python
from lsdtools.advanced import PackageManager

pm = PackageManager(workspace_dir="~/projects/site-survey")
for p in pm.search_paths:
    print(p)

Notes#

Read-only. The order is: the global ~/.lsd/packages/ dir; a bundled packages/ dir sitting beside the lsd package when it exists (how the standalone app ships first-party packages without pip metadata); and {workspace_dir}/packages when a workspace_dir was passed to the constructor. Paths that don't exist are simply skipped by the loaders that walk them, so a normal dev/pip layout just uses the first entry.

See also#

API: available · load_all · add_local

Guides: The Package Manager · Package anatomy

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