Load plugins into Python apps
Project description
grappler
A library for loading plugins in Python applications.
What is grappler?
Grappler is a set of tools for loading plugins into a Python application. With it, you can load third-party plugins which advertise along specific topics, and perform additional filtering according to the tools provided with the library. Furthermore, Grappler is compatible with typed Python out of the box.
Feature highlights
- Extremely simple interface for loading entry-points out of the box.
- Extensible design, allowing implementation of new plugin sources with the Grappler interface
- Composable API for customizing plugin sources and loading behaviour
- Handy built-in tools to help with customising loading behavior (e.g. blacklisting plugins so that their code is never loaded).
Installation
Installation requires Python 3.8 or later.
From PyPI
pip install grappler
Getting Started
See the quickstart guide
Documentation
Documentation can be found in project source code (as docstrings), with supplementary
documentation provided in the docs
folder of the source distribution.
Documentation is built using MkDocs; To build, run the following command:
pdm run mkdocs build
A built copy of the documentation is hosted on https://mr-rodgers.github.io/grappler/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file grappler-0.1.1.tar.gz
.
File metadata
- Download URL: grappler-0.1.1.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ee270f3d679651e07e9afd62d553d446db58c75e6ef9a62cc5149bf7c6ff70c |
|
MD5 | 854253e33c905ef0e84882c68c192fc9 |
|
BLAKE2b-256 | b9425b6b5b7a0c4fa288e5c50aa36e9ee4c0af0ea11395383c4523d2fb74b167 |
File details
Details for the file grappler-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: grappler-0.1.1-py3-none-any.whl
- Upload date:
- Size: 30.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 557d23ac81da1978d55c292a818478407e37afab36df39c747407264ea8f4d0e |
|
MD5 | 5e4286fd41991f883f3a54f76899721b |
|
BLAKE2b-256 | 60c87bbd46afeccb1ea39e9a6ce266e0cc15dd8900040e6e191186d170e86b4d |