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.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file opportini_pdfbuilder-0.3.0.tar.gz.

File metadata

  • Download URL: opportini_pdfbuilder-0.3.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.11

File hashes

Hashes for opportini_pdfbuilder-0.3.0.tar.gz
Algorithm Hash digest
SHA256 056c3058af3768b5e6e4bf689c4277e186ad334f0dd15258bd89d58d70eb3c04
MD5 1082bd0410f7f7d270e3b5573ea012e2
BLAKE2b-256 62973d47a81b12658d12ef562ddf3617cf5ec3af7eb5e0cecb2a7dfdffb19f9e

See more details on using hashes here.

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