This release is a pre-release and may not be stable for production use.
Google App Engine bundled services SDK for Python 3
This is a release of the App Engine services SDK for Python 3. It provides access to various services and API endpoints that were previously only available on the Python 2.7 runtime.
See the documentation to learn more about using this SDK, and learn more about it in this product announcement (Fall 2021).
Additional examples (Datastore [NDB], Task Queues [push tasks], Memcache) can be found in the App Engine migration repo. (Specifically look for samples whose folders have a b but where the Python 2 equivalent folder does not have an a, meaning this SDK is required, e.g., Modules 1 [mod1 and mod1b], 7, 12, etc.)
Using the SDK
In your requirements.txt file, add the following:
appengine-python-standard>=1.0.0
To use a pre-release version (Eg. 1.0.1-rc1), modify the above line to appengine-python-standard>=[insert_version] (Eg. appengine-python-standard>=1.0.1-rc1).
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
def app(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
yield b'Hello world!\n'
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_identitygoogle.appengine.api.background_threadgoogle.appengine.api.blobstoregoogle.appengine.api.capabilitiesgoogle.appengine.api.croninfogoogle.appengine.api.dispatchinfogoogle.appengine.api.imagesgoogle.appengine.api.mailgoogle.appengine.api.memcachegoogle.appengine.api.modulesgoogle.appengine.api.oauthgoogle.appengine.api.runtimegoogle.appengine.api.searchgoogle.appengine.api.taskqueuegoogle.appengine.api.urlfetchgoogle.appengine.api.usersgoogle.appengine.ext.blobstoregoogle.appengine.ext.dbgoogle.appengine.ext.gqlgoogle.appengine.ext.key_rangegoogle.appengine.ext.ndbgoogle.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
Metadata
Release files for appengine-python-standard-tbafork 1.1.5.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| appengine-python-standard-tbafork-1.1.5.dev1.tar.gz | 774.6 kB | Without provenance | Details for appengine-python-standard-tbafork-1.1.5.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| appengine_python_standard_tbafork-1.1.5.dev1-py3-none-any.whl | Python 3 | none | any | Details for appengine_python_standard_tbafork-1.1.5.dev1-py3-none-any.whl |
Total release size: 1.7 MB
Release files / appengine-python-standard-tbafork-1.1.5.dev1.tar.gz
| Download URL | appengine-python-standard-tbafork-1.1.5.dev1.tar.gz |
|---|---|
| Size | 774.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc3f515ba527feed9c38f3bda9678f58108c9a81c1138443cc7aeeffa5fad1c6
|
|
BLAKE2b-256 checksum How to use checksums |
d6b1a38f17b87365dcc04a73bb058892650f80c2beeea88f29b0a3758da5c7ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / appengine_python_standard_tbafork-1.1.5.dev1-py3-none-any.whl
| Download URL | appengine_python_standard_tbafork-1.1.5.dev1-py3-none-any.whl |
|---|---|
| Size | 910.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47d11fd52f4da77cf13ea7570198580cdb9d92bdf646d955b396b9b130eb24ef
|
|
BLAKE2b-256 checksum How to use checksums |
7c0b061ab4ce7d4c9088ffe4d000d8acaf68aa43f0d3005f3fcbbea1d7d54941
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Security for appengine-python-standard-tbafork 1.1.5.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.