Don't use this repo if you care about py2-support and support of freecad < 0.18. If so please have a look at the traditional workbench structure. This is a template for a FreeCAD workbench / module.
FreeCAD is built from scratch to be totally controlled by Python scripts. Almost all parts of FreeCAD, such as the interface, the scene contents, and even the representation of this content in the 3D ...