Skip to content

Instantly share code, notes, and snippets.

@thanakijwanavit
Last active March 25, 2021 06:12
Show Gist options
  • Save thanakijwanavit/22fae0c265b68b6d1f48737575d06243 to your computer and use it in GitHub Desktop.
Save thanakijwanavit/22fae0c265b68b6d1f48737575d06243 to your computer and use it in GitHub Desktop.
save to s3 with public read and gzip
from s3bz.s3bz import S3, ExtraArgs
S3.saveFile(key=key,path=path,bucket=bucket,
ExtraArgs = {**ExtraArgs.jpeg, **ExtraArgs.publicRead })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment