{ "info": { "author": "Giovanni Damiola", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "# iagitup - a command line tool to archive a GitHub repository to the Internet Archive\n\nThe python script downloads the GitHub repository, creates a [git bundle](https://git-scm.com/docs/git-bundle) and uploads it on an Internet Archive item with metadata from the GitHub API and a description from the repository readme.\n\n\n## Prerequisites\nThis script strongly recommends Linux or some sort of POSIX system (such as Mac OS X).\n\n* **Internet Archive Account** - If you don't already have an account on archive.org, [register](https://archive.org/account/login.createaccount.php).\n* **Python 2.7** - This script requires python 2.7.\n* **libffi-dev and libssl-dev**\n* **git**\n\n## Install iagitup\n\nPrerequisites (with Debian or Ubuntu):\n\n sudo apt update \n sudo apt install python python-pip python-dev libffi-dev libssl-dev git\n\n### with pip:\n\n pip install iagitup\n\n### from source code:\n\nClone the repo and install the package...\n\n git clone https://github.com/gdamdam/iagitup.git\n cd iagitup\n pip install .\n\n## Usage\n\nTo upload a repo:\n\n iagitup \n\nYou can add also custom metadata:\n\n iagitup --metadata= \n\nTo know the version:\n\n iagitup -v\n\nExample:\n\n iagitup https://github.com//\n\nThe script downloads the git repo from github, creates a git bundle and uploads it on the Internet Archive.\n\nThe repo will be archived in an item at url containing the repository name and the date of the last push, something like:\n\n https://archive.org/details/github.com--_-_\n\nThe git repo bundle will be available at url:\n\n https://archive.org/download/github.com--_-_/.bundle\n\n## Restore an archived github repository\n\nDownload the bundle file, form the archived item:\n\n https://archive.org/download/.../.bundle\n\nJust download the _.bundle_ file and run:\n\n git clone file.bundle\n\n\n## License (GPLv3)\n\nCopyright (C) 2017-2018 Giovanni Damiola\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gdamdam/iagitup", "keywords": "github internetarchive", "license": "GNU General Public License v3.0", "maintainer": "", "maintainer_email": "", "name": "iagitup", "package_url": "https://pypi.org/project/iagitup/", "platform": "POSIX", "project_url": "https://pypi.org/project/iagitup/", "project_urls": { "Homepage": "https://github.com/gdamdam/iagitup" }, "release_url": "https://pypi.org/project/iagitup/1.6.2/", "requires_dist": [ "appdirs", "args", "asn1crypto", "cffi", "clint", "cryptography", "docopt", "enum34", "gitdb2", "GitPython", "idna", "internetarchive", "ipaddress", "jsonpatch", "markdown2", "ndg-httpsclient", "packaging", "pyasn1", "pycparser", "pyOpenSSL", "pyparsing", "requests", "schema", "six", "smmap2", "wheel" ], "requires_python": "", "summary": "Tool to archive a git repository form GitHub to the Internet Archive.", "version": "1.6.2" }, "last_serial": 4313186, "releases": { "1.6": [ { "comment_text": "", "digests": { "md5": "d62cfea4318ced72d52a55abb9cb190a", "sha256": "5b62147cc32774e10f95bc45bb957e476731037e98ae8cf34044be54297b271a" }, "downloads": -1, "filename": "iagitup-1.6-py2-none-any.whl", "has_sig": false, "md5_digest": "d62cfea4318ced72d52a55abb9cb190a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7374, "upload_time": "2018-09-23T19:28:31", "url": "https://files.pythonhosted.org/packages/b4/0d/644f9de9863aa172bd85b8c0c1a285be45c2dc9d54081424952d3a4f0750/iagitup-1.6-py2-none-any.whl" } ], "1.6.1": [ { "comment_text": "", "digests": { "md5": "9e746a828044117de9921fc43de1573f", "sha256": "5d424eb83529371d06e2d327bd79e19d44c0f00ab458edcbeda8b6cf1f6558db" }, "downloads": -1, "filename": "iagitup-1.6.1-py2-none-any.whl", "has_sig": false, "md5_digest": "9e746a828044117de9921fc43de1573f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7394, "upload_time": "2018-09-26T16:04:10", "url": "https://files.pythonhosted.org/packages/e7/6d/eba22e95b754f6d531f52d01c563395945cb91715137a3bccc2aa32fce79/iagitup-1.6.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a62072bf2d401e81f0a4a5d2afedd77e", "sha256": "1c4739f7716431c08870e7134dffde5e893257b9efb752bd12e0352761ede41e" }, "downloads": -1, "filename": "iagitup-1.6.1.tar.gz", "has_sig": false, "md5_digest": "a62072bf2d401e81f0a4a5d2afedd77e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6251, "upload_time": "2018-09-26T16:04:11", "url": "https://files.pythonhosted.org/packages/36/d2/137b82009151e420265d4cc5c2aa8a2494140dea7035975d5d0b6319ff4a/iagitup-1.6.1.tar.gz" } ], "1.6.2": [ { "comment_text": "", "digests": { "md5": "420abc06bbcf539dfdc72232df778387", "sha256": "63a239d92750c18d5d588a264d5a663012a986b4b8c01d0e00ad18b95b7f6096" }, "downloads": -1, "filename": "iagitup-1.6.2-py2-none-any.whl", "has_sig": false, "md5_digest": "420abc06bbcf539dfdc72232df778387", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7399, "upload_time": "2018-09-26T16:07:57", "url": "https://files.pythonhosted.org/packages/9a/72/d6d962bd58b722bc8b0ef622d4c713ada7d1c58850153eaefb6d8c3d9e97/iagitup-1.6.2-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "420abc06bbcf539dfdc72232df778387", "sha256": "63a239d92750c18d5d588a264d5a663012a986b4b8c01d0e00ad18b95b7f6096" }, "downloads": -1, "filename": "iagitup-1.6.2-py2-none-any.whl", "has_sig": false, "md5_digest": "420abc06bbcf539dfdc72232df778387", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7399, "upload_time": "2018-09-26T16:07:57", "url": "https://files.pythonhosted.org/packages/9a/72/d6d962bd58b722bc8b0ef622d4c713ada7d1c58850153eaefb6d8c3d9e97/iagitup-1.6.2-py2-none-any.whl" } ] }