A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.
Other
12.49k
stars
1.69k
forks
source link
Add `aws-lambda-powertools-python` - A suite of utilities for AWS Lambda Function #219
Before submitting a pull request, verify it meets all requirements in the Contributing Guidelines.
Describe Why This Is Awesome
A suite of utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics async, parameters and secrets management, idempotency, and more.
Why is this awesome?
This project separates core utilities that will be available in other runtimes vs general utilities that might not be available across all runtimes.
AWS Lambda only We optimise for AWS Lambda function environments and supported runtimes only. Utilities might work with web frameworks and non-Lambda environments, though they are not officially supported.
Eases the adoption of best practices. The main priority of the utilities is to facilitate best practices adoption, as defined in the AWS Well-Architected Serverless Lens; all other functionality is optional.
Keep it lean. Additional dependencies are carefully considered for security and ease of maintenance, and prevent negatively impacting startup time.
We strive for backwards compatibility. New features and changes should keep backwards compatibility. If a breaking change cannot be avoided, the deprecation and migration process should be clearly defined.
We work backwards from the community. We aim to strike a balance of what would work best for 80% of customers. Emerging practices are considered and discussed via Requests for Comment (RFCs)
Idiomatic. Utilities follow programming language idioms and language-specific best practices.
Highlighted Features
Tracing - Decorators and utilities to trace Lambda function handlers, and both synchronous and asynchronous functions
Logging - Structured logging made easier, and decorator to enrich structured logging with key Lambda context details
Metrics - Custom Metrics created asynchronously via CloudWatch Embedded Metric Format (EMF)
Bring your own middleware - Decorator factory to create your own middleware to run logic before, and after each Lambda invocation
Parameters utility - Retrieve and cache parameter values from Parameter Store, Secrets Manager, or DynamoDB
Review the Contributing Guidelines
Before submitting a pull request, verify it meets all requirements in the Contributing Guidelines.
Describe Why This Is Awesome
A suite of utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics async, parameters and secrets management, idempotency, and more.
Why is this awesome?
This project separates core utilities that will be available in other runtimes vs general utilities that might not be available across all runtimes.
Highlighted Features
--
Like this pull request? Vote for it by adding a :+1: