Skip to main content

functualize-http

Status: Published — Independently installable from PyPI.

HTTP delivery adapter plugin for functualize using Python's stdlib asyncio.

Installation

pip install functualize-http

Usage

As an Adapter

from functualize.app import FunctualizeApp
from functualize_http import HttpAdapter

app = FunctualizeApp("myapp", job_sources=...)
adapter = HttpAdapter()
adapter(app)
adapter.run(host="0.0.0.0", port=8000)

As a CLI Plugin

from functualize.app import FunctualizeApp
from functualize_http import HttpServerPlugin

app = FunctualizeApp("myapp", job_sources=...)
plugin = HttpServerPlugin()
plugin(app)
# The 'serve' command is now available in the CLI

Endpoints

  • GET /health — Health check
  • GET /jobs — List available jobs
  • POST /jobs/{job_name}/execute — Execute a job with the envelope below

The request envelope

Breaking change in this release. A job's parameters used to be the body; they are now nested under arguments, and the control inputs sit beside them.

// Before — a flat body
{"target": "prod", "retries": 3}

// After — an envelope
{
  "arguments":            {"target": "prod", "retries": 3},
  "group_option_values":  {"env": "staging"},
  "scope_id":             "run-42",
  "force":                true
}

The nesting is the fix, not decoration. With a flat body a caller's key could bind to a control parameter — sending {"scope_id": "x"} chose the workflow scope the run joined rather than passing an argument. Nested, a job parameter genuinely named scope_id arrives as an argument and the scope stays a separate, deliberate choice.

field meaning
arguments the job's own parameters
group_option_values the group flags a CLI would have typed mid-path
scope_id the workflow scope to join — this is what makes a gated workflow resumable over HTTP: start it, read the id back from the result metadata, answer the gate, send the same id again
force run even when the fingerprint says the job is fresh

All four are optional. One parser (functualize.types.request_from_envelope) serves every wire surface, so HTTP and Lambda cannot drift apart on what a payload means.

Release files for functualize-http 0.4.0

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

Source distribution (sdist)

Source distribution for functualize-http 0.4.0
File Size Uploaded
functualize_http-0.4.0.tar.gz 20.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for functualize-http 0.4.0
File Interpreter ABI Platform
functualize_http-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.0 kB

Release files / functualize_http-0.4.0.tar.gz

Download URL functualize_http-0.4.0.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
036c485fce2f62c02f01e653548c50c7e0b97cae7d0ee0ab07069db82b6a0361
BLAKE2b-256 checksum
How to use checksums
8700f3edaf4d07eab6dd385fd67f1ceed2ae78bd414a8dfadfb5587e73affaa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / functualize_http-0.4.0-py3-none-any.whl

Download URL functualize_http-0.4.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5413e0ba5d652a9e8c8bd3140dd3f837f5504cfb8badd1d03650eb727ea8bbbd
BLAKE2b-256 checksum
How to use checksums
c0555a644bd900901ee66213259a2ead6ecb121b77ea36122fb6afb0a3496557
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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