Google APIs Client Library for Python


This page contains information about installing the Google APIs Client Library for Python.


Quickstart creates a starter application to get you up and running with the Google APIs Client Library for Python faster. After you select a Google API and platform and click Configure Project, it helps you set up a project in the Google Developers Console. Finally, it generates a custom client application that you can download, run, and modify.

System requirements

  • Operating systems:
    • Linux
    • Mac OS X
    • Windows

    Note: This library is pure Python, so other operating systems with Python support may work as well.

  • The latest version of Python 2.
  • Python package installation manager: Setuptools or pip.

Manual Installation

To install the library and all of its dependencies, open a terminal and do one of the following:

  • Use the easy_install tool included in the setuptools package:
    $ easy_install --upgrade google-api-python-client
  • Use the pip tool:
    $ pip install --upgrade google-api-python-client

Depending on your system, you may need to prepend those commands with sudo.

App Engine

Because Google App Engine requires that all of the source files for a library must be present in your App Engine project, there is a special installation procedure for App Engine. To install the library and all of its dependencies in an App Engine project, download the file named from the list of downloads, where N.M is the version number of the latest release. Unzip that file into your project. For example:

$ cd myproject
$ unzip

Download samples

After you have installed the library, you can optionally download and unpack samples. The package names that start with google-api-python-client-samples- contain samples using this library in many scenarios. See the Sample Applications page for more information about these and other samples.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.