lexoid 0.1.11__py3-none-any.whl → 0.1.11.post1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lexoid/core/utils.py +4 -1
- {lexoid-0.1.11.dist-info → lexoid-0.1.11.post1.dist-info}/METADATA +1 -1
- lexoid-0.1.11.post1.dist-info/RECORD +9 -0
- lexoid-0.1.11.dist-info/RECORD +0 -9
- {lexoid-0.1.11.dist-info → lexoid-0.1.11.post1.dist-info}/LICENSE +0 -0
- {lexoid-0.1.11.dist-info → lexoid-0.1.11.post1.dist-info}/WHEEL +0 -0
lexoid/core/utils.py
CHANGED
@@ -473,7 +473,10 @@ def save_webpage_as_pdf(url: str, output_path: str) -> str:
|
|
473
473
|
Returns:
|
474
474
|
str: The path to the saved PDF file.
|
475
475
|
"""
|
476
|
-
|
476
|
+
if not QApplication.instance():
|
477
|
+
app = QApplication(sys.argv)
|
478
|
+
else:
|
479
|
+
app = QApplication.instance()
|
477
480
|
web = QWebEngineView()
|
478
481
|
web.load(QUrl(url))
|
479
482
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
lexoid/api.py,sha256=CIZBNvh38PJbD0OwK1Mp0qqkWxkAEBw2L_FkoCmagXA,9288
|
2
|
+
lexoid/core/parse_type/llm_parser.py,sha256=XfsN6RAtb14p31U2jL-9QyRKpkNAGXXiK3urWJIFi2U,10625
|
3
|
+
lexoid/core/parse_type/static_parser.py,sha256=j3khirFnXq2j3IFEu0TsYWA5sHMpe_oQLFM9Uv3hScM,14100
|
4
|
+
lexoid/core/prompt_templates.py,sha256=svSMH0yhm6ZjtOeTtUUEiCYi81ebVY9EZKPKP0Q921o,6311
|
5
|
+
lexoid/core/utils.py,sha256=ZB-HnSsQLmbg0zx1uHlIDnLuitENylRVCIt1nVcYrCc,19657
|
6
|
+
lexoid-0.1.11.post1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
7
|
+
lexoid-0.1.11.post1.dist-info/METADATA,sha256=b_XJEbQBQuvYNkEkJY1CYByVj1BMayP2g1H_Ybjo0VU,4844
|
8
|
+
lexoid-0.1.11.post1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
9
|
+
lexoid-0.1.11.post1.dist-info/RECORD,,
|
lexoid-0.1.11.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
lexoid/api.py,sha256=CIZBNvh38PJbD0OwK1Mp0qqkWxkAEBw2L_FkoCmagXA,9288
|
2
|
-
lexoid/core/parse_type/llm_parser.py,sha256=XfsN6RAtb14p31U2jL-9QyRKpkNAGXXiK3urWJIFi2U,10625
|
3
|
-
lexoid/core/parse_type/static_parser.py,sha256=j3khirFnXq2j3IFEu0TsYWA5sHMpe_oQLFM9Uv3hScM,14100
|
4
|
-
lexoid/core/prompt_templates.py,sha256=svSMH0yhm6ZjtOeTtUUEiCYi81ebVY9EZKPKP0Q921o,6311
|
5
|
-
lexoid/core/utils.py,sha256=1If_3XoUhPQRY5XMzLJBsHdyjtLgD734eYBYvsg8w5Y,19569
|
6
|
-
lexoid-0.1.11.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
7
|
-
lexoid-0.1.11.dist-info/METADATA,sha256=kipDZLbUz_wkJUrzPGH2VppBNMHmaJadHR5_BAqHgjU,4838
|
8
|
-
lexoid-0.1.11.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
9
|
-
lexoid-0.1.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|