Skip to main content

An adapter to enable running APIs built with AWS SAM applications using FastAPI.

Project description

Faster-SAM

Adapter for FastAPI to run APIs built using AWS SAM

Python Tests PyPI version

About The Project

Faster-SAM is a library designed to integrate APIs built using the AWS Serverless Application Model (SAM) with FastAPI, enabling developers to run their AWS SAM applications outside of the AWS environment. FastAPI, known for its high-performance and easy-to-use framework for building APIs with Python, gains compatibility with AWS SAM through this specialized adapter.

Dependencies

  • Python 3.8+
  • FastAPI
  • PyYaml

Installation

To install the Faster-SAM library, use the following pip command:

pip install faster-sam

Usage example

Add this code example in your project:

from fastapi import FastAPI
from faster_sam import SAM

app = FastAPI()

sam = SAM()
sam.configure_api(app)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faster_sam-0.11.0.tar.gz (34.3 kB view hashes)

Uploaded Source

Built Distribution

faster_sam-0.11.0-py3-none-any.whl (27.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page