Netlist for PADS-pcb

i found a old post, it seem someone write a py file to solve this problem, but it is under the kicad4, i
will check whether it will work well in kicad5