$44 GRAYBYTE WORDPRESS FILE MANAGER $77

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python37/lib/python3.7/site-packages/jwt/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/jwt//help.py
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()


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.37 AM
root / linksafe
0755
__pycache__
--
3 Mar 2024 11.14 PM
root / linksafe
0755
__init__.py
1.518 KB
28 Apr 2021 11.59 AM
root / linksafe
0644
algorithms.py
20.968 KB
28 Apr 2021 11.43 AM
root / linksafe
0644
api_jwk.py
2.873 KB
28 Apr 2021 11.23 AM
root / linksafe
0644
api_jws.py
7.654 KB
21 Dec 2020 4.55 PM
root / linksafe
0644
api_jwt.py
7.135 KB
28 Apr 2021 11.23 AM
root / linksafe
0644
exceptions.py
0.942 KB
24 Aug 2020 4.22 PM
root / linksafe
0644
help.py
1.57 KB
21 Dec 2020 4.55 PM
root / linksafe
0644
jwks_client.py
1.882 KB
28 Apr 2021 11.23 AM
root / linksafe
0644
py.typed
0 KB
20 Dec 2020 12.01 AM
root / linksafe
0644
utils.py
2.451 KB
21 Dec 2020 4.55 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF