Skip to main content

Python SDK for CIGAR, an open protocol developed by HOL

Project description

hol-cigar

hol-cigar is the Python SDK for CIGAR, an open protocol developed by HOL.

Developer preview: version 0.9.1 is evaluation software. It is unsupported, is not production-qualified, and does not carry the full CIGAR release qualification.

The distribution name is hol-cigar; the Python import package remains cigar_sdk.

Install

Python 3.14 is required for this preview.

python -m pip install "hol-cigar==0.9.1"

Use

The SDK exposes all 45 frozen CIGAR v1 operations through synchronous and asynchronous clients. It provides typed problems, bounded deadlines, safe retry, resumable streams, pagination, fixed idempotency keys, and local semantic bundle/delta verification.

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"),
        )
    )

The exported cigar_sdk.CONTEXT_ABI constant is cigar.context.v1.

Remote HTTPS construction requires an explicit bearer token or token provider. The default transport ignores ambient proxies and refuses redirects. Explicit cleartext transport is limited to loopback development.

Qualification and limitations

This package uses the bounded Honey developer-preview standard for its selected surface: authority and protocol drift checks, focused SDK tests, wheel and source archive inspection, clean-install checks, license/notice verification, README rendering checks, and artifact checksums.

Long-duration fuzzing, mutation qualification, soak, production chaos and scale campaigns, two-builder reproducibility, production support, and GA claims remain deferred. Passing the package gate is not evidence of production qualification.

The machine-readable profile is packaging/pypi/release-profile.v1.json.

Source and license

Project details


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.1.tar.gz (83.0 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.1-py3-none-any.whl (87.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hol_cigar-0.9.1.tar.gz
  • Upload date:
  • Size: 83.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hol_cigar-0.9.1.tar.gz
Algorithm Hash digest
SHA256 20bef5e8c08c68b301ed6e400b25f472541f013b10d7e34b499db18f7b1ed125
MD5 812cbc4372decb741424245d3c63497f
BLAKE2b-256 8614cd48d5c5fb009c164f964100068e005c0bc4ce2a8f49be7d502386e48210

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hol_cigar-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 87.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hol_cigar-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2f9299aa5fddbd848d0ec95c488eb5d0b3904c6718e6dec0537e7f37edbe75
MD5 1be692038e1ff2e7d08e455d7a5841c1
BLAKE2b-256 5aa2bc3bdad6ab67c15516c92d4ea7f55ce71c3e85dabb1eb78f89e6dfd1e53a

See more details on using hashes here.

Provenance

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page