# IT4Innovations
# LK 2023

easyblock = 'PackedBinary'

name = 's5cmd'
version = '2.0.0'

homepage = 'https://pypi.python.org/pypi/s3cmd'
description = """s5cmd is a very fast S3 and local filesystem execution tool. It comes with support for a multitude of operations including tab completion and wildcard support for files, which can be very handy for your object storage workflow while working with large number of files.

There are already other utilities to work with S3 and similar object storage services, thus it is natural to wonder what s5cmd has to offer that others don't.

In short, s5cmd offers a very fast speed. Thanks to Joshua Robinson for his study and experimentation on s5cmd; to quote his medium post:

For uploads, s5cmd is 32x faster than s3cmd and 12x faster than aws-cli. For downloads, s5cmd can saturate a 40Gbps link (~4.3 GB/s), whereas s3cmd and aws-cli can only reach 85 MB/s and 375 MB/s respectively.

If you would like to know more about performance of s5cmd and the reasons for its fast speed, refer to benchmarks section"""

toolchain = SYSTEM

sources = ['https://github.com/peak/s5cmd/releases/download/v%(version)s/%(name)s_%(version)s_Linux-64bit.tar.gz']
checksums = ['0ac2ae20a73d9f1747a19288224d07c846fad41f7f122dc1dea48162eb0ef4b4']

sanity_check_paths = {
    'files': ['s5cmd'],
    'dirs': []
}

moduleclass = 'tools'
