ó
    Ñ]j
  ã                   óN   • S r SSKrSSKrSSKJr  SSKJr  SSKJr  S r	S r
S rg)	z_
Utility methods to print system info for debugging

adapted from :func:`pandas.show_versions`
é    N)Úthreadpool_info)Ú__version__)Ú_openmp_parallelism_enabledc                  ó°   • [         R                  R                  SS5      n SU 4S[         R                  4S[        R                  " 5       4/n[        U5      $ )z_System information

Returns
-------
sys_info : dict
    system and Python version information

Ú
Ú ÚpythonÚ
executableÚmachine)ÚsysÚversionÚreplacer
   ÚplatformÚdict)r	   Úblobs     ÚY/home/mande/repo/quber/.venv/lib/python3.13/site-packages/sklearn/utils/_show_versions.pyÚ_get_sys_infor      sT   € ô �[‰[× Ñ   sÓ+€Fð 
�6ÐØ	”s—~‘~Ð&Ø	”H×%Ò%Ó'Ð(ð€Dô �‹:Ðó    c                  óx   • / SQn S[         0nSSKJnJn  U  H  n U" U5      X'   M     U$ ! U a    SX'    M!  f = f)a  Overview of the installed version of main dependencies

This function does not import the modules to collect the version numbers
but instead relies on standard Python package metadata.

Returns
-------
deps_info: dict
    version information on relevant Python libraries

)	ÚpipÚ
setuptoolsÚnumpyÚscipyÚCythonÚpandasÚ
matplotlibÚjoblibÚthreadpoolctlÚsklearnr   )ÚPackageNotFoundErrorr   N)r   Úimportlib.metadatar    r   )ÚdepsÚ	deps_infor    r   Úmodnames        r   Ú_get_deps_infor%   '   sZ   € ò
€Dð 	”;ð€I÷ Aãˆð	&Ù!(¨Ó!1ˆIÓñ ð
 Ðøð $ó 	&Ø!%ˆIÔð	&ús   ›
+«
9¸9c                  ód  • [        5       n [        5       n[        S5        U R                  5        H  u  p#[        SR	                  X#S95        M     [        S5        UR                  5        H  u  p#[        SR	                  X#S95        M     [        SR	                  S[        5       S95        [        5       nU(       ar  [        5         [        S5        [        U5       HM  u  pVUR                  5        H  u  px[        US	 S
U 35        M     U[        U5      S-
  :w  d  MC  [        5         MO     gg)z›Print useful debugging information.

.. versionadded:: 0.20

Examples
--------
>>> from sklearn import show_versions
>>> show_versions()  # doctest: +SKIP
z
System:z{k:>10}: {stat})ÚkÚstatz
Python dependencies:z{k:>13}: {stat}z
{k}: {stat}zBuilt with OpenMPzthreadpoolctl info:z>15z: é   N)	r   r%   ÚprintÚitemsÚformatr   r   Ú	enumerateÚlen)	Úsys_infor#   r'   r(   Úthreadpool_resultsÚiÚresultÚkeyÚvals	            r   Úshow_versionsr5   M   s  € ô ‹€HÜÓ €Iä	ˆ+ÔØ—>‘>Ö#‰ˆÜÐ×&Ñ&¨Ð&Ð6Ö7ñ $ô 
Ð
"Ô#Ø—?‘?Ö$‰ˆÜÐ×&Ñ&¨Ð&Ð6Ö7ñ %ô 
Ø×ÑØ!Ô(CÓ(Eð 	ð 	
ôô )Ó*ÐÞÜŒÜÐ#Ô$ä"Ð#5Ö6‰IˆAØ"ŸL™LžN‘�Ü˜˜S˜	  C 5Ð)Ö*ñ +à”CÐ*Ó+¨aÑ/Õ/Ü–ò	 7ð	 r   )Ú__doc__r   r   r   r   r   r   Úsklearn.utils._openmp_helpersr   r   r%   r5   © r   r   Ú<module>r9      s+   ðñó Û 
å )å Ý Eòò(#óL&r   