A Python decorator to keep AWS Lambda functions warm and monitor cold starts. The decorator intercepts warmer invocations (typically from a CloudWatch Event) and returns a no-op response, while measuring cold start duration. Current version 0.6.0. Release cadence is low, last updated in 2020.
pip install lambda-warmer-pyVerified import paths — ran on the pinned version, not inferred.
Decorate your Lambda handler with @warmer to handle warm-up pings and log cold start metrics.
Ensure @warmer is the outermost decorator (closest to the function definition) or applied directly to the raw handler.
Attach an IAM policy granting cloudwatch:PutMetricData to your Lambda execution role, or override the metric publishing logic.
No dependency data recorded yet.