This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from boto3 import session | |
from boto3.s3.transfer import S3Transfer | |
# Use the API Keys you generated at Digital Ocean | |
ACCESS_ID = 'YOUR_DO_SPACE_ACCESS_KEY' | |
SECRET_KEY = 'YOUR_DO_SPACE_SECRET_KEY' | |
# Initiate session | |
session = session.Session() |