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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s3_loader-1.1.6-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file s3-loader-1.1.6.tar.gz.

File metadata

  • Download URL: s3-loader-1.1.6.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.6.12 Darwin/20.2.0

File hashes

Hashes for s3-loader-1.1.6.tar.gz
Algorithm Hash digest
SHA256 e56c720037713f6e5a8d68facbe3b21d0bf0adf6a85f28889f3f2e3af95ce955
MD5 a75512adf2ebf772b3b9b32509e0e82e
BLAKE2b-256 8d56b6f174767ac8bedf5c18cf5cb4fa9745f12c4f1e6dcc2879a45448627c39

See more details on using hashes here.

File details

Details for the file s3_loader-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: s3_loader-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.6.12 Darwin/20.2.0

File hashes

Hashes for s3_loader-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 692098a50dabb50ec293239b7fdefee7a203303c73345e9b0f1bc3b5c6cae1b3
MD5 25602be04440b717c1fb9393043a5f20
BLAKE2b-256 1a1648b3bcba5e3b6c0f72fe6296b58863bd8e6ff637aa8b32f87701e85dcd88

See more details on using hashes here.

Supported by

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