Skip to main content

Google App Engine Python 3 Standard Environment API library

Project description

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

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

  • google.appengine.api.app_identity
  • google.appengine.api.capabilities
  • google.appengine.api.mail
  • google.appengine.api.memcache
  • google.appengine.api.modules
  • google.appengine.api.oauth
  • google.appengine.api.taskqueue
  • google.appengine.api.urlfetch
  • google.appengine.api.users
  • 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.1.1.tar.gz (600.4 kB view details)

Uploaded Source

Built Distribution

appengine_python_standard-0.1.1-py3-none-any.whl (689.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: appengine-python-standard-0.1.1.tar.gz
  • Upload date:
  • Size: 600.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for appengine-python-standard-0.1.1.tar.gz
Algorithm Hash digest
SHA256 83daaa1089605b04c75083ccf387ed2f1c9310ec8c0daed9d506824a2bbf329b
MD5 2f7704e8b914a9270101d370b502c617
BLAKE2b-256 ab935e176823aeb69e0937e35771a37e4190fd53a29e1201b4b1e91e6553b8df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: appengine_python_standard-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 689.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for appengine_python_standard-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1be421e97c1512fcd89606c2e185fdf9957209e8f737497c891b335f00a8c7a1
MD5 3ac8a8cb6560da9ec0bcd3cd4b152e8c
BLAKE2b-256 36f01dca9e177ebd51af04a06a6fb0e1755ccd0dd206f3a57475dbb027f1e029

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