
    Mh                        S SK Jr  S SKrS SKrS SKrS SKrS SKrS SKrS SKrS SK	J
r
  \
(       a  S SKJr  S SKJrJrJr  S
S jrSS jrSS jrSSS	 jjrg)    )annotationsN)TYPE_CHECKING)JSONSerializable)VERSIONSget_versionimport_optional_dependencyc                 X     SSK Jn   U $ ! [         a    SSKJn  U" 5       nUS   s $ f = f)zU
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      M/var/www/html/env/lib/python3.13/site-packages/pandas/util/_print_versions.py_get_commit_hashr      s9    

+	
  +0>)**	+s   
 ))c                    [         R                  " 5       n [        R                  " 5       u  p[	        5       [         R
                  " 5       [        R                  " S5      S-  U R                  U R                  U R                  U R                  U R                  [        R                  [        R                   R#                  S5      [        R                   R#                  S5      XS.S.$ )z?
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"$))+s+a/!!"**''''!++]]**..*

v&$1H     c                     / SQn U R                  [        [        5      5        0 nU  H$  n [        USS9nU(       a  [	        U5      OSX'   M&     U$ ! [
         a    SX'    M;  f = f)zC
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   >   sm    D 	KKX*,F	@,WXFC
 36k#.4FO  M  	$#FO	$s   
AA#"A#c                   [        5       n[        5       nU (       a  XS.nU SL a3  [        R                  R	                  [
        R                  " USS95        g[        U [        5      (       d   e[        R                  " U SSS9 n[
        R                  " X4SS9  SSS5        g[        US	   [        5      (       d   eUS	   S
   nUS	   S   nU SU 3US	'   [        S U 5       5      n[        S5        [        S5        UR                  5        H  u  p[        USU 3 SU	 35        M     [        S5        UR                  5        H  u  p[        USU 3 SU	 35        M     g! , (       d  f       g= f)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  8   #    U  H  n[        U5      v   M     g 7f)N)len).0xs     r   	<genexpr> show_versions.<locals>.<genexpr>   s     *TSVVTs   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_versionsri   _   sX   J H!D6d?JJ!!$**Qq"9:gs++++WdV<		!q) =< (8,d3333 *?;H%j1 -az:*T**$%"#NN$DAQqjMA3'( %b	JJLDAQqjMA3'( ! =<s   E&&
E4)returnz
str | None)rj   zdict[str, JSONSerializable])F)rb   z
str | boolrj   None)
__future__r   r[   rW   r#   r,   r!   r&   r+   typingr   pandas._typingr   pandas.compat._optionalr   r   r   r   r1   rE   ri    r2   r   <module>rq      sE    "    	   
  / +$,B?)r2   