Source code for snsxt.util.template

#!/usr/bin/env python
"""
Template Python script
"""
# ~~~~ LOGGING ~~~~~~ #
import logging
logger = logging.getLogger("template")
logger.debug("loading template module")

# ~~~~ LOAD PACKAGES ~~~~~~ #
import os
import sys


# ~~~~ CUSTOM CLASSES ~~~~~~ #
[docs]class Container(object): """ basic container for information """ pass
# ~~~~ CUSTOM FUNCTIONS ~~~~~~ #
[docs]def main(): """ Main control function for the program """
[docs]def run(): """ Run the monitoring program arg parsing goes here, if program was run as a script """ main()
if __name__ == "__main__": run()