This page contains information about getting started with the Cloud Storage API using the Google APIs Client Library for Python. In addition, you may be interested in the following documentation:
- Browse the PyDoc reference for the Cloud Storage API .
- Read the Developer's guide for the Google APIs Client Library for Python .
- Interact with this API in your browser using the APIs Explorer for the Cloud Storage API .
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
google-api-python-client-gae-
N.M
.zip
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 google-api-python-client-gae-1.1.zip