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.2 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.2'
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.2.tar.gz (83.4 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.2-py3-none-any.whl (87.5 kB view details)

Uploaded Python 3

File details

Details for the file hol_cigar-0.9.2.tar.gz.

File metadata

  • Download URL: hol_cigar-0.9.2.tar.gz
  • Upload date:
  • Size: 83.4 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.2.tar.gz
Algorithm Hash digest
SHA256 7389670a9ba999a25b74aa63d55361825a8146a3709746a051b7392140d1a48c
MD5 00506001f82c6bf19b06f53b20f6c0e4
BLAKE2b-256 a415824139aca1eaa9b04db354fc987352172d50e21947d2afb3a6f5a1058038

See more details on using hashes here.

Provenance

The following attestation bundles were made for hol_cigar-0.9.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: hol_cigar-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 87.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 424e3237d7bc7374f0cb98a6c7ddb6a904cb5682b0314cb262bc70bc55d8def4
MD5 0badc7aff4f1aa2026981a03c926be27
BLAKE2b-256 3dfc556f0dbb731d328c99448a5ffd00e0226799b59c831b796b0d5e5b1c4e7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hol_cigar-0.9.2-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

0.9.4

2 files

This release

0.9.2 This release

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