chalice
Microframework
Decision gist · record as of 2026-08-14
Yes, if you are building serverless applications on AWS Lambda and want to avoid infrastructure boilerplate. Chalice is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It is well-suited for REST APIs, scheduled tasks, and event-driven Lambda handlers. Not suitable if you need multi-cloud deployment or prefer explicit infrastructure-as-code control.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS credentials configured (via ~/.aws/config or environment variables) and Python 3.10 or later.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with a recent commit on 2026-08-12 and 11065 repository stars.
License · maintenance · safety
Apache License 2.0 (permissive) — Apache License 2.0 is permissive, allowing commercial and private use with minimal restrictions—typical for AWS-sponsored open-source projects. No licensing constraints on adopting this package.
last release 2026-05-07 (99 days) · last repo commit 2026-08-12 · 11,065 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 763,727 downloads/mo, #5,125 on PyPI
Alternatives
Verify before relying
pip install chalice
chalice new-project helloworld
cd helloworld
# Edit app.py:
from chalice import Chalice
app = Chalice(app_name='helloworld')
@app.route('/')
def index():
return {'hello': 'world'}
# Deploy:
chalice deploy- Whether the package supports all advertised AWS services (SNS, SQS, S3, etc.) equally well or if some integrations are more mature than others.
- Performance characteristics and cold-start overhead for Lambda functions deployed via Chalice.
- Scope of automatic IAM policy generation—whether it covers all use cases or requires manual policy refinement.
What it is and what it does
Chalice is a Python microframework that simplifies building and deploying serverless applications to AWS Lambda. It provides a decorator-based API for defining REST endpoints, scheduled tasks, and event handlers (S3, SNS, SQS) without boilerplate infrastructure code. The framework generates IAM policies automatically and handles deployment through a command-line tool that manages Lambda functions, API Gateway, and related resources.
You write Python functions decorated with @app.route(), @app.schedule(), or @app.on_s3_event() and run `chalice deploy` to push your application to AWS. Chalice abstracts away CloudFormation templates and manual resource provisioning, making it practical for developers who want to focus on application logic rather than AWS infrastructure plumbing. It supports Python 3.10 through 3.14 and depends on botocore and other standard AWS SDK libraries.
Use it for
- Build and deploy REST APIs on Lambda without writing CloudFormation or managing API Gateway manually.
- Create scheduled background tasks that run on a timer using Lambda and CloudWatch Events.
- Connect Lambda functions to S3 bucket events to trigger processing when objects are uploaded.
- Process messages from SQS queues with Lambda handlers defined as simple Python functions.
- Rapidly prototype serverless microservices with minimal infrastructure configuration overhead.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building serverless applications on AWS Lambda and want to avoid infrastructure boilerplate.
Chalice is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It is well-suited for REST APIs, scheduled tasks, and event-driven Lambda handlers. Not suitable if you need multi-cloud deployment or prefer explicit infrastructure-as-code control.
Install
chalice on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent commit on 2026-08-12 and 11065 repository stars. Nine runtime dependencies are all well-established packages (click, botocore, pyyaml, etc.), suggesting stable, widely-used foundations.
Requires AWS credentials configured (via ~/.aws/config or environment variables) and Python 3.10 or later.
License in practice
Apache License 2.0 is permissive, allowing commercial and private use with minimal restrictions—typical for AWS-sponsored open-source projects. No licensing constraints on adopting this package.
Quickstart
pip install chalice
chalice new-project helloworld
cd helloworld
# Edit app.py:
from chalice import Chalice
app = Chalice(app_name='helloworld')
@app.route('/')
def index():
return {'hello': 'world'}
# Deploy:
chalice deploy
Verify before relying
- Whether the package supports all advertised AWS services (SNS, SQS, S3, etc.) equally well or if some integrations are more mature than others.
- Performance characteristics and cold-start overhead for Lambda functions deployed via Chalice.
- Scope of automatic IAM policy generation—whether it covers all use cases or requires manual policy refinement.
Package facts
| License | Apache License 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagesclickbotocoresixpipjmespathpyyamlinquirerwheelsetuptools |
| Maintenance | Actively maintained 99 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 763,727 / month, #5,125 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: chalice-1.33.0-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 › “rest api on lambda”
- chaliceChalice is a Python framework for building and deploying serverless…
- aws-cdk.aws-apigatewayProvides AWS CDK constructs for defining and deploying Amazon API…
- mangumMangum adapts ASGI applications to run on AWS Lambda, handling events…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also zappa · aws-sam-cli · ecs-deploy · fal · kappa · cargo-lambda · serverless-wsgi · aws-lambda-typing · pulumi-aws · sqlalchemy-aurora-data-api