Skip to main content

Fast HTML to PDF conversion using Playwright

Project description

html2pdf

🚀 Fast, modern HTML → PDF conversion for Python
Built on Playwright (Chromium) for perfect rendering of:

  • ✅ Unicode
  • ✅ Emojis 😄🔥
  • ✅ Hindi / Arabic / RTL languages
  • ✅ Modern CSS & web fonts
  • ✅ Tables, layouts, and page breaks

Designed to work reliably on Windows without GTK / Pango / system DLL headaches.


✨ Features

  • 📄 Convert HTML files to PDF
  • 🧠 Convert HTML strings to PDF (in-memory)
  • ⚡ Reuses Chromium for high performance
  • 🖥️ CLI support (html2pdf demo.html out.pdf)
  • 🐍 Python import support
  • 🌍 Multi-language & emoji safe
  • ❌ No WeasyPrint / GTK dependencies

📦 Installation (local / development)

pip install .

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

gmakepdf-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gmakepdf-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file gmakepdf-0.1.0.tar.gz.

File metadata

  • Download URL: gmakepdf-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for gmakepdf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c4fab9db404002292c57e4ba734eed8bbb698ec57747673d2a9fdb5d0f474f8
MD5 b182869cd0d4721127c9bc8be680a035
BLAKE2b-256 edfa0a16c0dc8336eaf0db026591e7616da18634d977f82cc8e3d9ca9b43c415

See more details on using hashes here.

File details

Details for the file gmakepdf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gmakepdf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for gmakepdf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b48060baa1e7d78938edab8ffd97d34951c2eea2f366c85e4aaffc6dd424fd7
MD5 b6a4a4873810bb2494dccd55b0b36f05
BLAKE2b-256 0bcd3da7e8c9b57fe0b93e7d85deeb268225c9d60a7be8076c8e66ab1438af74

See more details on using hashes here.

Supported by

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