ddgs-haystack 1.1.0__tar.gz → 2.0.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.
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/CHANGELOG.md +7 -0
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/PKG-INFO +5 -6
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/README.md +1 -2
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/pyproject.toml +3 -2
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/tests/test_ddgs_websearch.py +2 -2
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/.gitignore +0 -0
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/LICENSE.txt +0 -0
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/pydoc/config_docusaurus.yml +0 -0
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/src/haystack_integrations/components/websearch/ddgs/__init__.py +0 -0
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/src/haystack_integrations/components/websearch/ddgs/ddgs_websearch.py +0 -0
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/src/haystack_integrations/components/websearch/py.typed +0 -0
- {ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/tests/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: ddgs-haystack
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Haystack integration for ddgs
|
|
5
5
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/ddgs#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
|
|
@@ -12,14 +12,14 @@ Keywords: agent tool,ddgs,duckduckgo,haystack,metasearch,web search,websearch
|
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
20
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
21
21
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
23
|
Requires-Dist: ddgs>=9.14.3
|
|
24
24
|
Requires-Dist: haystack-ai>=2.24.1
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
@@ -29,6 +29,7 @@ Description-Content-Type: text/markdown
|
|
|
29
29
|
[](https://pypi.org/project/ddgs-haystack)
|
|
30
30
|
[](https://pypi.org/project/ddgs-haystack)
|
|
31
31
|
|
|
32
|
+
- [Integration page](https://haystack.deepset.ai/integrations/ddgs)
|
|
32
33
|
- [Changelog](https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/ddgs/CHANGELOG.md)
|
|
33
34
|
|
|
34
35
|
---
|
|
@@ -36,5 +37,3 @@ Description-Content-Type: text/markdown
|
|
|
36
37
|
## Contributing
|
|
37
38
|
|
|
38
39
|
Refer to the general [Contribution Guidelines](https://github.com/deepset-ai/haystack-core-integrations/blob/main/CONTRIBUTING.md).
|
|
39
|
-
|
|
40
|
-
`ddgs` requires no API key, so the integration tests run without any environment variables.
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
[](https://pypi.org/project/ddgs-haystack)
|
|
4
4
|
[](https://pypi.org/project/ddgs-haystack)
|
|
5
5
|
|
|
6
|
+
- [Integration page](https://haystack.deepset.ai/integrations/ddgs)
|
|
6
7
|
- [Changelog](https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/ddgs/CHANGELOG.md)
|
|
7
8
|
|
|
8
9
|
---
|
|
@@ -10,5 +11,3 @@
|
|
|
10
11
|
## Contributing
|
|
11
12
|
|
|
12
13
|
Refer to the general [Contribution Guidelines](https://github.com/deepset-ai/haystack-core-integrations/blob/main/CONTRIBUTING.md).
|
|
13
|
-
|
|
14
|
-
`ddgs` requires no API key, so the integration tests run without any environment variables.
|
|
@@ -7,7 +7,7 @@ name = "ddgs-haystack"
|
|
|
7
7
|
dynamic = ["version"]
|
|
8
8
|
description = "Haystack integration for ddgs"
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
keywords = ["haystack", "web search", "websearch", "ddgs", "duckduckgo", "metasearch", "agent tool"]
|
|
13
13
|
authors = [{ name = "deepset GmbH", email = "info@deepset.ai" }]
|
|
@@ -15,11 +15,11 @@ classifiers = [
|
|
|
15
15
|
"License :: OSI Approved :: Apache Software License",
|
|
16
16
|
"Development Status :: 4 - Beta",
|
|
17
17
|
"Programming Language :: Python",
|
|
18
|
-
"Programming Language :: Python :: 3.10",
|
|
19
18
|
"Programming Language :: Python :: 3.11",
|
|
20
19
|
"Programming Language :: Python :: 3.12",
|
|
21
20
|
"Programming Language :: Python :: 3.13",
|
|
22
21
|
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Programming Language :: Python :: 3.15",
|
|
23
23
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
24
24
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
25
25
|
]
|
|
@@ -127,6 +127,7 @@ ignore = [
|
|
|
127
127
|
"PLR0912",
|
|
128
128
|
"PLR0913",
|
|
129
129
|
"PLR0915",
|
|
130
|
+
"PLR0917",
|
|
130
131
|
# Allow `Any` type - used legitimately for dynamic types and SDK boundaries
|
|
131
132
|
"ANN401",
|
|
132
133
|
]
|
|
@@ -148,7 +148,7 @@ class TestDDGSWebSearch:
|
|
|
148
148
|
|
|
149
149
|
@pytest.mark.integration
|
|
150
150
|
def test_web_search_integration(self):
|
|
151
|
-
result = DDGSWebSearch(top_k=3).run(query="
|
|
151
|
+
result = DDGSWebSearch(top_k=3).run(query="Python programming language")
|
|
152
152
|
assert len(result["documents"]) > 0
|
|
153
153
|
assert all(isinstance(doc, Document) for doc in result["documents"])
|
|
154
154
|
assert all(doc.meta.get("url") for doc in result["documents"])
|
|
@@ -157,6 +157,6 @@ class TestDDGSWebSearch:
|
|
|
157
157
|
@pytest.mark.asyncio
|
|
158
158
|
@pytest.mark.integration
|
|
159
159
|
async def test_web_search_async_integration(self):
|
|
160
|
-
result = await DDGSWebSearch(top_k=3).run_async(query="
|
|
160
|
+
result = await DDGSWebSearch(top_k=3).run_async(query="Python programming language")
|
|
161
161
|
assert len(result["documents"]) > 0
|
|
162
162
|
assert result["links"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddgs_haystack-1.1.0 → ddgs_haystack-2.0.0}/src/haystack_integrations/components/websearch/py.typed
RENAMED
|
File without changes
|
|
File without changes
|