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
Built Distribution
File details
Details for the file faster_sam-0.15.0.tar.gz
.
File metadata
- Download URL: faster_sam-0.15.0.tar.gz
- Upload date:
- Size: 37.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0ef88784ae85f5683bc042dcce66e9158ff8bb8267c9397e8a5fb887ab91176 |
|
MD5 | e13768dbad9c3a829eb7c92712418185 |
|
BLAKE2b-256 | 9646990ce50017c033267b3e7aa9080a92680c716d908de175e2da3b8304c945 |
File details
Details for the file faster_sam-0.15.0-py3-none-any.whl
.
File metadata
- Download URL: faster_sam-0.15.0-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c6fae93c9668004c842f658e212f7573dc10dec86fd013be06359ca34a3580 |
|
MD5 | 4f8f425c56b9bbf803bcba5fa4f47100 |
|
BLAKE2b-256 | 0c11466d272d69afd22ab4e27adaa057c1a0632e9a7e4f25af8654b9a591eebb |