Name | fabric_fss_utils JSON |
Version |
1.6.0
JSON |
| download |
home_page | None |
Summary | FABRIC System Service Utilities - JWT and SSH key handling |
upload_time | 2024-11-06 19:22:46 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[](https://pypi.org/project/fabric-fss-utils/)
# Overview
Python library for supporting FABRIC System Services. Includes multiple modules:
- [jwt_validate](fss_utils/jwt_validate.py) - validates JWT against a JWKS endpoint
See [test](test/) folder for examples of use
# Installation
For developing and testing the FIM code itself use editable install (from top-level directory)
from python/ folder
```bash
(infomodel) $ pip install -e .
```
As a dependency use PyPi
```bash
$ pip install fabric-fss-utils
$ python
>>> from fss_utils.jwt_validate import JWTValidator, ValidateCode
>>> token = "..."
>>> validator = JWTValidator(cert_end_point, audience, datetime.timedelta(minutes=5))
>>> validator.validate_jwt(token)
```
# Testing
Use `pytest`:
```bash
$ pytest test/
```
Raw data
{
"_id": null,
"home_page": null,
"name": "fabric_fss_utils",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Komal Thareja <kthare10@renci.org>",
"download_url": "https://files.pythonhosted.org/packages/15/82/0a007a77fafaac71da8f827e27a2ab520d5cecedbf35d29fcd33726fa984/fabric_fss_utils-1.6.0.tar.gz",
"platform": null,
"description": "[](https://pypi.org/project/fabric-fss-utils/)\n\n# Overview\n\nPython library for supporting FABRIC System Services. Includes multiple modules:\n\n- [jwt_validate](fss_utils/jwt_validate.py) - validates JWT against a JWKS endpoint\n\nSee [test](test/) folder for examples of use\n\n# Installation\n\nFor developing and testing the FIM code itself use editable install (from top-level directory)\nfrom python/ folder\n```bash\n(infomodel) $ pip install -e .\n```\n\nAs a dependency use PyPi\n```bash\n$ pip install fabric-fss-utils\n$ python\n>>> from fss_utils.jwt_validate import JWTValidator, ValidateCode\n>>> token = \"...\"\n>>> validator = JWTValidator(cert_end_point, audience, datetime.timedelta(minutes=5))\n>>> validator.validate_jwt(token)\n```\n\n# Testing\n\nUse `pytest`:\n```bash\n$ pytest test/\n```",
"bugtrack_url": null,
"license": null,
"summary": "FABRIC System Service Utilities - JWT and SSH key handling",
"version": "1.6.0",
"project_urls": {
"Home": "https://github.com/fabric-testbed/system-service-utils"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "a52343eca5acc6915fdcf13a4654d8c2cab5fa8813354bf0f110bdbdeed3f95e",
"md5": "7d1bc90aa6609ac104d0359d05af7943",
"sha256": "b7fa5cc7383b15c383646f8a8400418a8c5c08053a8bf94b33df266832311dab"
},
"downloads": -1,
"filename": "fabric_fss_utils-1.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7d1bc90aa6609ac104d0359d05af7943",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 13744,
"upload_time": "2024-11-06T19:22:45",
"upload_time_iso_8601": "2024-11-06T19:22:45.006713Z",
"url": "https://files.pythonhosted.org/packages/a5/23/43eca5acc6915fdcf13a4654d8c2cab5fa8813354bf0f110bdbdeed3f95e/fabric_fss_utils-1.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "15820a007a77fafaac71da8f827e27a2ab520d5cecedbf35d29fcd33726fa984",
"md5": "1930ab2e4761df99035cf9214974b40b",
"sha256": "cdc501fbd2bf6a643a88dd001b3a8cbe0bf4f37837964b24da87885f9b892f75"
},
"downloads": -1,
"filename": "fabric_fss_utils-1.6.0.tar.gz",
"has_sig": false,
"md5_digest": "1930ab2e4761df99035cf9214974b40b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 22112,
"upload_time": "2024-11-06T19:22:46",
"upload_time_iso_8601": "2024-11-06T19:22:46.221265Z",
"url": "https://files.pythonhosted.org/packages/15/82/0a007a77fafaac71da8f827e27a2ab520d5cecedbf35d29fcd33726fa984/fabric_fss_utils-1.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-06 19:22:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fabric-testbed",
"github_project": "system-service-utils",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fabric_fss_utils"
}