Composition root and plugin discovery for generic-ml-cache: discovers gmlcache.adapters plugins (with load-time whitelisting and provenance trust) and wires the application.
Project description
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
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
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 generic_ml_cache_bootstrap-0.29.0.tar.gz.
File metadata
- Download URL: generic_ml_cache_bootstrap-0.29.0.tar.gz
- Upload date:
- Size: 36.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84410d02dcd22c13f23c4b2c903483536f7a52fff8e5dddc24459abb937e13aa
|
|
| MD5 |
9be331debe8c08492805a0e9cca04790
|
|
| BLAKE2b-256 |
7e5b67bdc89536cc43d62372463687b1d3cbf4223d0ec7a47cd8b541b07a0f70
|
Provenance
The following attestation bundles were made for generic_ml_cache_bootstrap-0.29.0.tar.gz:
Publisher:
release.yml on danielslobozian/generic-ml-cache
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
generic_ml_cache_bootstrap-0.29.0.tar.gz -
Subject digest:
84410d02dcd22c13f23c4b2c903483536f7a52fff8e5dddc24459abb937e13aa - Sigstore transparency entry: 2104424857
- Sigstore integration time:
-
Permalink:
danielslobozian/generic-ml-cache@2ca7bb558de5e060c5cf582c4535e7f767f6fb83 -
Branch / Tag:
refs/tags/v0.29.0 - Owner: https://github.com/danielslobozian
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2ca7bb558de5e060c5cf582c4535e7f767f6fb83 -
Trigger Event:
push
-
Statement type:
File details
Details for the file generic_ml_cache_bootstrap-0.29.0-py3-none-any.whl.
File metadata
- Download URL: generic_ml_cache_bootstrap-0.29.0-py3-none-any.whl
- Upload date:
- Size: 35.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17aab4cdd3104c2ba174cb0c6307b5c96e0d6b0a582ce1e98dd2da60644cfb8a
|
|
| MD5 |
e75ff643fe41009f38b6f48b3a619c81
|
|
| BLAKE2b-256 |
f6895e6e83bb839ef06d43d827eed9ec0a1ddf1e3821f4bfa5b3e2c4ef1f8467
|
Provenance
The following attestation bundles were made for generic_ml_cache_bootstrap-0.29.0-py3-none-any.whl:
Publisher:
release.yml on danielslobozian/generic-ml-cache
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
generic_ml_cache_bootstrap-0.29.0-py3-none-any.whl -
Subject digest:
17aab4cdd3104c2ba174cb0c6307b5c96e0d6b0a582ce1e98dd2da60644cfb8a - Sigstore transparency entry: 2104425206
- Sigstore integration time:
-
Permalink:
danielslobozian/generic-ml-cache@2ca7bb558de5e060c5cf582c4535e7f767f6fb83 -
Branch / Tag:
refs/tags/v0.29.0 - Owner: https://github.com/danielslobozian
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2ca7bb558de5e060c5cf582c4535e7f767f6fb83 -
Trigger Event:
push
-
Statement type: