watchme.config package

Module contents

Copyright (C) 2019 Vanessa Sochat.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at


a general helper function to check for existence, and exit if not found.

watchme.config.generate_watcher_config(path, watcher_type=None)[source]

generate a watcher config, meaning a watcher folder in the watchme base folder.


path (the path to the watcher repository)

watchme.config.get_configfile(name, base=None)[source]

return the full path to a specific watcher configuration


return the full path to the default configuration file


use configparser to write a config object to filename

watchme.config.write_config(filename, config, mode='w')[source]

use configparser to write a config object to filename