Contribute Media
A thank you to everyone who makes this possible: Read More

PyYAML, ElementTree, and Liquibase

Description

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.

Details

Improve this page