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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c4fab9db404002292c57e4ba734eed8bbb698ec57747673d2a9fdb5d0f474f8
|
|
| MD5 |
b182869cd0d4721127c9bc8be680a035
|
|
| BLAKE2b-256 |
edfa0a16c0dc8336eaf0db026591e7616da18634d977f82cc8e3d9ca9b43c415
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b48060baa1e7d78938edab8ffd97d34951c2eea2f366c85e4aaffc6dd424fd7
|
|
| MD5 |
b6a4a4873810bb2494dccd55b0b36f05
|
|
| BLAKE2b-256 |
0bcd3da7e8c9b57fe0b93e7d85deeb268225c9d60a7be8076c8e66ab1438af74
|