S3Resumable
This modules provides a helper class to download files from S3 using boto3. To be able to recover incomplete downloads, it downloads files in parts of the configured size.
Installation
Using pip:
pip install s3resumable
Using docker-compose:
docker-compose build
Usage
The basic usage of s3resumable module can be summarized as declare a boto3
client and pass it on S3Resumable class:
import boto3
from s3resumable import S3Resumable
s3client = boto3.client('s3')
s3resumable = S3Resumable(s3client)
s3resumable.download_file('my_bucket', 'my_key', 'my_download_dir')
This will download the file in parts (15mb by default) and once downloaded all the parts will join them in one file.
A CLI can also be used. Check the help:
s3resumable --help
QA
In order to check QA, you can use docker-compose:
docker-compose build
docker-compose run py27 qa
docker-compose run py37 qa
Metadata
Release files for s3resumable 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| s3resumable-0.0.3.tar.gz | 6.2 kB | Without provenance | Details for s3resumable-0.0.3.tar.gz |
Release files / s3resumable-0.0.3.tar.gz
| Download URL | s3resumable-0.0.3.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08eb6772768a00d8acd5d407fd947a4527ba4fd8531f83fbafb99bda471c222c
|
|
BLAKE2b-256 checksum How to use checksums |
00e9584b8b568b4419ffda670a57cc21a29a616d9c4773cbfc39bd8191c38617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.1
|
Security for s3resumable 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.