Python Serverless

Open-source Python projects categorized as Serverless

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.

  • Zappa

    Serverless Python

  • 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.

    InfluxDB logo
  • chalice

    Python Serverless Microframework for AWS

  • Project mention: Superpower REST API DX with Serverless ⚑ and DevOps Best Practices on AWS (🐍 Python Version) | dev.to | 2024-04-30

    If you want to write serverless apps with Python without using Serverless Framework, you can ship them with Chalice.

  • serverless-application-model

    The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.

  • Project mention: Simple and Cost-Effective Testing Using Functions | dev.to | 2024-03-25

    The complete solution with SAM is available here.

  • aws-sam-cli

    CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

  • cloud-custodian

    Rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources

  • 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/

  • spec

    CloudEvents Specification (by cloudevents)

  • Project mention: Data Streaming Architecture | dev.to | 2024-03-26

    The structure of this example message is using CloudEvents specification:

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Zappa

    Serverless Python (by zappa)

  • Project mention: Jets: The Ruby Serverless Framework | news.ycombinator.com | 2023-12-07

    If people aren't familiar, there's a similar project for Python that's fantastic: https://github.com/zappa/Zappa

  • opyrator

    πŸͺ„ Turns your machine learning code into microservices with web API, interactive GUI, and more.

  • Project mention: Opyrator: Turns your Python code into microservices with web API and webUI | news.ycombinator.com | 2023-10-30
  • 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.

  • bless

    Repository for BLESS, an SSH Certificate Authority that runs as a AWS Lambda function

  • powertools-lambda-python

    A developer toolkit to implement Serverless best practices and increase developer velocity.

  • Project mention: Superpower REST API DX with Serverless ⚑ and DevOps Best Practices on AWS (🐍 Python Version) | dev.to | 2024-04-30

    Also I suggest to have a look at AWS Lambda PowerTools, which simplifies adopting best practices with Lambda

  • best-of-web-python

    πŸ† A ranked list of awesome python libraries for web development. Updated weekly.

  • mangum

    AWS Lambda support for ASGI applications

  • Project mention: Why the Serverless Revolution Has Stalled | news.ycombinator.com | 2024-02-15
  • python-lambda

    A toolkit for developing and deploying serverless Python code in AWS Lambda.

  • serverless-patterns

    Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.

  • Project mention: Generative (A)IaC in the IDE with Application Composer | dev.to | 2024-01-18

    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!

  • lambda-packs

    Precompiled packages for 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.

  • runhouse

    Write local debuggable Python which traverses your powerful remote infra. Deploy as-is. Unobtrusive, unopinionated, PyTorch-like APIs.

  • Project mention: Runhouse | news.ycombinator.com | 2024-04-22
  • invest-alchemy

    Invest Alchemy is a trading assistant focused on ETF portfolios.

  • terracotta

    A light-weight, versatile XYZ tile server, built with Flask and Rasterio :earth_africa: (by DHI)

  • Project mention: Show HN: Real-time image autocomplete in <100 lines of code with SDXL Lightning | news.ycombinator.com | 2024-02-23

    We 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

  • 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

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Serverless related posts

  • Superpower REST API DX with Serverless ⚑ and DevOps Best Practices on AWS (🐍 Python Version)

    5 projects | dev.to | 30 Apr 2024
  • Turbocharge your Lambda Functions with AWS Lambda Powertools for Python

    1 project | dev.to | 25 Apr 2024
  • Data Streaming Architecture

    2 projects | dev.to | 26 Mar 2024
  • Ask HN: Best thing you've made in CLI

    12 projects | news.ycombinator.com | 9 Mar 2024
  • Billing for SaaS with EMF and CloudWatch Metric Streams

    1 project | dev.to | 8 Mar 2024
  • Deploying a Serverless Dash App with AWS SAM and Lambda

    3 projects | dev.to | 4 Mar 2024
  • Show HN: Real-time image autocomplete in <100 lines of code with SDXL Lightning

    1 project | news.ycombinator.com | 23 Feb 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 10 May 2024
    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 β†’

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com