diff --git a/packages/markitdown-mcp/README.md b/packages/markitdown-mcp/README.md new file mode 100644 index 0000000..812180e --- /dev/null +++ b/packages/markitdown-mcp/README.md @@ -0,0 +1,13 @@ +# MarkItDown-MCP + +[![PyPI](https://img.shields.io/pypi/v/markitdown.svg)](https://pypi.org/project/markitdown/) +![PyPI - Downloads](https://img.shields.io/pypi/dd/markitdown) +[![Built by AutoGen Team](https://img.shields.io/badge/Built%20by-AutoGen%20Team-blue)](https://github.com/microsoft/autogen) + +## Trademarks + +This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft +trademarks or logos is subject to and must follow +[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). +Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. +Any use of third-party trademarks or logos are subject to those third-party's policies. diff --git a/packages/markitdown-mcp/pyproject.toml b/packages/markitdown-mcp/pyproject.toml new file mode 100644 index 0000000..b83f003 --- /dev/null +++ b/packages/markitdown-mcp/pyproject.toml @@ -0,0 +1,65 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "markitdown-mcp" +dynamic = ["version"] +description = 'An MCP server for the "markitdown" library.' +readme = "README.md" +requires-python = ">=3.10" +license = "MIT" +keywords = [] +authors = [ + { name = "Adam Fourney", email = "adamfo@microsoft.com" }, +] +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", +] +dependencies = [ + "markitdown~=0.1.0", +] + +[project.urls] +Documentation = "https://github.com/microsoft/markitdown#readme" +Issues = "https://github.com/microsoft/markitdown/issues" +Source = "https://github.com/microsoft/markitdown" + +[tool.hatch.version] +path = "src/markitdown_mcp/__about__.py" + +[tool.hatch.envs.types] +extra-dependencies = [ + "mypy>=1.0.0", +] +[tool.hatch.envs.types.scripts] +check = "mypy --install-types --non-interactive {args:src/markitdown_mcp tests}" + +[tool.coverage.run] +source_pkgs = ["markitdown-mcp", "tests"] +branch = true +parallel = true +omit = [ + "src/markitdown_mcp/__about__.py", +] + +[tool.coverage.paths] +markitdown-mcp = ["src/markitdown_mcp", "*/markitdown-mcp/src/markitdown_mcp"] +tests = ["tests", "*/markitdown-mcp/tests"] + +[tool.coverage.report] +exclude_lines = [ + "no cov", + "if __name__ == .__main__.:", + "if TYPE_CHECKING:", +] + +[tool.hatch.build.targets.sdist] +only-include = ["src/markitdown_mcp"] diff --git a/packages/markitdown-mcp/src/markitdown_mcp/__about__.py b/packages/markitdown-mcp/src/markitdown_mcp/__about__.py new file mode 100644 index 0000000..d1621f5 --- /dev/null +++ b/packages/markitdown-mcp/src/markitdown_mcp/__about__.py @@ -0,0 +1,4 @@ +# SPDX-FileCopyrightText: 2024-present Adam Fourney +# +# SPDX-License-Identifier: MIT +__version__ = "0.0.1a1" diff --git a/packages/markitdown-mcp/src/markitdown_mcp/__init__.py b/packages/markitdown-mcp/src/markitdown_mcp/__init__.py new file mode 100644 index 0000000..8464d59 --- /dev/null +++ b/packages/markitdown-mcp/src/markitdown_mcp/__init__.py @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2024-present Adam Fourney +# +# SPDX-License-Identifier: MIT + +from .__about__ import __version__ + +__all__ = [ + "__version__", +] diff --git a/packages/markitdown-mcp/src/markitdown_mcp/py.typed b/packages/markitdown-mcp/src/markitdown_mcp/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/packages/markitdown-mcp/tests/__init__.py b/packages/markitdown-mcp/tests/__init__.py new file mode 100644 index 0000000..44af7d7 --- /dev/null +++ b/packages/markitdown-mcp/tests/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2024-present Adam Fourney +# +# SPDX-License-Identifier: MIT