meshagent-markitdown 0.5.15__tar.gz → 0.6.0__tar.gz
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.
Potentially problematic release.
This version of meshagent-markitdown might be problematic. Click here for more details.
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/CHANGELOG.md +15 -0
- {meshagent_markitdown-0.5.15/meshagent_markitdown.egg-info → meshagent_markitdown-0.6.0}/PKG-INFO +3 -3
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent/markitdown/tools/markitdown.py +4 -9
- meshagent_markitdown-0.6.0/meshagent/markitdown/version.py +1 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0/meshagent_markitdown.egg-info}/PKG-INFO +3 -3
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent_markitdown.egg-info/requires.txt +1 -1
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/pyproject.toml +2 -2
- meshagent_markitdown-0.5.15/meshagent/markitdown/version.py +0 -1
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/LICENSE +0 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/MANIFEST.in +0 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/README.md +0 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent/markitdown/__init__.py +0 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent/markitdown/tools/__init__.py +0 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent_markitdown.egg-info/SOURCES.txt +0 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent_markitdown.egg-info/dependency_links.txt +0 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent_markitdown.egg-info/top_level.txt +0 -0
- {meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/setup.cfg +0 -0
{meshagent_markitdown-0.5.15/meshagent_markitdown.egg-info → meshagent_markitdown-0.6.0}/PKG-INFO
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-markitdown
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: Markitdown support for Meshagent
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Documentation, https://docs.meshagent.com
|
|
7
7
|
Project-URL: Website, https://www.meshagent.com
|
|
8
8
|
Project-URL: Source, https://www.meshagent.com
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.13
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: pytest~=8.4
|
|
13
13
|
Requires-Dist: pytest-asyncio~=0.26
|
|
14
|
-
Requires-Dist: meshagent-api~=0.
|
|
14
|
+
Requires-Dist: meshagent-api~=0.6.0
|
|
15
15
|
Requires-Dist: openapi-core~=0.19
|
|
16
16
|
Requires-Dist: markitdown[docx,outlook,pdf,pptx,xlsx]~=0.1
|
|
17
17
|
Dynamic: license-file
|
{meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent/markitdown/tools/markitdown.py
RENAMED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import aiohttp
|
|
2
2
|
import mimetypes
|
|
3
|
-
from typing import Optional
|
|
4
3
|
import os
|
|
5
4
|
from meshagent.api import EmptyResponse, FileResponse
|
|
6
5
|
from meshagent.tools import (
|
|
@@ -8,7 +7,6 @@ from meshagent.tools import (
|
|
|
8
7
|
ToolContext,
|
|
9
8
|
TextResponse,
|
|
10
9
|
get_bytes_from_url,
|
|
11
|
-
BlobStorage,
|
|
12
10
|
RemoteToolkit,
|
|
13
11
|
)
|
|
14
12
|
import logging
|
|
@@ -65,7 +63,7 @@ class FileMarkItDownTool(Tool):
|
|
|
65
63
|
|
|
66
64
|
|
|
67
65
|
class UrlMarkItDownTool(Tool):
|
|
68
|
-
def __init__(self
|
|
66
|
+
def __init__(self):
|
|
69
67
|
super().__init__(
|
|
70
68
|
name="markitdown_from_url",
|
|
71
69
|
title="MarkItDown URL Adapter",
|
|
@@ -78,11 +76,10 @@ class UrlMarkItDownTool(Tool):
|
|
|
78
76
|
},
|
|
79
77
|
)
|
|
80
78
|
|
|
81
|
-
self._blob_storage = blob_storage
|
|
82
79
|
self._session = aiohttp.ClientSession()
|
|
83
80
|
|
|
84
81
|
async def execute(self, *, context: ToolContext, url: str):
|
|
85
|
-
blob = await get_bytes_from_url(url=url
|
|
82
|
+
blob = await get_bytes_from_url(url=url)
|
|
86
83
|
|
|
87
84
|
ext = mimetypes.guess_extension(blob.mime_type)
|
|
88
85
|
if ext in supported_extensions:
|
|
@@ -105,15 +102,13 @@ class UrlMarkItDownTool(Tool):
|
|
|
105
102
|
|
|
106
103
|
|
|
107
104
|
class MarkItDownToolkit(RemoteToolkit):
|
|
108
|
-
def __init__(
|
|
109
|
-
self, blob_storage: Optional[BlobStorage] = None, name="meshagent.markitdown"
|
|
110
|
-
):
|
|
105
|
+
def __init__(self, name="meshagent.markitdown"):
|
|
111
106
|
super().__init__(
|
|
112
107
|
name=name,
|
|
113
108
|
title="markitdown",
|
|
114
109
|
description="MarkItDown is a utility for converting various files to Markdown",
|
|
115
110
|
tools=[
|
|
116
111
|
FileMarkItDownTool(),
|
|
117
|
-
UrlMarkItDownTool(
|
|
112
|
+
UrlMarkItDownTool(),
|
|
118
113
|
],
|
|
119
114
|
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.6.0"
|
{meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0/meshagent_markitdown.egg-info}/PKG-INFO
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-markitdown
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: Markitdown support for Meshagent
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Documentation, https://docs.meshagent.com
|
|
7
7
|
Project-URL: Website, https://www.meshagent.com
|
|
8
8
|
Project-URL: Source, https://www.meshagent.com
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.13
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: pytest~=8.4
|
|
13
13
|
Requires-Dist: pytest-asyncio~=0.26
|
|
14
|
-
Requires-Dist: meshagent-api~=0.
|
|
14
|
+
Requires-Dist: meshagent-api~=0.6.0
|
|
15
15
|
Requires-Dist: openapi-core~=0.19
|
|
16
16
|
Requires-Dist: markitdown[docx,outlook,pdf,pptx,xlsx]~=0.1
|
|
17
17
|
Dynamic: license-file
|
|
@@ -6,13 +6,13 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
name = "meshagent-markitdown"
|
|
7
7
|
description = "Markitdown support for Meshagent"
|
|
8
8
|
dynamic = ["version", "readme"]
|
|
9
|
-
requires-python = ">=3.
|
|
9
|
+
requires-python = ">=3.13"
|
|
10
10
|
license = "Apache-2.0"
|
|
11
11
|
keywords = []
|
|
12
12
|
dependencies = [
|
|
13
13
|
"pytest~=8.4",
|
|
14
14
|
"pytest-asyncio~=0.26",
|
|
15
|
-
"meshagent-api~=0.
|
|
15
|
+
"meshagent-api~=0.6.0",
|
|
16
16
|
"openapi-core~=0.19",
|
|
17
17
|
"markitdown[pptx,docx,xlsx,pdf,outlook]~=0.1"
|
|
18
18
|
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.5.15"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent/markitdown/tools/__init__.py
RENAMED
|
File without changes
|
{meshagent_markitdown-0.5.15 → meshagent_markitdown-0.6.0}/meshagent_markitdown.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|