appengine-python-standard-tbafork-0.4.0.dev2
توضیحات
Google App Engine services SDK for Python 3
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | appengine-python-standard-tbafork-0.4.0.dev2 |
| نام | appengine-python-standard-tbafork |
| نسخه کتابخانه | 0.4.0.dev2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Google LLC |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/GoogleCloudPlatform/appengine-python-standard |
| آدرس اینترنتی | https://pypi.org/project/appengine-python-standard-tbafork/ |
| مجوز | - |
# 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](https://cloud.google.com/appengine/docs/standard/python3/services/access) 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`
نیازمندی
| مقدار | نام |
|---|---|
| >=21.2.0 | attrs |
| >=1.2 | frozendict |
| >=1.31.0 | google-auth |
| >=4.0.3 | mock |
| >=8.3.1 | Pillow |
| >=3.19.0 | protobuf |
| >=2021.1 | pytz |
| >=2.25.1 | requests |
| >=0.17.7 | ruamel.yaml |
| >=1.15.0 | six |
| <2,>=1.26.2 | urllib3 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6, <4 | Python |
نحوه نصب
نصب پکیج whl appengine-python-standard-tbafork-0.4.0.dev2:
pip install appengine-python-standard-tbafork-0.4.0.dev2.whl
نصب پکیج tar.gz appengine-python-standard-tbafork-0.4.0.dev2:
pip install appengine-python-standard-tbafork-0.4.0.dev2.tar.gz