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
Docs/ API Reference/ PackageManager/ dependency_report
PackageManager· method

PackageManager.dependency_report

check a package's declared dependencies against what's installed

Python
dependency_report(name: str) -> Optional[DepReport]

Returns DepReport — satisfied / missing / mismatched deps, or None if the package isn't installed

Parameters#

name type default description
name str an installed package's name

Example#

Python
from lsdtools.advanced import PackageManager

pm = PackageManager()
report = pm.dependency_report("mim")
if report and not report.ok:
    print("missing:", report.missing, "mismatched:", report.mismatched)

Notes#

Reads the package's manifest dependencies and compares each against the installed {name: version} map using the version-spec grammar. The returned DepReport has three lists — satisfied, missing, and mismatched (each a (name, spec, installed_version) tuple) — plus an ok property that is true only when both missing and mismatched are empty. Returns None when name is not installed.

See also#

API: dependents_of · installed · lsd_package.json

Guides: Dependencies

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