Python library for creating and manipulating HTML documents using an elegant DOM API