While it does convert excel to json from command line, if used as a module it does not convert anything. This is my code: import excel2json file = "path_to_file" data = excel2json.convert_from_file(file) print(data) >>>None