s3

s3#

S3 tools

Module Attributes

AWS_ACCESS_KEY_ID

Environment variable linked to AWS Access Key ID.

AWS_SECRET_ACCESS_KEY

Environment variable linked to AWS Secret Access Key.

AWS_S3_ENDPOINT

Environment variable linked to AWS endpoint.

USE_S3_STORAGE

Environment variable created to use Unistra's S3 bucket.

Functions

define_s3_client([endpoint_url, ...])

Define S3 client

s3_env(*args, **kwargs)

Create S3 compatible storage environment You must export the variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in your environement.

temp_s3([endpoint, default_endpoint, ...])

Initialize a temporary S3 environment as a context manager