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/.
Metadata
Release files for grappler 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grappler-0.1.1.tar.gz | 35.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grappler-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.1 kB
Release files / grappler-0.1.1.tar.gz
| Download URL | grappler-0.1.1.tar.gz |
|---|---|
| Size | 35.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ee270f3d679651e07e9afd62d553d446db58c75e6ef9a62cc5149bf7c6ff70c
|
|
BLAKE2b-256 checksum How to use checksums |
b9425b6b5b7a0c4fa288e5c50aa36e9ee4c0af0ea11395383c4523d2fb74b167
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / grappler-0.1.1-py3-none-any.whl
| Download URL | grappler-0.1.1-py3-none-any.whl |
|---|---|
| Size | 30.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
557d23ac81da1978d55c292a818478407e37afab36df39c747407264ea8f4d0e
|
|
BLAKE2b-256 checksum How to use checksums |
60c87bbd46afeccb1ea39e9a6ce266e0cc15dd8900040e6e191186d170e86b4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|