Binary package “python-genshi” in ubuntu bionic

Python XML-based template engine - Python 2.x

 Genshi is a Python library that provides an integrated set of
 components for parsing, generating, and processing HTML or XML
 content in a uniform manner. The major feature is a template
 language, which is heavily inspired by Kid.
 .
 This is the Python 2 version.