Installation

This part of the documentation covers the installation of Requests. The first step to using any software package is getting it properly installed.

Pip Install Requests

To install Requests, simply run this simple command in your terminal of choice:

  1. $ pip install requests

If you don’t have pip installed (tisk tisk!), this Python installation guide can guide you through the process.

Get the Source Code

Requests is actively developed on GitHub, where the code is always available.

You can either clone the public repository:

  1. $ git clone git://github.com/kennethreitz/requests.git

Or, download the tarball:

  1. $ curl -OL https://github.com/kennethreitz/requests/tarball/master
  2. # optionally, zipball is also available (for Windows users).

Once you have a copy of the source, you can embed it in your own Python package, or install it into your site-packages easily:

  1. $ python setup.py install