apache_conf_parser is an Apache conf parser library for Python. This is probably overkill, but does give a basis for writing custom nodes that can do better validation and parsing of their parts.
Currently the module is not really documented, and the test module is incomplete. However, the functionality is pretty much all there. Just wanted to get it out there. This was written for Python 2.7, but it will probably mostly work with 3.