Python port of clojure enlive library for html transformation