{ "info": { "author": "Tek", "author_email": "tek@randhome.io", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# pypermacc\n\nPython3 wrapper for the perma.cc API (partial implementation, pull requests welcome)\n\n## Installation\n\nInstall from pypi : `pip install pypermacc`\n\nInstall from the source code :\n```\ngit clone https://github.com/Te-k/pypermacc.git\ncd pypermaa\npip install .\n```\n\n## Usage\n\n**Without private key:**\n```py\nfrom pypermacc import Permacc\nperm = Permacc()\n\n# Download public archives\narchives = p.public_archives()\n\n# Get detail on the first one\ndetails = p.archive_detail(archives['objects'][0]['guid'])\n\n# Download warc file\nwarc = p.archive_download(archives['object'][0]['guid'])\n```\n\n**With a private key**\n```py\nfrom pypermacc import Permacc\nperm = Permacc(KEY)\n\n# Save a webpage\nsaved = pp.archive_create('https://perma.cc/') # Inception\n```\n\n## License\n\nThis code is publised under the MIT license\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Te-k/pypermacc", "keywords": "archive", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pypermacc", "package_url": "https://pypi.org/project/pypermacc/", "platform": "", "project_url": "https://pypi.org/project/pypermacc/", "project_urls": { "Homepage": "https://github.com/Te-k/pypermacc" }, "release_url": "https://pypi.org/project/pypermacc/0.1.1/", "requires_dist": [ "requests" ], "requires_python": ">=3.5", "summary": "Python wrapper around the perma.cc API", "version": "0.1.1" }, "last_serial": 4656482, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "adf4032b947f0707c02290fe17d456db", "sha256": "e27693c3bb740809847e08afdc48ae88a0919d40d0b97ec886f0c9802c8b43ee" }, "downloads": -1, "filename": "pypermacc-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "adf4032b947f0707c02290fe17d456db", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 3813, "upload_time": "2019-01-03T13:48:47", "url": "https://files.pythonhosted.org/packages/08/e9/ef0d389abd06de8e0d185691b704d12e14a0c4d6daba04eac34ab5137289/pypermacc-0.1.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "adf4032b947f0707c02290fe17d456db", "sha256": "e27693c3bb740809847e08afdc48ae88a0919d40d0b97ec886f0c9802c8b43ee" }, "downloads": -1, "filename": "pypermacc-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "adf4032b947f0707c02290fe17d456db", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 3813, "upload_time": "2019-01-03T13:48:47", "url": "https://files.pythonhosted.org/packages/08/e9/ef0d389abd06de8e0d185691b704d12e14a0c4d6daba04eac34ab5137289/pypermacc-0.1.1-py3-none-any.whl" } ] }