This is a simple example to upload and download file from Amazon S3 by using Python Flask.
Requirements
- flask
- flask-swagger
- boto3
Installation
sudo apt-get install libyaml-dev
virtualenv -p /usr/bin/python3 env
. env/bin/activate
pip install -r requirements.txt
Run
. env/bin/activate
python app.py
Test
In default, you can use Swagger UI to test Upload API. The link for swagger schema is http://localhost:5000/docs