| Name: Google App Engine SDK |
| URL: https://github.com/GoogleCloudPlatform/appengine-python-standard |
| Version: May 18, 2022 |
| License: Apache 2.0 |
| License File: LICENSE |
| Security Critical: no |
| Description: |
| Development tools for Google App Engine |
| Local Modifications: |
| While most App Engine APIs have been updated for Python 3 in the above GitHub |
| repository, ProtocolBuffer is not available. Therefore, we have copied the file |
| from the old Python 2 API and are updating it ourselves for Python 3. |
| |
| 1. Install the Google Cloud SDK (https://cloud.google.com/sdk) |
| The App Engine Python SDK is located in gcloud/platform/google_appengine/ |
| 2. Retain only: |
| google/net/__init__.py |
| google/net/proto/__init__.py |
| google/net/proto/ProtocolBuffer.py |
| LICENSE |
| 3. Strip trailing whitespace from all files. |
| 4. Update files for Python 3. |
| Syntax changes: |
| * raise Exception, s --> raise Exception(s) |
| |
| Import moves: |
| * import httplib --> from six.moves import http_client |
| |
| String changes: |
| * a.fromstring(s) --> a.frombytes(six.ensure_binary(s)) |
| * a.tostring() --> a.tobytes() |
| |
| Integer changes: |
| * 1234L --> 1234 |
| * long(1234) --> 1234 |