Python: Create automated strictly-designed multi-page .pdf report from .html : <p>What are good Python-based options to create strictly designed .pdf reports from .html?</p>

<p>I've attached a draft .pdf to illustrate the following points:</p>

<ul>
<li>The design of the report is rather strictly designed. In other words "Looks matter".</li>
<li>The report contains complex vector graphics (package: <a href="http://matplotlib.org/" rel="noreferrer">Matplotlib</a>).These may slightly differ in size .</li>
<li>The report contains images.</li>
<li>The report contains a large number of numbers / strings filled in dynamically.</li>
<li>Optimally, the solution would use open source packages.</li>
<li>We create our .html with <a href="https://www.djangoproject.com/" rel="noreferrer">Django</a>.</li>
<li>The report may span multiple pages.</li>
</ul>

<p>It looks as if there was already a good amount of very diverse packages facilitating reporting. Just to name a few, there are <a href="https://github.com/xhtml2pdf/xhtml2pdf" rel="noreferrer">xhtml2pdf</a>, <a href="http://weasyprint.org/" rel="noreferrer">weasyprint</a>, <a href="https://djangopackages.org/packages/p/django-wkhtmltopdf/" rel="noreferrer">django-wkhtmltopdf</a>.</p>

<p>In my experience, it’s easy with these tools to create a .pdf from your content. The hard part comes when the .pdf needs to fall into a highly-defined design structure as in our case. Unfortunately, I was not able to find example .pdfs for the different pdf generation packages that have a highly designed structure.</p>

<p>What is your experience with this? Which options worked well for you? Are there well done complex examples that I’ve overlooked?</p>

<p><a href="https://i.stack.imgur.com/GM8cl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GM8cl.png" alt="Some example of a strictly-designed &quot;Looks matter&quot; report"></a></p>
