title: How to generate a PDF with a given template, with dynamic data in Python or NodeJS to be deployed on AWS
body: <p>Looking for recommendation of a library in Python(first preference) or NodeJS that can generate a pdf file preferably from dynamic html template to be run in AWS. Requirement is to generate invoice pdf to be sent to customers.</p>
  
  <p>Have come across below 2 Node libraries:</p>
  
  <ul>
  <li>PDFKit </li>
  <li>jsPDF</li>
  </ul>
  
  <p>Here we might have to deal with numbers for X and Y. </p>
  
  <p>Better approach would be something where we can simply use html/css to generate template with placeholders which can be replaced with dynamic data(coming from database query).
  Any suggestions would be appreciated.</p>
  
  <p>Thanks!</p>