Handlers

class EfosHandler(options=None)
static add_arguments(cap)

Called durning server start. Used to add options to the config file/args/env.

archive(src_filename)

Function run on the source pdf after parsing is complete.

Parameters:src_filenamestring
process(file)

Function run on each parsed file.

Parameters:fileFile
setup()

Called after __init__. Used to perform global handler actions.

class FileHandler(options=None)

FileHanlder is used to save the parsed files to a file system directory.

class HttpHandler(options=None)
get_form_data(file)

Returns the combined form data from Options and the scanned efos barcode.

Parameters:fileFile
Returns:dict