All Projects → thanhson1085 → python-s3

thanhson1085 / python-s3

Licence: other
A simple exampe to upload and download file by using Flask and Boto3

Programming Languages

python
139335 projects - #7 most used programming language

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].