Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Python 2 is no longer supported by the community. We recommend that you migrate Python 2 apps to Python 3.

Built-in Third-party Libraries

Stay organized with collections Save and categorize content based on your preferences.

This page documents and describes built-in third-party libraries that you can use with the App Engine Python 2.7 runtime. Some libraries require that you install them locally when testing with the local development server.

The App Engine Python 2.7 runtime can provide your application with the following third-party libraries:

Name Default version Supported versions Description
django (None) "1.2" (deprecated)
"1.3" (deprecated)
"1.5" (deprecated)
"1.9" (deprecated)
A full-featured web application framework for Python.
enum (None) "0.9.23" A backport of the enum module introduced in python 3.4
endpoints (None) "1.0" Libraries for building APIs in an App Engine application.
flask (None) "0.12" Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
futures (None) "3.0.5" Backport of Python 3.2 Futures.
grpcio (None) "1.0.0" A high performance general RPC framework. ("1.1.0dev is no longer supported. Please use 1.0.0 instead".)
jinja2 (None) "2.6" A modern and designer friendly templating language for Python.
lxml (None) "2.3" (deprecated)
"2.3.5" (deprecated)
A Pythonic binding for the C libraries libxml2 and libxslt.
markupsafe (None) "0.15"
A XML/HTML/XHTML markup safe string for Python.
matplotlib (None) "1.2.0" A 2D plotting library which produces publication-quality figures.
MySQLdb (None) "1.2.4b4" (deprecated)
"1.2.4" (deprecated)
A Python DB API v2.0 compatible interface to MySQL.
numpy (None) "1.6.1" A general-purpose library for array-processing.
PIL (None) "1.1.7" A library for creating and transforming images.
protorpc "1.0" "1.0" A framework for implementing HTTP-based remote procedure call (RPC) services.
pytz "2017.3" "2016.4" (deprecated)
"2017.2" (deprecated)
A library for cross-platform timezone calculations
crcmod (None) "1.7" A library for generating Cyclic Redundancy Checks (CRC).
protobuf (None) "3.0.0" (alpha) A library for serializing structured data
PyAMF (None) "0.6.1"
"0.7.2" (alpha)
A library that provides (AMF) Action Message Format functionality.
pycrypto (None) "2.3" (deprecated)
A library of cryptography functions such as random number generation.
setuptools (None) "0.6c11" (deprecated)
A library that provides package and module discovery capabilities.
six "1.12.0" "1.9.0"
Abstract differences between py2.x and py3
ssl (None) "2.7" (deprecated)
The SSL socket wrapper built-in module.
ujson (None) "1.35" UltraJSON is an ultra fast JSON encoder and decoder written in pure C
webapp2 "2.3" "2.3"
"2.5.1" (deprecated)
A lightweight Python web framework.
webob "1.1.1" "1.1.1"
A library that provides wrappers around the WSGI request environment.
werkzeug "0.11.10" "0.11.10" A WSGI utility library.
yaml "3.10" "3.10" A library for YAML serialization and deserialization.

For information about how to use these libraries, see Using Built-in Libraries in Python 2.7.