dataframe ipython jupyter-notebook pandas python

Rendering a pandas dataframe as HTML with same styling as Jupyter Notebook

I would like to render a pandas dataframe to HTML in the same way as the Jupyter Notebook does it, i.e. with all the bells and wistles like nice looking styling, column highlighting, and column sorting on click.

enter image description here

pandas.to_html outputs just a plain HTML table and requires manual styling etc.

Is the dataframe rendering code used by jupyter available as a standalone module that can be used in any web app?

Also, are the assets such as js/css files decoupled from jupyter so that they can be easily reused?