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

Uploaded Source

Built Distribution

faster_sam-0.14.1-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file faster_sam-0.14.1.tar.gz.

File metadata

  • Download URL: faster_sam-0.14.1.tar.gz
  • Upload date:
  • Size: 37.3 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.14.1.tar.gz
Algorithm Hash digest
SHA256 f6f6f540bd9a39aa7738edacda1af7c302a87bb6e532346c1835eb7915c87a90
MD5 938a534c51633ed6baa7240b9c95ef1b
BLAKE2b-256 f8e3319ad324bd2475f6bf1a154c4a2960383fe6918ba6e89f616c55c72e5882

See more details on using hashes here.

File details

Details for the file faster_sam-0.14.1-py3-none-any.whl.

File metadata

  • Download URL: faster_sam-0.14.1-py3-none-any.whl
  • Upload date:
  • Size: 30.1 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.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7bdacd3dc7cd25da483bbea4b5abc188b1a7142683d26fe789b5b43d93b8c5db
MD5 00bdaaea7f52e8a5ee940a5175682949
BLAKE2b-256 4c08b0de745317bf6cb1c360717162b63db53952133038b3c726cc56477ab070

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