All docs
PackageManager·
method
PackageManager.blocked
report packages found but not loaded, with the reason
Python
blocked() -> dict[str, str]
Returns dict[str, str] — package name → reason it was not loaded
Example#
Python
from lsdtools.advanced import PackageManager
pm = PackageManager()
pm.load_all()
for name, reason in pm.blocked().items():
print(name, "→", reason)
Notes#
Populated during load_all / load:
a package is blocked when its manifest min_lsd floor is higher than the running LSD version, or when
its entry module raised on import. The returned dict is a copy, so mutating it is safe. A package here
is neither in loaded_names nor active.
See also#
API: loaded_names · load_all · licenses
Guides: The Package Manager · lsd_package.json
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown