mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
40 lines
1.1 KiB
ReStructuredText
40 lines
1.1 KiB
ReStructuredText
.. _install:
|
|
|
|
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
|
|
-----------
|
|
|
|
To install Requests, simply run this simple command in your terminal of choice::
|
|
|
|
$ pip install requests
|
|
|
|
If you don't have `pip <https://pip.pypa.io>`_ installed (tisk tisk!),
|
|
`this Python installation guide <http://docs.python-guide.org/en/latest/starting/installation/>`_
|
|
can guide you through the process.
|
|
|
|
Get the Code
|
|
------------
|
|
|
|
Requests is actively developed on GitHub, where the code is
|
|
`always available <https://github.com/kennethreitz/requests>`_.
|
|
|
|
You can either clone the public repository::
|
|
|
|
$ git clone git://github.com/kennethreitz/requests.git
|
|
|
|
Or, download the `tarball <https://github.com/kennethreitz/requests/tarball/master>`_::
|
|
|
|
$ curl -OL https://github.com/kennethreitz/requests/tarball/master
|
|
# 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::
|
|
|
|
$ python setup.py install
|