Skip to content
I created two scripts using python that allow users to deal with s3 bucket by upload and download, Please read the instruction first to avoid any errors
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.ME
download_file_from_s3.py
upload_to_s3.py

README.ME

instructions
############
Before using this scripts you have to install Boto3, Boto3 is the module that allow users to work with s3 or aws.
to do this:

pip3 install boto3

After this you have to create connection with AWS by provide the access key & secrect key,
I prefer to use .AWS file in your os so no one will read the secure information from the code
for now modify the Access key and Secret key depends on your AWS account

ACCESS_KEY_ID = ""
ACCESS_SECRET_KEY = ""
BUCKET_NAME = '' 

In the Upload file please add the location of files inside your operating system

Link to create AWS Configuration and Credential File Settings
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
You can’t perform that action at this time.