SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Lambda Projects
-
Another alternative is Zappa which is built-in Python Serverless Framework and it serves only that runtime on AWS.
-
awesome-aws
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
Project mention: Looking for a good developer workflow with private pip packages | reddit.com/r/learnpython | 2022-07-28
I'm working with AWS Chalice. It's a Python framework that deploys to lambdas, though it has its share of quirks/issues.
-
serverless-application-model
The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.
AWS SAM - Infrastructure as Code tool, specifically for serverless development
-
Project mention: when should I use api-gateway aws vs self written nodejs api | reddit.com/r/node | 2023-02-24
Does anyone have any success with API Gateway/Lamba for local environment with hot-reloading? I was playing around with “sam local start-api” a few weeks ago with along with CDK but it doesn’t seem like hot-reloading is supported, and need to manually restart for code changes to reflect, which is currently stopping me from trying out the API Gateway/Lamba combo further due to inefficient DX. Here’s a GitHub issue about it: https://github.com/aws/aws-sam-cli/issues/901
-
cloud-custodian
Rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources
Use a tool like this https://cloudcustodian.io/ to manage instance on/off hours or go fargate.
-
AWS Data Wrangler
pandas on AWS - Easy integration with Athena, Glue, Redshift, Timestream, Neptune, OpenSearch, QuickSight, Chime, CloudWatchLogs, DynamoDB, EMR, SecretManager, PostgreSQL, MySQL, SQLServer and S3 (Parquet, CSV, JSON and EXCEL).
Project mention: I agree that Arrow Tables are great, but we decided to keep the library focused on the Pandas interface. [wont implement] | reddit.com/r/programmingcirclejerk | 2022-09-21 -
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
streamalert
StreamAlert is a serverless, realtime data analysis framework which empowers you to ingest, analyze, and alert on data from any environment, using datasources and alerting logic you define.
-
Project mention: What are SSH Certificate Authority solutions? | reddit.com/r/linuxadmin | 2022-07-26
In the quick search I learned about ssh cert authority which looks very manual and also like a dead project smallstep's step-ca who put together very nice article about how to begin certificate authority process Netflix' BLESS is AWS only Cashier which also looks quite ok
-
-
aws-lambda-powertools-python
A developer toolkit to implement Serverless best practices and increase developer velocity.
As the homepage displays, Lambda PowerTools is a suite of utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, idempotency, batching, and more.
-
Use public layers maintained by others. For example Klayers which are produced with CI in GitHub Actions. This way you don't have any layers lying around in your Lambda UI. You can point to new layer versions whenever you wish. You can interact with the layer data via an API : https://github.com/keithrozario/Klayers/#api
-
Project mention: Options to host a ReactJS + FastAPI + SQLlite application? | reddit.com/r/FastAPI | 2022-12-15
I discovered https://github.com/jordaneremieff/mangum which basically transforms a fastapi app to be compatible with aws lambda.
-
aws-serverless-ecommerce-platform
Serverless Ecommerce Platform is a sample implementation of a serverless backend for an e-commerce website. This sample is not meant to be used as an e-commerce platform as-is, but as an inspiration on how to build event-driven serverless microservices on AWS.
Project mention: What tech stack do you think would you use if you had to build an e-commerce store from scratch | reddit.com/r/reactjs | 2022-05-14Here you can find the whole architecture made by AWS: https://github.com/aws-samples/aws-serverless-ecommerce-platform
-
aws-auto-cleanup
Programmatically delete AWS resources based on an allowlist and time to live (TTL) settings
-
-
I created a tool to do exactly what this article describes: SpaceSiren. It's deployed by Terraform, self-managed, and entirely serverless. Once it's set up, you have a REST API for creating canary tokens and notifications for their use sent to you via email, Slack, PagerDuty, and/or Pushover.
-
aws-secrets-manager-rotation-lambdas
Contains Lambda functions to be used for automatic rotation of secrets stored in AWS Secrets Manager
Create a new Lambda function that will handle the rotation - here is a template https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas/blob/master/SecretsManagerRDSMySQLRotationMultiUser/lambda_function.py - I created it in a separate folder within the same repository. If you are like me, new to using Python, you could use this helpful guide:https://docs.aws.amazon.com/lambda/latest/dg/python-package.html.
-
As a next step, update the source code of the function from here and deploy: https://github.com/srcecde/aws-tutorial-code/blob/master/lambda/lambda_ip_val_func_url.py
-
stepfunctions2processing
Configuration with AWS step functions and lambdas which initiates processing from activity state
Project mention: Using the Serverless framework to deploy hybrid serverless/cluster workflows | dev.to | 2022-05-19git clone [https://github.com/ryfeus/stepfunctions2processing.git](https://github.com/ryfeus/stepfunctions2processing.git) cd docker docker build -t stepfunctiontest . $(aws ecr get-login --no-include-email --region us-east-1) aws ecr create-repository --repository-name stepfunctiontest docker tag stepfunctiontest:latest .dkr.ecr.us-east-1.amazonaws.com/stepfunctiontest:latest docker push .dkr.ecr.us-east-1.amazonaws.com/stepfunctiontest:latest
-
-
amazon-eventbridge-resource-policy-samples
Learn more about Amazon EventBridge resource policies and multi-account event bus topologies. This repo contains sample code for the AWS re:Invent 2020 session "Building event-driven applications with Amazon EventBridge" (https://youtu.be/Wk0FoXTUEjo) and the AWS Compute blog post "Simplifying cross-account access with Amazon EventBridge" (https://amzn.to/3o0Dcz4)
At work we use a Multi-bus, multi-account Event Driven Architecture pattern. It works great, but a pain point is making event interfaces match across multiple git repos.
-
aws-lambda-scheduler
aws-lambda-scheduler is EventBridge Rule manager that lets you call any existing AWS Lambda Function you have in a set future time with pre-set parameters. Allows more rule creation than AWS limit.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Lambda related posts
- Local development la o aplicație serverless, cu AWS Lambda in Step Functions?
- AWS Prefix Lists for the Organization
- aws lambda deployment: better terraform or ansible?
- when should I use api-gateway aws vs self written nodejs api
- How One Open-Source Code Donation Got Me Promoted
- AWS Lambda Smart Feature Flags — Now with Time Based Conditions
- AWS Cloud Quest: Templating Serverless Applications
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f160f670f80>
www.saashub.com | 23 Mar 2023
Index
What are some of the best open-source Lambda projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | Zappa | 11,890 |
2 | awesome-aws | 11,306 |
3 | chalice | 9,588 |
4 | serverless-application-model | 8,944 |
5 | aws-sam-cli | 6,236 |
6 | cloud-custodian | 4,722 |
7 | AWS Data Wrangler | 3,371 |
8 | streamalert | 2,768 |
9 | bless | 2,692 |
10 | Zappa | 2,344 |
11 | aws-lambda-powertools-python | 1,964 |
12 | Klayers | 1,538 |
13 | mangum | 1,246 |
14 | aws-serverless-ecommerce-platform | 918 |
15 | aws-auto-cleanup | 462 |
16 | bash-lambda-layer | 409 |
17 | spacesiren | 290 |
18 | aws-secrets-manager-rotation-lambdas | 247 |
19 | aws-tutorial-code | 164 |
20 | stepfunctions2processing | 116 |
21 | torchlambda | 114 |
22 | amazon-eventbridge-resource-policy-samples | 65 |
23 | aws-lambda-scheduler | 57 |