httk.core.userdirs

Provide per-user httk configuration and data directories.

Use XDG configuration and data conventions by default: configuration lives under ~/.config/httk and data under ~/.local/share/httk. The HTTK_CONFIG_HOME and HTTK_DATA_HOME environment variables override those directories.

Functions

config_home()

Return the httk configuration directory.

data_home()

Return the httk data directory.

Module Contents

httk.core.userdirs.config_home()[source]

Return the httk configuration directory.

Returns:

Resolved per-user configuration directory.

Return type:

pathlib.Path

httk.core.userdirs.data_home()[source]

Return the httk data directory.

Returns:

Resolved per-user data directory.

Return type:

pathlib.Path