Manage dynamic plugins for Python applications
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Doug Hellmann e9204ee7b7
add property methods to extension for more entry point values
The underlying EntryPoint class has some similar methods to fetch
these values, but they depend on the version of importlib.metadata
that is installed, so this provides a consistent API

Change-Id: I7a1b9541f0e4042a224e49c890ba3c63e8a5a259
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
3 years ago
doc switch to importlib.metadata package 3 years ago
releasenotes add property methods to extension for more entry point values 3 years ago
stevedore add property methods to extension for more entry point values 3 years ago
.gitignore Drop Python 2.7 support 3 years ago
.gitreview OpenDev Migration Patch 4 years ago
.stestr.conf Switch to stestr 5 years ago
.zuul.yaml Add Python3 victoria unit tests 3 years ago
CONTRIBUTING.rst Workflow documentation is now in infra-manual 9 years ago
LICENSE add license 11 years ago
README.rst update git.openstack.org to opendev 4 years ago
bindep.txt Add local bindep.txt 4 years ago
lower-constraints.txt switch to importlib.metadata package 3 years ago
requirements.txt switch to importlib.metadata package 3 years ago
setup.cfg Drop Python 2.7 support 3 years ago
setup.py Drop Python 2.7 support 3 years ago
test-requirements.txt Replace external mock with built-in unittest.mock 3 years ago
tox.ini Drop Python 2.7 support 3 years ago

README.rst

stevedore -- Manage dynamic plugins for Python applications

Latest Version

image

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.