HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/platformdirs/__pycache__/__init__.cpython-37.pyc
B

Ĥ�aH1�@sVdZddlmZddlZddlZddlZddlmZddlm	Z	e	rPddl
mZddlm
Z
dd	lmZmZd
d�dd
�Ze�ZeZdAdddddd�dd�ZdBdddddd�dd�ZdCdddddd�dd�ZdDdddddd�dd�ZdEdddddd�dd �ZdFdddddd�d!d"�ZdGdddddd�d#d$�Zdd�d%d&�ZdHdddddd�d'd(�ZdIddddd)d�d*d+�ZdJddddd)d�d,d-�ZdKddddd)d�d.d/�ZdLddddd)d�d0d1�Z dMddddd)d�d2d3�Z!dNddddd)d�d4d5�Z"dOddddd)d�d6d7�Z#d)d�d8d9�Z$dPddddd)d�d:d;�Z%d<d=d>d?d@ddd d"d$d&d(ddd+d/d3d5d7d9d;d-d1gZ&dS)Qz�
Utilities for determining application-specific dirs. See <https://github.com/platformdirs/platformdirs> for details and
usage.
�)�annotationsN)�Path)�
TYPE_CHECKING)�Literal�)�PlatformDirsABC)�__version__�__version_info__ztype[PlatformDirsABC])�returncCsjt�d�dkr&t�d�dkr&d\}}n0tjdkr:d\}}ntjdkrNd	\}}nd
\}}tt�|�|�}|S)NZANDROID_DATAz/dataZANDROID_ROOTz/system)zplatformdirs.androidZAndroidZwin32)zplatformdirs.windowsZWindows�darwin)zplatformdirs.macosZMacOS)zplatformdirs.unixZUnix)�os�getenv�sys�platform�getattr�	importlib�
import_module)�module�name�result�r�F/opt/alt/python37/lib/python3.7/site-packages/platformdirs/__init__.py�_set_platform_dir_classs




rFz
str | Nonezstr | None | Literal[False]�bool�str)�appname�	appauthor�version�roamingr
cCst||||d�jS)aq
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: data directory tied to the user
    )rrrr)�PlatformDirs�
user_data_dir)rrrrrrrr %s
r )rrr�	multipathr
cCst||||d�jS)at
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: data directory shared by users
    )rrrr!)r�
site_data_dir)rrrr!rrrr"5s
r"cCst||||d�jS)as
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: config directory tied to the user
    )rrrr)r�user_config_dir)rrrrrrrr#Es
r#cCst||||d�jS)az
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: config directory shared by the users
    )rrrr!)r�site_config_dir)rrrr!rrrr$Us
r$T)rrr�opinionr
cCst||||d�jS)ar
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: cache directory tied to the user
    )rrrr%)r�user_cache_dir)rrrr%rrrr&es
r&cCst||||d�jS)ar
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: state directory tied to the user
    )rrrr)r�user_state_dir)rrrrrrrr'us
r'cCst||||d�jS)ap
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: log directory tied to the user
    )rrrr%)r�user_log_dir)rrrr%rrrr(�s
r(cCst�jS)z8
    :returns: documents directory tied to the user
    )r�user_documents_dirrrrrr)�sr)cCst||||d�jS)at
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: runtime directory tied to the user
    )rrrr%)r�user_runtime_dir)rrrr%rrrr*�s
r*rcCst||||d�jS)al
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: data path tied to the user
    )rrrr)r�user_data_path)rrrrrrrr+�s
r+cCst||||d�jS)aq
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `multipath <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: data path shared by users
    )rrrr!)r�site_data_path)rrrr!rrrr,�s
r,cCst||||d�jS)an
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: config path tied to the user
    )rrrr)r�user_config_path)rrrrrrrr-�s
r-cCst||||d�jS)au
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: config path shared by the users
    )rrrr!)r�site_config_path)rrrr!rrrr.�s
r.cCst||||d�jS)am
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: cache path tied to the user
    )rrrr%)r�user_cache_path)rrrr%rrrr/�s
r/cCst||||d�jS)am
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: state path tied to the user
    )rrrr)r�user_state_path)rrrrrrrr0�s
r0cCst||||d�jS)ak
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: log path tied to the user
    )rrrr%)r�
user_log_path)rrrr%rrrr1s
r1cCst�jS)z3
    :returns: documents path tied to the user
    )r�user_documents_pathrrrrr2sr2cCst||||d�jS)ao
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: runtime path tied to the user
    )rrrr%)r�user_runtime_path)rrrr%rrrr3#s
r3rr	r�AppDirsr)NNNF)NNNF)NNNF)NNNF)NNNT)NNNF)NNNT)NNNT)NNNF)NNNF)NNNF)NNNF)NNNT)NNNF)NNNT)NNNT)'�__doc__Z
__future__rrrrZpathlibr�typingrZtyping_extensionsrZapirrrr	rrr4r r"r#r$r&r'r(r)r*r+r,r-r.r/r0r1r2r3�__all__rrrr�<module>s�