pluginlib
A framework for creating and importing plugins
Decision gist · record as of 2026-08-14
Yes. Pluginlib is actively maintained, has no security vulnerabilities, low install friction, and solves a real architectural problem for extensible applications. The copyleft license (MPLv2.0) only affects modifications to pluginlib itself, not applications that use it. Install it if you need a plugin system; skip it if your application has no extensibility requirements.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; plugins must be defined as subclasses of parent classes decorated with @pluginlib.Parent.
- Low install friction with only two lightweight runtime dependencies (packaging and importlib-metadata).
- The package is actively maintained with a recent release and no known security vulnerabilities.
License · maintenance · safety
MPLv2.0 (copyleft) — Licensed under MPLv2.0 (copyleft), which requires that modifications to pluginlib itself be shared under the same license, though applications using it as a plugin framework are not subject to this requirement.
last release 2026-04-26 (110 days) · last repo commit 2026-04-26 · 79 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 494,375 downloads/mo, #6,350 on PyPI
Alternatives
Verify before relying
pip install pluginlib
import pluginlib
@pluginlib.Parent('parser')
class Parser:
@pluginlib.abstractmethod
def parse(self, string):
pass
loader = pluginlib.PluginLoader(modules=['my_plugins'])
plugins = loader.plugins- Whether the package handles circular dependencies or dependency ordering between plugins.
- Performance characteristics when loading large numbers of plugins or from many filesystem paths.
- How plugin validation errors are reported and whether they halt the entire load or skip individual plugins.
What it is and what it does
Pluginlib is a framework for building extensible Python applications through a plugin architecture. It handles the discovery, validation, and loading of plugins from multiple sources—standard library modules, entry points, explicit module lists, or filesystem paths—while enforcing that plugins conform to parent class contracts via abstract methods. Plugins can be versioned, conditionally loaded based on runtime state, blacklisted by type or name, and organized into separate groups so different parts of an application can use independent plugin sets without collision.
The framework is designed to reduce boilerplate: you decorate a parent class with @pluginlib.Parent, define required methods as abstract, then subclass that parent to create plugins. Once loaded through PluginLoader, plugins are accessible via nested dictionary notation or dot notation, making it straightforward to instantiate and call plugin methods. The package supports Python 3.6 through 3.15 and has no known security vulnerabilities.
Use it for
- Build an application where users can drop custom parser or processor plugins into a directory and have them automatically discovered and loaded at startup.
- Create a multi-tenant or multi-project framework where different plugin sets must coexist without naming conflicts using plugin groups.
- Implement conditional plugin loading based on OS, installed dependencies, or runtime environment to enable feature flags or platform-specific behavior.
- Manage multiple versions of the same plugin and automatically use the newest compatible version without manual version selection logic.
- Define a plugin interface with abstract methods and validate that all loaded plugins implement the required contract before they are used.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Pluginlib is actively maintained, has no security vulnerabilities, low install friction, and solves a real architectural problem for extensible applications. The copyleft license (MPLv2.0) only affects modifications to pluginlib itself, not applications that use it. Install it if you need a plugin system; skip it if your application has no extensibility requirements.
Install
pluginlib on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (packaging and importlib-metadata). The package is actively maintained with a recent release and no known security vulnerabilities.
Requires Python 3.6 or later; plugins must be defined as subclasses of parent classes decorated with @pluginlib.Parent.
License in practice
Licensed under MPLv2.0 (copyleft), which requires that modifications to pluginlib itself be shared under the same license, though applications using it as a plugin framework are not subject to this requirement.
Quickstart
pip install pluginlib
import pluginlib
@pluginlib.Parent('parser')
class Parser:
@pluginlib.abstractmethod
def parse(self, string):
pass
loader = pluginlib.PluginLoader(modules=['my_plugins'])
plugins = loader.plugins
Verify before relying
- Whether the package handles circular dependencies or dependency ordering between plugins.
- Performance characteristics when loading large numbers of plugins or from many filesystem paths.
- How plugin validation errors are reported and whether they halt the entire load or skip individual plugins.
Package facts
| License | MPLv2.0 copyleft |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespackagingimportlib-metadata |
| Maintenance | Actively maintained 110 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 494,375 / month, #6,350 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: PluginsIntended Audience :: DevelopersLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Operating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pluginlib-0.11.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pluginbase · plux · stevedore · entrypoints · lml · click-plugins · napari-plugin-engine · coverage-conditional-plugin · plugincode · pytest-enabler