Skip to content

bernadette-burks/HTMLPDFConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HTML to PDF Converter πŸ—‚οΈ

Python Library UI Status

A lightweight Python utility that converts webpages into PDF files using pyhtml2pdf.


πŸ‘©β€πŸ’» Author

Bernadette Burks
Created: May 7, 2026


πŸ“Œ Table of Contents


πŸ“– Overview

This script converts a webpage into a PDF file and saves it locally on your machine.

It includes:

  • automatic installation check for required libraries
  • a simulated progress bar for user feedback
  • error handling for missing modules
  • a sample conversion using NASA’s image page

✨ Features

  • 🌐 Convert any webpage to PDF
  • πŸ“ Automatically saves to your Downloads folder
  • πŸ“Š Progress bar for installation + conversion steps
  • βš™οΈ Handles missing dependencies gracefully
  • πŸ§ͺ Includes example URL (NASA images page)

πŸ“¦ Requirements

Install dependencies before running:

pip install pyhtml2pdf tqdm

About

A lightweight Python utility that converts webpages into PDF files using pyhtml2pdf πŸ—‚οΈ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages