{ "info": { "author": "Dolph Mathews", "author_email": "dolph.mathews@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "=======\nhttpcli\n=======\n\nJust another command line HTTP client (in the spirit of cURL).\n\nExample Usage\n=============\n\nHTTP verbs are specified as a positional argument, followed by the URL to be\nacted on. The goal is to reflect the feel of a standard HTTP header. For\nexample::\n\n $ http get http://localhost/\n\nTo provide a request body (e.g. for a POST or PUT), use the third positional\nargument::\n\n $ http post http://localhost/documents '{\"json\": \"document\"}' --content-type=\"application/json\"\n\nNote the arbitrary request header being specified at the end as a normal CLI\noption. Any such trailing CLI options will be passed as request headers::\n\n $ http get http://localhost/ --x-forwarded-for=10.0.0.50\n\nThis would be translated as `X-Forwarded-For: 10.0.0.50` in the subsequent HTTP\nrequest. To illustrate this, we can enable verbose output::\n\n $ http get http://localhost/ --x-forwarded-for=10.0.0.50\n GET http://localhost/\n X-Forwarded-For: 10.0.0.50\n\n 200 OK\n Status: 200\n Content-Length: 396\n Content-Location: http://localhost/\n Date: Wed, 30 May 2012 19:26:03 GMT\n Content-Type: application/json\n\n {\n \"documents\": [\n {\n \"id\": \"c1be0fde3c0f4d27be15e1e3812cfd65b58325c3\",\n \"value\": \"a\"\n },\n {\n \"id\": \"67dc85dceacd3734ae53f1a69f56785dfe4c4c71\",\n \"value\": \"b\"\n }\n ]\n }\n\nBuilt-In Help\n=============\n\nExample help output::\n\n $ http --help\n usage: http [-h] [-t] method url [body] ...\n\n Python HTTP CLI Client\n\n positional arguments:\n method HTTP method to use (OPTIONS, GET, HEAD, POST, PUT, DELETE,\n TRACE, CONNECT)\n url URL to work with\n body Request body\n headers Additional request headers (keyword=value)\n\n optional arguments:\n -h, --help show this help message and exit\n -t, --terse Only show the response body\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/dolph/httpcli", "keywords": "http client cli curl rest restful", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "httpcli", "package_url": "https://pypi.org/project/httpcli/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/httpcli/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/dolph/httpcli" }, "release_url": "https://pypi.org/project/httpcli/1.3.0/", "requires_dist": null, "requires_python": null, "summary": "RESTful command line HTTP client (and simpler than cURL).", "version": "1.3.0" }, "last_serial": 2112463, "releases": { "1.0": [], "1.1": [ { "comment_text": "", "digests": { "md5": "43409ab46c7fa5f1a5874fb3ce225fe0", "sha256": "8af9afc24df04ce950a653a823b565ba19623099866b68b13710508f0b92ca23" }, "downloads": -1, "filename": "httpcli-1.1.tar.gz", "has_sig": false, "md5_digest": "43409ab46c7fa5f1a5874fb3ce225fe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3488, "upload_time": "2012-05-31T19:46:58", "url": "https://files.pythonhosted.org/packages/cb/d7/eca9220c6520e7f7beb8bd211f49ad94b7242f0522e509d34be8548fe7ee/httpcli-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "8798f7ed449ca61e6e1724e11b3ca995", "sha256": "620edbd8dafbfcf7cb04832b02133f323cce31376c27cfe3f2708d456cae0dfd" }, "downloads": -1, "filename": "httpcli-1.1.1.tar.gz", "has_sig": false, "md5_digest": "8798f7ed449ca61e6e1724e11b3ca995", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3378, "upload_time": "2012-05-31T19:58:31", "url": "https://files.pythonhosted.org/packages/56/27/9bbc9692eb641ace2e3a9d97db23cb0f44747509ba5ea984c35403e3e5fa/httpcli-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "6de9d7bb2ec87ee2e5dd66c7d547466f", "sha256": "f898aed6bde562d624d91dfbd4560358e605f3cf70201944fb739e58b2a25dc4" }, "downloads": -1, "filename": "httpcli-1.1.2.tar.gz", "has_sig": false, "md5_digest": "6de9d7bb2ec87ee2e5dd66c7d547466f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3376, "upload_time": "2012-05-31T20:00:12", "url": "https://files.pythonhosted.org/packages/24/4f/36ce7ec335343dd4780c8304dc6758635f3b1e9caa469d3fcf40cf53d09b/httpcli-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "0faf9009cefc297c2e82d4133f5afec7", "sha256": "c1cac419d24abe8232136dd6e2894c2bf075ee50a7172296d6807fc31664f60c" }, "downloads": -1, "filename": "httpcli-1.1.3.tar.gz", "has_sig": false, "md5_digest": "0faf9009cefc297c2e82d4133f5afec7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3304, "upload_time": "2013-05-30T19:47:35", "url": "https://files.pythonhosted.org/packages/a5/34/62934ac34998d77fe7239fbb21145f6eb38605ec6e77fd863407f5df1ec5/httpcli-1.1.3.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "438dfdeeebc7c50adec226b4f2ddfeba", "sha256": "ba95ff15249812efa00438c98607dd9a9096adedc0289ca85450675882107317" }, "downloads": -1, "filename": "httpcli-1.2.0.tar.gz", "has_sig": false, "md5_digest": "438dfdeeebc7c50adec226b4f2ddfeba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3255, "upload_time": "2016-05-05T17:47:43", "url": "https://files.pythonhosted.org/packages/96/04/5b5f68a163daec52108186f6492b3dd0124dcf1ec7ed8682be3d920483f9/httpcli-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "c9c55e59de01bd51254dee3153d2dde4", "sha256": "37c1b653adbfbf4dac3e790f6ca442e9693e6758e012be74106434be8094f855" }, "downloads": -1, "filename": "httpcli-1.3.0.tar.gz", "has_sig": false, "md5_digest": "c9c55e59de01bd51254dee3153d2dde4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3360, "upload_time": "2016-05-12T13:14:04", "url": "https://files.pythonhosted.org/packages/90/e9/4b89ecc8b599e832d5f0dd07495aba4e91de1892bbb4e04d141d720a2bd5/httpcli-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c9c55e59de01bd51254dee3153d2dde4", "sha256": "37c1b653adbfbf4dac3e790f6ca442e9693e6758e012be74106434be8094f855" }, "downloads": -1, "filename": "httpcli-1.3.0.tar.gz", "has_sig": false, "md5_digest": "c9c55e59de01bd51254dee3153d2dde4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3360, "upload_time": "2016-05-12T13:14:04", "url": "https://files.pythonhosted.org/packages/90/e9/4b89ecc8b599e832d5f0dd07495aba4e91de1892bbb4e04d141d720a2bd5/httpcli-1.3.0.tar.gz" } ] }