scout-it 1.4.0__py3-none-any.whl
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.
- scout_it/__init__.py +115 -0
- scout_it/cleaner.py +1280 -0
- scout_it/cli.py +2196 -0
- scout_it/config.py +175 -0
- scout_it/engines.py +347 -0
- scout_it/extraction.py +1250 -0
- scout_it/github_extract.py +945 -0
- scout_it/output.py +332 -0
- scout_it/social.py +456 -0
- scout_it-1.4.0.dist-info/METADATA +901 -0
- scout_it-1.4.0.dist-info/RECORD +15 -0
- scout_it-1.4.0.dist-info/WHEEL +5 -0
- scout_it-1.4.0.dist-info/entry_points.txt +2 -0
- scout_it-1.4.0.dist-info/licenses/LICENSE +21 -0
- scout_it-1.4.0.dist-info/top_level.txt +1 -0
scout_it/__init__.py
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"""
|
|
2
|
+
scout-it: Enterprise-grade DuckDuckGo search toolkit with content extraction, cleaning, and structured JSON output.
|
|
3
|
+
|
|
4
|
+
Version: 1.0.0
|
|
5
|
+
Author: Ashok-gakr
|
|
6
|
+
License: MIT
|
|
7
|
+
|
|
8
|
+
Quick Start:
|
|
9
|
+
from scout_it import web_search, image_search, news_search, video_search
|
|
10
|
+
|
|
11
|
+
# Web search with content extraction
|
|
12
|
+
results, stats = web_search("python automation", max_results=10)
|
|
13
|
+
|
|
14
|
+
# Image search
|
|
15
|
+
images, stats = image_search("sunset landscapes", max_results=20)
|
|
16
|
+
|
|
17
|
+
# News search
|
|
18
|
+
news, stats = news_search("technology news", max_results=10)
|
|
19
|
+
|
|
20
|
+
# Video search
|
|
21
|
+
videos, stats = video_search("python tutorial", max_results=10)
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
from .cleaner import advanced_clean_text, process_results
|
|
25
|
+
from .extraction import (
|
|
26
|
+
DDGS,
|
|
27
|
+
EnterpriseResult,
|
|
28
|
+
EnterpriseSearchEngine,
|
|
29
|
+
ExtractionEngine,
|
|
30
|
+
ImageSearchEngine,
|
|
31
|
+
ImageSearchResult,
|
|
32
|
+
fetch_resilient,
|
|
33
|
+
)
|
|
34
|
+
from .cli import (
|
|
35
|
+
fetch_url,
|
|
36
|
+
image_search,
|
|
37
|
+
multi_search,
|
|
38
|
+
news_search,
|
|
39
|
+
video_extract,
|
|
40
|
+
video_search,
|
|
41
|
+
web_search,
|
|
42
|
+
)
|
|
43
|
+
from .engines import list_engines, multi_engine_search
|
|
44
|
+
from .github_extract import (
|
|
45
|
+
github_commit,
|
|
46
|
+
github_commits,
|
|
47
|
+
github_discussions,
|
|
48
|
+
github_file_content,
|
|
49
|
+
github_folder,
|
|
50
|
+
github_issue,
|
|
51
|
+
github_issues,
|
|
52
|
+
github_prs,
|
|
53
|
+
github_pull_request,
|
|
54
|
+
github_rate_limit,
|
|
55
|
+
github_repo,
|
|
56
|
+
github_search_code,
|
|
57
|
+
github_search_repos,
|
|
58
|
+
)
|
|
59
|
+
from .social import discord_channel_messages, reddit_search, telegram_channel, telegram_search
|
|
60
|
+
from .config import (
|
|
61
|
+
clear_all_credentials,
|
|
62
|
+
clear_credential,
|
|
63
|
+
credential_status,
|
|
64
|
+
run_config_wizard,
|
|
65
|
+
)
|
|
66
|
+
from .output import render_markdown, resolve_output_path, write_json_output
|
|
67
|
+
|
|
68
|
+
__version__ = "1.4.0"
|
|
69
|
+
__author__ = "Ashok-gakr"
|
|
70
|
+
__license__ = "MIT"
|
|
71
|
+
|
|
72
|
+
__all__ = [
|
|
73
|
+
"EnterpriseSearchEngine",
|
|
74
|
+
"EnterpriseResult",
|
|
75
|
+
"ExtractionEngine",
|
|
76
|
+
"ImageSearchEngine",
|
|
77
|
+
"ImageSearchResult",
|
|
78
|
+
"DDGS",
|
|
79
|
+
"process_results",
|
|
80
|
+
"advanced_clean_text",
|
|
81
|
+
"fetch_resilient",
|
|
82
|
+
"web_search",
|
|
83
|
+
"image_search",
|
|
84
|
+
"news_search",
|
|
85
|
+
"video_search",
|
|
86
|
+
"video_extract",
|
|
87
|
+
"fetch_url",
|
|
88
|
+
"multi_search",
|
|
89
|
+
"list_engines",
|
|
90
|
+
"multi_engine_search",
|
|
91
|
+
"github_repo",
|
|
92
|
+
"github_commits",
|
|
93
|
+
"github_commit",
|
|
94
|
+
"github_pull_request",
|
|
95
|
+
"github_prs",
|
|
96
|
+
"github_issues",
|
|
97
|
+
"github_issue",
|
|
98
|
+
"github_file_content",
|
|
99
|
+
"github_folder",
|
|
100
|
+
"github_search_code",
|
|
101
|
+
"github_search_repos",
|
|
102
|
+
"github_discussions",
|
|
103
|
+
"github_rate_limit",
|
|
104
|
+
"telegram_channel",
|
|
105
|
+
"telegram_search",
|
|
106
|
+
"discord_channel_messages",
|
|
107
|
+
"reddit_search",
|
|
108
|
+
"credential_status",
|
|
109
|
+
"run_config_wizard",
|
|
110
|
+
"clear_credential",
|
|
111
|
+
"clear_all_credentials",
|
|
112
|
+
"render_markdown",
|
|
113
|
+
"resolve_output_path",
|
|
114
|
+
"write_json_output",
|
|
115
|
+
]
|