#2828th of 107 in Backend and cloud templates
powertools-lambda-python
Python toolkit for AWS Lambda: logging, tracing, metrics, event handlers, idempotency
- Stars
- 3.3k
- License
- MIT-0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
3,231 on 26 Apr 20263,306 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A Python library of independent utilities for AWS Lambda functions. It covers structured JSON logging, X-Ray tracing, CloudWatch EMF metrics, routing for API Gateway, ALB, AppSync and Bedrock Agents, plus idempotency, batch processing, parameters and validation. Installs from PyPI or a public Lambda layer for x86_64 and arm64, and supports Python 3.10 to 3.14.
Who it is for: Python developers building and operating AWS Lambda functions
Strengths
- Each utility is independent, designed to keep cold start overhead low
- Idempotency persists to DynamoDB, Redis or Valkey
- Event handler generates OpenAPI schemas and Swagger UI; builds Bedrock Agents action groups
- Public Lambda layer for x86_64 and arm64; ports exist for TypeScript, Java and .NET
Weaknesses
- Tied to AWS Lambda and AWS services; not usable as a general backend framework
- Some utilities need extras, such as aws-lambda-powertools[parser] for Pydantic
- Auth utility is marked alpha
- Tracing and parameter utilities depend on X-Ray, Parameter Store, Secrets Manager or AppConfig
What it needs
- Python
- Needs AWS Lambda, AWS X-Ray, CloudWatch, DynamoDB, Redis or Valkey (optional, idempotency), AWS KMS (optional, data masking)
What changed
- v3.41.0 ↗ (opens in a new tab)Breaking
“feat(auth): add SigV4 and SigV4a request signing (#8820) by @leandrodamascena”
- v3.40.0 ↗ (opens in a new tab)Breaking
“feat(event_sources): add support for Amazon Connect Outbound Campaigns (#8702) by @ASHMEET555”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backend and cloud templates
See all 107| Rank | Project | Score |
|---|---|---|
| #26 | playframeworkStateless, non-blocking web framework for Java and Scala applications | 78 out of 100 |
| #27 | slimPHP micro-framework for routing and middleware in web apps and APIs | 78 out of 100 |
| #29 | javalinLightweight web framework for Java and Kotlin with WebSockets and HTTP/2 | 76 out of 100 |
| #30 | chiComposable HTTP router for Go REST services, built on net/http | 75 out of 100 |
| #31 | gqlgenSchema-first GraphQL server generator for Go with typed resolvers | 75 out of 100 |