Skip to main content

functualize-lambda

Status: Published — Independently installable from PyPI.

AWS Lambda adapter plugin for functualize.

Supports two deployment patterns:

  1. Fat Lambda — Single Lambda function with internal routing via event["job"]
  2. Thin Lambda — One Lambda per job via make_handler(job_name)

Installation

pip install functualize-lambda

Usage

Fat Lambda (internal routing)

from functualize.app import FunctualizeApp, JobSources
from functualize_lambda import LambdaAdapter

app = FunctualizeApp("my-app", job_sources=JobSources(functions=[deploy, rollback]))
adapter = LambdaAdapter()
adapter(app)

def handler(event, context):
    return adapter.run(event, context)

The event envelope

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

// Before
{"job": "deploy", "kwargs": {"target": "prod"}}

// After
{
  "job":                  "deploy",
  "arguments":            {"target": "prod"},
  "group_option_values":  {"env": "staging"},
  "scope_id":             "run-42",
  "force":                true
}

The nesting is the fix, not decoration: with the parameters flat against the control inputs, an argument named scope_id chose the workflow scope the run joined instead of reaching the job.

scope_id is what makes a gated workflow resumable over Lambda — invoke, read the id back from the result, answer the gate, invoke again with the same id. All fields but job are optional, and one parser (functualize.types.request_from_envelope) serves every wire surface, so Lambda and HTTP cannot drift apart on what a payload means.

Thin Lambda (per-job handler)

from functualize.app import FunctualizeApp, JobSources
from functualize_lambda import LambdaAdapter

app = FunctualizeApp("my-app", job_sources=JobSources(functions=[deploy]))
adapter = LambdaAdapter()
adapter(app)

handler = adapter.make_handler("deploy")

Release files for functualize-lambda 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-lambda 0.3.0
File Size Uploaded
functualize_lambda-0.3.0.tar.gz 16.9 kB Details

Built distribution (wheel)

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

Total release size: 27.5 kB

Release files / functualize_lambda-0.3.0.tar.gz

Download URL functualize_lambda-0.3.0.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
33d7283ad5e9ca8a61adca5a0d8f5ebbda6ba5ffd7d04aafcefccd28a4ee75dc
BLAKE2b-256 checksum
How to use checksums
13c9715617f3c468a9c919e65ee376ae8ee462e981c841020b9eb12a4e123b5d
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_lambda-0.3.0-py3-none-any.whl

Download URL functualize_lambda-0.3.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d4fd3e8e829f78c46968e8c528af52aeba3eca153b19829120ad2a0602ce150
BLAKE2b-256 checksum
How to use checksums
f2d3dff7111590412bd06bb15a017974003c1ccb95159694e8b482694d6f2dae
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