lightpdf-aipdf-mcp 0.1.81__py3-none-any.whl → 0.1.82__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.
@@ -32,6 +32,7 @@ class OutputFormat(str, Enum):
32
32
  PNG = "png"
33
33
  HTML = "html"
34
34
  TEXT = "txt"
35
+ CSV = "csv"
35
36
 
36
37
  # 文件扩展名到输入格式的映射
37
38
  INPUT_EXTENSIONS = {
@@ -58,6 +59,7 @@ FORMAT_CONVERSION_MAP = {
58
59
  OutputFormat.PNG, # PDF转PNG
59
60
  OutputFormat.HTML, # PDF转HTML
60
61
  OutputFormat.TEXT, # PDF转文本
62
+ OutputFormat.CSV, # PDF转CSV
61
63
  },
62
64
  InputFormat.WORD: {OutputFormat.PDF}, # Word转PDF
63
65
  InputFormat.EXCEL: {OutputFormat.PDF}, # Excel转PDF
@@ -359,7 +359,7 @@ async def handle_list_tools() -> list[types.Tool]:
359
359
  return [
360
360
  types.Tool(
361
361
  name="convert_document",
362
- description="Document format conversion tool.\n\nPDF can be converted to: DOCX/XLSX/PPTX/Images (including long images)/HTML/TXT (for text extraction);\nOther formats can be converted to PDF: DOCX/XLSX/PPTX/Images/CAD/CAJ/OFD.\n\nDoes not support creating files from content",
362
+ description="Document format conversion tool.\n\nPDF can be converted to: DOCX/XLSX/PPTX/Images (including long images)/HTML/TXT (for text extraction)/CSV;\nOther formats can be converted to PDF: DOCX/XLSX/PPTX/Images/CAD/CAJ/OFD.\n\nDoes not support creating files from content",
363
363
  inputSchema={
364
364
  "type": "object",
365
365
  "properties": {
@@ -388,7 +388,7 @@ async def handle_list_tools() -> list[types.Tool]:
388
388
  "format": {
389
389
  "type": "string",
390
390
  "description": "Target format",
391
- "enum": ["pdf", "docx", "xlsx", "pptx", "jpg", "jpeg", "png", "html", "txt"]
391
+ "enum": ["pdf", "docx", "xlsx", "pptx", "jpg", "jpeg", "png", "html", "txt", "csv"]
392
392
  },
393
393
  "is_long_image": {
394
394
  "type": "boolean",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lightpdf-aipdf-mcp
3
- Version: 0.1.81
3
+ Version: 0.1.82
4
4
  Summary: MCP Server for LightPDF AI-PDF
5
5
  Author: LightPDF Team
6
6
  License: Proprietary
@@ -0,0 +1,9 @@
1
+ lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6s,141
2
+ lightpdf_aipdf_mcp/common.py,sha256=_UO1f6S9Qr_3k6u5iBpdVDpvTK5U-tHEpu9KsDGqV8Y,6635
3
+ lightpdf_aipdf_mcp/converter.py,sha256=f9YuDtOmXBGlMmS3O4Xn3rdWljY9XcNxu0CjftH4s0o,14726
4
+ lightpdf_aipdf_mcp/editor.py,sha256=O7wF_HWs5l-IiXLbZYLNYjj1ygo2v4yGJEYMJtn7jpo,26916
5
+ lightpdf_aipdf_mcp/server.py,sha256=_G85-okjOSfvzBkj_7vehs6caJNeMB1-ACGn5ji6aOI,47557
6
+ lightpdf_aipdf_mcp-0.1.82.dist-info/METADATA,sha256=vkLJNOf6YwBJtswwg4t7eLqE5r1fOogBWK-gyG07Lis,8119
7
+ lightpdf_aipdf_mcp-0.1.82.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ lightpdf_aipdf_mcp-0.1.82.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
9
+ lightpdf_aipdf_mcp-0.1.82.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6s,141
2
- lightpdf_aipdf_mcp/common.py,sha256=_UO1f6S9Qr_3k6u5iBpdVDpvTK5U-tHEpu9KsDGqV8Y,6635
3
- lightpdf_aipdf_mcp/converter.py,sha256=vdcir8O1_inbVmzjxcHlCDDr8Nzus1A5ARuVVXl-_1U,14669
4
- lightpdf_aipdf_mcp/editor.py,sha256=O7wF_HWs5l-IiXLbZYLNYjj1ygo2v4yGJEYMJtn7jpo,26916
5
- lightpdf_aipdf_mcp/server.py,sha256=maUfJ3CzhN70DWsguDLpLbK_dN9eVoW3Q93YnjaoC1I,47546
6
- lightpdf_aipdf_mcp-0.1.81.dist-info/METADATA,sha256=1JS066slvy3eIYldnmOJsbVX7Y0gr_oicx2KRevzbm8,8119
7
- lightpdf_aipdf_mcp-0.1.81.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- lightpdf_aipdf_mcp-0.1.81.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
9
- lightpdf_aipdf_mcp-0.1.81.dist-info/RECORD,,