OArepo S3 upload client
Project description
oarepo-s3-cli
OARepo command-line upload client
global options
- -e, --endpoint
<url>
OARepo HTTPS endpoint e.g. https://repo.example.org (required) - -t, --token
<string>
upload auth token obtained from OARepo (required, can be grabbed from env.variable "TOKEN") - -d, debug (default: False)
- -q, quiet (default: False)
- -n, --noninteractive (default: False)
- --help
commands
- upload ... upload file
- resume ... resume interrupted upload
- abort ... abort upload
- check ... match sha256sum of local and uploaded file
- revoke ... revoke supplied access token
upload command options
- -f, --file
<filepath>
file(s) for upload (repeatable, required) - -k, --key
<name>
object key in S3 (default: basename of file) - -p, --parallel
<integer>
(default: CPU count)
resume command options
- -k, --key
<name>
object key in S3 (default: basename of file) - -u, --uploadId
<string>
uploadId returned from upload (required) - -f, --file
<filepath>
file for upload (required) - -p, --parallel
<integer>
number of parallel upload streams (default: CPU count)
abort command options
- -k, --key
<name>
object key in S3 (default: basename of file) - -u, --uploadId
<string>
uploadId returned from upload (required)
check command options
- -f, --file
<filepath>
uploaded file for check (required) - -k, --key
<name>
object key of uploaded file in S3 (default: basename of file)
revoke command options
none
.. Copyright (C) 2021 CESNET.
OARepo-S3-CLI is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
Changes
Version 0.1.0 (released TBD)
- Initial public release.
Version 0.1.1
- noninteractive mode added, resume call moved
Version 0.1.2
- setuptools ver.limited
- README.md
- check command impl.
- revoke command impl.
- error messages changed
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
oarepo_s3_cli-0.1.2.tar.gz
(18.2 kB
view hashes)
Built Distribution
Close
Hashes for oarepo_s3_cli-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6891735d40578d690fda39d81965bfdb3c7f0927e344a996601613362ffbf5d9 |
|
MD5 | 83f30aa02c3a2cb2015e0327648febe7 |
|
BLAKE2b-256 | 1f9372d04ff6db6c3c54d49de6c50a9d460a79dcb266aa6ca57bed932651352a |