{ "info": { "author": "Fastly", "author_email": "support@fastly.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "## Fastly Python Client\n\nfastly-py is available through `pip` as the [fastly](https://pypi.python.org/pypi/fastly) package\n\nThere are three simple scripts provided in `/bin` that can be used for various stand-alone purge operations.\n\n### Usage\n\n```python\nimport fastly\napi = fastly.API()\napi.authenticate_by_key('MYKEY')\napi.purge_url('www.example.com', '/some/path')\n```\n\n### TODO:\n\nDoc files\nDocstrings\nConfig file\n\n### Running Tests\n\n```\n$ python -m test.api_test\n```\n\n#### Set up environment configuration\nWe use Python's [os](https://docs.python.org/2/library/os.html) and a `.env` file to manage environment variables in development and test environments. See the list of required environment variables in the `.env.example` file in the root directory.\n\nTo optionally set values for testing, make a copy of `.env.example` and name it `.env`.\n\n```bash\ncp .env.example .env\n\n# Note:\n# If using direnv, you can just use it as a `.envrc` file and not have to `source` it manually.\n\n# Using your favorite editor, update the values of the environment variables in `.env` and then\n\nsource .env\n```\n\n### Distributing a package\n\nCreate a `.pypirc` file:\n\n```\n$ cat > .pypirc\n[distutils]\nindex-servers =\n pypi\n\n[pypi]\nrepository: https://upload.python.org/legacy/\n```\n\nInstall twine:\n\n```\n$ python3 -m pip install --user --upgrade twine\n```\n\nCreate a build:\n```\n$ python3 setup.py sdist bdist_wheel\n```\n\nUse twine to publish to Pypi:\n\n```\n$ twine upload dist/* \nUploading distributions to https://upload.pypi.org/legacy/\nEnter your username: [YOUR_USERNAME]\nEnter your password:\nUploading fastly-0.2.3-py3-none-any.whl\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 13.2k/13.2k [00:02<00:00, 6.40kB/s]\nUploading fastly-0.1.3-py2.7.egg\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 17.8k/17.8k [00:01<00:00, 12.8kB/s]\nUploading fastly-0.1.3-py3.6.egg\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 18.3k/18.3k [00:01<00:00, 14.2kB/s]\nUploading fastly-0.2.3.tar.gz\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 9.25k/9.25k [00:01<00:00, 9.09kB/s]\n```\n\nBuilds and uploads to PyPi. More info on this at the [python\nsite](https://packaging.python.org/tutorials/packaging-projects/). You will\nneed to be granted access to the fastly package in order to push.\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/fastly/fastly-py", "keywords": "fastly api", "license": "", "maintainer": "", "maintainer_email": "", "name": "fastly", "package_url": "https://pypi.org/project/fastly/", "platform": "", "project_url": "https://pypi.org/project/fastly/", "project_urls": { "Homepage": "https://github.com/fastly/fastly-py" }, "release_url": "https://pypi.org/project/fastly/0.3.0/", "requires_dist": [ "six" ], "requires_python": "", "summary": "Fastly python API", "version": "0.3.0" }, "last_serial": 5514414, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "b097f96beddad6c399ef28d349b76c71", "sha256": "2b17dfdebe7985937d685c4f1a77db841ddecb5f5c58c0f7184284de0dd01dd1" }, "downloads": -1, "filename": "fastly-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b097f96beddad6c399ef28d349b76c71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3524, "upload_time": "2014-05-16T23:30:44", "url": "https://files.pythonhosted.org/packages/fc/8c/8f7223dec988ed6c9a239a9c914ad6567fd0ba5f20b60dc9d1de2e2acd48/fastly-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "6b2e4e718b34e8decc65d28e8c69d112", "sha256": "39b1c522c60b456c59cec0096705c6677ff0f67af31da14d9653b9b98e27680a" }, "downloads": -1, "filename": "fastly-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6b2e4e718b34e8decc65d28e8c69d112", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3675, "upload_time": "2016-03-16T19:59:35", "url": "https://files.pythonhosted.org/packages/e9/70/137e5857883d83558d47b779f8e8ee40907677bc3ac647967ce9ad5f6201/fastly-0.0.3.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "99d96d91af7375939991c7e633a0d0c6", "sha256": "9ed840e772f6732aecead95f6598fdd0b7fb523f75aaca51343144652ed7e242" }, "downloads": -1, "filename": "fastly-0.0.5.tar.gz", "has_sig": false, "md5_digest": "99d96d91af7375939991c7e633a0d0c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3989, "upload_time": "2016-03-16T21:40:16", "url": "https://files.pythonhosted.org/packages/46/9e/3bd895e996aa615e995ea171aa987f0a492abc9c11a93f0b9c33a71abe09/fastly-0.0.5.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "f4a0774c8c25c7d71b1ad2a725387ce6", "sha256": "b0c8e1bbdec1942c9013d6fad082c56c5e79288b8e5efab1a3eb7f68100226e3" }, "downloads": -1, "filename": "fastly-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f4a0774c8c25c7d71b1ad2a725387ce6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4071, "upload_time": "2016-05-10T01:07:27", "url": "https://files.pythonhosted.org/packages/f4/8a/0c76bb77b188dca4f4db8326e5f89ba3b7a4b1a6cbb31ebfcecd3ec4c46b/fastly-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b9102638618ac9ddf9fe36d0c62929bb", "sha256": "e3654d55166b0b192a72feb2006ce4fff85baad82304953f3b99e586853179f5" }, "downloads": -1, "filename": "fastly-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b9102638618ac9ddf9fe36d0c62929bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4438, "upload_time": "2016-05-10T22:14:26", "url": "https://files.pythonhosted.org/packages/16/cd/dcd27d4ce92ede66f4ee31294e1d90d34b8e587ca293a6f8dabe8aa86a5a/fastly-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f6198d867f51348003312848c1267b23", "sha256": "9dddee957d4c1c1f53d85c16acd547b6ce1d67f966a3fd10532b32b2f3cb0899" }, "downloads": -1, "filename": "fastly-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f6198d867f51348003312848c1267b23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4534, "upload_time": "2016-07-27T18:31:38", "url": "https://files.pythonhosted.org/packages/3f/6b/aad38c9ff20ad302811c7fca937dca917caa5a1606c498982a6f206b9f97/fastly-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "42ccd18d357822e6356300373a8c1410", "sha256": "f971242d0b9af027a06ca8f195e1eecf72429751e0de391d8050556c86f3343d" }, "downloads": -1, "filename": "fastly-0.1.3-py2.7.egg", "has_sig": false, "md5_digest": "42ccd18d357822e6356300373a8c1410", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 13388, "upload_time": "2018-08-29T22:46:31", "url": "https://files.pythonhosted.org/packages/e1/7c/234d9ce22cd08537a688fddeab94f00ba50edee3eb3c2016ecd065530875/fastly-0.1.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e87a07e650a33f04bd5f5dfac25552fa", "sha256": "b46518982c3fe9e92906288f28e1d7636a5843c7a5296881af0c9a735614aacb" }, "downloads": -1, "filename": "fastly-0.1.3-py3.6.egg", "has_sig": false, "md5_digest": "e87a07e650a33f04bd5f5dfac25552fa", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 13897, "upload_time": "2018-08-29T22:46:32", "url": "https://files.pythonhosted.org/packages/b6/2d/4bfe3589665b7365ccc147882c3ae764c33319b062fa17875959a8f7bd17/fastly-0.1.3-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "3c8693afabbb616919ead78371f6d5f7", "sha256": "3359e587bd436f98a700cf4a27b02ac1d203eeb104610ec33763ea805d13a595" }, "downloads": -1, "filename": "fastly-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3c8693afabbb616919ead78371f6d5f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4531, "upload_time": "2016-07-29T17:30:43", "url": "https://files.pythonhosted.org/packages/d4/55/7548f81ce1fa8d78eea5301823e0f410a13b2d0d09d5a688c38e9e289a94/fastly-0.1.3.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "e20ec4c64dcc30cac6b2f6c04e9f7d42", "sha256": "164bea04f9a70799a15bbf772553c465b5bfd652ac9a73fa3a08bec82cb6867a" }, "downloads": -1, "filename": "fastly-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e20ec4c64dcc30cac6b2f6c04e9f7d42", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8559, "upload_time": "2018-08-29T22:46:29", "url": "https://files.pythonhosted.org/packages/65/51/34b0da47652f7656b3a1de6b83dd1f89279326e7b3ea64173d94b4ffe04f/fastly-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43d2435ee770d74230b1ee8896ff5b1d", "sha256": "ff0532d478199d806075900bbb2e534fbd79aaf566e201dc9615569d63e3fead" }, "downloads": -1, "filename": "fastly-0.2.3.tar.gz", "has_sig": false, "md5_digest": "43d2435ee770d74230b1ee8896ff5b1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4634, "upload_time": "2018-08-29T22:46:34", "url": "https://files.pythonhosted.org/packages/70/db/88999e9ef243eca4b7d66fe87eabbce5d39d570e2ce983211ea11ceffb7e/fastly-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "2336c2e22d60e79960f212655c839965", "sha256": "0c1c236d4c1e6928fbe8fb38cd3ae92fde5037ebfd90f9b17ec4599cc66e7f57" }, "downloads": -1, "filename": "fastly-0.2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "2336c2e22d60e79960f212655c839965", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8250, "upload_time": "2019-06-13T18:44:59", "url": "https://files.pythonhosted.org/packages/f9/e8/c9f461b4c3212e35c12776709db73f2889db13d6e1a03b2ab5a474a9b0f1/fastly-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "267b2c119384b65d9c8af16605fa1e41", "sha256": "9543703cf19b8cc014bfca4246d95dba1f3a953c665dd51d5e0c6aee0bca5251" }, "downloads": -1, "filename": "fastly-0.2.4.tar.gz", "has_sig": false, "md5_digest": "267b2c119384b65d9c8af16605fa1e41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5251, "upload_time": "2019-06-13T18:45:00", "url": "https://files.pythonhosted.org/packages/53/45/f345891609dd0f40a612862e651e4f4c3faae57fc1b92b4d8cc7e733ef49/fastly-0.2.4.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d48e55f2b12854ea874a00608a438fe2", "sha256": "725ce75d7605d70abc071ce1187817849d32cfc9c9db776710de35584ddf62ba" }, "downloads": -1, "filename": "fastly-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d48e55f2b12854ea874a00608a438fe2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8701, "upload_time": "2019-07-10T23:24:11", "url": "https://files.pythonhosted.org/packages/5f/d9/3a4a53ac8e1eaaa1f76e12a7874280e975dca58f36c61780c8205c54bf6d/fastly-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f937ffef19b18e89ba808661709d71d9", "sha256": "2a6cfbe56f11697a0c1c7cee400ce40f94a05a0ea1d9f6aaaf6660378b79a17d" }, "downloads": -1, "filename": "fastly-0.3.0.tar.gz", "has_sig": false, "md5_digest": "f937ffef19b18e89ba808661709d71d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6258, "upload_time": "2019-07-10T23:24:12", "url": "https://files.pythonhosted.org/packages/76/fc/93caa43e38f2ae14389b990ae5ec307156881b3890969529671255911b3f/fastly-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d48e55f2b12854ea874a00608a438fe2", "sha256": "725ce75d7605d70abc071ce1187817849d32cfc9c9db776710de35584ddf62ba" }, "downloads": -1, "filename": "fastly-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d48e55f2b12854ea874a00608a438fe2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8701, "upload_time": "2019-07-10T23:24:11", "url": "https://files.pythonhosted.org/packages/5f/d9/3a4a53ac8e1eaaa1f76e12a7874280e975dca58f36c61780c8205c54bf6d/fastly-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f937ffef19b18e89ba808661709d71d9", "sha256": "2a6cfbe56f11697a0c1c7cee400ce40f94a05a0ea1d9f6aaaf6660378b79a17d" }, "downloads": -1, "filename": "fastly-0.3.0.tar.gz", "has_sig": false, "md5_digest": "f937ffef19b18e89ba808661709d71d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6258, "upload_time": "2019-07-10T23:24:12", "url": "https://files.pythonhosted.org/packages/76/fc/93caa43e38f2ae14389b990ae5ec307156881b3890969529671255911b3f/fastly-0.3.0.tar.gz" } ] }