�
d��d� � � � d dl Z d dlZd dlZd dlmZ ddlmZ d dlZej Z deeeeef f fd�Zd
d�Z
ed k( r e
� yy# e
$ r dZ Y �+w xY w)� N)�Dict� )�__version__� �returnc �� � t j � t j � d�} t j � }|dk( rt j
� }nl|dk( ret j }|j � d|j � d|j � �}|j dk7 r dj ||j g� }nd}| ||d�d t id t id
�S # t $ r ddd�} Y ��w xY w)zg
Generate information for a bug report.
Based on the requests package help utility module.
)�system�release�Unknown�CPython�PyPy�.�finalr )�name�versionr )�platform�implementation�cryptography�pyjwt)r r r
�OSError�python_implementation�python_version�sys�pypy_version_info�major�minor�micro�releaselevel�join�cryptography_version�
pyjwt_version)�
platform_infor �implementation_versionr s �*/usr/lib/python3/dist-packages/jwt/help.py�infor% s � �
D��o�o�'��'�'�)�
�
� �3�3�5�N���"�!)�!8�!8�!:�� �6� !��1�1�� �&�&�'�q� �&�&�'�q� �&�&�'�
)� �
�)�)�W�4�%'�W�W�'�):�)G�)G�H�&�"� "+�� "�"�-�
� #�$8�9��]�+�� ��+ � D�#,��C�
�D�s �)C �C,�+C,c �V � t t j t � dd�� � y)z)Pretty-print the bug information as JSON.T� )� sort_keys�indentN)�print�json�dumpsr% � � r$ �mainr/ : s � � �$�*�*�T�V�t�A�
6�7r. �__main__)r N)r+ r r �typingr r r r! r r �ModuleNotFoundError�strr% r/ �__name__r- r. r$ �<module>r5 sx �� � �
� � *���'�3�3��
'�d�3��S�#�X��&�'� '�T8�
�z���F� ��g � ����s �A �A�A |