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.3.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.3.0
File Size Uploaded
functualize_http-0.3.0.tar.gz 20.0 kB Details

Built distribution (wheel)

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

Total release size: 32.8 kB

Release files / functualize_http-0.3.0.tar.gz

Download URL functualize_http-0.3.0.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
55b957963ba56b755fe39bf987fd80ed161d22b80f08ca04c40f4d667b6749fb
BLAKE2b-256 checksum
How to use checksums
90170438185c9562981682bf0e6c922b9f2a21b52fe83ac9bdbb0efec32a6788
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 18, 2026.

Transparency log

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

Download URL functualize_http-0.3.0-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d23404e2027ea3ae7acba22fe5911b986e6d5495251d17518a8efc0c182f262
BLAKE2b-256 checksum
How to use checksums
048fcaf12d5126ef98be2057693ebd4e3f89bac5c1d47aef45d1cdde64aec4de
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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

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