Skip to content

felixscherz/discover-plugins

Repository files navigation

discover-plugins

PyPI - Version PyPI - Python Version


Rationale

discover-plugins is a utility to find installed plugins for a python environment.

Installation

pipx install discover-plugins

Usage

By default, discover-plugins will look for plugins for the current python interpreter. You can specify the interpreter to use with --interpreter.

You can filter plugins by group, name and value. To find all plugins related to pytest run:

discover-plugins --group pytest11

Output:

{
  "pytest11": [
    {
      "name": "pytest_httpx",
      "group": "pytest11",
      "value": "pytest_httpx"
    },
    {
      "name": "anyio",
      "group": "pytest11",
      "value": "anyio.pytest_plugin"
    },
    {
      "name": "pytest-aws-apigateway",
      "group": "pytest11",
      "value": "pytest_aws_apigateway.plugin"
    }
  ]
}

License

discover-plugins is distributed under the terms of the MIT license.

About

CLI tool to discover entrypoints

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages