Skip to main content

An extension to requests-oauthlib to use with Salesforce.

Project description

salesforce-requests-oauthlib
==========================

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


Tests
-----

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``.


Credits
-------

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

.. _`modern-package-template`: http://pypi.python.org/pypi/modern-package-template
.. _`requests-oauthlib`: https://pypi.python.org/pypi/requests-oauthlib
.. _`requests`: https://pypi.python.org/pypi/requests
.. _`oauthlib`: https://pypi.python.org/pypi/oauthlib
.. _`py.test`: http://doc.pytest.org/en/latest/index.html
.. _`pytest-cov`: https://pypi.python.org/pypi/pytest-cov


News
====

0.1.6
---

*Release date: 2018-09-13*

* Support web server flow - see the test for example

* New query method

0.1.5
---

*Release date: 2018-09-10*

* Refresh token persistence is now modular

0.1.4
---

*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.

0.1.3
---

*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.

0.1.2
---

*Release date: 2018-02-02*

* Allow custom domain to be specified for authentication

0.1.1
---

*Release date: 2018-01-14*

* Python 3 compatibility - thanks @ivanpricewaycom !

0.1
---

*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.

Source Distribution

salesforce-requests-oauthlib-0.1.6.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page