blob: aa5540077e8939df78d8e99cd683f1e697e83e75 [file] [log] [blame]
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +01001Short Name: endpoints
2URL: https://github.com/cloudendpoints/endpoints-python
3Version: 4.8.0
4License: Apache 2.0
5License File: LICENSE.txt
6Security Critical: no
7Description:
8Google Cloud Endpoints is a solution for creating RESTful web APIs.
9Local Modifications:
101. Retain only the endpoints/ directory and LICENSE.txt file.
112. Remove dependency on semver and move endpoints_management and
12 protorpc.wsgi imports into the functions where they're being used.
133. Update files for Python 3.
14 Syntax changes:
15 * except Exception, e: --> except Exception as e:
16
17 Import moves:
18 * from collections import Foo -> from collections.abc import Foo
19 * import cStringIO --> from six.moves import cStringIO
20 * import httplib --> from six.moves import http_client
21 * import urllib --> from six.moves import urllib
22 * import urlparse --> from six.moves import urllib
23
24 String changes:
25 * basestring --> six.string_types
26 * if isinstance(s, unicode): s = s.encode() -> s = six.ensure_str(s)
27 * s.encode('ascii') --> six.ensure_binary(s, 'ascii')
28 * s.encode('hex') --> binascii.hexlify(s)
29
30 Integer changes:
31 * long() --> int()
32
33 Iterator changes:
34 * iteritems() --> items()
35 * iterkeys() -> keys()
36 * itervalues() --> values()