Python Digital Forensics Cookbook
上QQ阅读APP看书,第一时间看更新

Getting started

This recipe introduces HTML templating with the jinja2 module. The jinja2 library is a very powerful tool and has a number of different documented features. We will be using it in a rather simple scenario. All other libraries used in this script are present in Python's standard library. We can use pip to install jinja2:

pip install jinja2==2.9.6

In addition to jinja2, we will also be using a slightly modified template, called light bootstrap dashboard. This slightly modified dashboard has been provided with the recipe's code bundle.

To learn more about the jinja2 library, visit http://jinja.pocoo.org/docs/2.9/.
To download the light bootstrap dashboard, visit https://www.creative-tim.com/product/light-bootstrap-dashboard.