devel/py-stevedore 5.8.0 OpenBSD
manage dynamic plugins for Python applications
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Port added
- Last update
- Commit
5a576d127c- Categories
- devel, lang/python
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-stevedore | 5.8.0 |
| FreeBSD | devel/py-stevedore | 5.9.1 |
| NetBSD | devel/py-stevedore | 5.9.1 |
| DragonFly | devel/py-stevedore | 5.4.1 |
| HardenedBSD | devel/py-stevedore | 5.9.1 |
| GhostBSD | devel/py-stevedore | 5.9.1 |
Install
Binary package:
pkg_add py3-stevedore
From the ports tree:
cd /usr/ports/devel/py-stevedore && make install