{ "info": { "author": "Michael Imelfort", "author_email": "mike@mikeimelfort.com", "bugtrack_url": null, "classifiers": [], "description": "# ScreamingBackpack\n\n## Overview\n\nA utility for handing syncing of remote and local data resources. Developed for use in CheckM but hopefully generic enough to be used elsewhere.\n\n## Installation\n\nShould be as simple as\n\n pip install ScreamingBackpack\n\n## Example usage\n\nThe utility works by placing a small file (manifest file) in the data directory that describes the file names, their locations and if possible their hashes (sha256).\nThis file is downloaded during diff and update functions and is used to determine what other file operations (downloads / deletions) should occur.\n\nThe format of the manifest file is very simple. The first line is a header which describes the manifest type and some other info;\n\n #### Data manifest created by ScreamingBackpack version \n\n where: is user specified and is the version of SBP that created the file\n\nEach line below the header describes a file or folder which is under management. File lines look like this:\n\n 3 d37b38c8411e250f55393442db47eed954354898fa958c93047d7a66956880cb 5000\n\n I.e. A three column file in the format \"local_path sha256_hash size_in_bytes\"\n\nFolder lines look like this:\n\n 9 - 0\n\n I.e. a file line with no size or hash.\n\nThe binary screamingBackpack can be run in three modes:\n\n create - create a new manifest file\n diff - work out the difference between two manifests and print out the results\n update - update the local data repo tp reflect any changes made at the remote source\n\nThe bin file very simply wraps these functions which are available by importing like this\n\n from screamingBackpack.manifestManager import ManifestManager\n\n MM = ManifestManager(manType=\"\")\n\n MM.createManifest(pathToManifest, # path to the root folder of the data to be managed\n manifestName=None) # specify a custom name for the manifest file (default = .dmanifest)\n\n MM.diffManifests(localManifestLocation, # path to local data repo\n sourceManifestLocation, # path to source or fully qualified remote url\n localManifestName=None,\n sourceManifestName=None,\n printDiffs=True) # Print to stdout and exit\n\n MM.updateManifest(localManifestLocation,\n sourceManifestLocation,\n localManifestName=None,\n sourceManifestName=None,\n prompt=True) # prompt user before making changes\n\n## Help\n\nIf you experience any problems using ScreamingBackpack, open an [issue](https://github.com/minillinim/ScreamingBackpack/issues) on GitHub and tell us about it.\n\n## Licence and referencing\n\nProject home page, info on the source tree, documentation, issues and how to contribute, see http://github.com/minillinim/ScreamingBackpack\n\nThis software is currently unpublished\n\n## Copyright\n\nCopyright (c) 2014 Michael Imelfort. See LICENSE.txt for further details.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/ScreamingBackpack/", "keywords": null, "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "ScreamingBackpack", "package_url": "https://pypi.org/project/ScreamingBackpack/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ScreamingBackpack/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/ScreamingBackpack/" }, "release_url": "https://pypi.org/project/ScreamingBackpack/0.2.333/", "requires_dist": null, "requires_python": null, "summary": "ScreamingBackpack", "version": "0.2.333" }, "last_serial": 1313813, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d5359360f8558c7873007bfdde571376", "sha256": "5116e3860fb87aa3e874ded8ee58ddb5ea106a6267161d25f1a6011565b5a3d7" }, "downloads": -1, "filename": "ScreamingBackpack-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d5359360f8558c7873007bfdde571376", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14656, "upload_time": "2014-07-14T01:32:49", "url": "https://files.pythonhosted.org/packages/3e/e4/45b2d0e988c21f9a062e7f9894f5eb31b4b374113cf48afe88b6ebf0a969/ScreamingBackpack-0.0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3ef0caf3159dac64aefdb416d661ea29", "sha256": "c7aa12097d7806d44864e3f021de532c1c5031b648aabc84ed5418bbc2c978c4" }, "downloads": -1, "filename": "ScreamingBackpack-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3ef0caf3159dac64aefdb416d661ea29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19198, "upload_time": "2014-07-15T15:14:10", "url": "https://files.pythonhosted.org/packages/b9/cc/cef9023c1ade42a50cc6c0d63fe02ff7e070dc8999430fa0ae5165504c28/ScreamingBackpack-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4c10811ea0cc30f080ebf5d4d8573f24", "sha256": "a57a577135071326f7919b66c87cdacfbeabb842881d59bb0e803def05930000" }, "downloads": -1, "filename": "ScreamingBackpack-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4c10811ea0cc30f080ebf5d4d8573f24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19231, "upload_time": "2014-07-16T04:09:28", "url": "https://files.pythonhosted.org/packages/f4/3f/1af294605195c57f6ace7441000a5fcc00bcf7a1131cdf8f21bfbba59558/ScreamingBackpack-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "7a6cec3f6565b4705fcea6b0f59bc18b", "sha256": "352ed86f568dafa2ff477801b23c46a5faa4256988b3c5f0ae1b0debf01669bc" }, "downloads": -1, "filename": "ScreamingBackpack-0.2.2.tar.gz", "has_sig": false, "md5_digest": "7a6cec3f6565b4705fcea6b0f59bc18b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20325, "upload_time": "2014-09-05T00:44:05", "url": "https://files.pythonhosted.org/packages/eb/9f/a5fd6ae5681a6dbf9985473fb183e8c7857d4d85c529545e51a4b6a1413d/ScreamingBackpack-0.2.2.tar.gz" } ], "0.2.333": [ { "comment_text": "", "digests": { "md5": "22d776c6d49eb6e6b2f387af99cc471f", "sha256": "08c32b66e73ec089ede30e6f9e5100501d01dcb65eb14af3c4a2ad1d77cf8a0a" }, "downloads": -1, "filename": "ScreamingBackpack-0.2.333.tar.gz", "has_sig": false, "md5_digest": "22d776c6d49eb6e6b2f387af99cc471f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20410, "upload_time": "2014-11-19T23:47:48", "url": "https://files.pythonhosted.org/packages/74/a2/8e991cf6b82aa891667d2049ac792b9a911bbff05eb0908b7164cc74a226/ScreamingBackpack-0.2.333.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "22d776c6d49eb6e6b2f387af99cc471f", "sha256": "08c32b66e73ec089ede30e6f9e5100501d01dcb65eb14af3c4a2ad1d77cf8a0a" }, "downloads": -1, "filename": "ScreamingBackpack-0.2.333.tar.gz", "has_sig": false, "md5_digest": "22d776c6d49eb6e6b2f387af99cc471f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20410, "upload_time": "2014-11-19T23:47:48", "url": "https://files.pythonhosted.org/packages/74/a2/8e991cf6b82aa891667d2049ac792b9a911bbff05eb0908b7164cc74a226/ScreamingBackpack-0.2.333.tar.gz" } ] }