requests-ecp 0.3.2
pip install requests-ecp
Latest version
Released:
SAML/ECP authentication handler for python-requests
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 or later (GPLv3+) (GPL-3.0-or-later)
- Author: Duncan Macleod
- Requires: Python >=3.6
-
Provides-Extra:
docs
,kerberos
,tests
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Project description
requests-ecp
A SAML/ECP authentication handler for python-requests.
Release status
Development status
Installation
See https://requests-ecp.readthedocs.io/en/latest/#installation for installation instructions.
Basic usage
Attach the HTTPECPAuth
object to your Requests
Session and the relevant authentication will happen whenever required.
>>> from requests import Session
>>> from requests_ecp import HTTPECPAuth
>>> with Session() as sess:
... sess.auth = HTTPECPAuth("https://idp.university.ac.uk/idp/profile/SAML2/SOAP/ECP")
... sess.get("https://data.university.ac.uk/mydata.dat")
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 or later (GPLv3+) (GPL-3.0-or-later)
- Author: Duncan Macleod
- Requires: Python >=3.6
-
Provides-Extra:
docs
,kerberos
,tests
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file requests_ecp-0.3.2.tar.gz
.
File metadata
- Download URL: requests_ecp-0.3.2.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0febb29207591ffd8120ab67d2753d376539a0384b002c0064edb8b8986dc5d7 |
|
MD5 | df1b5dc534ff81452ea01b3bd06441c5 |
|
BLAKE2b-256 | 1482b8cf468452a454fcae077648bc2f72db3a0736c30d3f33b8814298f7218e |
File details
Details for the file requests_ecp-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: requests_ecp-0.3.2-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91562215743f212869a36d929754411f9f65c0cc7cf1b5196ef32f7489a12306 |
|
MD5 | 788104c0b15ae98635eb51727f976580 |
|
BLAKE2b-256 | 32d263a64fccba80f8d110e5e8e6f3b211ae0fdf9abc2d84e5445f6eb1c898b3 |