o
    Zh                     @   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Zed	kr0e  dS 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)TERM	COLORTERMZCLICOLORNO_COLORZTERM_PROGRAMCOLUMNSLINESJUPYTER_COLUMNSJUPYTER_LINESZJPY_PARENT_PIDZVSCODE_VERBOSE_LOGGINGc                 S   s   i | ]}|t |qS  )osgetenv).0namer   r   D/var/www/html/lang_env/lib/python3.10/site-packages/rich/diagnose.py
<dictcomp>   s    zreport.<locals>.<dictcomp>z[b]Environment Variables)titlez
platform=""N)	r   r   r   printr   fitr   platformsystem)consolefeaturesZ	env_namesenvr   r   r   report
   s   r   __main__)r   N)r   r   richr   Zrich.consoler   r   Z
rich.panelr   Zrich.prettyr   r   __name__r   r   r   r   <module>   s    

