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
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
Release history Release notifications | RSS feed
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.12.0.tar.gz
(34.5 kB
view hashes)
Built Distribution
Close
Hashes for faster_sam-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91ce5a3aed66899af926a883c3e55865f293eff6c5536ac615109010f9ed692b |
|
MD5 | 98743e32cec69ff18ecd4cc1653bbc2e |
|
BLAKE2b-256 | c4fb6c5c14206c553377b99627a1bc9830f1c980b2d08517ca9d242eff2ff252 |