{"id":26568301,"url":"https://github.com/technige/httq","last_synced_at":"2025-03-22T19:36:15.770Z","repository":{"id":28470710,"uuid":"31986598","full_name":"technige/httq","owner":"technige","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-15T16:25:03.000Z","size":185,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"v1","last_synced_at":"2023-04-01T12:24:47.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technige.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-10T23:05:19.000Z","updated_at":"2015-04-29T22:59:00.000Z","dependencies_parsed_at":"2022-09-19T22:50:39.634Z","dependency_job_id":null,"html_url":"https://github.com/technige/httq","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technige%2Fhttq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technige%2Fhttq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technige%2Fhttq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technige%2Fhttq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technige","download_url":"https://codeload.github.com/technige/httq/tar.gz/refs/heads/v1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013779,"owners_count":20547176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-22T19:36:15.216Z","updated_at":"2025-03-22T19:36:15.725Z","avatar_url":"https://github.com/technige.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"====\r\nHTTQ\r\n====\r\n\r\nHTTQ is a fast and lightweight HTTP client written in pure Python and distributed under the Apache 2 license.\r\nIt is contained within a single file module with no external dependencies so it can be easily dropped into existing projects.\r\n\r\nThe `HTTP` class has separate methods for sending requests and receiving responses.\r\nThis decoupling allows multiple requests to be pipelined on a single connection prior to the corresponding responses being read. \r\n\r\nExample Code\r\n============\r\n\r\nOpen an HTTP connection to `http.io` on port 8080, send a `GET` request to `/hello` and obtain the response content: \r\n\r\n.. code:: python\r\n\r\n    \u003e\u003e\u003e from httq import HTTP\r\n    \u003e\u003e\u003e http = HTTP(b\"httq.io:8080\")\r\n    \u003e\u003e\u003e print(http.get(b\"/hello\").response().content)\r\n    hello, world\r\n\r\nGet the same content using a full URL on a single-use connection: \r\n\r\n.. code:: python\r\n\r\n    \u003e\u003e\u003e from httq import get\r\n    \u003e\u003e\u003e print(get(b\"http://httq.io:8080/hello\").content)\r\n    hello, world\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnige%2Fhttq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnige%2Fhttq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnige%2Fhttq/lists"}