Skip to main content

hol-cigar

hol-cigar is the Python SDK for CIGAR, an alpha project from HOL.org.

Alpha developer preview: 0.9.4 is 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

hol_cigar-0.9.4.tar.gz (92.5 kB view details)

Uploaded Source

Built Distribution

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

hol_cigar-0.9.4-py3-none-any.whl (95.4 kB view details)

Uploaded Python 3

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

Hashes for hol_cigar-0.9.4.tar.gz
Algorithm Hash digest
SHA256 848e957b4bbe29d9cab6297a13eb066fd37b7da05ac4daede81e7eb407fccc58
MD5 cdd3ec6082f5e22d13d3c35f13496777
BLAKE2b-256 2901d6d72fb605f9c2564442b5c61fc0fbc5bdcc41b6ad112f929a16ad2b4019

See more details on using hashes here.

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

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

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

Hashes for hol_cigar-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 376987b390652d6a045709bb6dce00c3a39f5700cb5100c1e7ed03fe2785ee1e
MD5 d4aa0367149197b32d6dda466220b064
BLAKE2b-256 16f9d403322475a2500f5ea131e905e155508601fcaeb0fba7220266b1d39de3

See more details on using hashes here.

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

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.9.4 This release

2 files

0.9.2

2 files

0.9.1

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