Skip to content

Instantly share code, notes, and snippets.

View Johnywhisky's full-sized avatar
💭
I may be slow to respond.

SeojunYoun Johnywhisky

💭
I may be slow to respond.
View GitHub Profile
@Johnywhisky
Johnywhisky / s3_multipart_upload.py
Created February 3, 2022 09:50 — forked from teasherm/s3_multipart_upload.py
boto3 S3 Multipart Upload
import argparse
import os
import boto3
class S3MultipartUpload(object):
# AWS throws EntityTooSmall error for parts smaller than 5 MB
PART_MINIMUM = int(5e6)