fetchurl 0.1.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.
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.1
2
+ Name: fetchurl
3
+ Version: 0.1.0
4
+ Summary: Thin wrapper that re-exports the existing MCP server.
5
+ Requires-Python: >=3.10
@@ -0,0 +1,3 @@
1
+ # fetchurl
2
+
3
+ Thin wrapper around the shared MCP server.
@@ -0,0 +1,25 @@
1
+ """Thin wrapper around the existing MCP server package."""
2
+
3
+ from importlib import import_module
4
+
5
+
6
+ def _load_mcp():
7
+ for module_name in ("owlvin_tools.server", "owlvin_tools", "server"):
8
+ try:
9
+ module = import_module(module_name)
10
+ except ImportError:
11
+ continue
12
+ mcp = getattr(module, "mcp", None)
13
+ if mcp is not None:
14
+ return mcp
15
+ raise ImportError("Could not locate the underlying MCP server module.")
16
+
17
+
18
+ mcp = _load_mcp()
19
+
20
+
21
+ def main():
22
+ mcp.run()
23
+
24
+
25
+ __all__ = ["mcp", "main"]
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.1
2
+ Name: fetchurl
3
+ Version: 0.1.0
4
+ Summary: Thin wrapper that re-exports the existing MCP server.
5
+ Requires-Python: >=3.10
@@ -0,0 +1,9 @@
1
+ README.md
2
+ setup.py
3
+ fetchurl/__init__.py
4
+ fetchurl.egg-info/PKG-INFO
5
+ fetchurl.egg-info/SOURCES.txt
6
+ fetchurl.egg-info/dependency_links.txt
7
+ fetchurl.egg-info/entry_points.txt
8
+ fetchurl.egg-info/requires.txt
9
+ fetchurl.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ fetchurl = fetchurl:main
@@ -0,0 +1 @@
1
+ owlvin-tools
@@ -0,0 +1 @@
1
+ fetchurl
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,17 @@
1
+ from setuptools import setup
2
+
3
+
4
+ setup(
5
+ name="fetchurl",
6
+ version="0.1.0",
7
+ description="Thin wrapper that re-exports the existing MCP server.",
8
+ packages=["fetchurl"],
9
+ include_package_data=True,
10
+ install_requires=["owlvin-tools"],
11
+ entry_points={
12
+ "console_scripts": [
13
+ "fetchurl=fetchurl:main",
14
+ ],
15
+ },
16
+ python_requires=">=3.10",
17
+ )