Html2pdf.Batch processing.
Project description
#webpage2pdf
This is a simple wrapper of the QWebEngineView(PyQt5) class. It's base on the client/server model.
Usage
#! -*- coding:utf-8 -*- from webpage2pdf import RenderManager #must start from __main__ if __name__=='__main__': rm=RenderManager() rm.addRender(num=2,showUI=True) rm.from_url('http://www.baidu.com/','0.pdf') rm.from_html("Hello World!",'1.pdf') #rm.from_localFile('html/test.html','3.pdf') print('start.') rm.waitFinish() print('finish all.')
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
webpage2pdf-1.1.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for webpage2pdf-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb7f9cbab00a551ba1c36e3ce7904feddb0c8034407ff6758e074c63f07e7220 |
|
MD5 | b86524043463f97c370736c9817582c5 |
|
BLAKE2b-256 | 5eb02be4588dbbec179768ce37be209cbb4177bca08287095951815d0ef27c7a |