Aller au contenu

S3

Client AWS S3 pour la gestion de fichiers.

Utilisation

from cmpparis import S3

s3 = S3()

# Upload
s3.upload_file("local.csv", "bucket", "remote.csv")

# Download
content = s3.download_file_as_string("bucket", "file.csv")

# List
files = s3.list_files("bucket", prefix="folder/")

API Reference complète