def _repr_html_():
    """This allows to easily display a version snippet in Jupyter."""
    from bonobo.commands.version import get_versions

    return (
        '<div style="padding: 8px;">'
        '  <div style="float: left; width: 20px; height: 20px;">{}</div>'
        '  <pre style="white-space: nowrap; padding-left: 8px">{}</pre>'
        "</div>"
    ).format(__logo__, "<br/>".join(get_versions(all=True)))
def _repr_html_ ( ) : from bonobo . commands . version import get_versions return ( '<div style="padding: 8px;">' '  <div style="float: left; width: 20px; height: 20px;">{}</div>' '  <pre style="white-space: nowrap; padding-left: 8px">{}</pre>' "</div>" ) . format ( __logo__ , "<br/>" . join ( get_versions ( all = True ) ) )
This allows to easily display a version snippet in Jupyter.