module
- module(key, *subkeys, ensure_exists=True)[source]
Return a module for the application.
- Parameters:
key (
str
) – The name of the module. No funny characters. The envvar <key>_HOME where key is uppercased is checked first before using the default home directory.subkeys (
str
) – A sequence of additional strings to join. If none are given, returns the directory for this module.ensure_exists (
bool
) – Should all directories be created automatically? Defaults to true.
- Return type:
- Returns:
The module object that manages getting and ensuring