Context Compiler Example Integrations for Python
These examples show how authoritative state changes application behavior at runtime.
Each example demonstrates a single enforcement point where premise and policy influence what a host allows, routes, retrieves, builds, or executes.
- The core authority contract is provided by
context-compiler. - Directive recognition can optionally be added with
context-compiler-directive-drafter. - These examples focus on where authoritative state changes application behavior.
Prompt reinjection influences model behavior.
Context Compiler influences runtime behavior.
Install options
Base installation keeps this package discovery-first:
pip install "context-compiler-example-integrations"
That installs the shared core dependency only:
context-compiler>=0.9.1,<0.10
Add extras only for the examples you want to inspect locally:
pip install "context-compiler-example-integrations[drafter]"for examples that usecontext-compiler-directive-drafterpip install "context-compiler-example-integrations[retrieval]"for ChromaDB retrieval filtering examplespip install "context-compiler-example-integrations[fastapi]"for FastAPI variantspip install "context-compiler-example-integrations[litellm]"for LiteLLM-oriented examples and reference integrationspip install "context-compiler-example-integrations[all]"to install all package-managed optional dependencies
Open WebUI is not installed by this package. The Open WebUI reference integration assumes Open WebUI is already installed and configured as the host runtime.
Package contents
The installed package exposes the Python examples and reference-integration
modules under context_compiler_example_integrations.
For the enforcement-point catalog and repository navigation, see the root README. Each example and reference integration has its own setup, runtime, and validation instructions.
Metadata
Release files for context-compiler-example-integrations 0.2.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 | |
|---|---|---|---|
| context_compiler_example_integrations-0.2.1.tar.gz | 64.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| context_compiler_example_integrations-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 172.6 kB
Release files / context_compiler_example_integrations-0.2.1.tar.gz
| Download URL | context_compiler_example_integrations-0.2.1.tar.gz |
|---|---|
| Size | 64.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
022b502e8071aafd1000c578a488b310d34c0b07a9017649bcddf8d302268e56
|
|
BLAKE2b-256 checksum How to use checksums |
dad615047f2e344049f33fa5334e927059b2df212fc5077d51d55a9c1bcc9f94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 21, 2026.
Transparency logRelease files / context_compiler_example_integrations-0.2.1-py3-none-any.whl
| Download URL | context_compiler_example_integrations-0.2.1-py3-none-any.whl |
|---|---|
| Size | 108.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88a0a2f8b361eb1ee757588bc06c167c740e72cad46467c78a8cf91a51bda495
|
|
BLAKE2b-256 checksum How to use checksums |
ca492f7a5d65e4bf3be143d1875b883291d5931a9048a460e16f3b1f73f863d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 21, 2026.
Transparency log