Skip to main content

Google App Engine services SDK for Python 3

Project description

Google App Engine services SDK for Python 3

This is a release of the App Engine services SDK for Python 3. It provides access to various API endpoints that were previously only available on the Python 2.7 runtime.

See the documentation to learn more about using this SDK.

We are working to support more App Engine bundled service APIs for Python 3. To sign up for the private preview, visit https://docs.google.com/forms/d/e/1FAIpQLSd1hFLA2UFSYwIMxm9ZI3pwigORZBgjJRH0qrnhtE7nvhhRCQ/viewform.

Using the SDK

In your requirements.txt file, add the following:

appengine-python-standard>=1.0.0

In your app's app.yaml, add the following:

app_engine_apis: true

In your main.py, import google.appengine.api.wrap_wsgi_app and call it on your WSGI app object.

Example for a standard WSGI app:

  import google.appengine.api

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

Example for a Flask app:

  import google.appengine.api
  from flask import Flask, request

  app = Flask(__name__)
  app.wsgi_app = google.appengine.api.wrap_wsgi_app(app.wsgi_app)

Then deploy your app as usual, with gcloud beta app deploy (currently only the Beta version has the capability to enable these APIs). The following modules are available:

  • google.appengine.api.app_identity
  • google.appengine.api.background_thread
  • google.appengine.api.blobstore
  • google.appengine.api.capabilities
  • google.appengine.api.croninfo
  • google.appengine.api.dispatchinfo
  • google.appengine.api.images
  • google.appengine.api.mail
  • google.appengine.api.memcache
  • google.appengine.api.modules
  • google.appengine.api.oauth
  • google.appengine.api.runtime
  • google.appengine.api.taskqueue
  • google.appengine.api.urlfetch
  • google.appengine.api.users
  • google.appengine.ext.blobstore
  • google.appengine.ext.db
  • google.appengine.ext.gql
  • google.appengine.ext.key_range
  • google.appengine.ext.ndb
  • google.appengine.ext.testbed

Using the development version of the SDK

To install the code from the main branch on GitHub rather than the latest version published to PyPI, put this in your requirements.txt file instead of appengine-python-standard:

https://github.com/GoogleCloudPlatform/appengine-python-standard/archive/main.tar.gz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

appengine-python-standard-1.0.0.tar.gz (639.6 kB view details)

Uploaded Source

Built Distribution

appengine_python_standard-1.0.0-py3-none-any.whl (753.9 kB view details)

Uploaded Python 3

File details

Details for the file appengine-python-standard-1.0.0.tar.gz.

File metadata

  • Download URL: appengine-python-standard-1.0.0.tar.gz
  • Upload date:
  • Size: 639.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for appengine-python-standard-1.0.0.tar.gz
Algorithm Hash digest
SHA256 87f1cb402e84cf8a1a1645b62a49306f47be4129944150b4c2b243e2282492b9
MD5 bba3a66dbcae7094320690992063c3e2
BLAKE2b-256 db6801b0854951f6f457a4f56e21de244be9bb7ca2ef7272893bd30dabb393a9

See more details on using hashes here.

File details

Details for the file appengine_python_standard-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: appengine_python_standard-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 753.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for appengine_python_standard-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50acc3ad8e02a501e6a2c5352d5826c69d581fdf510d12f6d23fb716d26250c3
MD5 7e4ab2d3902119096936fa9d2a7212b4
BLAKE2b-256 d040cd7a83334f01bea020cbde0295cf95d24d457d0e0632561e7175d28e3586

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page