Skip to content

Instantly share code, notes, and snippets.

View ybonda's full-sized avatar
🏠
Working from home

Yuri Bondarenko ybonda

🏠
Working from home
View GitHub Profile
@ybonda
ybonda / s3_multipart_upload.py
Created August 24, 2022 09:20 — 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)