RETIRED, further work has moved to Debian project infrastructure
Go to file
Doug Hellmann 4ec5022e4b make error reporting for extension loading quieter
Only log the full traceback for an import error from an extension if
debug logging is enabled. This avoids spurious tracebacks in the log
when an application probes for all available extensions or when a
dependency of an extension is not installed (in that case the error
message itself should be sufficient to debug the issue).

Change-Id: I43c24f3791d575c2ecf0d08d82d9de5d74ec1150
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-07-13 11:55:57 -04:00
doc Remove irrelated output item 2016-07-04 03:04:49 +00:00
stevedore make error reporting for extension loading quieter 2016-07-13 11:55:57 -04:00
.gitignore ignore .testrepository directory created by testr 2015-01-05 14:59:10 -05:00
.gitreview Update .gitreview after moving the repository 2014-02-07 20:40:10 +00:00
.testr.conf Migrate tox to use testr 2014-10-09 15:30:08 -07:00
.travis.yml Clean up Python 2.6 related stuff 2015-11-26 18:09:38 +08:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:40 +00:00
LICENSE add license 2012-06-19 14:33:24 -04:00
MANIFEST.in Include all images from docs in sdist 2013-06-12 14:03:31 -04:00
README.rst Fix broken link about setuptools entry points 2016-06-30 20:53:46 +08:00
announce.rst fix link to entry point docs 2014-03-31 23:01:47 -04:00
requirements.txt Updated from global requirements 2016-01-16 03:33:18 +00:00
run_sphinx Add example of loading as a driver 2013-06-05 18:02:12 -04:00
setup.cfg Remove Python 2.6 classifier 2015-11-17 16:40:11 +08:00
setup.py Updated from global requirements 2015-09-17 12:17:27 +00:00
test-requirements.txt Updated from global requirements 2016-06-21 18:06:34 +00:00
tox.ini Trivial: ignore openstack/common in flake8 exclude list 2016-05-11 13:45:57 +08:00

README.rst

stevedore -- Manage dynamic plugins for Python applications

Latest Version

Downloads

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.