Genshi is a Python library that provides an integrated set of 
components for parsing, generating, and processing HTML, XML 
or other textual content for output generation on the web

To build Genshi, you will need to install the Python
setuptools package, available at SlackBuilds.org as
pysetuptools.