a
    )ñ»jÑ  ã                   @   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)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   ú3E:\soccer\ml_env\Lib\site-packages\rich/diagnose.pyÚ
<dictcomp>    ó    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   r   Úrichr   Zrich.consoler   r   Z
rich.panelr   Zrich.prettyr   r"   Ú__name__r   r   r   r   Ú<module>   s   