Parsing Apache-like configs in Python
While working on partial updates for multiple old versions I had a need to parse our patcher config files with Python. These files are close to Apache-style configs except more liberal with the naming of nodes. I was pretty surprised when I couldn't quickly find a library that parsed them. I tried various XML/HTML parser (BeautifulSoup, lxml, minidom) but they all choked pretty quickly. Eventually I came across apache_conf_parser which sounded pretty promising! It complained at first about some of our node names, but a small code change allowed it to parse them correctly. I've published my changes to a git repository at https://github.com/bhearsum/apache_conf_parser in case anyone ever needs them.