skillfed

appengine-python-standard

Google App Engine services SDK for Python 3

appengine-python-standard v3.0.2 872.8K downloads/30d#4,842 on PyPI85
Permissive license Active released

What it is and what it does

This is Google's official SDK that bridges Python 3 applications running on App Engine's second-generation runtimes to the classic App Engine services that were previously only available in the Python 2.7 runtime. It provides modules for Datastore (NDB), Task Queues, Memcache, image manipulation, email, authentication, and other App Engine-specific APIs.

To use it, you add the package to your requirements.txt, set `app_engine_apis: true` in app.yaml, and wrap your WSGI application with `google.appengine.api.wrap_wsgi_app()`. This works with standard WSGI apps. The SDK handles the integration between your application and App Engine's managed services, allowing you to migrate code from the older Python 2.7 runtime or build new applications that rely on App Engine's built-in infrastructure.

Use it for:

  • Migrating Python 2.7 App Engine applications to Python 3 while keeping existing Datastore and Task Queue code.
  • Building new Python 3 applications on App Engine that need Memcache, background task processing, or image manipulation.
  • Using App Engine's managed authentication (OAuth, user identity) and mail services in Python 3 apps.
  • Accessing App Engine's search and blobstore APIs from Python 3 without rewriting to Cloud equivalents.
  • Running WSGI applications on App Engine with full access to App Engine-specific features.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides access to Google App Engine services (Datastore, Task Queues, Memcache, images, mail, and others) for Python 3 applications running on App Engine's second-generation runtimes.

Yes, if you are deploying to Google App Engine and need access to App Engine services in Python 3. It is the only way to use classic App Engine APIs (Datastore NDB, Task Queues, Memcache) on second-generation runtimes. If you are using App Engine, this is required. If you are not using App Engine, do not install it.

Install

appengine-python-standard on PyPI

pip

pip install appengine-python-standard

uv

uv add appengine-python-standard

poetry

poetry add appengine-python-standard

Installing appengine-python-standard

Before you install

Low install friction with a pure-wheel distribution. Active maintenance as of 2 days ago with recent commits. Depends on 15 runtime packages including google-auth, grpcio, protobuf, and requests—all widely used and stable.

License in practice

Licensed under MIT (permissive), so you can use it freely in commercial and private projects without copyleft obligations.

Quickstart

# In requirements.txt:
appengine-python-standard>=3.0.0

# In app.yaml:
app_engine_apis: true

# In main.py:
import google.appengine.api

def app(environ, start_response):
    start_response('200 OK', [('Content-Type', 'text/plain')])
    yield b'Hello world!\n'

app = google.appengine.api.wrap_wsgi_app(app)

Requires Python 3.6 or later (supports current versions). Must be deployed to Google App Engine; the SDK wraps WSGI apps and is not useful outside that environment.

Verify before relying

  • Whether all 15 runtime dependencies are strictly necessary or if some are optional for specific use cases.
  • Performance characteristics and latency impact of the WSGI wrapping layer on request handling.
  • Compatibility with specific WSGI frameworks beyond the standard WSGI interface.

Package facts

License not declared (permissive)
Python support supports the current Python release (<4,>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 15 — attrs, frozendict, google-auth, grpcio, grpcio-tools, mock, Pillow, protobuf, pytz, requests, rsa, ruamel.yaml, six, urllib3, legacy-cgi
Maintenance actively maintained — 2 days since the last release
Last repo commit
First released
Downloads 872,814/month — #4,842 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: appengine_python_standard-3.0.2-py3-none-any.whl

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

app engine python 3 servicesgoogle app engine sdk pythonapp engine datastore ndbapp engine task queueapp engine memcachegoogle cloud app engine apisapp engine python runtime
google-cloudapp-engineserverless

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

google-cloud-ndb

NDB is a Python 3 client library for Google…

permissive · top 15,000 on PyPI

google-cloud-appengine-admin

Provides a Python client library to provision…

permissive · top 15,000 on PyPI

google-cloud-appengine-logging

Client library for Google Cloud AppEngine…

permissive · top 1,000 on PyPI

google-cloud-memcache

A Python client library for creating and…

permissive · top 1,000 on PyPI

gcloud

Provides Python client libraries for Google…

permissive · top 15,000 on PyPI

google-cloud-datastore

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

gcloud-aio-datastore

Asyncio and threadsafe Python client for Google…

permissive · top 15,000 on PyPI

google-cloud-bigquery-biglake

Python client library for accessing BigLake…

permissive · top 5,000 on PyPI

google-compute-engine

Provides Python bindings and utilities for…

permissive · top 15,000 on PyPI

google-cloud

A deprecated umbrella package that once…

permissive · top 5,000 on PyPI