Posts

Showing posts with the label tqdm

Show tqdm progress bar while uploading file to S3 with boto3



With boto3 we can obtain a S3 client to upload a local file to AWS S3 with upload_file. For larger files it might be nice to see the progress of the upload. This can be achieved with tqdm.tqdm as a callback.


Github gist with code

dependencies: python3.9, boto3 ==1.24.51, tqdm==4.64.0