Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

fast and lightweight HTTP client written in pure Python

Project description

HTTQ is a fast and lightweight HTTP client written in pure Python and distributed under the Apache 2 license. It is contained within a single file module with no external dependencies so it can be easily dropped into existing projects.

The HTTP class has separate methods for sending requests and receiving responses. This decoupling allows multiple requests to be pipelined on a single connection prior to the corresponding responses being read.

Example Code

Open an HTTP connection to on port 8080, send a GET request to /hello and obtain the response content:

>>> from httq import HTTP
>>> http = HTTP(b"")
>>> print(http.get(b"/hello").response().content)
hello, world

Get the same content using a full URL on a single-use connection:

>>> from httq import get
>>> print(get(b"").content)
hello, world

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
httq-0.0.2.tar.gz (10.1 kB) Copy SHA256 hash SHA256 Source None May 19, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page