html2png
Overview
A Python library and command-line utility to rasterize an HTML page into a PNG file.
TL;DR
Installation:
pip install html2png
Command-line usage:
html2png {URL} > output.png
Python usage:
import html2png
png = html2png.render('<html><body><p>Hello, world!</p></body></html>')
png = html2png.render_url('http://example.com/')
Metadata
Release files for html2png 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| html2png-0.0.2.tar.gz | 15.0 kB | Details |
Release files / html2png-0.0.2.tar.gz
| Download URL | html2png-0.0.2.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9f1da0c33d6116d5565f4d9a819e3a3e5e35ef394fdd040f32190f96b5b9041
|
|
BLAKE2b-256 checksum How to use checksums |
0fad33a328c81cb7c53b1f3d9ef47efcf2b700bfd9c4ae34a624b716b1b5c9dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|