python-lambdarest
Klayers
python-lambdarest | Klayers | |
---|---|---|
1 | 4 | |
91 | 1,965 | |
- | - | |
0.0 | 8.0 | |
over 1 year ago | 11 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
python-lambdarest
-
Ask HN: Zero config swag store for GitHub repo merch
using redbubble seems to be the least painful setup (as they handle everything like payment shipping inventory etc)
so i went and setup a design there for my github repo (see commit: https://github.com/sloev/python-lambdarest/pull/79)
Klayers
-
Lambda with Python libraries
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
-
AWS Serverless Menu - Small to Big
If I want to do something more data heavy or complex, I'll sometimes instead go for Python. Having a mixture of languages is one of the big advantages of micro services. Packaging dependencies is a bit tricker for Python, for simple packages I'll usually include in my build script something to copy the relevant directories from my venv's site-packages. However one neat alternative is to use a publicly available precompiled lambda layer from Klayers. These slot neatly in one line of code into my terraform config and enable me to use popular Python packages like numpy and pandas without troubling myself about C extensions, build environment or having to mess with Amazon Linux.
-
Serverless ETL using AWS Lambda, Pandas, PostgreSQL, AWS CDK
Before anything, Huge shoutout to Keith Rozario for providing us with this awesome Repo. where he defined layers for lambda functions to add libraries that doesn't exist by default in the lambda runtime without you having to create them yourself. I used his repo to add the requests, pandas and psycopg2 libraries to the project.
-
Can a lambda use a layer which is stored in S3
I like to use this guy’s layers as an arn: https://github.com/keithrozario/Klayers
What are some alternatives?
mangum - AWS Lambda support for ASGI applications
torchlambda - Lightweight tool to deploy PyTorch models to AWS Lambda
configure-aws-credentials - Configure AWS credential environment variables for use in other GitHub Actions.
chocs - Modern HTTP framework for AWS Serverless and WSGI compatible servers.
covid-19-data - A repository of data on coronavirus cases and deaths in the U.S.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
Zappa - Serverless Python
chalice - Python Serverless Microframework for AWS
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).
serverless-etl-cdk - Deploy python code for ETL using the AWS CDK
terraform-ecs-fargate-scheduled-task - A Terraform template used for provisioning scheduled tasks on AWS ECS Fargate