Ravenports generated: 25 Nov 2019 17:36
[ravenports.git] / bucket_A4 / python-requests-oauthlib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-requests-oauthlib
4 VERSION=                1.3.0
5 KEYWORDS=               python
6 VARIANTS=               py27 py38 py37
7 SDESC[py37]=            Authentication support for Requests (PY 37)
8 SDESC[py38]=            Authentication support for Requests (PY 38)
9 SDESC[py27]=            Authentication support for Requests (PY 27)
10 HOMEPAGE=               https://github.com/requests/requests-oauthlib
11 CONTACT=                Python_Automaton[python@ironwolf.systems]
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            PYPI/r/requests-oauthlib
15 DISTFILE[1]=            requests-oauthlib-1.3.0.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[py37]=            single
18 SPKGS[py38]=            single
19 SPKGS[py27]=            single
20
21 OPTIONS_AVAILABLE=      PY27 PY38 PY37
22 OPTIONS_STANDARD=       none
23 VOPTS[py37]=            PY27=OFF PY38=OFF PY37=ON
24 VOPTS[py38]=            PY27=OFF PY38=ON PY37=OFF
25 VOPTS[py27]=            PY27=ON PY38=OFF PY37=OFF
26
27 DISTNAME=               requests-oauthlib-1.3.0
28
29 GENERATED=              yes
30
31 INVALID_RPATH=          yes
32
33 [PY37].BUILDRUN_DEPENDS_ON=             python-oauthlib:single:py37
34                                         python-requests:single:py37
35 [PY37].USES_ON=                         python:py37
36
37 [PY38].BUILDRUN_DEPENDS_ON=             python-oauthlib:single:py38
38                                         python-requests:single:py38
39 [PY38].USES_ON=                         python:py38
40
41 [PY27].BUILDRUN_DEPENDS_ON=             python-oauthlib:single:py27
42                                         python-requests:single:py27
43 [PY27].USES_ON=                         python:py27
44
45 [FILE:3884:descriptions/desc.single]
46 Requests-OAuthlib |build-status| |coverage-status| |docs|
47 =========================================================
48
49 This project provides first-class OAuth library support for `Requests
50 <http://python-requests.org>`_.
51
52 The OAuth 1 workflow
53 --------------------
54
55 OAuth 1 can seem overly complicated and it sure has its quirks. Luckily,
56 requests_oauthlib hides most of these and let you focus at the task at
57 hand.
58
59 Accessing protected resources using requests_oauthlib is as simple as:
60
61 .. code-block:: pycon
62
63     >>> from requests_oauthlib import OAuth1Session
64     >>> twitter = OAuth1Session('client_key',
65                                 client_secret='client_secret',
66                                 resource_owner_key='resource_owner_key',
67
68 resource_owner_secret='resource_owner_secret')
69     >>> url = 'https://api.twitter.com/1/account/settings.json'
70     >>> r = twitter.get(url)
71
72 Before accessing resources you will need to obtain a few credentials from
73 your
74 provider (e.g. Twitter) and authorization from the user for whom you wish
75 to
76 retrieve resources for. You can read all about this in the full
77 `OAuth 1 workflow guide on RTD
78 <https://requests-oauthlib.readthedocs.io/en/latest/oauth1_workflow.html>`_
79 .
80
81 The OAuth 2 workflow
82 --------------------
83
84 OAuth 2 is generally simpler than OAuth 1 but comes in more flavours. The
85 most
86 common being the Authorization Code Grant, also known as the WebApplication
87 flow.
88
89 Fetching a protected resource after obtaining an access token can be
90 extremely
91 simple. However, before accessing resources you will need to obtain a few
92 credentials from your provider (e.g. Google) and authorization from the
93 user
94 for whom you wish to retrieve resources for. You can read all about this
95 in the
96 full `OAuth 2 workflow guide on RTD
97 <https://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html>`_
98 .
99
100 Installation
101 -------------
102
103 To install requests and requests_oauthlib you can use pip:
104
105 .. code-block:: bash
106
107     $ pip install requests requests_oauthlib
108
109 .. |build-status| image::
110 https://travis-ci.org/requests/requests-oauthlib.svg?branch=master
111    :target: https://travis-ci.org/requests/requests-oauthlib
112 .. |coverage-status| image::
113 https://img.shields.io/coveralls/requests/requests-oauthlib.svg
114    :target: https://coveralls.io/r/requests/requests-oauthlib
115 .. |docs| image:: https://readthedocs.org/projects/requests-oauthlib/badge/
116    :alt: Documentation Status
117    :scale: 100%
118    :target: https://requests-oauthlib.readthedocs.io/
119
120
121 History
122 -------
123
124 UNRELEASED
125 ++++++++++
126
127 nothing yet
128
129 v1.3.0 (6 November 2019)
130 ++++++++++++++++++++++++
131
132 - Instagram compliance fix
133 - Added ``force_querystring`` argument to fetch_token() method on
134 OAuth2Session
135
136 v1.2.0 (14 January 2019)
137 ++++++++++++++++++++++++
138
139 - This project now depends on OAuthlib 3.0.0 and above. It does **not**
140 support
141   versions of OAuthlib before 3.0.0.
142 - Updated oauth2 tests to use 'sess' for an OAuth2Session instance instead
143 of `auth`
144   because OAuth2Session objects and methods acceept an `auth` paramether
145 which is
146   typically an instance of `requests.auth.HTTPBasicAuth`
147 - `OAuth2Session.fetch_token` previously tried to guess how and where to
148 provide
149   "client" and "user" credentials incorrectly. This was incompatible with
150 some
151   OAuth servers and incompatible with breaking changes in oauthlib that
152 seek to
153   correctly provide the `client_id`. The older implementation also did not
154 raise
155   the correct exceptions when username and password are not present on
156 Legacy
157   clients.
158 - Avoid automatic netrc authentication for OAuth2Session.
159
160 v1.1.0 (9 January 2019)
161 +++++++++++++++++++++++
162
163 - Adjusted version specifier for ``oauthlib`` dependency: this project is
164   not yet compatible with ``oauthlib`` 3.0.0.
165 - Dropped dependency on ``nose``.
166 - Minor changes to clean up the code and make it more
167 readable/maintainable.
168
169 v1.0.0 (4 June 2018)
170 ++++++++++++++++++++
171
172
173 [FILE:109:distinfo]
174 b4261601a71fd721a8bd6d7aa1cc1d6a8a93b4a9f5e96626f8e4d91e8beeaa6a        88157 requests-oauthlib-1.3.0.tar.gz
175