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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: opportini_pdfbuilder-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ef07b0bf2caa6bea32a29d5695bcfa09117503b2506f2e0a49cb34d79a040fc6
MD5 f009c49a5fc003d7da061282ebf5cda1
BLAKE2b-256 f7b360b8b6ccf42d5a2bd1148f71b33359b264ba9996252cc1659394ac5fefe0

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