Created
November 10, 2020 16:47
-
-
Save amacal/8bcedea2a9901e5ae85871907d8a6e0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
filename = 'enwiki-20201020-langlinks.sql.gz' | |
s3client = boto3.client('s3') | |
with open(filename, 'rb') as fp: | |
s3client.put_object(Bucket='la-labs-279215538049', Key=filename, Body=fp.read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment