Skip to main content

igwn-auth-utils

Python library functions to simplify using IGWN authorisation credentials.

https://igwn-auth-utils.readthedocs.io/

This project is primarily aimed at discovering X.509 credentials and SciTokens for use with HTTP(S) requests to IGWN-operated services.

Release status

PyPI version License DOI

Development status

Build status Code coverage Documentation Status

Installation

The best way to install the latest release is using conda with the conda-forge channel enabled:

conda install -c conda-forge igwn-auth-utils

The latest release can also be installed using pip:

python -m pip install igwn-auth-utils

Basic usage

To discover an X.509 user credential (proxy) location:

>>> from igwn_auth_utils import find_x509_credentials
>>> print(find_x509_credentials())
('/tmp/x509up_u1000', '/tmp/x509up_u1000')

To discover (and deserialise) a SciToken for a specific purpose (audience and scope):

>>> from igwn_auth_utils import find_scitoken
>>> print(find_scitoken("myservice", "read:/mydata"))
<scitokens.scitokens.SciToken object at 0x7fe99ab792e0>

Metadata

Release files for igwn-auth-utils 1.4.0

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

Source distribution (sdist)

Source distribution for igwn-auth-utils 1.4.0
File Size Uploaded
igwn_auth_utils-1.4.0.tar.gz 40.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for igwn-auth-utils 1.4.0
File Interpreter ABI Platform
igwn_auth_utils-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 75.0 kB

Release files / igwn_auth_utils-1.4.0.tar.gz

Download URL igwn_auth_utils-1.4.0.tar.gz
Size 40.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8ebd331a1d6de16e843e94cde2dc0a09d07a7fbc089bc525fa0eabddd89ea187
BLAKE2b-256 checksum
How to use checksums
e988a94ef60db81bb38137a3a7278a71efe729623bfa4a5bf4cabed8a8f44b69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / igwn_auth_utils-1.4.0-py3-none-any.whl

Download URL igwn_auth_utils-1.4.0-py3-none-any.whl
Size 34.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3936dbc4e630b1a31eeb1376abf25ac7b518629f84e34ecc37a9d88ebd86e582
BLAKE2b-256 checksum
How to use checksums
70a06d3b9b7ff91c1cc73a0f45972a5032a4e89439ffb16e617806867cee905b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.4.0

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