requests-scitokens#

requests-scitokens provides an authentication plugin for Requests that handles attaching SciTokens to HTTP requests.

requests-scitokens PyPI version badge requests-scitokens conda-forge badge requests-scitokens license badge Supported Python versions badgerequests-scitokens test workflow badge requests-scitokens packaging workflow badge requests-scitokens test coverage badge requests-scitokens codeclimate maintainability badge

Installation#

Conda#

conda install -c conda-forge requests-scitokens

Debian Linux#

apt-get install python3-requests-scitokens

See the IGWN Computing Guide software repositories entry for Debian for instructions on how to configure the required IGWN Debian repositories.

Enterprise Linux#

dnf install python3-requests-scitokens

See the IGWN Computing Guide software repositories entries for Rocky Linux 8 or Rocky Linux 9 for instructions on how to configure the required IGWN RPM repositories.

Pip#

python -m pip install requests-scitokens

python -m pip install requests-scitokens

requests-scitokens documentation#

SciToken plugin for Requests.

HTTPSciTokenAuth([token, audience, force])

Auth handler for SciTokens.

Session(*args[, auth, token])

SessionMixin(*args[, auth, token])