common_agentic_tools_v1.0 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.
- common_agentic_tools_v1_0-0.1.0/PKG-INFO +10 -0
- common_agentic_tools_v1_0-0.1.0/README.md +0 -0
- common_agentic_tools_v1_0-0.1.0/pyproject.toml +22 -0
- common_agentic_tools_v1_0-0.1.0/setup.cfg +4 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools/__init__.py +0 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools/main.py +6 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools/tools.py +18 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools_v1.0.egg-info/PKG-INFO +10 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools_v1.0.egg-info/SOURCES.txt +11 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools_v1.0.egg-info/dependency_links.txt +1 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools_v1.0.egg-info/entry_points.txt +2 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools_v1.0.egg-info/requires.txt +4 -0
- common_agentic_tools_v1_0-0.1.0/src/common_agentic_tools_v1.0.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: common_agentic_tools_v1.0
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Add your description here
|
|
5
|
+
Requires-Python: >=3.12
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: ddgs>=9.14.4
|
|
8
|
+
Requires-Dist: fastmcp>=3.4.2
|
|
9
|
+
Requires-Dist: langchain-community>=0.4.2
|
|
10
|
+
Requires-Dist: langchain-mcp-adapters>=0.3.0
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "common_agentic_tools_v1.0"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Add your description here"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"ddgs>=9.14.4",
|
|
9
|
+
"fastmcp>=3.4.2",
|
|
10
|
+
"langchain-community>=0.4.2",
|
|
11
|
+
"langchain-mcp-adapters>=0.3.0",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[build-system]
|
|
15
|
+
requires = ["setuptools>=69", "wheel"]
|
|
16
|
+
build-backend = "setuptools.build_meta"
|
|
17
|
+
|
|
18
|
+
[tool.setuptools.packages.find]
|
|
19
|
+
where = ["src"]
|
|
20
|
+
|
|
21
|
+
[project.scripts]
|
|
22
|
+
common_agentic_tools = "common_agentic_tools.main:main"
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from fastmcp import FastMCP
|
|
2
|
+
from langchain_community.tools import DuckDuckGoSearchRun
|
|
3
|
+
|
|
4
|
+
mcp = FastMCP()
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@mcp.tool()
|
|
8
|
+
def web_search(query: str)-> dict:
|
|
9
|
+
'''
|
|
10
|
+
This tool lets you search the web for latest information.
|
|
11
|
+
Arguments needed:
|
|
12
|
+
query: String query that you want to search the web for.
|
|
13
|
+
'''
|
|
14
|
+
search = DuckDuckGoSearchRun()
|
|
15
|
+
|
|
16
|
+
response = search.invoke(query)
|
|
17
|
+
|
|
18
|
+
return {"response": response}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: common_agentic_tools_v1.0
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Add your description here
|
|
5
|
+
Requires-Python: >=3.12
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: ddgs>=9.14.4
|
|
8
|
+
Requires-Dist: fastmcp>=3.4.2
|
|
9
|
+
Requires-Dist: langchain-community>=0.4.2
|
|
10
|
+
Requires-Dist: langchain-mcp-adapters>=0.3.0
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
src/common_agentic_tools/__init__.py
|
|
4
|
+
src/common_agentic_tools/main.py
|
|
5
|
+
src/common_agentic_tools/tools.py
|
|
6
|
+
src/common_agentic_tools_v1.0.egg-info/PKG-INFO
|
|
7
|
+
src/common_agentic_tools_v1.0.egg-info/SOURCES.txt
|
|
8
|
+
src/common_agentic_tools_v1.0.egg-info/dependency_links.txt
|
|
9
|
+
src/common_agentic_tools_v1.0.egg-info/entry_points.txt
|
|
10
|
+
src/common_agentic_tools_v1.0.egg-info/requires.txt
|
|
11
|
+
src/common_agentic_tools_v1.0.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
common_agentic_tools
|