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

PackageManager.licenses

lease terms for every loaded paid package

Python
licenses() -> dict[str, dict]

Returns dict[str, dict] — package name → lease terms {seats, delivery, exp, plan}

Example#

Python
from lsdtools.advanced import PackageManager

pm = PackageManager()
pm.load_all()
for name, lease in pm.licenses().items():
    print(name, lease["seats"], lease["exp"])

Notes#

Populated as sealed paid packages load: each entitled package's lease terms (seats, delivery, exp, plan) are stashed so the collab host can enforce concurrent seats. Free packages and unentitled ones do not appear. The returned dict is a copy. For a single package use license_of.

See also#

API: license_of · blocked · loaded_names

Guides: Plans & licensing · Collab seats

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