AWS Lambda support for ASGI applications
Alternatives To Mangum
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Zappa2,8033891112 days ago134September 15, 2023455mitPython
Serverless Python
Mangum1,48015a month ago69November 27, 202227mitPython
AWS Lambda support for ASGI applications
Saas Boilerplate1,231
3 days ago28mitTypeScript
SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead of coding repeatable features!
Django S3direct602761a year ago78June 17, 202233mitPython
Directly upload files to S3 compatible services with Django.
Django Ecommerce470
2 months ago21JavaScript
Ecommerce website built with Django 2.2.3, Python 3.7.3, Stripe and AWS
Aws Xray Sdk Python307219292 days ago33October 12, 202382apache-2.0Python
AWS X-Ray SDK for the Python programming language
Cookiecutter Django Vue Graphql Aws262
a year ago6mitPython
A highly opinionated Cookiecutter template that fuses together Django, Vue.js, GraphQL, and AWS into one full-stack web application.
Django Init185
6 days ago19otherPython
Project template used at Fueled for scaffolding new Django based projects. :dizzy:
Django Cognito Jwt136
12 years ago4December 10, 202116mitPython
An Authentication backend for Django Rest Framework for AWS Cognito JWT tokens
Django Step By Step128
7 months ago8Python
A Django + Vue reference project that focuses on developer tooling and CI/CD + IaC
Alternatives To Mangum
Select To Compare

Alternative Project Comparisons


Package version Build Status PyPI - Python Version

Mangum is an adapter for using ASGI applications with AWS Lambda & API Gateway. It is intended to provide an easy-to-use, configurable wrapper for any ASGI application deployed in an AWS Lambda function to handle API Gateway requests and responses.



  • API Gateway support for HTTP, REST, and WebSocket APIs.

  • Multiple storage backend interfaces for managing WebSocket connections.

  • Compatibility with ASGI application frameworks, such as Starlette, FastAPI, and Quart.

  • Support for binary media types and payload compression in API Gateway.

  • Works with existing deployment and configuration tools, including Serverless Framework and AWS SAM.

  • Startup and shutdown lifespan events.


Python 3.6+


pip install mangum


from mangum import Mangum

async def app(scope, receive, send):
    await send(
            "type": "http.response.start",
            "status": 200,
            "headers": [[b"content-type", b"text/plain; charset=utf-8"]],
    await send({"type": "http.response.body", "body": b"Hello, world!"})

handler = Mangum(app)

or using a framework:

from mangum import Mangum
from starlette.applications import Starlette
from starlette.responses import PlainTextResponse
from starlette.routing import Route

async def homepage(request):
    response = PlainTextResponse("Hello, world!")

    return response

app = Starlette(debug=True, routes=[Route("/", homepage)])

handler = Mangum(app)
Popular Amazon Web Services Projects
Popular Django Projects
Popular Cloud Computing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Amazon Web Services
Lambda Functions
Aws Lambda
Api Gateway