Skip to main content

A light-weight http client with requests like interface.Featuring persistent connectionsand caching support.

Project description!-1EAEDB.svg


A light-weight http client with requests like interface. Featuring persistent connections and caching support. This project was originally created for use by Kodi add-ons, but has grown into something more. I found, that while requests has a very nice interface, there was a noticeable lag when importing the library. The other option available is to use urllib2, but then you loose the benefit of persistent connections that requests have. Hence the reason for this project.

All GET, HEAD and POST requests are cached locally for a period of 4 hours. When the cache expires, conditional headers are added to a new request e.g. “Etag” and “Last-modified”. Then if the server returns a 304 Not-Modified response, the cache is reused, saving having to re-download the content body.


  • Simple Keep-Alive & Connection Pooling
  • Sessions with limited Cookie Controls
  • International Domains and URLs
  • Automatic Content Decoding
  • Elegant Key/Value Cookies
  • Automatic Decompression
  • Unicode Response Bodies
  • Basic Authentication
  • Connection Timeouts
  • Resource Caching



pip install urlquick


pip install git+


Urlquick is similar to the requests library but it only implements most top level methods like GET, POST and PUT. The Session class is also implemented in a more limited form. The response object is fully comparable with the ‘requests’ response object. # link request object

>>> import urlquick
>>> r = urlquick.get('')
>>> r.status_code
>>> r.headers['content-type']
'text/html; charset=utf-8'
>>> r.encoding
>>> r.content
>>> r.text
>>> r.json()
[{u'repository': {u'open_issues': 0, u'url': '

Project details

Download files

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

Files for urlquick, version 0.9.2
Filename, size File type Python version Upload date Hashes
Filename, size urlquick-0.9.2-py2.py3-none-any.whl (19.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page