o
    Rh                     @   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)CLICOLOR	COLORTERMCOLUMNSJPY_PARENT_PIDJUPYTER_COLUMNSJUPYTER_LINESLINESNO_COLORTERM_PROGRAMTERMTTY_COMPATIBLEVSCODE_VERBOSE_LOGGINGc                 S   s   i | ]}|t |qS  )osgetenv).0namer   r   O/home/air/sanwanet/backup_V2/venv/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features	env_namesenvr   r   r   report
   s   r%   __main__)r   N)r   r   richr   rich.consoler   r   
rich.panelr   rich.prettyr   r%   __name__r   r   r   r   <module>   s    

