A gevent-based concurrent uploader for glacier using Boto3
Project description
A gevent-based concurrent uploader for glacier using Boto3
This package aims to provide a simple library interface for completing multipart uploads to AWS Glacier. It uses gevent provided greenlets for concurrency and connects using a Boto3 Vault resource (or something which is acts like one) provided by the consumer. This package does not depend directly on Boto3.
A reference implementation:
import boto3 import sys from greenglacier import GreenGlacierUploader glacier = boto3.resource('glacier') vault = glacier.Vault('-', 'vault name') uploader = GreenGlacierUploader(vault) try: uploader.upload(sys.argv[1]) except GreenGlacierUploader.UploadFailedException as e: print("Failed to upload {}: {}".format(args.filename, e))
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
GreenGlacier-1.0.0.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file GreenGlacier-1.0.0.tar.gz
.
File metadata
- Download URL: GreenGlacier-1.0.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d563ca518458393b33edcf51b3faa557957ef7ed8a765974d07bcbe42c257222 |
|
MD5 | 60ecb41234e9661bc2e2a78adf25b73d |
|
BLAKE2b-256 | 5e999202c38b1ee51be0f99f3223f21dc329ae1d695a76a0ae2817ce71a2ac20 |
File details
Details for the file GreenGlacier-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: GreenGlacier-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 159fb11c8a2ce09636ffd995af09766f3c8faeb9243839eaa901c588b9d44478 |
|
MD5 | 32a09d13a29c551a88801b6d4a893fb8 |
|
BLAKE2b-256 | 733c566039650af83913cffa626b01bf9756108d512dd68a90c9caca4fd997ae |