Coding

Chalice – Python serverless microframework for AWS

Chalice is a framework for developing serverless applications using AWS Lambda and other Amazon Web Services. It provides a development model for defining HTTP endpoints, event handlers and scheduled functions without requiring developers to manage the underlying servers.

Applications are organised around decorated functions that respond to specific requests or events. Chalice coordinates the AWS resources needed to run those functions and provides facilities for configuring and managing application deployments.

The framework can be used for REST APIs, event-driven processing and automated tasks. Its integrations with AWS services make it particularly useful for applications already operating within the Amazon cloud environment.

This is free and open source software.

Key Features

  • Decorator-based routing for HTTP APIs using Amazon API Gateway and AWS Lambda.
  • Support for REST API endpoints with path parameters, query values and request bodies.
  • Lambda event handlers for Amazon S3, SNS, SQS and other AWS services.
  • Scheduled functions using event-based and cron-style expressions.
  • WebSocket API support through Amazon API Gateway.
  • Authorisation using IAM, Cognito and custom Lambda authorisers.
  • Automatic IAM policy generation for supported application resources.
  • Blueprints for organising application handlers into reusable components.
  • Application middleware for processing requests and event sources.
  • Support for pure Lambda functions that do not expose HTTP endpoints.
  • Application stages for maintaining separate deployment configurations.
  • Integration with AWS CloudFormation, Terraform and the AWS Cloud Development Kit.
  • Configurable logging, custom domains and environment variables.
  • Testing facilities for application routes and event handlers.

Website: github.com/aws/chalice
Support:
Developer: James Saryerwinnie, John Carlyle and contributors
License: Apache License 2.0

Chalice is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Best Python Micro Frameworks
FlaskHugely popular microframework based on Werkzeug and Jinja2
FastAPIWeb framework for building APIs
StarletteLightweight ASGI framework/toolkit
aiohttpAsynchronous HTTP client/server for asyncio and Python
SanicWeb server and web framework
FalconBuild cloud APIs, smart proxies, and app backends
QuartWeb microframework based on Asyncio
PyramidStart small, finish big, stay finished framework
BottleFast, simple and lightweight WSGI micro web framework
ChalicePython Serverless Microframework for AWS
CherryPyMature, minimalist, Python object-oriented web framework
TurboGearsHybrid framework acting as a Full Stack framework or Microframework
QuixoteAimed at sites where complex programming is required
KleinMicro-framework for developing production-ready web services with Python
circuitsLightweight event driven application framework
ClasticFunctional web framework
HugMake developing Python driven APIs as simple as possible
MicroPieUltra-micro ASGI Python web framework
LitestarPowerful, lightweight, and flexible ASGI framework
BlackSheepAsynchronous Python web framework
RobynPython web framework designed for high performance
MicrodotSmall web framework for Python and MicroPython

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted