hol-cigar
hol-cigar is the Python SDK for CIGAR, an alpha project from HOL.org.
Alpha developer preview:
0.9.4is an unsupported proof of concept for Python 3.14. The SDK does not include the CIGAR daemon. The Honey daemon is qualified separately only on Apple-silicon macOS; do not treat this package as production-ready or cross-platform runtime support.
The Python 3.14 SDK exposes all 45 frozen CIGAR v1 operations through both
AsyncCigarClient and CigarClient. Both facades provide bounded deadlines,
typed problems, resumable streams, pagination, fixed idempotency keys, safe retry,
and local semantic bundle/delta verification.
The PyPI distribution is named hol-cigar; its stable Python import namespace remains cigar_sdk.
The exported cigar_sdk.CONTEXT_ABI constant is the exact string cigar.context.v1.
python3.14 -m pip install --pre 'hol-cigar==0.9.4'
from cigar_sdk import AsyncCigarClient, TypedOperationRequest, create_idempotency_key, models
async with AsyncCigarClient("https://cigar.example", bearer_token=token_provider) as client:
result = await client.compile_context_bundle(
TypedOperationRequest(
models.CompileContextBundleRequest(plan_id=plan_id),
idempotency_key=create_idempotency_key("compile"),
)
)
Every nominal request and response is validated against the frozen payload schema. Mutating retries reuse the exact caller-provided key and bytes. Effect dispatch is always one attempt. Synchronous and asynchronous streams are explicit context managers so callers can close the underlying response deterministically.
Token providers accept the remaining call timeout in seconds. Injecting a custom
HttpTransport requires trust_custom_transport=True; the default transport ignores
ambient proxies and refuses redirects. The wheel and source distribution both include
the shared fixture, so cigar-qualify-bundle works from a clean installation.
Honey distributions also install cigar-agent-b-handoff. It accepts an existing recipient-bound
handoff, then records one typed, evidence-backed result with independent idempotency keys. The
Agent B bearer token is read only from CIGAR_AGENT_B_TOKEN, never a command-line argument. Run
cigar-agent-b-handoff --help for the required handoff, plan, base-commit, revision, claim,
evidence, and caller-generated acceptance/result idempotency keys. The example requests no
follow-up capability and never dispatches an effect.
Remote HTTPS construction requires an explicit bearer_token value or provider. The SDK never
discovers credentials from the URL, environment, project configuration, proxy settings, or a
redirect target. Explicit cleartext loopback mode remains available only for local development.
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 hol_cigar-0.9.4.tar.gz.
File metadata
- Download URL: hol_cigar-0.9.4.tar.gz
- Upload date:
- Size: 92.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
848e957b4bbe29d9cab6297a13eb066fd37b7da05ac4daede81e7eb407fccc58
|
|
| MD5 |
cdd3ec6082f5e22d13d3c35f13496777
|
|
| BLAKE2b-256 |
2901d6d72fb605f9c2564442b5c61fc0fbc5bdcc41b6ad112f929a16ad2b4019
|
Provenance
The following attestation bundles were made for hol_cigar-0.9.4.tar.gz:
Publisher:
publish-hol-cigar.yml on hashgraph-online/hol-cigar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hol_cigar-0.9.4.tar.gz -
Subject digest:
848e957b4bbe29d9cab6297a13eb066fd37b7da05ac4daede81e7eb407fccc58 - Sigstore transparency entry: 2521013468
- Sigstore integration time:
-
Permalink:
hashgraph-online/hol-cigar@6e518ad95a018a80a04db295c0f91ec928a0ba0c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hashgraph-online
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-hol-cigar.yml@6e518ad95a018a80a04db295c0f91ec928a0ba0c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file hol_cigar-0.9.4-py3-none-any.whl.
File metadata
- Download URL: hol_cigar-0.9.4-py3-none-any.whl
- Upload date:
- Size: 95.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
376987b390652d6a045709bb6dce00c3a39f5700cb5100c1e7ed03fe2785ee1e
|
|
| MD5 |
d4aa0367149197b32d6dda466220b064
|
|
| BLAKE2b-256 |
16f9d403322475a2500f5ea131e905e155508601fcaeb0fba7220266b1d39de3
|
Provenance
The following attestation bundles were made for hol_cigar-0.9.4-py3-none-any.whl:
Publisher:
publish-hol-cigar.yml on hashgraph-online/hol-cigar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hol_cigar-0.9.4-py3-none-any.whl -
Subject digest:
376987b390652d6a045709bb6dce00c3a39f5700cb5100c1e7ed03fe2785ee1e - Sigstore transparency entry: 2521013553
- Sigstore integration time:
-
Permalink:
hashgraph-online/hol-cigar@6e518ad95a018a80a04db295c0f91ec928a0ba0c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hashgraph-online
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-hol-cigar.yml@6e518ad95a018a80a04db295c0f91ec928a0ba0c -
Trigger Event:
workflow_dispatch
-
Statement type: