@@ -0,0 +1,1609 @@
+from __future__ import print_function%0A%0Aimport json%0Aimport platform%0Aimport sys%0A%0Afrom . import __version__ as pyjwt_version%0A%0Atry:%0A    import cryptography%0Aexcept ImportError:%0A    cryptography = None%0A%0Atry:%0A    import ecdsa%0Aexcept ImportError:%0A    ecdsa = None%0A%0A%0Adef info():%0A    %22%22%22%0A    Generate information for a bug report.%0A    Based on the requests package help utility module.%0A    %22%22%22%0A    try:%0A        platform_info = %7B%22system%22: platform.system(), %22release%22: platform.release()%7D%0A    except IOError:%0A        platform_info = %7B%22system%22: %22Unknown%22, %22release%22: %22Unknown%22%7D%0A%0A    implementation = platform.python_implementation()%0A%0A    if implementation == %22CPython%22:%0A        implementation_version = platform.python_version()%0A    elif implementation == %22PyPy%22:%0A        implementation_version = %22%25s.%25s.%25s%22 %25 (%0A            sys.pypy_version_info.major,%0A            sys.pypy_version_info.minor,%0A            sys.pypy_version_info.micro,%0A        )%0A        if sys.pypy_version_info.releaselevel != %22final%22:%0A            implementation_version = %22%22.join(%0A                %5Bimplementation_version, sys.pypy_version_info.releaselevel%5D%0A            )%0A    else:%0A        implementation_version = %22Unknown%22%0A%0A    return %7B%0A        %22platform%22: platform_info,%0A        %22implementation%22: %7B%22name%22: implementation, %22version%22: implementation_version%7D,%0A        %22cryptography%22: %7B%22version%22: getattr(cryptography, %22__version__%22, %22%22)%7D,%0A        %22pyjwt%22: %7B%22version%22: pyjwt_version%7D,%0A    %7D%0A%0A%0Adef main():%0A    %22%22%22Pretty-print the bug information as JSON.%22%22%22%0A    print(json.dumps(info(), sort_keys=True, indent=2))%0A%0A%0Aif __name__ == %22__main__%22:%0A    main()%0A

Add help module