Skip to main content

requests-ecp

A SAML/ECP authentication handler for python-requests.

Release status

PyPI version Conda version
License Supported Python versions

Development status

Build status Code coverage Documentation

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")

Metadata

Release files for requests-ecp 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for requests-ecp 0.3.2
File Size Uploaded
requests_ecp-0.3.2.tar.gz 27.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for requests-ecp 0.3.2
File Interpreter ABI Platform
requests_ecp-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 57.3 kB

Release files / requests_ecp-0.3.2.tar.gz

Download URL requests_ecp-0.3.2.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0febb29207591ffd8120ab67d2753d376539a0384b002c0064edb8b8986dc5d7
BLAKE2b-256 checksum
How to use checksums
1482b8cf468452a454fcae077648bc2f72db3a0736c30d3f33b8814298f7218e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / requests_ecp-0.3.2-py3-none-any.whl

Download URL requests_ecp-0.3.2-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91562215743f212869a36d929754411f9f65c0cc7cf1b5196ef32f7489a12306
BLAKE2b-256 checksum
How to use checksums
32d263a64fccba80f8d110e5e8e6f3b211ae0fdf9abc2d84e5445f6eb1c898b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page