# Plugin

``` python
Plugin(supports, health=lambda: ())
```

A plugin’s record, the target of its `laplacekit.plugins` entry point.

The entry point is named after the plugin’s import package.

## Parameters

| Name | Type | Description | Default |
|----|----|----|----|
| supports | str | PEP 440 specifier set of the laplacekit versions the plugin works with, such as `">=1.0,<2"`. Pre-releases count. | *required* |
| health | Callable\[\[\], tuple\[HealthCheck, …\]\] | Returns the plugin’s own checks for `lk.health()`. The default returns none. If it raises, or returns anything but `HealthCheck` objects, `lk.health()` reports one `error` check in their place. | `lambda: ()` |

## Raises

| Name | Type       | Description                                      |
|------|------------|--------------------------------------------------|
|      | ValueError | `supports` is not a valid PEP 440 specifier set. |
