Static site generator in python