Skip to content

Instantly share code, notes, and snippets.

MATHEUS ZIMMERMANN GALDINO matheusdigital

Block or report user

Report or block matheusdigital

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@matheusdigital
matheusdigital / DO_upload_folder_to_space.py
Last active Mar 10, 2020
Uploading entire local folder or directory to Digital Ocean Spaces in Python with Boto3 and OS
View DO_upload_folder_to_space.py
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()
You can’t perform that action at this time.