Skip to content

Instantly share code, notes, and snippets.

View deltastateonline's full-sized avatar

Admin Deltastateonline deltastateonline

View GitHub Profile
@deltastateonline
deltastateonline / download_s3_vanilla.py
Created July 2, 2020 03:33 — forked from h5rdly/download_s3_vanilla.py
Download a file from S3 using "vanilla" standard library Python
import hashlib, hmac, socket, ssl
from datetime import datetime
try:
from urlparse import urlsplit
except:
from urllib.parse import urlsplit
ALGORTHM = 'AWS4-HMAC-SHA256'