Skip to main content
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.12
---

*Release date: 2019-02-25*

* Support new dependency versions

0.1.11
---

*Release date: 2018-09-25*

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

0.1.10
---

*Release date: 2018-09-24*

* Allow instantiation of session with bad refresh token

0.1.9
---

*Release date: 2018-09-24*

* Postgres token storage now deletes entries on logout

0.1.8
---

*Release date: 2018-09-22*

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

0.1.7
---

*Release date: 2018-09-18*

* Correctly handle ports in callback url

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.



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.12.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

salesforce_requests_oauthlib-0.1.12-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file salesforce-requests-oauthlib-0.1.12.tar.gz.

File metadata

  • Download URL: salesforce-requests-oauthlib-0.1.12.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for salesforce-requests-oauthlib-0.1.12.tar.gz
Algorithm Hash digest
SHA256 49a12199c2b3e5edc896bd95a0ead928a2b4cb20dcfe14623ba8aa5302b10da3
MD5 e69543cdfc85fbd75db4e977fd50c019
BLAKE2b-256 47873297b64262182e8c1522cf0f6e480a69ed45daad9cb3bed5f5fc27544f3d

See more details on using hashes here.

File details

Details for the file salesforce_requests_oauthlib-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: salesforce_requests_oauthlib-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for salesforce_requests_oauthlib-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 4a0cb7c1c4243d1939009fcafc3d075716427cb8175e0f203f5337639fb6dc09
MD5 459e836237f62954e082c7cc94c4d522
BLAKE2b-256 851fb93f7287bd3732437b4e2b79f8cd44848ef616716185a3c28f75b0d8dc6b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page