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.15.0.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

faster_sam-0.15.0-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

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

Hashes for faster_sam-0.15.0.tar.gz
Algorithm Hash digest
SHA256 b0ef88784ae85f5683bc042dcce66e9158ff8bb8267c9397e8a5fb887ab91176
MD5 e13768dbad9c3a829eb7c92712418185
BLAKE2b-256 9646990ce50017c033267b3e7aa9080a92680c716d908de175e2da3b8304c945

See more details on using hashes here.

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

Hashes for faster_sam-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54c6fae93c9668004c842f658e212f7573dc10dec86fd013be06359ca34a3580
MD5 4f8f425c56b9bbf803bcba5fa4f47100
BLAKE2b-256 0c11466d272d69afd22ab4e27adaa057c1a0632e9a7e4f25af8654b9a591eebb

See more details on using hashes here.

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