Skip to main content

wrapper script for uploading files and dirs to s3

Project description

s3-loader

Install

pip install s3-loader

Usage:

$ s3-loader [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • auth: authenticate with your aws access key and...
  • clear-bucket: delete everything in an s3 bucket
  • upload-dir: upload an entire directory to s3
  • upload-file: upload a single file to s3

s3-loader auth

authenticate with your aws access key and secret

Usage:

$ s3-loader auth [OPTIONS] [AWS_ACCESS_KEY_ID] [AWS_SECRET_ACCESS_KEY]

Arguments:

  • [AWS_ACCESS_KEY_ID]: Your aws access key [default: ]
  • [AWS_SECRET_ACCESS_KEY]: Your aws secret acess ket [default: ]

Options:

  • --help: Show this message and exit.

s3-loader clear-bucket

delete everything in an s3 bucket

Usage:

$ s3-loader clear-bucket [OPTIONS] [BUCKET_NAME]

Arguments:

  • [BUCKET_NAME]: Your bucket name [default: ]

Options:

  • --help: Show this message and exit.

s3-loader upload-dir

upload an entire directory to s3

Usage:

$ s3-loader upload-dir [OPTIONS] [PATH] [BUCKET_NAME]

Arguments:

  • [PATH]: Path to your directory [default: ]
  • [BUCKET_NAME]: Your bucket name [default: ]

Options:

  • --help: Show this message and exit.

s3-loader upload-file

upload a single file to s3

Usage:

$ s3-loader upload-file [OPTIONS] [LOCAL_FILE] [BUCKET] [S3_FILE]

Arguments:

  • [LOCAL_FILE]: Local file name [default: ]
  • [BUCKET]: Your bucket name [default: ]
  • [S3_FILE]: Name the file will use on s3 [default: ]

Options:

  • --help: Show this message and exit.

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-loader-1.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

s3_loader-1.0.2-py3-none-any.whl (2.9 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