synchronous_glacier


Namesynchronous_glacier JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/dsoprea/PySynchronousGlacier
SummaryExecute workflows against Glacier.
upload_time2017-02-09 01:21:49
maintainerNone
docs_urlNone
authorDustin Oprea
requires_pythonNone
licenseGPL 2
keywords aws glacier
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            -----------
Description
-----------

Glacier is meant for long-term storage of large files/archives. It is a time-consuming process to delete archives and download files. Additionally, you can not delete a Glacier vault container if it still contains archives.

In order to delete a vault, the normal process is:

- Create a job to evaluate the current contents of the vault.
- Wait until the job has been completed (usually three or four hours in us-east).
- Request the job output data.
- Delete each archive listed in the job-output.
- Delete the vault.

This can become obnoxious. The goal of this tool is to execute synchronous workflows that just stay running until the job is done.


-------
Install
-------

Install using PIP::

    $ sudo pip install synchronous_glacier


-----
Tools
-----

sg-vault-delete
===============

Executes the vault-deletion workflow.

Example output::

    $ sg-vault-delete ACCESSKEY SECRETKEY dustin-test-multi-3
    Watching job [76c9jSYmg6k9ZbgxdpZLtRq2kDZML_yzhU_1tEL1f_CgEiXjHyKnnoMTDVFciexsGM82k9X1v9K7T0ms-imt9SvPgPW0].
    Sleeping (running 00:00:00).
    Sleeping (running 00:10:03).
    Sleeping (running 00:20:07).
    Sleeping (running 00:30:11).
    Sleeping (running 00:40:15).
    Sleeping (running 00:50:19).
    ...
    Job complete. Deleting (3) archives.
    Requesting archive delete: (0) [dustin-test-archive1]
    Requesting archive delete: (1) [dustin-test-archive2]
    Requesting archive delete: (2) [dustin-test-archive3]
    Deleting vault: dustin-test-multi-3


-----
To Do
-----

We have only written one tool to solve one problem. PRs will be readily accepted to extend the project with additional tools to execute different workflows.
            

Raw data

            {
    "_id": null,
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "cheesecake_code_kwalitee_id": null,
    "keywords": "aws glacier",
    "upload_time": "2017-02-09 01:21:49",
    "author": "Dustin Oprea",
    "home_page": "https://github.com/dsoprea/PySynchronousGlacier",
    "github_user": "dsoprea",
    "download_url": "https://pypi.python.org/packages/0d/ea/5d054c098c9c76db70b2a55492112081a3e68c5016cb886d845f1f501ad3/synchronous_glacier-0.2.0.tar.gz",
    "platform": "UNKNOWN",
    "version": "0.2.0",
    "cheesecake_documentation_id": null,
    "description": "-----------\nDescription\n-----------\n\nGlacier is meant for long-term storage of large files/archives. It is a time-consuming process to delete archives and download files. Additionally, you can not delete a Glacier vault container if it still contains archives.\n\nIn order to delete a vault, the normal process is:\n\n- Create a job to evaluate the current contents of the vault.\n- Wait until the job has been completed (usually three or four hours in us-east).\n- Request the job output data.\n- Delete each archive listed in the job-output.\n- Delete the vault.\n\nThis can become obnoxious. The goal of this tool is to execute synchronous workflows that just stay running until the job is done.\n\n\n-------\nInstall\n-------\n\nInstall using PIP::\n\n    $ sudo pip install synchronous_glacier\n\n\n-----\nTools\n-----\n\nsg-vault-delete\n===============\n\nExecutes the vault-deletion workflow.\n\nExample output::\n\n    $ sg-vault-delete ACCESSKEY SECRETKEY dustin-test-multi-3\n    Watching job [76c9jSYmg6k9ZbgxdpZLtRq2kDZML_yzhU_1tEL1f_CgEiXjHyKnnoMTDVFciexsGM82k9X1v9K7T0ms-imt9SvPgPW0].\n    Sleeping (running 00:00:00).\n    Sleeping (running 00:10:03).\n    Sleeping (running 00:20:07).\n    Sleeping (running 00:30:11).\n    Sleeping (running 00:40:15).\n    Sleeping (running 00:50:19).\n    ...\n    Job complete. Deleting (3) archives.\n    Requesting archive delete: (0) [dustin-test-archive1]\n    Requesting archive delete: (1) [dustin-test-archive2]\n    Requesting archive delete: (2) [dustin-test-archive3]\n    Deleting vault: dustin-test-multi-3\n\n\n-----\nTo Do\n-----\n\nWe have only written one tool to solve one problem. PRs will be readily accepted to extend the project with additional tools to execute different workflows.",
    "lcname": "synchronous_glacier",
    "name": "synchronous_glacier",
    "github": true,
    "bugtrack_url": null,
    "license": "GPL 2",
    "travis_ci": false,
    "github_project": "PySynchronousGlacier",
    "summary": "Execute workflows against Glacier.",
    "split_keywords": [
        "aws",
        "glacier"
    ],
    "author_email": "dustin@randomingenuity.com",
    "urls": [
        {
            "has_sig": false,
            "upload_time": "2017-02-09T01:21:49",
            "comment_text": "",
            "python_version": "source",
            "url": "https://pypi.python.org/packages/0d/ea/5d054c098c9c76db70b2a55492112081a3e68c5016cb886d845f1f501ad3/synchronous_glacier-0.2.0.tar.gz",
            "md5_digest": "e556c98007b7a7ceaf323c3330ab20d4",
            "downloads": 0,
            "filename": "synchronous_glacier-0.2.0.tar.gz",
            "packagetype": "sdist",
            "path": "0d/ea/5d054c098c9c76db70b2a55492112081a3e68c5016cb886d845f1f501ad3/synchronous_glacier-0.2.0.tar.gz",
            "size": 4143
        }
    ],
    "cheesecake_installability_id": null,
    "coveralls": true
}
        
Elapsed time: 0.02817s