All docs
PackageManager·
method
PackageManager.disable
disable a package and drop its live contributions now
Python
disable(name: str) -> bool
Returns bool — True if the package was found
Parameters#
| name | type | default | description |
|---|---|---|---|
name |
str |
— | the package name to disable |
Example#
Python
from lsdtools.advanced import PackageManager
pm = PackageManager()
pm.disable("mim") # → True
Notes#
Takes effect in two stages: the package is skipped the next time packages load, and its live UI/CLI
contributions are dropped immediately. A disabled package's steps become frozen — they serve
their last cached output and never recompute — so no project data is lost. Returns False if no such
package is known; reverse it with enable.
See also#
API: enable · load · available
Guides: The Package Manager
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown