Metadata-Version: 2.1
Name: aws-flask-lambda
Version: 0.1.1
Summary: Library to run applications on AWS Lambda Function using Flask
Home-page: UNKNOWN
Author: Seven Clouds Technologies
Author-email: admin@seventechnologies.cloud
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: Flask (==2.0.2)
Requires-Dist: werkzeug (==2.0.2)

# aws_flask_lambda

## Installation

Install the package using pip:

```sh
pip install aws-flask-lambda
```

## Usage

```python
from aws_flask_lambda import FlaskLambda
from flask import request, jsonify

app = FlaskLambda(__name__)


@app.route('/greet', methods=['GET', 'POST'])
def greet():
    name = request.form.get('name', 'World')
    message = f'Hello, {name}!'
    return (
        jsonify({'message': message}),
        200,
        {'Content-Type': 'application/json'}
    )


if __name__ == '__main__':
    app.run(debug=True)

```


