simplekml is a python package which enables you to generate KML with as little effort as possible.