scanurl 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.
- scanurl-0.1.0/PKG-INFO +5 -0
- scanurl-0.1.0/README.md +3 -0
- scanurl-0.1.0/scanurl/__init__.py +25 -0
- scanurl-0.1.0/scanurl.egg-info/PKG-INFO +5 -0
- scanurl-0.1.0/scanurl.egg-info/SOURCES.txt +9 -0
- scanurl-0.1.0/scanurl.egg-info/dependency_links.txt +1 -0
- scanurl-0.1.0/scanurl.egg-info/entry_points.txt +2 -0
- scanurl-0.1.0/scanurl.egg-info/requires.txt +1 -0
- scanurl-0.1.0/scanurl.egg-info/top_level.txt +1 -0
- scanurl-0.1.0/setup.cfg +4 -0
- scanurl-0.1.0/setup.py +17 -0
scanurl-0.1.0/PKG-INFO
ADDED
scanurl-0.1.0/README.md
ADDED
|
@@ -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 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
owlvin-tools
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
scanurl
|
scanurl-0.1.0/setup.cfg
ADDED
scanurl-0.1.0/setup.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
setup(
|
|
5
|
+
name="scanurl",
|
|
6
|
+
version="0.1.0",
|
|
7
|
+
description="Thin wrapper that re-exports the existing MCP server.",
|
|
8
|
+
packages=["scanurl"],
|
|
9
|
+
include_package_data=True,
|
|
10
|
+
install_requires=["owlvin-tools"],
|
|
11
|
+
entry_points={
|
|
12
|
+
"console_scripts": [
|
|
13
|
+
"scanurl=scanurl:main",
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
python_requires=">=3.10",
|
|
17
|
+
)
|