METADATA 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. Metadata-Version: 2.1
  2. Name: lazr.restfulclient
  3. Version: 0.14.5
  4. Summary: A programmable client library that takes advantage of the commonalities among
  5. Home-page: https://launchpad.net/lazr.restfulclient
  6. Download-URL: https://launchpad.net/lazr.restfulclient/+download
  7. Maintainer: LAZR Developers
  8. Maintainer-email: lazr-developers@lists.launchpad.net
  9. License: LGPL v3
  10. Project-URL: Source, https://code.launchpad.net/lazr.restfulclient
  11. Project-URL: Issue Tracker, https://bugs.launchpad.net/lazr.restfulclient
  12. Project-URL: Documentation, https://lazrrestfulclient.readthedocs.io/en/latest/
  13. Classifier: Development Status :: 5 - Production/Stable
  14. Classifier: Intended Audience :: Developers
  15. Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
  16. Classifier: Operating System :: OS Independent
  17. Classifier: Programming Language :: Python
  18. Classifier: Programming Language :: Python :: 2
  19. Classifier: Programming Language :: Python :: 3
  20. License-File: COPYING.txt
  21. Requires-Dist: distro
  22. Requires-Dist: oauthlib
  23. Requires-Dist: setuptools
  24. Requires-Dist: six
  25. Requires-Dist: wadllib (>=1.1.4)
  26. Requires-Dist: httplib2 ; python_version < "3"
  27. Requires-Dist: importlib-metadata ; python_version < "3.8"
  28. Requires-Dist: httplib2 (>=0.7.7) ; python_version >= "3"
  29. Provides-Extra: docs
  30. Requires-Dist: Sphinx ; extra == 'docs'
  31. Provides-Extra: test
  32. Requires-Dist: fixtures (>=1.3.0) ; extra == 'test'
  33. Requires-Dist: lazr.authentication ; extra == 'test'
  34. Requires-Dist: lazr.restful (>=0.11.0) ; extra == 'test'
  35. Requires-Dist: oauth ; extra == 'test'
  36. Requires-Dist: testtools ; extra == 'test'
  37. Requires-Dist: wsgi-intercept ; extra == 'test'
  38. Requires-Dist: zope.testrunner ; extra == 'test'
  39. Requires-Dist: mock ; (python_version < "3") and extra == 'test'
  40. ..
  41. This file is part of lazr.restfulclient.
  42. lazr.restfulclient is free software: you can redistribute it and/or modify it
  43. under the terms of the GNU Lesser General Public License as published by
  44. the Free Software Foundation, version 3 of the License.
  45. lazr.restfulclient is distributed in the hope that it will be useful, but
  46. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  47. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
  48. License for more details.
  49. You should have received a copy of the GNU Lesser General Public License
  50. along with lazr.restfulclient. If not, see <http://www.gnu.org/licenses/>.
  51. LAZR restfulclient
  52. ******************
  53. A programmable client library that takes advantage of the commonalities among
  54. lazr.restful web services to provide added functionality on top of wadllib.
  55. Please see https://dev.launchpad.net/LazrStyleGuide and
  56. https://dev.launchpad.net/Hacking for how to develop in this
  57. package.
  58. ===========================
  59. NEWS for lazr.restfulclient
  60. ===========================
  61. 0.14.5 (2022-10-15)
  62. ===================
  63. - Add ``pre-commit`` configuration.
  64. - Publish documentation on Read the Docs.
  65. - Apply black code formatter.
  66. - Apply inclusive naming via the woke pre-commit hook.
  67. - Fix ``HostedFile.open(mode="w")`` on Python 3.
  68. 0.14.4 (2021-09-13)
  69. ===================
  70. - Drop support for Python < 2.6.
  71. - Adjust versioning strategy to avoid importing pkg_resources, which is
  72. slow in large environments.
  73. 0.14.3 (2020-01-27)
  74. ===================
  75. - Restore from_string, to_string, and __str__ methods of
  76. lazr.restfulclient.authorize.oauth.AccessToken, unintentionally removed
  77. in 0.14.0.
  78. 0.14.2 (2018-11-17)
  79. ===================
  80. - Fix compatibility with httplib2 0.12.0 for Python 3. [bug=1803754]
  81. - Really fix compatibility with httplib2 < 0.9.
  82. - Fix compatibility with httplib2 0.9 for Python 3.
  83. - Require httplib2 >= 0.7.7 for Python 3.
  84. 0.14.1 (2018-11-16)
  85. ===================
  86. - Add compatibility with httplib2 0.12.0. [bug=1803558]
  87. 0.14.0 (2018-05-08)
  88. ===================
  89. - Switch from buildout to tox.
  90. - Port from oauth to oauthlib. Some tests still need to use oauth until
  91. lazr.authentication is ported. [bug=1672458]
  92. - Use the distro module rather than platform.linux_distribution, since the
  93. latter is deprecated in Python 3.5 and will be removed in 3.7.
  94. [bug=1473577]
  95. 0.13.5 (2017-09-04)
  96. ===================
  97. - Fix bytes vs. unicode in json.loads calls. [bug=1403524]
  98. - Decode header before comparison. [bug=1414075]
  99. - Fix urllib unquote imports. [bug=1414055]
  100. - Fix urllib urlencode imports. [bug=1425609]
  101. - Tolerate httplib2 versions earlier than 0.9 again.
  102. - Fix handling of 304 responses with an empty body on Python 3.
  103. [bug=1714960]
  104. 0.13.4 (2014-12-05)
  105. ===================
  106. - Port to python3.
  107. - Support proxy settings from environment by default.
  108. 0.13.3 (2013-03-22)
  109. ===================
  110. - Fall back to httplib2's default certificate path if the
  111. Debian/Ubuntu one doesn't exist. The default bundle might work,
  112. but a path that doesn't exist is never going to. New httplib2
  113. bundles contain the required CA certs.
  114. 0.13.2 (2012-12-06)
  115. ===================
  116. - lazr.restfulclient is almost exclusively used with launchpad.net,
  117. but httplib2's cert bundle doesn't include launchpad's CA. Therefore
  118. with the default setup launchpadlib doesn't work unless cert checking
  119. is disabled. This is mitigated by the fact that Ubuntu carries a patch
  120. to httplib2 to make it use the system CA certs. This release makes that
  121. the default approach in lazr.restfulclient so that launchpad.net can be
  122. used by anyone with the Debian/Ubuntu CA certs path
  123. (/etc/ssl/certs/ca-certificates.crt), regardless of whether they are
  124. using Ubuntu's patched version of httplib2. Any platforms that don't have
  125. that path remain broken.
  126. 0.13.1 (2012-09-26)
  127. ===================
  128. - Named POST operations may result in a resource moving to a new location.
  129. Detect the redirect and reload the resource from its new URL.
  130. 0.13.0 (2012-06-19)
  131. ===================
  132. - Add environment variable, LP_DISABLE_SSL_CERTIFICATE_VALIDATION, to
  133. disable SSL certificate checks. Most useful when testing against
  134. development servers.
  135. 0.12.3 (2012-05-17)
  136. ===================
  137. - Implement the mocked out authorizeRequest for the BasicHttpAuthorizer
  138. object.
  139. 0.12.2 (2012-04-16)
  140. ===================
  141. - Fix ServiceRoot.load() so that it properly handles relative URLs
  142. in a way that doesn't break subsequent API calls (bug 681767).
  143. 0.12.1 (2012-03-28)
  144. ===================
  145. - Made the cache safe for use by concurrent threads and processes.
  146. 0.12.0 (2011-06-30)
  147. ===================
  148. - Give a more useful AttributeError
  149. 0.11.2 (2011-02-03)
  150. ===================
  151. - The 'web_link' parameter now shows up in lp_attributes, not
  152. lp_entries.
  153. 0.11.1 (2010-11-04)
  154. ===================
  155. - Restored compatibility with Python 2.4.
  156. 0.11.0 (2010-10-28)
  157. ===================
  158. - Make it possibly to specify an "application name" separate from the
  159. OAuth consumer key. If present, the application name is used in the
  160. User-Agent header; otherwise, the OAuth consumer key is used.
  161. - Add a "system-wide consumer" which can be used to authorize a
  162. user's entire account to use a web service, rather than doing it
  163. one application at a time.
  164. 0.10.0 (2010-08-12)
  165. ===================
  166. - Add compatibility with lazr.restful 0.11.0
  167. 0.9.21 (2010-07-19)
  168. ===================
  169. - Ensure that all JSON representations are converted to Unicode.
  170. - Restore the old behavior of CollectionWithKeyBasedLookup, which is
  171. less efficient but easier to understand. That is, the following
  172. code will work as it did in 0.9.17, performing the lookup
  173. immediately and raising a KeyError if the object doesn't exist on
  174. the server side.
  175. service.collection['key']
  176. The more efficient behavior (which doesn't perform the lookup until
  177. you actually need the object) is still available, but you have to
  178. write this code instead:
  179. service.collection('key')
  180. - Exceptional conditions will now raise an appropriate subclass of
  181. HTTPError instead of always raising HTTPError.
  182. - Credential files are now created as being user-readable only. (In
  183. launchpadlib, they were created using the default umask and then
  184. made user-readable with chmod.)
  185. 0.9.20 (2010-06-25)
  186. ===================
  187. - It's now possible to pass a relative URL (relative to the versioned
  188. service root) into load().
  189. 0.9.19 (2010-06-21)
  190. ===================
  191. - When the representation of a resource, as retrieved from the
  192. server, is of a different type than expected, the server value now
  193. takes precedence. This means that, in rare situations, a resource
  194. may start out presumed to be of one type, and change its
  195. capabilities once its representation is fetched from the server.
  196. 0.9.18 (2010-06-16)
  197. ===================
  198. - Made it possible to avoid fetching a representation of every single
  199. object looked up from a CollectionWithKeyBasedLookup (by defining
  200. .collection_of on the class), potentially improving script
  201. performance.
  202. 0.9.17 (2010-05-10)
  203. ===================
  204. - Switched back to asking for compression using the standard
  205. Accept-Encoding header. Using the TE header has never worked in a
  206. real situation due to HTTP intermediaries.
  207. 0.9.16 (2010-05-03)
  208. ===================
  209. - If a server returns a 502 or 503 error code, lazr.restfulclient
  210. will retry its request a configurable number of times in hopes that
  211. the error is transient.
  212. - It's now possible to invoke lazr.restful destructor methods, with
  213. the lp_delete() method.
  214. 0.9.15 (2010-04-27)
  215. ====================
  216. - Clients will no longer fetch a representation of a collection
  217. before invoking a named operation on the collection.
  218. 0.9.14 (2010-04-15)
  219. ===================
  220. - Clients now send a useful and somewhat customizable User-Agent
  221. string.
  222. - Added a workaround for a bug in httplib2.
  223. - Removed the software dependency on lazr.restful except when running
  224. the full test suite. (The standalone_test test suite tests basic
  225. functionality of lazr.restfulclient to make sure the code base
  226. doesn't fundamentally depend on lazr.restful.)
  227. 0.9.13 (2010-03-24)
  228. ===================
  229. - Removed some no-longer-needed compatibility code for buggy
  230. servers, and fixed the tests to work with the new release of simplejson.
  231. - The fix in 0.9.11 to avoid errors on eCryptfs filesystems wasn't
  232. strict enough. The maximum filename length is now 143 characters.
  233. 0.9.12 (2010-03-09)
  234. ===================
  235. - Fixed a bug that prevented a unicode string from being used as a
  236. cache filename.
  237. 0.9.11 (2010-02-11)
  238. ===================
  239. - If a lazr.restful web service publishes multiple versions, you can
  240. now specify which version to use in a separate constructor argument,
  241. rather than sticking it on to the end of the service root.
  242. - Filenames in the cache will never be longer than 150 characters,
  243. to avoid errors on eCryptfs filesystems.
  244. - Added a proof-of-concept test for OAuth-signed anonymous access.
  245. - Fixed comparisons of entries and hosted files with None.
  246. 0.9.10 (2009-10-23)
  247. ===================
  248. - lazr.restfulclient now requests the correct WADL media type.
  249. - Made HTTPError strings more verbose.
  250. - Implemented the equality operator for entry and hosted-file resources.
  251. - Resume setting the 'credentials' attribute on ServerRoot to avoid
  252. breaking compatibility with launchpadlib.
  253. 0.9.9 (2009-10-07)
  254. ==================
  255. - The WSGI authentication middleware has been moved from lazr.restful
  256. to the new lazr.authentication library, and lazr.restfulclient now
  257. uses the new library.
  258. 0.9.8 (2009-10-06)
  259. ==================
  260. - Added support for OAuth.
  261. 0.9.7 (2009-09-30)
  262. ==================
  263. - Added support for HTTP Basic Auth.
  264. 0.9.6 (2009-09-16)
  265. ==================
  266. - Made compatible with lazr.restful 0.9.6.
  267. 0.9.5 (2009-08-28)
  268. ==================
  269. - Removed debugging code.
  270. 0.9.4 (2009-08-26)
  271. ==================
  272. - Removed unnecessary build dependencies.
  273. - Updated tests for newer version of simplejson.
  274. - Made tests less fragile by cleaning up lazr.restful example filemanager
  275. between tests.
  276. - normalized output of simplejson to unicode.
  277. 0.9.3 (2009-08-05)
  278. ==================
  279. Removed a sys.path hack from setup.py.
  280. 0.9.2 (2009-07-16)
  281. ==================
  282. - Fields that can contain binary data are no longer run through
  283. simplejson.dumps().
  284. - For fields that can take on a limited set of values, you can now get
  285. a list of possible values.
  286. 0.9.1 (2009-07-13)
  287. ==================
  288. - The client now knows to look for multipart/form-data representations
  289. and will create them as appropriate. The upshot of this is that you
  290. can now send binary data when invoking named operations that will
  291. accept binary data.
  292. 0.9 (2009-04-29)
  293. ================
  294. - Initial public release