U
    祡c                     @   sd   d dl Z d dlZd dlmZ d dlmZmZ d dlmZ d dl	m
Z
 ddddZed	kr`e  dS )
    N)inspect)Consoleget_windows_console_features)Panel)Pretty)returnc                  C   s`   t  } t|  t }t| d}dd |D }| tjt|dd | dt  d dS )	z9Print a report to the terminal with debugging information)TERMZ	COLORTERMZCLICOLORZNO_COLORZTERM_PROGRAMCOLUMNSLINESZJUPYTER_COLUMNSZJUPYTER_LINESZJPY_PARENT_PIDZVSCODE_VERBOSE_LOGGINGc                 S   s   i | ]}|t |qS  )osgetenv).0namer   r   1/tmp/pip-unpacked-wheel-qkhzhrww/rich/diagnose.py
<dictcomp>   s      zreport.<locals>.<dictcomp>z[b]Environment Variables)titlez
platform=""N)	r   r   r   printr   Zfitr   platformsystem)consolefeaturesZ	env_namesenvr   r   r   report
   s    r   __main__)r   r   Zrichr   Zrich.consoler   r   Z
rich.panelr   Zrich.prettyr   r   __name__r   r   r   r   <module>   s   