This tutorial will guide you through setting up media files with python boto
In this tutorial, we will create a connection of S3 bucket with python and will write a function to upload files to aws.
We will use python’s BOTO3 module to communicate with S3 bucket so let’s start with install Boto3 —
After installation, let's create a connection with the s3 bucket
Now that we have created an instance of S3 connection, we can go ahead and upload files into the server as —
now let's use this function in a REST API with flask —
Simple as that!! Now go and build something cool with a lot of media files which such simplicity.
Get in Touch —
I can be personally reached directly on twitter 😀😀
Give some 👏 if you find this useful. Bye 🖐