Python-based literate programming tool