{
"info": {
"author": "chenzhun",
"author_email": "863657500@qq.com",
"bugtrack_url": null,
"classifiers": [
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3"
],
"description": "This is a simple wrapper of the QWebEngineView(PyQt5) class.
\nIt's base on the client/server model.\n
Errors will occur if the version of PyQt5 is too high.Cause PyQt5.QtWebEngineWidgets not exist.
\n\tpip install PyQt5==5.10.1\n
\n\t#! -*- coding:utf-8 -*-\n\tfrom webpage2pdf import RenderManager\t\t\n\t#must start from __main__\n\tif __name__=='__main__':\n\t\trm=RenderManager()\n\t\trm.addRender(num=2,showUI=True)\n\t\trm.from_url('http://www.baidu.com/','0.pdf')\n\t\trm.from_html(\"Hello World!\",'1.pdf')\n\t\t#rm.from_localFile('html/test.html','2.pdf')\n\t\tprint('start.')\n\t\trm.waitFinish()\n\t\tprint('finish all.')\t\t\n\t\n