friendlypins.scripts.webp2jpeg module

Command line tool for converting webp images into jpegs

WARNING This is a prototype, that needs to be more fully tested before it should be considered production ready.

friendlypins.scripts.webp2jpeg.configure_logging(verbosity)[source]

Configures the global logger for the application

Parameters:verbosity (int) – numeric value for the verbosity level for the log the larger the number, the more verbose the output
friendlypins.scripts.webp2jpeg.get_args(args)[source]

Helper method used to parse command line parameters

Parameters:args (str) – optional command line arguements to be parsed if not provided, args will be parsed from the console
Returns:parsed arguments
Return type:argparse.Namespace
friendlypins.scripts.webp2jpeg.main(args=None)[source]

Entry point function

Params str args:
 sample command line parameters to use when launching the tool used for debug and testing purposes only When not provided, arguments will be parsed from the command line
Returns:error code produced by completing the given operation
Return type:int