A standalone Python tool that generates PDFs from HTML files or live webpages. It’s for developers who need to automate report generation or document archiving without external services. The key benefit is a single, dependency-free executable that works anywhere.
Features
- Convert local HTML files to PDF
- Fetch and convert live URLs to PDF
- Set custom page size and margins
- Add headers and footers with page numbers
- Run as a CLI tool or import as a Python library
Usage
html_to_pdf convert --input report.html --output report.pdf --format A4
Requirements
Python 3.8+. Install dependencies:
pip install -r requirements.txt
Download
Buy once, download immediately. ZIP includes the full script, README, and usage examples.
License
Personal & Commercial Use. You may use this tool in your own personal and commercial projects. Redistribution or resale of the source code is not permitted.