Python 2.7 has reached end of supportand will bedeprecatedon January 31, 2026. After deprecation, you won't be able to deploy Python 2.7applications, even if your organization previously used an organization policy tore-enable deployments of legacy runtimes. Your existing Python2.7 applications will continue to run and receive traffic after theirdeprecation date. We recommend thatyoumigrate to the latest supported version of Python.

Built-in Third-party Libraries

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

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

NameDefault versionSupported versionsDescription
django(None)"1.2"(deprecated)
"1.3"(deprecated)
"1.4"
"1.5"(deprecated)
"1.9"(deprecated)
"1.11"
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)
"3.7.3"
A Pythonic binding for the C libraries libxml2 and libxslt.
markupsafe(None)"0.15"
"0.23"
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)
"1.2.5"
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)
"2017.3"
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)
"2.6"
"2.6.1"
A library of cryptography functions such as random number generation.
setuptools(None)"0.6c11"(deprecated)
"36.6.0"
A library that provides package and module discovery capabilities.
six"1.12.0""1.9.0"
"1.12.0"
Abstract differences between py2.x and py3
ssl(None)"2.7"(deprecated)
"2.7.11"
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)
"2.5.2"
A lightweight Python web framework.
webob"1.1.1""1.1.1"
"1.2.3"
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, seeUsing Built-in Libraries in Python 2.7.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-15 UTC.