o
    /i                     @   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)ZCLICOLOR	COLORTERMCOLUMNSZJPY_PARENT_PIDJUPYTER_COLUMNSJUPYTER_LINESLINESNO_COLORZTERM_PROGRAMTERMTTY_COMPATIBLETTY_INTERACTIVEZVSCODE_VERBOSE_LOGGINGc                 S   s   i | ]}|t |qS  )osgetenv).0namer   r   G/home/kim/smarthome/.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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    

