PyTexas 2013

PyYAML, ElementTree, and Liquibase

Walker Hale

This talk will cover two libraries:

* xml.etree.ElementTree - part of the standard library for parsing, manipulating, or generating XML
* PyYAML - for parsing or generating YAML (and JSON)

We will demonstrate the benefits of both libraries, and then demonstrate how the combination of the two allows writing YAML for situations where hand-generated XML is required but tedious. The practical example is Liquibase, a product that uses user-generated XML to make gradual changes to database schema.

Status: Accepted