{ "info": { "author": "Nigel Small", "author_email": "nigel@nigelsmall.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development" ], "description": "====\nHTTQ\n====\n\nHTTQ is a fast and lightweight HTTP client written in pure Python and distributed under the Apache 2 license.\nIt is contained within a single file module with no external dependencies so it can be easily dropped into existing projects.\n\nThe `HTTP` class has separate methods for sending requests and receiving responses.\nThis decoupling allows multiple requests to be pipelined on a single connection prior to the corresponding responses being read. \n\nExample Code\n============\n\nOpen an HTTP connection to `http.io` on port 8080, send a `GET` request to `/hello` and obtain the response content: \n\n.. code:: python\n\n >>> from httq import HTTP\n >>> http = HTTP(b\"httq.io:8080\")\n >>> print(http.get(b\"/hello\").response().content)\n hello, world\n\nGet the same content using a full URL on a single-use connection: \n\n.. code:: python\n\n >>> from httq import get\n >>> print(get(b\"http://httq.io:8080/hello\").content)\n hello, world", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://httq.io/", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "httq", "package_url": "https://pypi.org/project/httq/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/httq/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://httq.io/" }, "release_url": "https://pypi.org/project/httq/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "fast and lightweight HTTP client written in pure Python", "version": "0.0.2" }, "last_serial": 1552781, "releases": { "0.0.0": [], "0.0.1": [ { "comment_text": "", "digests": { "md5": "32694c3ed3fd0e3a2b7a82f653ed2205", "sha256": "66184e05aee107da9fbf9bf17af6b623b5ff307eac8a559f1a50ab201065339e" }, "downloads": -1, "filename": "httq-0.0.1.tar.gz", "has_sig": false, "md5_digest": "32694c3ed3fd0e3a2b7a82f653ed2205", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8957, "upload_time": "2015-04-07T19:17:44", "url": "https://files.pythonhosted.org/packages/df/74/ddc198866182ade4da0dbb3127099be49a4e7f3506aabfcbcf9144b7a90f/httq-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d3ede7959335831f34a4ce9104e1c326", "sha256": "867444a682a4e0c87271a48d0e87725dd5a711f8ebb9876dba2493b5e73a1947" }, "downloads": -1, "filename": "httq-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d3ede7959335831f34a4ce9104e1c326", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10100, "upload_time": "2015-05-19T08:03:19", "url": "https://files.pythonhosted.org/packages/38/79/a805e7b94122d85646486f10e7064386db7d2c552ed52319f82638c1fa23/httq-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3ede7959335831f34a4ce9104e1c326", "sha256": "867444a682a4e0c87271a48d0e87725dd5a711f8ebb9876dba2493b5e73a1947" }, "downloads": -1, "filename": "httq-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d3ede7959335831f34a4ce9104e1c326", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10100, "upload_time": "2015-05-19T08:03:19", "url": "https://files.pythonhosted.org/packages/38/79/a805e7b94122d85646486f10e7064386db7d2c552ed52319f82638c1fa23/httq-0.0.2.tar.gz" } ] }