文件名称:stevedore:管理适用于Python应用程序的动态插件。 在opendev.org上维护的代码镜像
文件大小:529KB
文件格式:ZIP
更新时间:2024-06-03 22:44:31
Python
stevedore-管理适用于Python应用程序的动态插件 Python使动态加载代码变得容易,允许您通过在运行时发现和加载扩展(“插件”)来配置和扩展应用程序。 为此,许多应用程序都使用__import__或importlib实现了自己的库。 装卸工人通过建立在顶部来避免创建另一种扩展机制。 但是,用于管理入口点的代码往往是重复的,因此stevedore提供了用于实现使用动态加载的扩展的通用模式的管理器类。 免费软件:Apache许可证 文档: : 资料来源: : 错误: :
【文件预览】:
stevedore-master
----README.rst(1KB)
----test-requirements.txt(410B)
----CONTRIBUTING.rst(331B)
----tox.ini(2KB)
----.stestr.conf(49B)
----LICENSE(11KB)
----stevedore()
--------_cache.py(6KB)
--------hook.py(4KB)
--------example()
--------example2()
--------tests()
--------dispatch.py(9KB)
--------enabled.py(3KB)
--------driver.py(6KB)
--------__init__.py(544B)
--------named.py(7KB)
--------extension.py(14KB)
--------exception.py(864B)
--------sphinxext.py(4KB)
----releasenotes()
--------notes()
--------source()
----setup.cfg(1KB)
----.zuul.yaml(224B)
----.gitreview(76B)
----requirements.txt(303B)
----doc()
--------requirements.txt(302B)
--------Makefile(6KB)
--------source()
----setup.py(766B)
----.gitignore(378B)
----bindep.txt(283B)
----.pre-commit-config.yaml(1KB)