Name | igwn-auth-utils JSON |
Version |
1.1.1
JSON |
| download |
home_page | None |
Summary | Authorisation utilities for IGWN |
upload_time | 2024-09-09 10:42:06 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.6 |
license | BSD-3-Clause |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# `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
[](http://badge.fury.io/py/igwn-auth-utils)
[](https://git.ligo.org/computing/igwn-auth-utils/blob/main/LICENSE)
[](https://zenodo.org/badge/latestdoi/383081505)
## Development status
[](https://git.ligo.org/computing/igwn-auth-utils/-/pipelines)

[](https://igwn-auth-utils.readthedocs.io/en/latest/?badge=latest)
## Installation
The best way to install the latest release is using
[`conda`](https://conda.io/) with the
[`conda-forge`](https://conda-forge.org) channel enabled:
```bash
conda install -c conda-forge igwn-auth-utils
```
The latest release can also be installed using `pip`:
```bash
python -m pip install igwn-auth-utils
```
## Basic usage
To discover an X.509 user credential (proxy) **location**:
```python
>>> 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`):
```python
>>> from igwn_auth_utils import find_scitoken
>>> print(find_scitoken("myservice", "read:/mydata"))
<scitokens.scitokens.SciToken object at 0x7fe99ab792e0>
```
Raw data
{
"_id": null,
"home_page": null,
"name": "igwn-auth-utils",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Duncan Macleod <duncan.macleod@ligo.org>",
"download_url": "https://files.pythonhosted.org/packages/d6/25/41df00da93af467c6653808ff04143c6da7cfdf5cae8e90fe0652b77b04b/igwn_auth_utils-1.1.1.tar.gz",
"platform": null,
"description": "# `igwn-auth-utils`\n\nPython library functions to simplify using IGWN authorisation credentials.\n\n<https://igwn-auth-utils.readthedocs.io/>\n\nThis project is primarily aimed at discovering X.509 credentials and\nSciTokens for use with HTTP(S) requests to IGWN-operated services.\n\n## Release status\n\n[](http://badge.fury.io/py/igwn-auth-utils)\n[](https://git.ligo.org/computing/igwn-auth-utils/blob/main/LICENSE)\n[](https://zenodo.org/badge/latestdoi/383081505)\n\n## Development status\n\n[](https://git.ligo.org/computing/igwn-auth-utils/-/pipelines)\n\n[](https://igwn-auth-utils.readthedocs.io/en/latest/?badge=latest)\n\n## Installation\n\nThe best way to install the latest release is using\n[`conda`](https://conda.io/) with the\n[`conda-forge`](https://conda-forge.org) channel enabled:\n\n```bash\nconda install -c conda-forge igwn-auth-utils\n```\n\nThe latest release can also be installed using `pip`:\n\n```bash\npython -m pip install igwn-auth-utils\n```\n\n## Basic usage\n\nTo discover an X.509 user credential (proxy) **location**:\n\n```python\n>>> from igwn_auth_utils import find_x509_credentials\n>>> print(find_x509_credentials())\n('/tmp/x509up_u1000', '/tmp/x509up_u1000')\n```\n\nTo discover (**and deserialise**) a SciToken for a specific\npurpose (`audience` and `scope`):\n\n```python\n>>> from igwn_auth_utils import find_scitoken\n>>> print(find_scitoken(\"myservice\", \"read:/mydata\"))\n<scitokens.scitokens.SciToken object at 0x7fe99ab792e0>\n```\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Authorisation utilities for IGWN",
"version": "1.1.1",
"project_urls": {
"Bug Tracker": "https://git.ligo.org/computing/igwn-auth-utils/-/issues/",
"Documentation": "https://igwn-auth-utils.readthedocs.io",
"Homepage": "https://git.ligo.org/computing/igwn-auth-utils/",
"Source Code": "https://git.ligo.org/computing/igwn-auth-utils.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c57d07b9b5e6421362a27db4fdeac60e211fc07d47b94c2085bcfc2cd76192ae",
"md5": "dfb8c59a5438d06f4e447f24845eb7ac",
"sha256": "f995d79214afbcb05823d46b33a9fd96cfa7734431a2ca5beeddb09c0452da83"
},
"downloads": -1,
"filename": "igwn_auth_utils-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dfb8c59a5438d06f4e447f24845eb7ac",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 26712,
"upload_time": "2024-09-09T10:42:05",
"upload_time_iso_8601": "2024-09-09T10:42:05.178199Z",
"url": "https://files.pythonhosted.org/packages/c5/7d/07b9b5e6421362a27db4fdeac60e211fc07d47b94c2085bcfc2cd76192ae/igwn_auth_utils-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d62541df00da93af467c6653808ff04143c6da7cfdf5cae8e90fe0652b77b04b",
"md5": "5c237dca9beddaf7456e23562ccdb270",
"sha256": "be787dc31227c3b497f44d88440eb81a6e069225c57c66647a420d93fbe79476"
},
"downloads": -1,
"filename": "igwn_auth_utils-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "5c237dca9beddaf7456e23562ccdb270",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 31950,
"upload_time": "2024-09-09T10:42:06",
"upload_time_iso_8601": "2024-09-09T10:42:06.251085Z",
"url": "https://files.pythonhosted.org/packages/d6/25/41df00da93af467c6653808ff04143c6da7cfdf5cae8e90fe0652b77b04b/igwn_auth_utils-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-09 10:42:06",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "igwn-auth-utils"
}