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.3.1

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

Built Distributions

File details

Details for the file appengine-python-standard-tbafork-0.4.0.dev1.tar.gz.

File metadata

  • Download URL: appengine-python-standard-tbafork-0.4.0.dev1.tar.gz
  • Upload date:
  • Size: 639.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for appengine-python-standard-tbafork-0.4.0.dev1.tar.gz
Algorithm Hash digest
SHA256 206cde27e5dfd75af785dd28561b55397e7a002c2425fd23ca22e79ab4fdf9ab
MD5 0810bfba8403b20c852bb0b86562fb2e
BLAKE2b-256 1005d9f7d830514bef67c0684d3149a2e6238942b94df2e82fcd350c9b2e6629

See more details on using hashes here.

File details

Details for the file appengine_python_standard_tbafork-0.4.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for appengine_python_standard_tbafork-0.4.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9e8ac5704f3dffafa6c522a76a97504b639063b428e9312800a1e4ca136de2d
MD5 1515aa1efb6c41c7fcb22d114c207128
BLAKE2b-256 f4080fb9533b3eb95aff1ed6482d4b1365b0985310f98f4877a705fb4647d302

See more details on using hashes here.

File details

Details for the file appengine_python_standard_tbafork-0.4.0.dev1-4-py3-none-any.whl.

File metadata

File hashes

Hashes for appengine_python_standard_tbafork-0.4.0.dev1-4-py3-none-any.whl
Algorithm Hash digest
SHA256 53e29d89641e8ce7549b0a3eb024df6011f29f6c833a820f9d732d1c2b730bf7
MD5 2c10e47cc2a3248c1ec00f70e25af42b
BLAKE2b-256 4a98f2eabe219ce51038cd086ff0cfaaa972afc5025a549cef96da2787fab5da

See more details on using hashes here.

File details

Details for the file appengine_python_standard_tbafork-0.4.0.dev1-3-py3-none-any.whl.

File metadata

File hashes

Hashes for appengine_python_standard_tbafork-0.4.0.dev1-3-py3-none-any.whl
Algorithm Hash digest
SHA256 c8f90e1e58117efd9dd97e49f16abf6f2e71febe97ae8138b011165e36345aa9
MD5 bb969e0610c02b165cd377ad28810769
BLAKE2b-256 8c68095fa5b38aba893cee5ce51ca193b1dbd8dea4d25d46271774cad67755e7

See more details on using hashes here.

File details

Details for the file appengine_python_standard_tbafork-0.4.0.dev1-2-py3-none-any.whl.

File metadata

File hashes

Hashes for appengine_python_standard_tbafork-0.4.0.dev1-2-py3-none-any.whl
Algorithm Hash digest
SHA256 a6f61fae5120f6bd779998c9ba2522b0112c49ff62ef0d3af4799f892e17424b
MD5 9c026217035fe838c780a9afa9972d5c
BLAKE2b-256 4a214f66f42fe04e82be2e2538ca52b3c626301132729617b072a3cd65bc82e4

See more details on using hashes here.

File details

Details for the file appengine_python_standard_tbafork-0.4.0.dev1-1-py3-none-any.whl.

File metadata

File hashes

Hashes for appengine_python_standard_tbafork-0.4.0.dev1-1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a4db164a1667fe76125b3c6426e53d14413815904e29c6030f7f98351e00ea3
MD5 d1cbf57d036a9ee8094489f3731c1ba8
BLAKE2b-256 3bad420eae94edf26fdc6da646706d40ba03396bd1ece5bee59406ed60e955ef

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