o
    i'e                     @   s   d dl Z d dlZd dlZd dlmZ ddlmZ z	d dlZejZ	W n e
y,   dZ	Y nw deeeeef f fddZdd	d
ZedkrJe  dS dS )    N)Dict   )__version__ returnc                  C   s   zt  t  d} W n ty   ddd} Y nw t  }|dkr't  }n$|dkrItj}|j d|j	 d|j
 }|jdkrHd||jg}nd}| ||dd	tid	tid
S )zg
    Generate information for a bug report.
    Based on the requests package help utility module.
    )systemreleaseZUnknownZCPythonZPyPy.finalr   )nameversionr   )platformimplementationcryptographyZpyjwt)r   r   r   OSErrorZpython_implementationZpython_versionsyspypy_version_infomajorminormicroreleaseleveljoincryptography_versionpyjwt_version)Zplatform_infor   Zimplementation_versionr    r   (lib/python3.10/site-packages/jwt/help.pyinfo   s>   


r   c                   C   s   t tjt ddd dS )z)Pretty-print the bug information as JSON.T   )Z	sort_keysindentN)printjsondumpsr   r   r   r   r   main:   s   r"   __main__)r   N)r    r   r   typingr   r   r   r   r   r   ModuleNotFoundErrorstrr   r"   __name__r   r   r   r   <module>   s     

*
