lightpdf-aipdf-mcp 0.1.69__py3-none-any.whl → 0.1.70__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/editor.py +1 -1
- lightpdf_aipdf_mcp/server.py +1 -1
- {lightpdf_aipdf_mcp-0.1.69.dist-info → lightpdf_aipdf_mcp-0.1.70.dist-info}/METADATA +1 -1
- lightpdf_aipdf_mcp-0.1.70.dist-info/RECORD +9 -0
- lightpdf_aipdf_mcp-0.1.69.dist-info/RECORD +0 -9
- {lightpdf_aipdf_mcp-0.1.69.dist-info → lightpdf_aipdf_mcp-0.1.70.dist-info}/WHEEL +0 -0
- {lightpdf_aipdf_mcp-0.1.69.dist-info → lightpdf_aipdf_mcp-0.1.70.dist-info}/entry_points.txt +0 -0
lightpdf_aipdf_mcp/editor.py
CHANGED
@@ -137,7 +137,7 @@ class Editor(BaseApiClient):
|
|
137
137
|
await self._log_operation("合并PDF文件", f"{len(file_paths)} 个文件")
|
138
138
|
|
139
139
|
# 合并PDF需要特殊处理,因为涉及多个文件
|
140
|
-
async with httpx.AsyncClient(timeout=
|
140
|
+
async with httpx.AsyncClient(timeout=600.0) as client:
|
141
141
|
try:
|
142
142
|
# 创建合并任务
|
143
143
|
task_id = await self._create_merge_task(client, file_paths, password, original_name)
|
lightpdf_aipdf_mcp/server.py
CHANGED
@@ -98,7 +98,7 @@ async def process_batch_files(
|
|
98
98
|
await logger.log("info", f"开始批量{operation_desc},共 {len(file_objects)} 个文件")
|
99
99
|
|
100
100
|
# 并发处理文件,限制并发数为2
|
101
|
-
semaphore = asyncio.Semaphore(
|
101
|
+
semaphore = asyncio.Semaphore(5)
|
102
102
|
|
103
103
|
async def process_with_semaphore(file_obj: Dict[str, str]) -> T:
|
104
104
|
async with semaphore:
|
@@ -0,0 +1,9 @@
|
|
1
|
+
lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6s,141
|
2
|
+
lightpdf_aipdf_mcp/common.py,sha256=TLzWfiukB7uN9-EPbT3vVX1i4ero5j3d4L9vLe3MSCw,6601
|
3
|
+
lightpdf_aipdf_mcp/converter.py,sha256=7X4pK2y2NQBqhU1LLIJQhf7LUx6KaMiW26jt_KsX9fg,14567
|
4
|
+
lightpdf_aipdf_mcp/editor.py,sha256=qjw3oG1MYf8dWsuxRbdfsuZxePHXyo6D7yoIB_2nih0,26712
|
5
|
+
lightpdf_aipdf_mcp/server.py,sha256=LhlJJTpIuVdxip0rrW3SpIrqOouv--yo-Kztcs6BqRA,47092
|
6
|
+
lightpdf_aipdf_mcp-0.1.70.dist-info/METADATA,sha256=sjtEa9DC-O6s5K5_ast260J2ZwXxyZ_QlGvqpzV-JJw,8119
|
7
|
+
lightpdf_aipdf_mcp-0.1.70.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
8
|
+
lightpdf_aipdf_mcp-0.1.70.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
9
|
+
lightpdf_aipdf_mcp-0.1.70.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6s,141
|
2
|
-
lightpdf_aipdf_mcp/common.py,sha256=TLzWfiukB7uN9-EPbT3vVX1i4ero5j3d4L9vLe3MSCw,6601
|
3
|
-
lightpdf_aipdf_mcp/converter.py,sha256=7X4pK2y2NQBqhU1LLIJQhf7LUx6KaMiW26jt_KsX9fg,14567
|
4
|
-
lightpdf_aipdf_mcp/editor.py,sha256=xgoJoF2W_y41XpF_0_kvYTIB0rcDdskpMldoijqUeFI,26712
|
5
|
-
lightpdf_aipdf_mcp/server.py,sha256=GmQ5Ml1a3_AhiurlVFnYRPJPq9GQoXLj4FsmkJe61fI,47092
|
6
|
-
lightpdf_aipdf_mcp-0.1.69.dist-info/METADATA,sha256=FKZFSMZiDh2QZ5eTWFS74O4tONcGPVn_v-SA432drMQ,8119
|
7
|
-
lightpdf_aipdf_mcp-0.1.69.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
8
|
-
lightpdf_aipdf_mcp-0.1.69.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
9
|
-
lightpdf_aipdf_mcp-0.1.69.dist-info/RECORD,,
|
File without changes
|
{lightpdf_aipdf_mcp-0.1.69.dist-info → lightpdf_aipdf_mcp-0.1.70.dist-info}/entry_points.txt
RENAMED
File without changes
|