Skip to main content

HTML to PDF with Python-Jinja

Project description

# opportini_html2pdf Python microservice to generate PDF from HTML

## generate PDF from HTML directly PYTHONPATH=. python html2pdf_converter/converter.py –from_html 1 –html_file templates/void-report.html -o test.pdf -e 0

## generate PDF from template PYTHONPATH=. python html2pdf_converter/converter.py –from_html 0 -o test.pdf -e 0 –temp_html_base_dir /Users/phoenix/Documents/Projects/CI/HTMLs PYTHONPATH=. python html2pdf_converter/converter.py –from_html 0 -o test.pdf -e 0 –temp_html_base_dir ./HTMLs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opportini_pdfbuilder-0.3.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page