lightpdf-aipdf-mcp 0.1.44__py3-none-any.whl → 0.1.46__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/server.py +3 -3
- {lightpdf_aipdf_mcp-0.1.44.dist-info → lightpdf_aipdf_mcp-0.1.46.dist-info}/METADATA +1 -1
- {lightpdf_aipdf_mcp-0.1.44.dist-info → lightpdf_aipdf_mcp-0.1.46.dist-info}/RECORD +5 -5
- {lightpdf_aipdf_mcp-0.1.44.dist-info → lightpdf_aipdf_mcp-0.1.46.dist-info}/WHEEL +0 -0
- {lightpdf_aipdf_mcp-0.1.44.dist-info → lightpdf_aipdf_mcp-0.1.46.dist-info}/entry_points.txt +0 -0
lightpdf_aipdf_mcp/server.py
CHANGED
@@ -20,6 +20,9 @@ from .common import BaseResult, Logger, FileHandler
|
|
20
20
|
from .converter import Converter, ConversionResult
|
21
21
|
from .editor import Editor, EditResult
|
22
22
|
|
23
|
+
# 加载环境变量
|
24
|
+
load_dotenv()
|
25
|
+
|
23
26
|
# 类型定义
|
24
27
|
T = TypeVar('T', bound=BaseResult)
|
25
28
|
ProcessFunc = Callable[[str], Any]
|
@@ -902,9 +905,6 @@ async def handle_call_tool(name: str, arguments: dict | None) -> list[types.Text
|
|
902
905
|
|
903
906
|
async def main():
|
904
907
|
"""应用主入口"""
|
905
|
-
# 加载环境变量
|
906
|
-
load_dotenv()
|
907
|
-
|
908
908
|
# 打印版本号
|
909
909
|
try:
|
910
910
|
import importlib.metadata
|
@@ -2,8 +2,8 @@ lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6
|
|
2
2
|
lightpdf_aipdf_mcp/common.py,sha256=-7LU6gm-As_F8Ly68ssy15Vc9Zt_eNSnvDLEtVZDwlI,6633
|
3
3
|
lightpdf_aipdf_mcp/converter.py,sha256=gsYBLqE6EnMCpCYHaYjcdBD5mhXVqiTRvl1yLSqA01w,14773
|
4
4
|
lightpdf_aipdf_mcp/editor.py,sha256=KySdMurM8AZHwqSU1PpkSCCesQ4t2h-D8Mm12wf90CA,23539
|
5
|
-
lightpdf_aipdf_mcp/server.py,sha256=
|
6
|
-
lightpdf_aipdf_mcp-0.1.
|
7
|
-
lightpdf_aipdf_mcp-0.1.
|
8
|
-
lightpdf_aipdf_mcp-0.1.
|
9
|
-
lightpdf_aipdf_mcp-0.1.
|
5
|
+
lightpdf_aipdf_mcp/server.py,sha256=et6zGvDh1W-6nYZy1wCrFKOJlrrMWYQAdw_KNcfwIHY,39966
|
6
|
+
lightpdf_aipdf_mcp-0.1.46.dist-info/METADATA,sha256=lJvHy2aqdzb_NFzmvAoHNnjiR8isODR_VpGQwnW1f0c,7906
|
7
|
+
lightpdf_aipdf_mcp-0.1.46.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
8
|
+
lightpdf_aipdf_mcp-0.1.46.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
9
|
+
lightpdf_aipdf_mcp-0.1.46.dist-info/RECORD,,
|
File without changes
|
{lightpdf_aipdf_mcp-0.1.44.dist-info → lightpdf_aipdf_mcp-0.1.46.dist-info}/entry_points.txt
RENAMED
File without changes
|