Skip to main content

ccflow-http

ccflow models for HTTP

Build Status codecov License PyPI

Overview

ccflow-http provides public, domain-neutral HTTP callable models for ccflow workflows. It should own request configuration, auth strategies, request templating, pagination, response parsing, timeout handling, retry/rate-limit integration, and HTTP result metadata.

It should not contain provider-specific endpoint catalogs. Domain packages can configure or subclass these generic models for particular APIs.

Current Status

  • Implemented: HTTPConfig, HTTPAuth, HTTPContext, HTTPRequestContext, HTTPRequest, HTTPRetryPolicy, HTTPResponseResult, compatibility HTTPResult, HTTPModel, templated path/query/header rendering, request explanation through build_request, no-auth/bearer/API-key/basic auth helpers, JSON/text/bytes/CSV/gzip response parsing, HTTP status retry classification over ccflow retry semantics, accepted error statuses returned as results instead of exceptions, retry event summaries on HTTP results, ccflow-etl ExecutionPolicy request spacing, next_url/cursor/page/offset pagination, rate-limit header capture, a configurable RedactionPolicy (HTTPModel.redaction: exact names, substrings, and patterns, with auth header and query names added automatically) that masks secret header and query values in httpx2 request logs, request dumps, result URLs and headers, retry events, and errors, HTTPDownloadModel for streaming a response to a local file with size and SHA-256, HTTPArtifactCaptureModel for storing a dated download plus a manifest through a ccflow-etl file writer, and mocked httpx2 transport tests.
  • Partial: the shared execution policy is currently consumed inside HTTPModel for sequential request spacing; broader evaluator-level concurrency coordination still belongs in evaluator integrations.
  • Missing: broader integration examples and provider-specific subclasses/configs in downstream packages.

Dependency Contract

  • Depends on ccflow for callable model, context, and result interfaces.
  • Depends on ccflow retry policy semantics and ccflow-etl execution policy models.
  • Must not depend on finance packages or application-specific packages.

Test Convention

Default tests should use mocked httpx2 transports or local fixtures. They should not require live network calls or provider credentials.

Metadata

Release files for ccflow-http 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ccflow-http 0.4.2
File Size Uploaded Provenance Actions
ccflow_http-0.4.2.tar.gz 23.1 kB Without provenance Details for ccflow_http-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ccflow-http 0.4.2
File Interpreter ABI Platform Actions
ccflow_http-0.4.2-py3-none-any.whl Python 3 none any Details for ccflow_http-0.4.2-py3-none-any.whl

Total release size: 47.6 kB

Release files / ccflow_http-0.4.2.tar.gz

Download URL ccflow_http-0.4.2.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
990510c3e42ee31b04d261a67641fa5a5e377c90e27dae170f64baf2c95af045
BLAKE2b-256 checksum
How to use checksums
95976ae735b6cb11359421cc3e4dc3ff50e9aa34d239fe2307006a944f351763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / ccflow_http-0.4.2-py3-none-any.whl

Download URL ccflow_http-0.4.2-py3-none-any.whl
Size 24.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9178f08fd381e94e7a08ab52aff53254b048a62b4c8ce6218cf2e3fae7f73cdb
BLAKE2b-256 checksum
How to use checksums
9f6a0851f942651d0967789c7fc2ccc37903a313510517bff40b1164152920bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for ccflow-http 0.4.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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