A Developer friendly S3 manager to upload and download files.
Project description
S3-Manager
The S3-Manager helps developer to easily access file from S3 bucts or Minio buckets. This can handle multiple operation like 'upload', 'download', 'list_files in a bucket' and many other operation.
Installation
pip install s3-helper
Usage CLI:
Creating AWS config:
as3 config init
Show all available Profiles in AWS config:
as3 config list profile
Update AWS config:
as3 config set <config key> <value> --profile <your profile>
Example:
as3 config set region us-west-1 --profile default
Locally Save the AWS config:
as3 config save --profile <your profile>
Remove a Profile from AWS config:
as3 config remove --profile <your profile>
Show the contents of AWS config:
as3 config list --profile <your profile>
Local S3 Usage CLI:
Create local config for S3:
s3 config init
Update local config of S3:
s3 set <config key> <value>
Show the contents of local S3 config:
s3 config list
Creating Buckets in S3:
s3 create-bucket --bucket <bucket name> --profile <your profile>
Show All Buckets in S3:
s3 list buckets --profile <your profile>
Remove Buckets in S3:
s3 delete bucket --bucket <bucket name> --profile <your profile>
Show Bucket Objects in S3:
s3 list objects --bucket <bucket name> --prefix <prefix in s3> --exclude <exclude list>
Remove objects in S3:
s3 delete objects --bucket <bucket name> --prefix <prefix in s3> --exclude <exclude list>
Upload files to S3 Bucket:
s3 upload --bucket <bucket name> --prefix <prefix in s3> --exclude <exclude list> --include <include list>
Downlad files from S3 Bucket:
s3 download --bucket <bucket name> --prefix <prefix in s3> --exclude <exclude list>
License
This project is licensed under AFFERO GENERAL PUBLIC LICENSE (AGPL-3) license. For more details refer LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
s3_helper-0.0.2.tar.gz
(27.9 kB
view details)
Built Distribution
s3_helper-0.0.2-py3-none-any.whl
(34.4 kB
view details)
File details
Details for the file s3_helper-0.0.2.tar.gz
.
File metadata
- Download URL: s3_helper-0.0.2.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 423927ce4c932c5a634b3900dc5932e1d30021a8b09d2606edeab6b6a0efa1ad |
|
MD5 | ca771eb14823e09e084f9e2a48bb730c |
|
BLAKE2b-256 | 72163cb4eb9d78f68b0df084bfa49e540e474e9d2e3fbdedacf9a1788ed883fd |
File details
Details for the file s3_helper-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: s3_helper-0.0.2-py3-none-any.whl
- Upload date:
- Size: 34.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 318f7c04b16c5cf6df95e25ff6aea417da9d0f909bde7c95558254011d9273d0 |
|
MD5 | f1612b62dc4ac38a36ccd4403503de16 |
|
BLAKE2b-256 | 761f7bd7397c4549ce0bebfe0624705b269424bef99c10819c5558d7a32b27bf |