Skip to main content

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 alternatively specified in 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

Version 0.1.3

  • CLI entry point added
  • exception handling changed

Version 0.1.4

  • added support for nr-test variant

Version 0.1.5

  • impl. --version option

Version 0.1.6

  • mon.timeout processing fixed
  • timer impl.

Version 0.1.7

  • check cmd optimized (chunk 8192, blake2b)

Version 0.1.8

  • check cmd paralelized

Version 0.1.9

  • nocheck flag impl.
  • etag multipart checksums supp.
  • presign req. grouping impl.
  • presign req. divided into batches

Version 0.1.10

  • changed chunk_size calculation + max_parts 10240

Metadata

Release files for oarepo-s3-cli 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oarepo-s3-cli 0.1.11
File Size Uploaded
oarepo_s3_cli-0.1.11.tar.gz 20.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oarepo-s3-cli 0.1.11
File Interpreter ABI Platform
oarepo_s3_cli-0.1.11-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 38.3 kB

Release files / oarepo_s3_cli-0.1.11.tar.gz

Download URL oarepo_s3_cli-0.1.11.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
339002c935af2aca69abc5a6120d7ec370f431bf519f89da0a6e8e9293f7d3de
BLAKE2b-256 checksum
How to use checksums
300a6df97d20db5bd02092d1064dfa04508aa6661cf14880b68ea03be05773f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

Release files / oarepo_s3_cli-0.1.11-py2.py3-none-any.whl

Download URL oarepo_s3_cli-0.1.11-py2.py3-none-any.whl
Size 17.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c2ae427b184510a17da334b208b62b6b77d20cc221bb2155c5840645e7b82783
BLAKE2b-256 checksum
How to use checksums
39d7fb34d320ef00578b71f7c7fdcd721fd291a8870fe3bafa3c4c7585817c70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page