HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib/python3.10/site-packages/pathlib_mate/__init__.py
# -*- coding: utf-8 -*-

"""
pathlib_mate provide extensive methods, attributes for pathlib.
"""

from __future__ import print_function

from ._version import __version__

__short_description__ = "An extended and more powerful pathlib."
__license__ = "MIT"
__author__ = "Sanhe Hu"
__author_email__ = "husanhe@gmail.com"
__maintainer__ = "Sanhe Hu"
__maintainer_email__ = "husanhe@gmail.com"
__github_username__ = "MacHu-GWU"

import os

try:
    from .pathlib2 import Path, WindowsPath, PosixPath

    PathCls = WindowsPath if os.name == "nt" else PosixPath
except ImportError as e:  # pragma: no cover
    pass
except Exception as e:  # pragma: no cover
    print(e)