Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

An extension to requests-oauthlib to use with Salesforce.

Project description


An extension to requests-oauthlib to specifically support calls to Salesforce APIs.


To run tests, install py.test and pytest-cov in your virtualenv and

$ py.test --cov=src/salesforce_requests_oauthlib/ --cov-report html:coverage

View test coverage results at ``./coverage``.


- `modern-package-template`_
- `requests-oauthlib`_
- `requests`_
- `oauthlib`_
- `py.test`_
- `pytest-cov`_

.. _`modern-package-template`:
.. _`requests-oauthlib`:
.. _`requests`:
.. _`oauthlib`:
.. _`py.test`:
.. _`pytest-cov`:



*Release date: 2019-02-25*

* Support new dependency versions


*Release date: 2018-09-25*

* Logout always deletes tokens, even if the revoke call fails


*Release date: 2018-09-24*

* Allow instantiation of session with bad refresh token


*Release date: 2018-09-24*

* Postgres token storage now deletes entries on logout


*Release date: 2018-09-22*

* Fix query method use of nextRecordsUrl; kwarg now more description (note small but breaking API change to query())


*Release date: 2018-09-18*

* Correctly handle ports in callback url


*Release date: 2018-09-13*

* Support web server flow - see the test for example

* New query method


*Release date: 2018-09-10*

* Refresh token persistence is now modular


*Release date: 2018-04-30*

* Thanks to @paulie4 for the patch to allow an externally created oauthlib client.
* New AUTHORS file
* When token refresh fails, launch the appropriate authentication flow. Allows for username/password clients to live past the session timeout.


*Release date: 2018-02-20*

* Python's webbrowser module isn't working for chrome as default browser on OS X, so force safari as browser for oauth flow.


*Release date: 2018-02-02*

* Allow custom domain to be specified for authentication


*Release date: 2018-01-14*

* Python 3 compatibility - thanks @ivanpricewaycom !


*Release date: 2016-08-26*

* First release.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for salesforce-requests-oauthlib, version 0.1.12
Filename, size File type Python version Upload date Hashes
Filename, size salesforce_requests_oauthlib-0.1.12-py3-none-any.whl (8.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size salesforce-requests-oauthlib-0.1.12.tar.gz (7.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page