Installation

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

Distribute & Pip

Installing Requests is simple with pip, just run this in your terminal:

$ pip install requests

or, with easy_install:

$ easy_install requests

But, you really shouldn’t do that.

Get the Code

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

You can either clone the public repository:

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

Download the tarball:

$ curl -OL https://github.com/kennethreitz/requests/tarball/master

Or, download the zipball:

$ curl -OL https://github.com/kennethreitz/requests/zipball/master

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

$ python setup.py install

Requests is an elegant and simple HTTP library for Python, built for human beings. You are currently looking at the documentation of the development release.

Donate

If you love Requests, consider supporting the author on Gittip:

Get Updates

Receive updates on new releases and upcoming projects.

Subscribe to Newsletter

Table Of Contents

Related Topics

Fork me on GitHub