search-api-webui 0.1.5__tar.gz → 0.1.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: search-api-webui
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: A Search API WebUI for Querit, You, and other search providers.
5
5
  Project-URL: Homepage, https://github.com/querit-ai/search-api-webui
6
6
  Project-URL: Repository, https://github.com/querit-ai/search-api-webui.git
@@ -13,13 +13,13 @@ Classifier: Development Status :: 3 - Alpha
13
13
  Classifier: Framework :: Flask
14
14
  Classifier: License :: OSI Approved :: MIT License
15
15
  Classifier: Programming Language :: Python :: 3
16
- Requires-Python: >=3.7
17
- Requires-Dist: flask-cors
18
- Requires-Dist: flask>=2.0.0
19
- Requires-Dist: jmespath
20
- Requires-Dist: pyyaml>=6.0
16
+ Requires-Python: >=3.4
17
+ Requires-Dist: flask-cors>=3.0.0
18
+ Requires-Dist: flask>=1.1.0
19
+ Requires-Dist: jmespath>=0.10.0
20
+ Requires-Dist: pyyaml>=5.3
21
21
  Requires-Dist: querit
22
- Requires-Dist: requests>=2.25.0
22
+ Requires-Dist: requests>=2.22.0
23
23
  Description-Content-Type: text/markdown
24
24
 
25
25
  # Search API WebUI
@@ -4,10 +4,10 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "search-api-webui"
7
- version = "0.1.5"
7
+ version = "0.1.7"
8
8
  description = "A Search API WebUI for Querit, You, and other search providers."
9
9
  readme = "README.md"
10
- requires-python = ">=3.7"
10
+ requires-python = ">=3.4"
11
11
  license = { text = "MIT" }
12
12
  authors = [
13
13
  { name = "querit.ai" }
@@ -21,11 +21,11 @@ classifiers = [
21
21
  ]
22
22
 
23
23
  dependencies = [
24
- "flask>=2.0.0",
25
- "flask-cors",
26
- "requests>=2.25.0",
27
- "pyyaml>=6.0",
28
- "jmespath",
24
+ "flask>=1.1.0",
25
+ "flask-cors>=3.0.0",
26
+ "requests>=2.22.0",
27
+ "pyyaml>=5.3",
28
+ "jmespath>=0.10.0",
29
29
  "querit"
30
30
  ]
31
31
 
@@ -0,0 +1,19 @@
1
+ querit:
2
+ type: "querit_sdk"
3
+ description: "Official Querit Search via Python SDK"
4
+ default_limit: 10
5
+
6
+ you:
7
+ url: "https://ydc-index.io/v1/search"
8
+ method: "GET"
9
+ headers:
10
+ X-API-Key: "{api_key}"
11
+ params:
12
+ query: "{query}"
13
+ payload: {}
14
+ response_mapping:
15
+ root_path: "results.web"
16
+ fields:
17
+ title: "title"
18
+ url: "url"
19
+ snippet: "snippets[0] || description"
@@ -1,35 +0,0 @@
1
- querit:
2
- url: "https://api.querit.ai/v1/search"
3
- method: "POST"
4
- headers:
5
- "Accept": "application/json"
6
- "Authorization": "Bearer {api_key}"
7
- "Content-Type": "application/json"
8
- payload:
9
- query: "{query}"
10
- response_mapping:
11
- root_path: "results.result"
12
- fields:
13
- title: "title"
14
- url: "url"
15
- snippet: "snippet"
16
-
17
- ydc_search:
18
- url: "https://ydc-index.io/v1/search"
19
- method: "GET"
20
- headers:
21
- X-API-Key: "{api_key}"
22
- params:
23
- query: "{query}"
24
- payload: {}
25
- response_mapping:
26
- root_path: "results.web"
27
- fields:
28
- title: "title"
29
- url: "url"
30
- snippet: "snippets[0] || description"
31
-
32
- querit_sdk:
33
- type: "querit_sdk"
34
- description: "Official Querit Search via Python SDK"
35
- default_limit: 10