• Python 2.6 or newer (Python 3.x will be supported soon)
  • setuptools >= 0.6c6
  • nosetests (for the test suite only)


To install restkit using pip you must make sure you have a recent version of distribute installed:

$ curl -O
$ sudo python
$ easy_install pip

To install or upgrade to the latest released version of restkit:

$ pip install -r requirements.txt
$ pip install restkit

Note: if you get an error on MacOSX try to install with the following arguments:

$ env ARCHFLAGS="-arch i386 -arch x86_64" pip install http-parser

Installation from source

You can install Restkit from source as simply as you would install any other Python package. Restkit uses setuptools which will automatically fetch all dependencies (including setuptools itself).

Get a Copy

You can download a tarball of the latest sources from GitHub Downloads or fetch them with git:

$ git clone git://


$ python install

Note: If you don’t use setuptools or distribute, make sure http-parser is installed first.