Python script that takes a layout from the Keyboard Layout Editor and generates a KiCad project with partly routed PCB design
Intro to klepcbgen.