All docs
PackageManager·
method
PackageManager.available
list every loadable package, merged by name
Python
available() -> List[PackageInfo]
Returns List[PackageInfo] — every discoverable package, sorted by display name
Example#
Python
from lsdtools.advanced import PackageManager
pm = PackageManager()
for info in pm.available():
print(info.name, "on" if info.enabled else "off")
Notes#
Merges three sources by name — pip lsd.packages entry points, the search_paths
folders, and the installed record — with the installed record winning (it carries the authoritative
source / enabled). This is exactly what the Packages panel lists; installed()
alone would miss entry-point packages, so a normal dev/pip setup would look empty. The result is
sorted by display_name (falling back to name), case-insensitively.
See also#
API: installed · loaded_names · search_paths
Guides: The Package Manager · lsd_package.json
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown