{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "A Python client for the [Akamai Fast Purge API](https://developer.akamai.com/api/core_features/fast_purge/v3.html).\n\n[![Build Status](https://travis-ci.org/release-engineering/python-fastpurge.svg?branch=master)](https://travis-ci.org/release-engineering/python-fastpurge)\n[![Coverage Status](https://coveralls.io/repos/github/release-engineering/python-fastpurge/badge.svg?branch=master)](https://coveralls.io/github/release-engineering/python-fastpurge?branch=master)\n[![Maintainability](https://api.codeclimate.com/v1/badges/2a5d60f6ddb557d88055/maintainability)](https://codeclimate.com/github/release-engineering/python-fastpurge/maintainability)\n\n- [Source](https://github.com/release-engineering/python-fastpurge)\n- [Documentation](https://release-engineering.github.io/python-fastpurge/)\n- [PyPI](https://pypi.org/project/fastpurge)\n\nThis library provides a simple asynchronous Python wrapper for the Fast Purge\nAPI. Features include:\n\n- convenient handling of authentication\n- recovery from errors\n- splitting large requests into smaller pieces\n\n\nInstallation\n------------\n\nInstall the `fastpurge` package from PyPI.\n\n```\npip install fastpurge\n```\n\nUsage Example\n-------------\n\nAssuming a valid `~/.edgerc` file prepared with credentials according to\nAkamai's documentation:\n\n```python\nfrom fastpurge import FastPurgeClient\n\n# Omit credentials to read from ~/.edgerc\nclient = FastPurgeClient()\n\n# Start purge of some URLs\npurged = client.purge_by_url(['https://example.com/resource1', 'https://example.com/resource2'])\n\n# purged is a Future, if we want to ensure purge completed\n# we can block on the result:\nresult = purged.result()\nprint(\"Purge completed:\", result)\n```\n\nLicense\n-------\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.", "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/release-engineering/python-fastpurge", "keywords": "", "license": "GNU General Public License", "maintainer": "", "maintainer_email": "", "name": "fastpurge", "package_url": "https://pypi.org/project/fastpurge/", "platform": "", "project_url": "https://pypi.org/project/fastpurge/", "project_urls": { "Changelog": "https://github.com/release-engineering/python-fastpurge/blob/master/CHANGELOG.md", "Documentation": "https://release-engineering.github.io/python-fastpurge/", "Homepage": "https://github.com/release-engineering/python-fastpurge" }, "release_url": "https://pypi.org/project/fastpurge/1.0.2/", "requires_dist": null, "requires_python": ">=2.6", "summary": "A client for the Akamai Fast Purge API", "version": "1.0.2" }, "last_serial": 4962005, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d2a495f4f431009bbb4939ac98233433", "sha256": "17057d553674af8a3f43534537e786109dbac0f893394f79c734f2a3e17803ea" }, "downloads": -1, "filename": "fastpurge-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d2a495f4f431009bbb4939ac98233433", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6539, "upload_time": "2019-02-07T05:16:36", "url": "https://files.pythonhosted.org/packages/5c/84/efe876186721790cad7cad38862dacb4b8aac09199a0a02fc4bf3e78a642/fastpurge-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "f94e14e24f590a5498a4109a328ef036", "sha256": "9f1c96bfa80070a0e8b4a72ec6a59d1feaa89563d7e1bfa83445b007311636ef" }, "downloads": -1, "filename": "fastpurge-1.0.1.tar.gz", "has_sig": false, "md5_digest": "f94e14e24f590a5498a4109a328ef036", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19740, "upload_time": "2019-02-19T23:55:46", "url": "https://files.pythonhosted.org/packages/11/47/6a6dedbcd223b1d40f2fbf933e19d125941cb9252c1ca4096d43092007e8/fastpurge-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "753f3b11a03b5df97d585b6892a9a4ae", "sha256": "3c344f294092cc5defc8b6912e9018f48d2066aa85b9118fc34579c85334286f" }, "downloads": -1, "filename": "fastpurge-1.0.2.tar.gz", "has_sig": false, "md5_digest": "753f3b11a03b5df97d585b6892a9a4ae", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6", "size": 19904, "upload_time": "2019-03-20T05:07:23", "url": "https://files.pythonhosted.org/packages/f4/95/9abf25d88ba829c5129d86fc2e5c05c1c94682114a4676132e48b9b10dc5/fastpurge-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "753f3b11a03b5df97d585b6892a9a4ae", "sha256": "3c344f294092cc5defc8b6912e9018f48d2066aa85b9118fc34579c85334286f" }, "downloads": -1, "filename": "fastpurge-1.0.2.tar.gz", "has_sig": false, "md5_digest": "753f3b11a03b5df97d585b6892a9a4ae", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6", "size": 19904, "upload_time": "2019-03-20T05:07:23", "url": "https://files.pythonhosted.org/packages/f4/95/9abf25d88ba829c5129d86fc2e5c05c1c94682114a4676132e48b9b10dc5/fastpurge-1.0.2.tar.gz" } ] }