Skip to main content

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

biffo_plugin_host-0.1.0.tar.gz (53.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biffo_plugin_host-0.1.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

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

Hashes for biffo_plugin_host-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9109f6bba68c6a3d90a3b1dd0bdf424177573b9aa26d8b4a0fa4cd9f2400b658
MD5 9ddfa4ccfc82573eb6bca867b20b50fb
BLAKE2b-256 dab47711bc586225a3b28d59140acfb36e1bd3978607bf48f9481664739d6ef6

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file biffo_plugin_host-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for biffo_plugin_host-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49b9d21300a2989e0a1967575f019265d5b7b0167c4bb10d97282a6aa7280891
MD5 60cb3170c5c5ce4987ea15477f542679
BLAKE2b-256 c16352665b11d5ce58d58742fa0b03c81d5a8b7d736490ec0cbb3f93a725902c

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page