Retopology script help

Hi , does anyone know how I can create a script that does the same thing as this video?

Moved from “Released Scripts and Themes” to “Python Support”