lightpdf-aipdf-mcp 0.1.109__py3-none-any.whl → 0.1.111__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.
- lightpdf_aipdf_mcp/create_pdf.py +9 -4
- lightpdf_aipdf_mcp/server.py +1 -1
- {lightpdf_aipdf_mcp-0.1.109.dist-info → lightpdf_aipdf_mcp-0.1.111.dist-info}/METADATA +1 -1
- {lightpdf_aipdf_mcp-0.1.109.dist-info → lightpdf_aipdf_mcp-0.1.111.dist-info}/RECORD +6 -6
- {lightpdf_aipdf_mcp-0.1.109.dist-info → lightpdf_aipdf_mcp-0.1.111.dist-info}/WHEEL +0 -0
- {lightpdf_aipdf_mcp-0.1.109.dist-info → lightpdf_aipdf_mcp-0.1.111.dist-info}/entry_points.txt +0 -0
lightpdf_aipdf_mcp/create_pdf.py
CHANGED
@@ -51,7 +51,12 @@ async def create_pdf_from_latex(latex_content: str, output_path: Optional[str] =
|
|
51
51
|
)
|
52
52
|
finally:
|
53
53
|
if tex_path and os.path.exists(tex_path):
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
54
|
+
import threading
|
55
|
+
def delayed_remove(path):
|
56
|
+
try:
|
57
|
+
os.remove(path)
|
58
|
+
except Exception:
|
59
|
+
pass
|
60
|
+
timer = threading.Timer(600, delayed_remove, args=(tex_path,))
|
61
|
+
timer.daemon = True
|
62
|
+
timer.start()
|
lightpdf_aipdf_mcp/server.py
CHANGED
@@ -1157,7 +1157,7 @@ async def handle_list_tools() -> list[types.Tool]:
|
|
1157
1157
|
"properties": {
|
1158
1158
|
"latex_content": {
|
1159
1159
|
"type": "string",
|
1160
|
-
"description": "The LaTeX source
|
1160
|
+
"description": "The LaTeX source code to be compiled into a PDF file. Only pure LaTeX code is allowed; other formats (such as Word, Markdown, etc.) are not supported."
|
1161
1161
|
},
|
1162
1162
|
"filename": {
|
1163
1163
|
"type": "string",
|
@@ -1,11 +1,11 @@
|
|
1
1
|
lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6s,141
|
2
2
|
lightpdf_aipdf_mcp/common.py,sha256=PhTf7Zg6mEgn1rTmJDHotXp-4xb2gWFf-Dy_t25qNdY,6660
|
3
3
|
lightpdf_aipdf_mcp/converter.py,sha256=1SQcPTKXbf6UKqC1zJ4Vi-k7GxGTtPiVKyhGYAvK7DY,16299
|
4
|
-
lightpdf_aipdf_mcp/create_pdf.py,sha256=
|
4
|
+
lightpdf_aipdf_mcp/create_pdf.py,sha256=VAa4K3K77GxctjwzaBl_kLzSsvmb_L3VO7gYb1pjEBY,2477
|
5
5
|
lightpdf_aipdf_mcp/editor.py,sha256=vPaahaAV6pDZi_eheRGSgHzfZxc6ZqQyxHDgsNfdgjQ,29899
|
6
|
-
lightpdf_aipdf_mcp/server.py,sha256=
|
6
|
+
lightpdf_aipdf_mcp/server.py,sha256=jPhbzUBxElZl1naa7rIDdrFOr-cDHaPcU0Ifeq1fKnA,65425
|
7
7
|
lightpdf_aipdf_mcp/translator.py,sha256=NbFDz-mZSD4qCNQVyV0W_0x6xXwbqs_7FiBU13JAxZs,4243
|
8
|
-
lightpdf_aipdf_mcp-0.1.
|
9
|
-
lightpdf_aipdf_mcp-0.1.
|
10
|
-
lightpdf_aipdf_mcp-0.1.
|
11
|
-
lightpdf_aipdf_mcp-0.1.
|
8
|
+
lightpdf_aipdf_mcp-0.1.111.dist-info/METADATA,sha256=KxY-pvbc7qOLJuEcmjn-1HXcKyNwmvrbjO8HCrU7VjU,8120
|
9
|
+
lightpdf_aipdf_mcp-0.1.111.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
10
|
+
lightpdf_aipdf_mcp-0.1.111.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
11
|
+
lightpdf_aipdf_mcp-0.1.111.dist-info/RECORD,,
|
File without changes
|
{lightpdf_aipdf_mcp-0.1.109.dist-info → lightpdf_aipdf_mcp-0.1.111.dist-info}/entry_points.txt
RENAMED
File without changes
|