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)

Events should have the shape: {"job": "job_name", "kwargs": {"key": "value"}}

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.1.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.1.0
File Size Uploaded
functualize_lambda-0.1.0.tar.gz 7.3 kB Details

Built distribution (wheel)

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

Total release size: 11.4 kB

Release files / functualize_lambda-0.1.0.tar.gz

Download URL functualize_lambda-0.1.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
094a85d8e62f42797891f8dd3a95c2cdeaa18dfbc95a49697ea13334956a9670
BLAKE2b-256 checksum
How to use checksums
bb5c47c94639686c5d8009312c21677ce8842656bfbb8d857387bc25a5883781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release files / functualize_lambda-0.1.0-py3-none-any.whl

Download URL functualize_lambda-0.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65e1c984743354f96d945e579dd740a3ba9c5c067fedb39205d9121fb3a7f827
BLAKE2b-256 checksum
How to use checksums
ae184807eb6276a23f68ce5bd30e5d1aa2a813b2eed27c4f8c06b2c29763d1ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release history Release notifications | RSS feed

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

This release

0.1.0 This release

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