brk-code

platformdirs の API リファレンス

platformdirs (tox-dev/platformdirs) の公開 API 49 件 —— クラス 2、関数 32、メソッド 15。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: tox-dev/platformdirs

種別件数
クラス2
関数32
メソッド15

API 一覧

funcsrc.platformdirs.__main__.main() -> None
Run the main entry point.
classsrc.platformdirs.android.Android
Platform directories for Android.
methodsrc.platformdirs.android.Android.site_bin_dir() -> str
Bin directory shared by users, same as `user_bin_dir`.
methodsrc.platformdirs.android.Android.site_log_dir() -> str
Log directory shared by users, same as `user_log_dir`.
methodsrc.platformdirs.android.Android.user_bin_dir() -> str
Bin directory tied to the user, e.g.
methodsrc.platformdirs.android.Android.user_config_dir() -> str
Config directory tied to the user, e.g.
methodsrc.platformdirs.android.Android.user_data_dir() -> str
Data directory tied to the user, e.g.
methodsrc.platformdirs.android.Android.user_desktop_dir() -> str
Desktop directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_documents_dir() -> str
Documents directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_downloads_dir() -> str
Downloads directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_fonts_dir() -> str
Fonts directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_music_dir() -> str
Music directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_pictures_dir() -> str
Pictures directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_projects_dir() -> str
Projects directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_publicshare_dir() -> str
Public share directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_templates_dir() -> str
Templates directory tied to the user e.g.
methodsrc.platformdirs.android.Android.user_videos_dir() -> str
Videos directory tied to the user e.g.
classsrc.platformdirs.macos.MacOS
Platform directories for the macOS operating system.
funcsrc.platformdirs.site_bin_dir() -> str
:returns: bin directory shared by users
funcsrc.platformdirs.site_bin_path() -> Path
:returns: bin path shared by users
funcsrc.platformdirs.user_applications_dir() -> str
:returns: applications directory tied to the user
funcsrc.platformdirs.user_applications_path() -> Path
:returns: applications path tied to the user
funcsrc.platformdirs.user_bin_dir() -> str
:returns: bin directory tied to the user
funcsrc.platformdirs.user_bin_path() -> Path
:returns: bin path tied to the user
funcsrc.platformdirs.user_desktop_dir() -> str
:returns: desktop directory tied to the user
funcsrc.platformdirs.user_desktop_path() -> Path
:returns: desktop path tied to the user
funcsrc.platformdirs.user_documents_dir() -> str
:returns: documents directory tied to the user
funcsrc.platformdirs.user_documents_path() -> Path
:returns: documents path tied to the user
funcsrc.platformdirs.user_downloads_dir() -> str
:returns: downloads directory tied to the user
funcsrc.platformdirs.user_downloads_path() -> Path
:returns: downloads path tied to the user
funcsrc.platformdirs.user_fonts_dir() -> str
:returns: fonts directory tied to the user
funcsrc.platformdirs.user_fonts_path() -> Path
:returns: fonts path tied to the user
funcsrc.platformdirs.user_music_dir() -> str
:returns: music directory tied to the user
funcsrc.platformdirs.user_music_path() -> Path
:returns: music path tied to the user
funcsrc.platformdirs.user_pictures_dir() -> str
:returns: pictures directory tied to the user
funcsrc.platformdirs.user_pictures_path() -> Path
:returns: pictures path tied to the user
funcsrc.platformdirs.user_preference_dir() -> str
:returns: preference directory tied to the user
funcsrc.platformdirs.user_preference_path() -> Path
:returns: preference path tied to the user
funcsrc.platformdirs.user_projects_dir() -> str
:returns: projects directory tied to the user
funcsrc.platformdirs.user_projects_path() -> Path
:returns: projects path tied to the user
funcsrc.platformdirs.user_publicshare_dir() -> str
:returns: public share directory tied to the user
funcsrc.platformdirs.user_publicshare_path() -> Path
:returns: public share path tied to the user
funcsrc.platformdirs.user_templates_dir() -> str
:returns: templates directory tied to the user
funcsrc.platformdirs.user_templates_path() -> Path
:returns: templates path tied to the user
funcsrc.platformdirs.user_videos_dir() -> str
:returns: videos directory tied to the user
funcsrc.platformdirs.user_videos_path() -> Path
:returns: videos path tied to the user
funcsrc.platformdirs.windows.get_win_folder_from_env_vars(csidl_name:str) -> str
Get folder from environment variables.
funcsrc.platformdirs.windows.get_win_folder_from_registry(csidl_name:str) -> str
Get folder from the registry.
funcsrc.platformdirs.windows.get_win_folder_via_ctypes(csidl_name:str) -> str
Get folder via :func:`SHGetKnownFolderPath`.

この情報について

掲載しているシグネチャは tox-dev/platformdirs の公開ソースコードを Python の ast モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る