Current Path: > > opt > alt > python37 > lib > python3.7 > > site-packages > jwt
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 1554 bytes | April 28 2021 11:59:20. | |
algorithms.py | File | 21471 bytes | April 28 2021 11:43:48. | |
api_jwk.py | File | 2942 bytes | April 28 2021 11:23:40. | |
api_jws.py | File | 7838 bytes | December 21 2020 16:55:46. | |
api_jwt.py | File | 7306 bytes | April 28 2021 11:23:40. | |
exceptions.py | File | 965 bytes | August 24 2020 16:22:55. | |
help.py | File | 1608 bytes | December 21 2020 16:55:46. | |
jwks_client.py | File | 1927 bytes | April 28 2021 11:23:40. | |
py.typed | File | 0 bytes | December 20 2020 00:01:37. | |
utils.py | File | 2510 bytes | December 21 2020 16:55:46. |
import json import platform import sys from . import __version__ as pyjwt_version try: import cryptography except ModuleNotFoundError: cryptography = None # type: ignore def info(): """ Generate information for a bug report. Based on the requests package help utility module. """ try: platform_info = { "system": platform.system(), "release": platform.release(), } except OSError: platform_info = {"system": "Unknown", "release": "Unknown"} implementation = platform.python_implementation() if implementation == "CPython": implementation_version = platform.python_version() elif implementation == "PyPy": implementation_version = "{}.{}.{}".format( sys.pypy_version_info.major, sys.pypy_version_info.minor, sys.pypy_version_info.micro, ) if sys.pypy_version_info.releaselevel != "final": implementation_version = "".join( [implementation_version, sys.pypy_version_info.releaselevel] ) else: implementation_version = "Unknown" return { "platform": platform_info, "implementation": { "name": implementation, "version": implementation_version, }, "cryptography": {"version": getattr(cryptography, "__version__", "")}, "pyjwt": {"version": pyjwt_version}, } def main(): """Pretty-print the bug information as JSON.""" print(json.dumps(info(), sort_keys=True, indent=2)) if __name__ == "__main__": main()
SILENT KILLER Tool