Git Product home page Git Product logo

glacier-upload's Introduction

glacier-upload - hallgrimur1471's fork

Roadmap

  • Display progress when compressing
  • Add option to choose compression method
  • Add option to choose compression level
  • Verify upload & download don't use too much memory for big archives
  • Investigate if checking local checksum is also required for download
  • Introduce decompression to download script
  • Add option to choose archive retrieval speed
  • AWS SNS integration
  • Add more programmatical management/storage of Archive IDs
  • Warn user when request exceeds AWS Glacier core specifications

My plan is to hack on this in on branch 'hallgrimur1471' and then afterwards hopefully send pull requests from feature branches based on 'develop' branch to tbumi's repository.

Original README.md of tbumi's repository follows:

glacier-upload

A simple script to upload files to an AWS Glacier vault.

Installation

$ pip install glacier_upload

Usage

There are eight scripts available for use.

  • glacier_upload: Upload files to glacier (pre-archive if necessary) using multithreaded multipart upload.
  • list_all_glacier_uploads: List all glacier uploads currently pending.
  • list_parts_in_upload: List all parts that have been uploaded so far in a multipart upload batch.
  • init_archive_retrieval: Initiate retrieval for a specific archive.
  • init_inventory_retrieval: Initiate inventory retrieval for the whole vault.
  • get_glacier_job_output: Get the output of a job (archive retrieval or inventory retrieval)
  • abort_glacier_upload: Abort a multipart glacier upload.
  • delete_glacier_archive: Delete a glacier archive.

For options and arguments, invoke the corresponding command with --help.

How glacier_upload works

The script will read a file (or more), archive it (them) if it isn't already an archive, split the file into chunks, and spawn a number of threads that will upload the chunks in parallel. Note that it will not read the entire file into memory, but only as it processes the chunks.

Dependencies

The script has only two dependencies: boto3 and click.

It is built to run on Python 3.5 and newer. Python 2 is not supported.

Contributing

Contributions and/or bug fixes are welcome! Just fork, make a topic branch, and submit a PR. Don't forget to add your name in CONTRIBUTORS.

A good place to start is the TODO file.

glacier-upload's People

Contributors

tbumi avatar hallgrimur1471 avatar avinash-oza avatar z38 avatar monester avatar azeemba avatar eplanet avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.