{ "info": { "author": "Doug Kerwin", "author_email": "dwkerwin@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "Continuous cURL\n===============\n\nContinually test an endpoint over time, keeping track of http status\ncodes. Similar to ping -c but with curl.\n\nMotivation\n----------\n\nWhen doing deployments or making critical infrastructure changes I like\nto get the quickest feedback possible on any failures. Rather than wait\na minute or so for Pingdom or Pagerduty to go off, I'd like to know\nwithin a second or two if health indicators start failing. So I like to\ncontinually curl the health endpoint for any services I'm touching to\nmake sure they continue to return 200's, else let me know right away.\n\nInstallation\n------------\n\n.. code:: shell\n\n $ pip install ccurl\n\nUsage\n-----\n\n.. code:: shell\n\n # GET request on www.google.com 10 times\n ccurl --url www.google.com --repeat 10\n\n # GET request on www.google.com 100 times with a 2 second sleep between requests\n ccurl --url www.google.com --repeat 100 --delay 2\n\nPublishing Updates to PyPi\n--------------------------\n\nFor the maintainer - to publish an updated version of ssm-search,\nincrement the version number in version.py and run the following:\n\n.. code:: shell\n\n docker build -f ./Dockerfile.buildenv -t ccurl:build .\n docker run --rm -it --entrypoint make ccurl:build publish\n\nAt the prompts, enter the username and password to the pypi.org repo.\n\nLicense\n-------\n\nMIT License\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dwkerwin/continuous-curl", "keywords": "curl,ping", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ccurl", "package_url": "https://pypi.org/project/ccurl/", "platform": "", "project_url": "https://pypi.org/project/ccurl/", "project_urls": { "Homepage": "https://github.com/dwkerwin/continuous-curl" }, "release_url": "https://pypi.org/project/ccurl/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "A wrapper around curl to continually curl an endpoint over time", "version": "0.0.3" }, "last_serial": 4273252, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "de2001ee28e07a1e4eb7ede85fb45fc7", "sha256": "e7d98dbdc64441ea0199c32b524493f9caddcdc6615d78960620f7237f116260" }, "downloads": -1, "filename": "ccurl-0.0.3.tar.gz", "has_sig": false, "md5_digest": "de2001ee28e07a1e4eb7ede85fb45fc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4045, "upload_time": "2018-09-14T18:19:09", "url": "https://files.pythonhosted.org/packages/8d/d0/5ba6c156b12a3d00ecf84611b24b0ea26f8bb61a090b01d8178782892909/ccurl-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de2001ee28e07a1e4eb7ede85fb45fc7", "sha256": "e7d98dbdc64441ea0199c32b524493f9caddcdc6615d78960620f7237f116260" }, "downloads": -1, "filename": "ccurl-0.0.3.tar.gz", "has_sig": false, "md5_digest": "de2001ee28e07a1e4eb7ede85fb45fc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4045, "upload_time": "2018-09-14T18:19:09", "url": "https://files.pythonhosted.org/packages/8d/d0/5ba6c156b12a3d00ecf84611b24b0ea26f8bb61a090b01d8178782892909/ccurl-0.0.3.tar.gz" } ] }