powertools-lambda-python
serverless-application-model
powertools-lambda-python | serverless-application-model | |
---|---|---|
23 | 98 | |
2,691 | 9,266 | |
2.9% | 0.3% | |
9.9 | 9.1 | |
6 days ago | 7 days ago | |
Python | Python | |
MIT No Attribution | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
powertools-lambda-python
-
AWS Chalice
> It seems aws focus is now at https://github.com/aws-powertools/powertools-lambda-python
-
SamGIS - Segment Anything applied to GIS
Setup not always easy (I used Powertools for AWS Lambda (Python) to improve my logger setup)
- SamGIS - Segment Anything adattato al GIS
-
Superpower REST API DX with Serverless ⚡ and DevOps Best Practices on AWS (🐍 Python Version)
Also I suggest to have a look at AWS Lambda PowerTools, which simplifies adopting best practices with Lambda
-
AWS Serverless Diversity: Multi-Language Strategies for Optimal Solutions
Python is a natural fit for serverless development. It boasts a vast array of libraries, including Powertools for AWS and robust libraries for data engineers. Its versatility and excellent developer experience make it a top choice for serverless projects, offering a seamless and enjoyable development experience.
-
Turbocharge your Lambda Functions with AWS Lambda Powertools for Python
Read more: https://docs.powertools.aws.dev/lambda/python/latest/
-
Billing for SaaS with EMF and CloudWatch Metric Streams
Imagine a sample Python application returning "hello world" to simulate a successful call. Each call to the application is captured for billing purposes using EMF. Lambda Powertools is used to reduce the amount of code we need to write.
-
Serverless Site Health Check Notification System
Below is an example of lambda handler code. It is using the highly recommended Powertools for AWS Lambda library to ensure best practices around tracing, logging, metrics, and more. The function gets passed an SNS topic and Slack webhook URL at creation time (via environment variables) to send notifications to. It parses the passed in event information to determine which hostname had it's status changed and what the new status is and sends out notifications.
- Advice for unattended vending machine startup with basic api, crud, and database needs
-
Investigating Pydantic v2's Bold Performance Claims
It's worth noting that these improvements will also impact other libraries and frameworks that rely on Pydantic, such as FastAPI and AWS Lambda Powertools, which could deliver some transitive performance improvements to various projects that don't directly depend on Pydantic themselves.
serverless-application-model
-
Simple and Cost-Effective Testing Using Functions
The complete solution with SAM is available here.
-
Deploying a Serverless Dash App with AWS SAM and Lambda
There are many options to deploy Serverless Applications in AWS and one of them is SAM, the Serverless Application Model. I chose to use it here, because it doesn't add too many layers of abstraction between what's being deployed and the code we write and our infrastructure is quite simple.
-
Serverless Apache Zeppelin on AWS
The solution uses AWS SAM with the global configuration for Lambda functions and the public API you can use to access Apache Zeppelin. The stack deployment provides the URL as an output value.
-
Using design patterns in AWS Lambda
When you combine this with the AWS Serverless Application Model you can also very easily include your dependencies. Or use a compiled language like golang for your Lambda functions. You simply run sam build before you run the aws cloudformation package and aws cloudformation deploy commands. SAM will build the binary and update the template to point to the newly built binary. Package will then upload it to S3 and replace the local reference to the S3 location. Deploy can then create or update the stack or you can use the CloudFormation integration in CodePipeline.
-
Serverless Site Health Check Notification System
I'm a big fan of using an Infrastructure as Code (IaC) approach for any project. My go to tools for this are the Servlerless Application Model (SAM) and it's associated CLI (SAM CLI). For more official use cases and for cross platform apps I typically use Terraform.
-
Starting My AWS Certification Journey as a Certified Cloud Practitioner
AWS SAM
-
API Gateway, Lambda, DynamoDB and Rust
Kicking off the tour and not starting a war, but I'm going to be using the Serverless Application Model.
-
Consuming an SQS Event with Lambda and Rust
The diagram here is super simple. I'm going to write something a little later that shows how this code could fit into a bigger workflow, but for now, I'm keeping it basic. And yes, that's the SAM Squirrel in there.
-
AWS Data Engineer Associate Certification - Coming Soon
Interestingly, AWS CDK and SAM are both explicitly mentioned. While CDK broadly addresses Infrastructure as Code, SAM is highlighted for its role in developing serverless data pipelines - a hugely underrated concept.
-
A Beginner's Guide to the Serverless Application Model (SAM)
Naturally, there are several options available to declare your cloud resources. The options with the most popularity are the CDK, AWS CloudFormation, SST, Serverless framework, Terraform, and AWS SAM. There are others, but when talking about Infrastructure as Code (IaC), these are the ones you hear about most often.
What are some alternatives?
powertools-lambda-java - Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
aws-elastic-beanstalk-cli - The EB CLI is a command line interface for Elastic Beanstalk that provides interactive commands that simplify creating, updating and monitoring environments from a local repository.
tz - Time zone database and code
LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline
unlock-mainframe-data-files-on-aws - This solution is designed to help you unlock legacy mainframe data by migrating data files from mainframe systems to AWS. By migrating the data, you can make use of the powerful analytics, machine learning, and other services available in AWS to gain insights and make better decisions based on the data.
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
powertools-lambda-typescript - Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
sst-start-demo - A simple SST app to demo the new `sst start` command
aws-lambda-web-adapter - Run web applications on AWS Lambda
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
serverless-application-model - AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications [Moved to: https://github.com/aws/serverless-application-model]
aws-sam-cli - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM