Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

s3_helper-0.0.2-py3-none-any.whl (34.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page