Skip to main content

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)
except GreenGlacierUploader.UploadFailedException as e:
    print("Failed to upload {}: {}".format(args.filename, e))

Project details

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 hashes)

Uploaded source

Built Distribution

GreenGlacier-1.0.0-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page