archivebox.config.collection
Module Contents
Functions
get the up-to-date canonical name for a given old alias or current key |
|
parse bool, int, and str key=value pairs from env |
|
load the ini-formatted config file from DATA_DIR/Archivebox.conf |
|
load the ini-formatted config file from DATA_DIR/Archivebox.conf |
|
API
- archivebox.config.collection.get_real_name(key: str) str [source]
get the up-to-date canonical name for a given old alias or current key
- archivebox.config.collection.load_config_val(key: str, default: Any = None, type: Optional[Type] = None, aliases: Optional[Tuple[str, ...]] = None, config: Optional[benedict.benedict] = None, env_vars: Optional[os._Environ] = None, config_file_vars: Optional[Dict[str, str]] = None) Any [source]
parse bool, int, and str key=value pairs from env
- archivebox.config.collection.load_config_file() Optional[benedict.benedict] [source]
load the ini-formatted config file from DATA_DIR/Archivebox.conf
- archivebox.config.collection.write_config_file(config: Dict[str, str]) benedict.benedict [source]
load the ini-formatted config file from DATA_DIR/Archivebox.conf