Skip to main content

generic-ml-cache-bootstrap

The composition root and plugin discovery for gmlcache

The startup layer that assembles the application. It discovers the gmlcache.adapters plugins (whitelisting them at load time and judging which distributions are trusted), then wires the core use cases to the concrete adapters and hands the drivers a ready application API.

It is the one place that freely wires both core and adapters — the composition root in hexagonal terms. The drivers (cli, daemon) get their wired application from bootstrap and reach the domain only through the inbound ports of that ApplicationApi bundle; the DB-backed adapters are grouped behind an injectable PersistenceBackend, so no driver ever touches a raw connection. A driver keeps only a few deliberate direct edges to adapters, each a driver-policy choice rather than domain wiring: the CLI's own encrypt/decrypt/rotate command helpers (the crypto adapters) and its demo stub adapter, and each driver selecting its own diagnostics (logging) adapter. An adapter never imports bootstrap (that would be a leaf calling the composition root). These edges are frozen by import-linter contracts.

Install

You normally get it transitively (pip install generic-ml-cache-cli pulls it in). Installed on its own:

pip install generic-ml-cache-bootstrap

License

Apache-2.0 — see LICENSE and NOTICE.

Release files for generic-ml-cache-bootstrap 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for generic-ml-cache-bootstrap 1.0.0
File Size Uploaded
generic_ml_cache_bootstrap-1.0.0.tar.gz 36.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for generic-ml-cache-bootstrap 1.0.0
File Interpreter ABI Platform
generic_ml_cache_bootstrap-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 71.9 kB

Release files / generic_ml_cache_bootstrap-1.0.0.tar.gz

Download URL generic_ml_cache_bootstrap-1.0.0.tar.gz
Size 36.6 kB
Tags Source
SHA-256 checksum
How to use checksums
501252965dd2b26bef9983f2f927c53b622ac919d9013a90917083f50dd1f8bc
BLAKE2b-256 checksum
How to use checksums
d8e26d59e94b45327fd3e574319f7d863e5217971acd403131c11cae6e9645fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.

Transparency log

Release files / generic_ml_cache_bootstrap-1.0.0-py3-none-any.whl

Download URL generic_ml_cache_bootstrap-1.0.0-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd36d3db821a8db8099952a4a75978905856affbf51f8516446ef994a8c6dafd
BLAKE2b-256 checksum
How to use checksums
52f29826f2f9fae0621f58b40ea239ae765c1dcbb5bb501072f9f9c3d9e5b5f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release 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