platformdirs の API リファレンス
platformdirs (tox-dev/platformdirs) の公開 API 49 件 —— クラス 2、関数 32、メソッド 15。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: tox-dev/platformdirs
| 種別 | 件数 |
|---|---|
| クラス | 2 |
| 関数 | 32 |
| メソッド | 15 |
API 一覧
func
src.platformdirs.__main__.main() -> NoneRun the main entry point.
class
src.platformdirs.android.AndroidPlatform directories for Android.
method
src.platformdirs.android.Android.site_bin_dir() -> strBin directory shared by users, same as `user_bin_dir`.
method
src.platformdirs.android.Android.site_log_dir() -> strLog directory shared by users, same as `user_log_dir`.
method
src.platformdirs.android.Android.user_bin_dir() -> strBin directory tied to the user, e.g.
method
src.platformdirs.android.Android.user_config_dir() -> strConfig directory tied to the user, e.g.
method
src.platformdirs.android.Android.user_data_dir() -> strData directory tied to the user, e.g.
method
src.platformdirs.android.Android.user_desktop_dir() -> strDesktop directory tied to the user e.g.
method
src.platformdirs.android.Android.user_documents_dir() -> strDocuments directory tied to the user e.g.
method
src.platformdirs.android.Android.user_downloads_dir() -> strDownloads directory tied to the user e.g.
method
src.platformdirs.android.Android.user_fonts_dir() -> strFonts directory tied to the user e.g.
method
src.platformdirs.android.Android.user_music_dir() -> strMusic directory tied to the user e.g.
method
src.platformdirs.android.Android.user_pictures_dir() -> strPictures directory tied to the user e.g.
method
src.platformdirs.android.Android.user_projects_dir() -> strProjects directory tied to the user e.g.
method
src.platformdirs.android.Android.user_publicshare_dir() -> strPublic share directory tied to the user e.g.
method
src.platformdirs.android.Android.user_templates_dir() -> strTemplates directory tied to the user e.g.
method
src.platformdirs.android.Android.user_videos_dir() -> strVideos directory tied to the user e.g.
class
src.platformdirs.macos.MacOSPlatform directories for the macOS operating system.
func
src.platformdirs.site_bin_dir() -> str:returns: bin directory shared by users
func
src.platformdirs.site_bin_path() -> Path:returns: bin path shared by users
func
src.platformdirs.user_applications_dir() -> str:returns: applications directory tied to the user
func
src.platformdirs.user_applications_path() -> Path:returns: applications path tied to the user
func
src.platformdirs.user_bin_dir() -> str:returns: bin directory tied to the user
func
src.platformdirs.user_bin_path() -> Path:returns: bin path tied to the user
func
src.platformdirs.user_desktop_dir() -> str:returns: desktop directory tied to the user
func
src.platformdirs.user_desktop_path() -> Path:returns: desktop path tied to the user
func
src.platformdirs.user_documents_dir() -> str:returns: documents directory tied to the user
func
src.platformdirs.user_documents_path() -> Path:returns: documents path tied to the user
func
src.platformdirs.user_downloads_dir() -> str:returns: downloads directory tied to the user
func
src.platformdirs.user_downloads_path() -> Path:returns: downloads path tied to the user
func
src.platformdirs.user_fonts_dir() -> str:returns: fonts directory tied to the user
func
src.platformdirs.user_fonts_path() -> Path:returns: fonts path tied to the user
func
src.platformdirs.user_music_dir() -> str:returns: music directory tied to the user
func
src.platformdirs.user_music_path() -> Path:returns: music path tied to the user
func
src.platformdirs.user_pictures_dir() -> str:returns: pictures directory tied to the user
func
src.platformdirs.user_pictures_path() -> Path:returns: pictures path tied to the user
func
src.platformdirs.user_preference_dir() -> str:returns: preference directory tied to the user
func
src.platformdirs.user_preference_path() -> Path:returns: preference path tied to the user
func
src.platformdirs.user_projects_dir() -> str:returns: projects directory tied to the user
func
src.platformdirs.user_projects_path() -> Path:returns: projects path tied to the user
func
src.platformdirs.user_publicshare_dir() -> str:returns: public share directory tied to the user
func
src.platformdirs.user_publicshare_path() -> Path:returns: public share path tied to the user
func
src.platformdirs.user_templates_dir() -> str:returns: templates directory tied to the user
func
src.platformdirs.user_templates_path() -> Path:returns: templates path tied to the user
func
src.platformdirs.user_videos_dir() -> str:returns: videos directory tied to the user
func
src.platformdirs.user_videos_path() -> Path:returns: videos path tied to the user
func
src.platformdirs.windows.get_win_folder_from_env_vars(csidl_name:str) -> strGet folder from environment variables.
func
src.platformdirs.windows.get_win_folder_from_registry(csidl_name:str) -> strGet folder from the registry.
func
src.platformdirs.windows.get_win_folder_via_ctypes(csidl_name:str) -> strGet folder via :func:`SHGetKnownFolderPath`.
この情報について
掲載しているシグネチャは tox-dev/platformdirs の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。