skip to navigation
skip to content

GreenGlacier 1.0.0

A gevent-based concurrent uploader for glacier using Boto3

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))
 
File Type Py Version Uploaded on Size
GreenGlacier-1.0.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-01-30 5KB
GreenGlacier-1.0.0.tar.gz (md5) Source 2017-01-30 4KB