platform#

Functions:

is_localhost(hostname)

Check if a hostname refers to the current host.

user_config_path()

config directory tied to the user, e.g. ~/.config or $XDG_CONFIG_HOME.

is_localhost(hostname: str) bool#

Check if a hostname refers to the current host.

user_config_path() Path#

config directory tied to the user, e.g. ~/.config or $XDG_CONFIG_HOME