Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.15 KB

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)