Utilities for AWS S3
Project description
s3-utils
s3-utils is a wrapper around s3-related functionalities of AWS's boto3 package.
Quick Start
First, install the library:
pip install s3-utils
Next, set up credentials (in e.g. ~/.aws/credentials
):
[default]
aws_access_key_id = YOUR_KEY
aws_secret_access_key = YOUR_SECRET
You should set the following values in environment variables:
- AWS_PROFILE_NAME: AWS profile name
- S3_BUCKET_NAME (Optional): Default bucket name
If S3_BUCKET_NAME is not found in environment variables, you must set the default directory before using any utilities:
s3 = S3Utils()
s3.set_default_bucket('test_bucket')
You can use python-dotenv for loading environment variables.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
s3-wrapper-0.0.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
s3_wrapper-0.0.1-py3-none-any.whl
(15.7 kB
view hashes)
Close
Hashes for s3_wrapper-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c01fe966528d3f330e765520aec54f952b26f8d1bcb9ebd32bd2e490b74156ce |
|
MD5 | 163532e6a35d2616d677c73dc64cba07 |
|
BLAKE2b-256 | 626bb552af607b847d4a6f7079a716227a64ab8014caac974180f8f679b92b12 |