biffo-plugin-host
The shared plugin-host runtime for Biffo
(ADR-0021): one Lambda mounts every installed user-facing plugin's API behind
the Core API Gateway at /api/v1/plugins/*.
A user-facing plugin is pure code — an ASGI app referenced as "<module>:<attr>"
in its manifest's user_ingress.app (and optionally admin_ingress.app) — not
its own Lambda function or its own Mangum handler. This package is the host that
discovers those manifests, imports each plugin's app, and mounts it behind the
platform's authentication and per-plugin identity assertion.
Install
pip install biffo-plugin-host
Use
from plugin_host.discover import discover_plugins, load_app
plugins = discover_plugins("services")
app = load_app("marketing.app:app")
This is the same discovery and mount logic the platform runs in production
(services/_plugin-host/ in the template). It is published so a plugin repo's
own conformance checks can import and exercise the real host, rather than
re-implementing a mock of it.
Versioning
biffo-plugin-host carries its own independent semver, separate from the
template's core version — see the header comment in pyproject.toml for the
full rationale (the same one packages/python-sdk/pyproject.toml records for
biffo-plugin-sdk).
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file biffo_plugin_host-0.1.0.tar.gz.
File metadata
- Download URL: biffo_plugin_host-0.1.0.tar.gz
- Upload date:
- Size: 53.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9109f6bba68c6a3d90a3b1dd0bdf424177573b9aa26d8b4a0fa4cd9f2400b658
|
|
| MD5 |
9ddfa4ccfc82573eb6bca867b20b50fb
|
|
| BLAKE2b-256 |
dab47711bc586225a3b28d59140acfb36e1bd3978607bf48f9481664739d6ef6
|
Provenance
The following attestation bundles were made for biffo_plugin_host-0.1.0.tar.gz:
Publisher:
publish-plugin-host.yml on keiranholloway/biffo-template
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
biffo_plugin_host-0.1.0.tar.gz -
Subject digest:
9109f6bba68c6a3d90a3b1dd0bdf424177573b9aa26d8b4a0fa4cd9f2400b658 - Sigstore transparency entry: 2759978131
- Sigstore integration time:
-
Permalink:
keiranholloway/biffo-template@bc21ba8d13859f120e7758ebe4a042ae91a7f128 -
Branch / Tag:
refs/tags/plugin-host-v0.1.0 - Owner: https://github.com/keiranholloway
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-plugin-host.yml@bc21ba8d13859f120e7758ebe4a042ae91a7f128 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file biffo_plugin_host-0.1.0-py3-none-any.whl.
File metadata
- Download URL: biffo_plugin_host-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b9d21300a2989e0a1967575f019265d5b7b0167c4bb10d97282a6aa7280891
|
|
| MD5 |
60cb3170c5c5ce4987ea15477f542679
|
|
| BLAKE2b-256 |
c16352665b11d5ce58d58742fa0b03c81d5a8b7d736490ec0cbb3f93a725902c
|
Provenance
The following attestation bundles were made for biffo_plugin_host-0.1.0-py3-none-any.whl:
Publisher:
publish-plugin-host.yml on keiranholloway/biffo-template
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
biffo_plugin_host-0.1.0-py3-none-any.whl -
Subject digest:
49b9d21300a2989e0a1967575f019265d5b7b0167c4bb10d97282a6aa7280891 - Sigstore transparency entry: 2759978153
- Sigstore integration time:
-
Permalink:
keiranholloway/biffo-template@bc21ba8d13859f120e7758ebe4a042ae91a7f128 -
Branch / Tag:
refs/tags/plugin-host-v0.1.0 - Owner: https://github.com/keiranholloway
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-plugin-host.yml@bc21ba8d13859f120e7758ebe4a042ae91a7f128 -
Trigger Event:
workflow_dispatch
-
Statement type: