Ë
    ¤eh  ã                  óš   — d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl	m
Z
 e
rd dlmZ d dlmZmZmZ d
d„Zdd„Zdd„Zddd	„Zy)é    )ÚannotationsN)ÚTYPE_CHECKING)ÚJSONSerializable)ÚVERSIONSÚget_versionÚimport_optional_dependencyc                 óV   — 	 ddl m}  | S # t        $ r ddlm}  |«       }|d   cY S w xY w)za
    Use vendored versioneer code to get git hash, which handles
    git worktree correctly.
    r   )Ú__git_version__)Úget_versionszfull-revisionid)Úpandas._version_mesonr
   ÚImportErrorÚpandas._versionr   )r
   r   Úversionss      úY/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pandas/util/_print_versions.pyÚ_get_commit_hashr      s9   € ð

+õ	
ð ÐøÜò +Ý0á“>ˆØÐ)Ñ*Ò*ð	+ús   ‚
 Š(§(c                 óÐ  — t        j                  «       } t        j                  «       \  }}t	        «       t        j
                  «       t        j                  d«      dz  | j                  | j                  | j                  | j                  | j                  t        j                  t        j                   j#                  d«      t        j                   j#                  d«      ||dœdœS )zG
    Returns system information as a JSON serializable dictionary.
    ÚPé   ÚLC_ALLÚLANG)úlanguage-codeÚencoding)ÚcommitÚpythonzpython-bitsÚOSz
OS-releaseÚVersionÚmachineÚ	processorÚ	byteorderr   r   ÚLOCALE)ÚplatformÚunameÚlocaleÚ	getlocaler   Úpython_versionÚstructÚcalcsizeÚsystemÚreleaseÚversionr   r   Úsysr   ÚosÚenvironÚget)Úuname_resultÚlanguage_coder   s      r   Ú_get_sys_infor1   (   s¬   € ô —>‘>Ó#€LÜ$×.Ñ.Ó0Ñ€M�8ä"Ó$Ü×)Ñ)Ó+Ü—‘ sÓ+¨aÑ/Ø×!Ñ!Ø"×*Ñ*Ø×'Ñ'Ø×'Ñ'Ø!×+Ñ+Ü—]‘]Ü—*‘*—.‘. Ó*Ü—
‘
—‘˜vÓ&Ø$1¸xÑHñð ó    c                 óÄ   — g d¢} | j                  t        t        «      «       i }| D ]"  }	 t        |d¬«      }|rt	        |«      nd||<   Œ$ |S # t
        $ r d||<   Y Œ7w xY w)zK
    Returns dependency information as a JSON serializable dictionary.
    )ÚpandasÚnumpyÚpytzÚdateutilÚpipÚCythonÚsphinxÚIPythonÚignore)ÚerrorsNzN/A)ÚextendÚlistr   r   r   Ú	Exception)ÚdepsÚresultÚmodnameÚmods       r   Ú_get_dependency_inforE   >   sx   € ò€Dð 	‡K�K””X“Ôà*,€FØò @ˆð	@Ü,¨W¸XÔFˆCñ
 36œk¨#Ô.¸4ˆF�7ŠOð@ð €Møô ò 	$à#ˆF�7‹Oð	$ús   «AÁAÁAc                óÔ  — t        «       }t        «       }| rŠ||dœ}| du r5t        j                  j	                  t        j                  |d¬«      «       yt        | t        «      sJ ‚t        j                  | dd¬«      5 }t        j                  ||d¬«       ddd«       yt        |d	   t        «      sJ ‚|d	   d
   }|d	   d   }|› d|› �|d	<   t        d„ |D «       «      }t        d«       t        d«       |j                  «       D ]  \  }}	t        |d|› d�›d|	› �«       Œ t        d«       |j                  «       D ]  \  }}	t        |d|› d�›d|	› �«       Œ y# 1 sw Y   yxY w)a¼  
    Provide useful information, important for bug reports.

    It comprises info about hosting operation system, pandas version,
    and versions of other installed relative packages.

    Parameters
    ----------
    as_json : str or bool, default False
        * If False, outputs info in a human readable form to the console.
        * If str, it will be considered as a path to a file.
          Info will be written to that file in JSON format.
        * If True, outputs info in JSON format to the console.

    Examples
    --------
    >>> pd.show_versions()  # doctest: +SKIP
    Your output may look something like this:
    INSTALLED VERSIONS
    ------------------
    commit           : 37ea63d540fd27274cad6585082c91b1283f963d
    python           : 3.10.6.final.0
    python-bits      : 64
    OS               : Linux
    OS-release       : 5.10.102.1-microsoft-standard-WSL2
    Version          : #1 SMP Wed Mar 2 00:30:59 UTC 2022
    machine          : x86_64
    processor        : x86_64
    byteorder        : little
    LC_ALL           : None
    LANG             : en_GB.UTF-8
    LOCALE           : en_GB.UTF-8
    pandas           : 2.0.1
    numpy            : 1.24.3
    ...
    )r(   ÚdependenciesTé   )ÚindentÚwbÚutf8)r   Nr    r   r   ú.c              3  ó2   K  — | ]  }t        |«      –— Œ y ­w)N)Úlen)Ú.0Úxs     r   ú	<genexpr>z show_versions.<locals>.<genexpr>—   s   è ø€ Ò* ”S˜—VÑ*ùs   ‚z
INSTALLED VERSIONSz------------------ú<Ú z: )r1   rE   r+   ÚstdoutÚ
writelinesÚjsonÚdumpsÚ
isinstanceÚstrÚcodecsÚopenÚdumpÚdictÚmaxÚprintÚitems)
Úas_jsonÚsys_inforA   ÚjÚfr0   r   ÚmaxlenÚkÚvs
             r   Úshow_versionsrh   _   sq  € ôJ ‹€HÜÓ!€DáØ°Ñ6ˆà�d‰?Ü�J‰J×!Ñ!¤$§*¡*¨Q°qÔ"9Õ:ä˜g¤sÔ+Ð+Ð+Ü—‘˜W d°VÔ<ð *ÀÜ—	‘	˜!˜Q qÕ)÷*ð *ô ˜( 8Ñ,¬dÔ3Ð3Ð3Ø  Ñ*¨?Ñ;ˆØ˜HÑ% jÑ1ˆØ -˜¨a°¨zÐ:ˆ�ÑäÑ* TÔ*Ó*ˆÜÐ$Ô%ÜÐ"Ô#Ø—N‘NÓ$ò 	)‰DˆAˆqÜ�Q�q˜˜  �j�M  A 3Ð'Õ(ð	)äˆbŒ	Ø—J‘J“Lò 	)‰DˆAˆqÜ�Q�q˜˜  �j�M  A 3Ð'Õ(ñ	)÷*ð *ús   Á?EÅE')Úreturnz
str | None)ri   zdict[str, JSONSerializable])F)ra   z
str | boolri   ÚNone)Ú
__future__r   rZ   rV   r#   r,   r!   r&   r+   Útypingr   Úpandas._typingr   Úpandas.compat._optionalr   r   r   r   r1   rE   rh   © r2   r   ú<module>rp      sE   ðÝ "ã Û Û Û 	Û Û Û 
Ý  áÝ/÷ñ ó+ó$ó,õB?)r2   