PluginInfo
PluginInfo(name, version, summary, supported, supports, provides=(), error=None)One registered plugin: its package metadata, its supports range, what it provides.
lk.plugins() builds these. print shows one.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| name | str | The distribution’s name, or the entry name when the entry point has no distribution. | required |
| version | str | The distribution’s version ("" without a distribution). |
required |
| summary | str | The distribution’s summary ("" without one). |
required |
| supported | bool | Whether the installed laplacekit is in supports. False when the plugin could not be loaded. |
required |
| supports | str | The record’s supports range ("" when the plugin could not be loaded). |
required |
| provides | tuple[tuple[str, str], …] | Each name in the plugin module’s __all__, other than its Plugin record and health function, paired with the first line of its docstring ("" without one). |
() |
| error | str | None | Why the plugin could not be loaded; provides is then empty. None when it loaded. |
None |