Skip to content

Patterns to enable and disable plugins? #422

@simonw

Description

@simonw

I use Pluggy extensively for my Datasette and LLM projects.

Plugins are activated by installing them into the same virtual environment as the application. They are deactivated by uninstalling them.

I'm interested in ways of decoupling the activation and deactivation of plugins from their installation.

This is for a few reasons. One is that I'd like to provide Docker container images that bundle many of the most popular plugins, while still allowing my users to select which plugins that are actually going to use.

Are there any good patterns for implementing this kind of thing that I could use as inspiration here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions