Skip to main content

Google App Engine Python 3 Standard Environment API library

Project description

Google App Engine Python 3 Standard Environment API library (alpha)

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

Using the SDK

In your requirements.txt file, add the following:

appengine-python-standard>=0.0.2a

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 app deploy. The following modules are available:

  • google.appengine.api.capabilities
  • google.appengine.api.memcache
  • google.appengine.api.urlfetch
  • google.appengine.api.users
  • google.appengine.ext.db
  • google.appengine.ext.ndb

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.0.2a1.tar.gz (468.0 kB view details)

Uploaded Source

Built Distribution

appengine_python_standard-0.0.2a1-py3-none-any.whl (532.6 kB view details)

Uploaded Python 3

File details

Details for the file appengine-python-standard-0.0.2a1.tar.gz.

File metadata

  • Download URL: appengine-python-standard-0.0.2a1.tar.gz
  • Upload date:
  • Size: 468.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for appengine-python-standard-0.0.2a1.tar.gz
Algorithm Hash digest
SHA256 0b333aaf218223a5dc5805dccd95dc25583e1dd29434bc6182ff7853a24442a3
MD5 3f59dc1934370ed21944a4973599cb49
BLAKE2b-256 7dd7e50f79da6f913e7641391d269b4ab26e124bbd3ead909fd532472b35d2f7

See more details on using hashes here.

File details

Details for the file appengine_python_standard-0.0.2a1-py3-none-any.whl.

File metadata

  • Download URL: appengine_python_standard-0.0.2a1-py3-none-any.whl
  • Upload date:
  • Size: 532.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for appengine_python_standard-0.0.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e3b902aaf3d8ec3d326698a65048a61c507d1560fb6252562ffb98a438fa8b9
MD5 b60204a91f228004e2bddf5a628d09f3
BLAKE2b-256 577f0979e27e82ebad128afa25cb69224011c29618baf9203a36f6d1d537c0e2

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