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, retry event summaries on HTTP results, ccflow-etl ExecutionPolicy request spacing, next_url/cursor/page/offset pagination, rate-limit header capture, and mocked httpx 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 httpx transports or local fixtures. They should not require live network calls or provider credentials.

[!NOTE] This library was generated using copier from the Base Python Project Template repository.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ccflow_http-0.1.1.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

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

ccflow_http-0.1.1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file ccflow_http-0.1.1.tar.gz.

File metadata

  • Download URL: ccflow_http-0.1.1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ccflow_http-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9de7781e4564f00d83b6828ece77d24cedd95fdb571be093a1923432cf61248d
MD5 535bd3b17d5002df0765fd6bf58a2742
BLAKE2b-256 998b185a8923da0937b6806bdfd9ea321d6a574d6e30296fe643156fc667bcc8

See more details on using hashes here.

File details

Details for the file ccflow_http-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ccflow_http-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ccflow_http-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 accefbb041692c4db0c2bc795edb0c02aaf33388eea5a5dbeb04bec1c5e9fa1a
MD5 e6b0c89ffb90bf0104ef5e1566ec1c1e
BLAKE2b-256 b6c03ab607ae86b8fd144882a43fcc904f3282c2e6c2dd39a60c2a907332d0e6

See more details on using hashes here.

Supported by

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