zappa
Server-less Python Web Services for AWS Lambda and API Gateway
Decision gist · record as of 2026-08-14
Yes, if you are deploying a Python web application to AWS and want to avoid server management and pay-per-use pricing. The active maintenance, permissive license, low install friction, and broad framework support make it a solid choice. Consider it especially valuable for microservices, APIs, and applications with variable traffic. No if you require on-premises or non-AWS hosting, or if your application has hard real-time latency requirements incompatible with Lambda cold starts.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS credentials configured locally (via AWS CLI, environment variables, or IAM role) and an active AWS account with Lambda and API Gateway permissions.
- Low friction: pure Python wheel with no compiled dependencies.
- Actively maintained with recent commits and 3691 repository stars.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive): you may use, modify, and distribute Zappa freely in commercial and private projects with minimal restrictions.
last release 2026-03-11 (156 days) · last repo commit 2026-07-15 · 3,691 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 248,545 downloads/mo, #8,663 on PyPI
Alternatives
Verify before relying
pip install zappa
zappa init
zappa deploy production- Whether the package handles all edge cases for cold-start latency optimization in production workloads.
- Current status of WebSocket and ASGI support maturity relative to WSGI deployments.
- Whether the experimental Cold Starts feature is production-ready.
What it is and what it does
Zappa is a deployment tool that takes a Python web application (Django, Flask, FastAPI, Starlette, or any WSGI/ASGI framework) and automatically packages it for AWS Lambda, handling the infrastructure setup and request routing through API Gateway. Instead of running a persistent server, each HTTP request spawns a short-lived Lambda function instance, which means you pay only for the milliseconds of compute time you actually use and never manage server uptime or scaling.
The tool abstracts away Lambda and API Gateway configuration, offering a CLI workflow (init, deploy, update, rollback, undeploy) similar to traditional PaaS platforms. It supports event-driven tasks, scheduled jobs via EventBridge, environment variable management, SSL/TLS certificates, VPC access, EFS mounting, and custom IAM roles. The package depends on boto3 for AWS API calls, troposphere for CloudFormation templates, and utilities like pyyaml, requests, and tqdm for configuration and progress reporting.
Use it for
- Deploy a Django or Flask REST API without managing servers, paying only for request processing time.
- Run scheduled background tasks (cron jobs) on Lambda using EventBridge rules configured via Zappa.
- Host a FastAPI or Starlette async application on Lambda with automatic ASGI-to-Lambda request translation.
- Build event-driven microservices that respond to S3, DynamoDB, SNS, or SQS events without provisioning infrastructure.
- Migrate an existing WSGI application to serverless with minimal code changes using Zappa's transparent deployment.
- Scale a web application to handle traffic spikes without manual load-balancer or auto-scaling configuration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are deploying a Python web application to AWS and want to avoid server management and pay-per-use pricing.
The active maintenance, permissive license, low install friction, and broad framework support make it a solid choice. Consider it especially valuable for microservices, APIs, and applications with variable traffic. No if you require on-premises or non-AWS hosting, or if your application has hard real-time latency requirements incompatible with Lambda cold starts.
Install
zappa on PyPI
Before you install
Low friction: pure Python wheel with no compiled dependencies. Actively maintained with recent commits and 3691 repository stars. Supports current Python versions (3.9–3.14) and actively developed.
Requires AWS credentials configured locally (via AWS CLI, environment variables, or IAM role) and an active AWS account with Lambda and API Gateway permissions.
License in practice
MIT License (permissive): you may use, modify, and distribute Zappa freely in commercial and private projects with minimal restrictions.
Quickstart
pip install zappa
zappa init
zappa deploy production
Verify before relying
- Whether the package handles all edge cases for cold-start latency optimization in production workloads.
- Current status of WebSocket and ASGI support maturity relative to WSGI deployments.
- Whether the experimental Cold Starts feature is production-ready.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 17 packagesargcompleteboto3durationpyhjsonjmespathpipplacebopython-dateutilpython-slugifypyyamlrequeststomltqdmtropospherewerkzeugwheelsetuptools |
| Maintenance | Actively maintained 156 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 248,545 / month, #8,663 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: ConsoleFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic Content |
Evidence: zappa-0.62.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “deploy python to aws lambda”
- zappaZappa packages and deploys Python WSGI and ASGI web applications to…
- serverless-wsgiBridges Python WSGI applications (Flask, Django, Pyramid) to AWS…
- aws-sam-cliAWS SAM CLI is a command-line tool for building, testing, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also chalice · honeybadger · serverless-wsgi · shuffle-sdk · mangum · a2wsgi · apig-wsgi · awsgi2 · fal · functions-framework