Metadata-Version: 2.1
Name: faster-sam
Version: 0.13.0
Summary: An adapter to enable running APIs built with AWS SAM applications using FastAPI.
Author-email: Dotz Developers <devs-dotz@dotz.com>
License: MIT
Keywords: utilities,fastapi,sam
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi
Requires-Dist: PyYAML
Provides-Extra: auth
Requires-Dist: boto3; extra == "auth"
Requires-Dist: requests; extra == "auth"
Provides-Extra: redis
Requires-Dist: redis; extra == "redis"
Provides-Extra: migrate
Requires-Dist: yoyo-migrations; extra == "migrate"
Requires-Dist: setuptools; extra == "migrate"

# Faster-SAM

> Adapter for FastAPI to run APIs built using AWS SAM

![Python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
[![Tests](https://github.com/noverde/faster-sam/actions/workflows/tests.yml/badge.svg)](https://github.com/noverde/faster-sam/actions/workflows/tests.yml)
[![PyPI version](https://badge.fury.io/py/faster-sam.svg)](https://badge.fury.io/py/faster-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:

```sh
pip install faster-sam
```

## Usage example

Add this code example in your project:

```python
from fastapi import FastAPI
from faster_sam import SAM

app = FastAPI()

sam = SAM()
sam.configure_api(app)
```
