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: to set aws credetials
  • empty-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

to set aws credetials

Usage:

$ s3-loader auth [OPTIONS]

Options:

  • --aws-access-key-id TEXT: Your aws access key [required]
  • --aws-secret-access-key TEXT: Your aws secret acess key [required]
  • --help: Show this message and exit.

s3-loader empty-bucket

delete everything in an s3 bucket

Usage:

$ s3-loader empty-bucket [OPTIONS]

Options:

  • --bucket-name TEXT: Your bucket name [required]
  • --help: Show this message and exit.

s3-loader upload-dir

upload an entire directory to s3

Usage:

$ s3-loader upload-dir [OPTIONS]

Options:

  • --path TEXT: Path to your directory [required]
  • --bucket-name TEXT: Your bucket name [required]
  • --help: Show this message and exit.

s3-loader upload-file

upload a single file to s3

Usage:

$ s3-loader upload-file [OPTIONS]

Options:

  • --local-file TEXT: Local file name [required]
  • --bucket TEXT: Your bucket name [required]
  • --s3-file TEXT: Name the file will use on s3 [required]
  • --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.1.6.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

s3_loader-1.1.6-py3-none-any.whl (3.1 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