stevedore 0.6

What is stevedore?

Python makes loading code dynamically easy, allowing you to configure
and extend your application by discovering and loading extensions
(“plugins”) at runtime. Many applications implement their own
library for doing this, using __import__ or
importlib. stevedore avoids creating yet another extension
mechanism by building on top of setuptools entry points. The code
for managing entry points tends to be repetitive, though, so stevedore
provides manager classes for implementing common patterns for using
dynamically loaded extensions.

What’s New?

  • Add TestExtensionManager for writing tests for classes that use
    extension managers.
  • Change the EnabledExtensionManager to load the extension before
    calling the check function so the plugin can be asked if it should
    be enabled.

Installing

Visit the stevedore project page for download links and
installation instructions.