Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more β
Top 23 Python Serverless Projects
-
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.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
serverless-application-model
The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.
-
cloud-custodian
Rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
opyrator
πͺ Turns your machine learning code into microservices with web API, interactive GUI, and more.
-
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.
-
powertools-lambda-python
A developer toolkit to implement Serverless best practices and increase developer velocity.
-
best-of-web-python
π A ranked list of awesome python libraries for web development. Updated weekly.
-
serverless-patterns
Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
-
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.
-
runhouse
Write local debuggable Python which traverses your powerful remote infra. Deploy as-is. Unobtrusive, unopinionated, PyTorch-like APIs.
-
terracotta
A light-weight, versatile XYZ tile server, built with Flask and Rasterio :earth_africa: (by DHI)
-
aws-auto-cleanup
Programmatically delete AWS resources based on an allowlist and time to live (TTL) settings
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Superpower REST API DX with Serverless β‘ and DevOps Best Practices on AWS (π Python Version) | dev.to | 2024-04-30If you want to write serverless apps with Python without using Serverless Framework, you can ship them with Chalice.
The complete solution with SAM is available here.
Project mention: Cutting down AWS cost by $150k per year simply by shutting things off | news.ycombinator.com | 2024-01-22> The best optimization is simply shutting things off
This is the way.
A similar idea has been bouncing around in my mind for a while now. An ideal, turnkey system would do the following:
- Execute via Lambda (serverless).
- Support automated startup and shutdown of various AWS resources on a schedule influenced by specially formatted tags.
- Enable resources to be brought back up out of schedule when demand dictates.
- Operate as a TCP/HTTP proxy that can delay clients so that a given service can be started when it is dormant or, even better, the service isn't serverless but you want it to be. This can't work for everything, but perhaps enough things such that the need to run always on services is reduced.
Cloud Custodian [1] can purportedly do some of this, but I've been reluctant to learn yet another YAML-based DSL to use it.
So this is my "make things designed to be always-on serverless instead" project and the work AWS has done to make Java apps function on Lambda keeps me thinking about the potential to take things that 1) have a relatively long startup time and 2) are designed to be long running service loops, and find a way to force them into the serverless execution model.
[1] https://cloudcustodian.io/
The structure of this example message is using CloudEvents specification:
If people aren't familiar, there's a similar project for Python that's fantastic: https://github.com/zappa/Zappa
Project mention: Opyrator: Turns your Python code into microservices with web API and webUI | news.ycombinator.com | 2023-10-30
Project mention: Superpower REST API DX with Serverless β‘ and DevOps Best Practices on AWS (π Python Version) | dev.to | 2024-04-30Also I suggest to have a look at AWS Lambda PowerTools, which simplifies adopting best practices with Lambda
You may be aware of Serverlessland, a treasure trove of developer-centered content and examples of serverless applications. I decided to take one of their more popular (and AI-focused) tutorials, titled βUse GenAI capabilities to build a chatbotβ, and recreate it with App Composer and our trusty AI assistant. Here we go!
Project mention: Show HN: Real-time image autocomplete in <100 lines of code with SDXL Lightning | news.ycombinator.com | 2024-02-23We made a small app for SDXL Lightning, running your own Python code on GPUs. It generates images in real time.
https://potatoes.ai/
We know there was a fal.ai post yesterday, and that got a lot of interest, but we also made this demo yesterday and didn't share β just wanted to mention it as an alternative option for people who like running their own code and custom models instead of using a prebuilt API provider.
The backend code is open-source too and you can deploy it yourself: https://github.com/modal-labs/modal-examples/blob/main/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_lightning.py
Python Serverless related posts
-
Superpower REST API DX with Serverless β‘ and DevOps Best Practices on AWS (π Python Version)
-
Turbocharge your Lambda Functions with AWS Lambda Powertools for Python
-
Data Streaming Architecture
-
Ask HN: Best thing you've made in CLI
-
Billing for SaaS with EMF and CloudWatch Metric Streams
-
Deploying a Serverless Dash App with AWS SAM and Lambda
-
Show HN: Real-time image autocomplete in <100 lines of code with SDXL Lightning
-
A note from our sponsor - InfluxDB
www.influxdata.com | 10 May 2024
Index
What are some of the best open-source Serverless projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | awesome-aws | 12,174 |
2 | Zappa | 11,900 |
3 | chalice | 10,321 |
4 | serverless-application-model | 9,241 |
5 | aws-sam-cli | 6,446 |
6 | cloud-custodian | 5,229 |
7 | spec | 4,800 |
8 | Zappa | 3,075 |
9 | opyrator | 3,020 |
10 | streamalert | 2,826 |
11 | bless | 2,729 |
12 | powertools-lambda-python | 2,625 |
13 | best-of-web-python | 2,173 |
14 | mangum | 1,606 |
15 | python-lambda | 1,480 |
16 | serverless-patterns | 1,463 |
17 | lambda-packs | 1,106 |
18 | aws-serverless-ecommerce-platform | 1,061 |
19 | runhouse | 721 |
20 | invest-alchemy | 677 |
21 | terracotta | 639 |
22 | modal-examples | 569 |
23 | aws-auto-cleanup | 494 |
Sponsored