lib_to_json liberty to json converter based on https://codeberg.org/tok/liberty-parser/src/branch/master usage: from LibToJson import lib_to_json liberty_file='way/to/lib/file' json_file='way/to/new/json/file' lib_to_json(liberty_file, json_file)