Skip to main content

Google App Engine services SDK for Python 3

Project description

Google App Engine services SDK for Python 3 (preview)

This is a preview 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>=0.2.3

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-0.2.3.tar.gz (639.1 kB view details)

Uploaded Source

Built Distribution

appengine_python_standard-0.2.3-py3-none-any.whl (753.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: appengine-python-standard-0.2.3.tar.gz
  • Upload date:
  • Size: 639.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for appengine-python-standard-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4b1d8dc8b90f47a1f8a33533b9f2a2e3c19ed56245fb94e17504cf0db950ea65
MD5 60c65dfcbbe9f0d6b8ee13f7fa8578c7
BLAKE2b-256 d6278ced926756cb2213d9e48e0c8b9480f651735964a0a384d98ebec20338e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: appengine_python_standard-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 753.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for appengine_python_standard-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c8968ebbb38e555787183e2771bc7ed1baa0f5708631191259bb5bfe4165d458
MD5 576743d7ef372ff23a606e3ab278e7c2
BLAKE2b-256 57bad499e39ae364d3923f117c3472295ba29ab96f263456844fcb30f9896a63

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