functualize-lambda
Status: Published — Independently installable from PyPI.
AWS Lambda adapter plugin for functualize.
Supports two deployment patterns:
- Fat Lambda — Single Lambda function with internal routing via
event["job"] - 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)
| File | Size | Uploaded | |
|---|---|---|---|
| functualize_lambda-0.3.0.tar.gz | 16.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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