Dexy"Dexy helps your code to speak for itself. Show off your code with beautiful syntax highlighting. Write examples and Dexy will run them, inserting the output into any document you wish. Everything is based on live code, so updating is easy, syntax errors blow up on you, not your users, and typos are a thing of the past. With Dexy's smart caching, your code is only executed when it needs updating, saving you time while keeping your documents robust."
"Dexy is flexible enough not just to generate your documents with their dynamic content, but to do a lot more project automation and integration besides. Dexy's filters are able to run any Python code you want, so that means they can do things like interact with remote APIs, construct .tgz archives of generated files, or pretty much anything else you can think of. You aren't even limited to Python, Dexy filters can wrap an executable or run code written in another language, so you can do just about anything."