o
    Ú­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„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ÚTTY_INTERACTIVEÚVSCODE_VERBOSE_LOGGINGc                 S   s   i | ]}|t  |¡“qS © )ÚosÚgetenv)Ú.0Únamer   r   úJ/var/www/html/CropPilot/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    

ÿ