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.license_of

lease terms for one loaded paid package, or none

Python
license_of(name: str) -> Optional[dict]

Returns dict — the lease terms {seats, delivery, exp, plan}, or None

Parameters#

name type default description
name str the paid package's name

Example#

Python
from lsdtools.advanced import PackageManager

pm = PackageManager()
pm.load_all()
lease = pm.license_of("mim-pro")
if lease:
    print("seats:", lease["seats"])

Notes#

Returns the single lease dict recorded for name when it loaded as an entitled paid package, or None for a free package, an unentitled one, or a name that never loaded. It reads the same store as licenses.

See also#

API: licenses · blocked · loaded_names

Guides: Plans & licensing · Collab seats

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