GRAYBYTE WORDPRESS FILE MANAGER8830

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/platformdirs/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/platformdirs//__main__.py
from pip._vendor.platformdirs import PlatformDirs, __version__

PROPS = (
    "user_data_dir",
    "user_config_dir",
    "user_cache_dir",
    "user_state_dir",
    "user_log_dir",
    "user_documents_dir",
    "user_runtime_dir",
    "site_data_dir",
    "site_config_dir",
)


def main() -> None:
    app_name = "MyApp"
    app_author = "MyCompany"

    print(f"-- platformdirs {__version__} --")

    print("-- app dirs (with optional 'version')")
    dirs = PlatformDirs(app_name, app_author, version="1.0")
    for prop in PROPS:
        print(f"{prop}: {getattr(dirs, prop)}")

    print("\n-- app dirs (without optional 'version')")
    dirs = PlatformDirs(app_name, app_author)
    for prop in PROPS:
        print(f"{prop}: {getattr(dirs, prop)}")

    print("\n-- app dirs (without optional 'appauthor')")
    dirs = PlatformDirs(app_name)
    for prop in PROPS:
        print(f"{prop}: {getattr(dirs, prop)}")

    print("\n-- app dirs (with disabled 'appauthor')")
    dirs = PlatformDirs(app_name, appauthor=False)
    for prop in PROPS:
        print(f"{prop}: {getattr(dirs, prop)}")


if __name__ == "__main__":
    main()

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:59:03
root / linksafe
0755
__pycache__
--
March 03 2024 22:59:03
root / linksafe
0755
__init__.py
12.558 KB
November 13 2023 22:00:31
root / linksafe
0644
__main__.py
1.113 KB
November 13 2023 22:00:31
root / linksafe
0644
android.py
3.9 KB
November 13 2023 22:00:31
root / linksafe
0644
api.py
4.807 KB
November 13 2023 22:00:31
root / linksafe
0644
macos.py
2.558 KB
November 13 2023 22:00:31
root / linksafe
0644
unix.py
6.743 KB
November 13 2023 22:00:31
root / linksafe
0644
version.py
0.078 KB
November 13 2023 22:00:31
root / linksafe
0644
windows.py
6.266 KB
November 13 2023 22:00:31
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF