webscout 2.2__tar.gz → 2.3b0__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.

Potentially problematic release.


This version of webscout might be problematic. Click here for more details.

Files changed (65) hide show
  1. {webscout-2.2 → webscout-2.3b0}/PKG-INFO +6 -3
  2. webscout-2.3b0/setup.py +83 -0
  3. {webscout-2.2 → webscout-2.3b0}/webscout/AIauto.py +54 -13
  4. webscout-2.3b0/webscout/__init__.py +120 -0
  5. {webscout-2.2 → webscout-2.3b0}/webscout/async_providers.py +9 -9
  6. {webscout-2.2 → webscout-2.3b0}/webscout/g4f.py +2 -2
  7. {webscout-2.2 → webscout-2.3b0}/webscout.egg-info/PKG-INFO +6 -3
  8. webscout-2.3b0/webscout.egg-info/entry_points.txt +3 -0
  9. {webscout-2.2 → webscout-2.3b0}/webscout.egg-info/requires.txt +5 -1
  10. webscout-2.2/setup.py +0 -82
  11. webscout-2.2/webscout/__init__.py +0 -117
  12. webscout-2.2/webscout.egg-info/entry_points.txt +0 -6
  13. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/__init__.py +0 -0
  14. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/documents/__init__.py +0 -0
  15. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/documents/query_results_extractor.py +0 -0
  16. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/documents/webpage_content_extractor.py +0 -0
  17. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/networks/__init__.py +0 -0
  18. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/networks/filepath_converter.py +0 -0
  19. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/networks/google_searcher.py +0 -0
  20. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/networks/network_configs.py +0 -0
  21. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/networks/webpage_fetcher.py +0 -0
  22. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/utilsdw/__init__.py +0 -0
  23. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/utilsdw/enver.py +0 -0
  24. {webscout-2.2 → webscout-2.3b0}/DeepWEBS/utilsdw/logger.py +0 -0
  25. {webscout-2.2 → webscout-2.3b0}/LICENSE.md +0 -0
  26. {webscout-2.2 → webscout-2.3b0}/README.md +0 -0
  27. {webscout-2.2 → webscout-2.3b0}/setup.cfg +0 -0
  28. {webscout-2.2 → webscout-2.3b0}/webscout/AIbase.py +0 -0
  29. {webscout-2.2 → webscout-2.3b0}/webscout/AIutel.py +0 -0
  30. {webscout-2.2 → webscout-2.3b0}/webscout/DWEBS.py +0 -0
  31. {webscout-2.2 → webscout-2.3b0}/webscout/LLM.py +0 -0
  32. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Berlin4h.py +0 -0
  33. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Blackboxai.py +0 -0
  34. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/ChatGPTUK.py +0 -0
  35. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Cohere.py +0 -0
  36. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Gemini.py +0 -0
  37. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Groq.py +0 -0
  38. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Koboldai.py +0 -0
  39. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Leo.py +0 -0
  40. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Llama2.py +0 -0
  41. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/OpenGPT.py +0 -0
  42. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Openai.py +0 -0
  43. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Perplexity.py +0 -0
  44. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Phind.py +0 -0
  45. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Reka.py +0 -0
  46. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/ThinkAnyAI.py +0 -0
  47. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Xjai.py +0 -0
  48. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Yepchat.py +0 -0
  49. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/Youchat.py +0 -0
  50. {webscout-2.2 → webscout-2.3b0}/webscout/Provider/__init__.py +0 -0
  51. {webscout-2.2 → webscout-2.3b0}/webscout/__main__.py +0 -0
  52. {webscout-2.2 → webscout-2.3b0}/webscout/cli.py +0 -0
  53. {webscout-2.2 → webscout-2.3b0}/webscout/exceptions.py +0 -0
  54. {webscout-2.2 → webscout-2.3b0}/webscout/models.py +0 -0
  55. {webscout-2.2 → webscout-2.3b0}/webscout/tempid.py +0 -0
  56. {webscout-2.2 → webscout-2.3b0}/webscout/transcriber.py +0 -0
  57. {webscout-2.2 → webscout-2.3b0}/webscout/utils.py +0 -0
  58. {webscout-2.2 → webscout-2.3b0}/webscout/version.py +0 -0
  59. {webscout-2.2 → webscout-2.3b0}/webscout/voice.py +0 -0
  60. {webscout-2.2 → webscout-2.3b0}/webscout/webai.py +0 -0
  61. {webscout-2.2 → webscout-2.3b0}/webscout/webscout_search.py +0 -0
  62. {webscout-2.2 → webscout-2.3b0}/webscout/webscout_search_async.py +0 -0
  63. {webscout-2.2 → webscout-2.3b0}/webscout.egg-info/SOURCES.txt +0 -0
  64. {webscout-2.2 → webscout-2.3b0}/webscout.egg-info/dependency_links.txt +0 -0
  65. {webscout-2.2 → webscout-2.3b0}/webscout.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 2.2
4
- Summary: Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI models, can transcribe yt videos, temporary email and phone number generation, have TTS support and webai(terminal gpt and open interpeter)
3
+ Version: 2.3b0
4
+ Summary: Search for anything using Google, DuckDuckGo, phind.com. Also contains AI models, can transcribe yt videos, temporary email and phone number generation, has TTS support, and webai (terminal gpt and open interpreter).
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
7
7
  License: HelpingAI Simplified Universal License
@@ -36,7 +36,6 @@ Requires-Dist: halo>=0.0.31
36
36
  Requires-Dist: g4f>=0.2.2.3
37
37
  Requires-Dist: rich
38
38
  Requires-Dist: python-dotenv
39
- Requires-Dist: Helpingai-T2
40
39
  Requires-Dist: beautifulsoup4
41
40
  Requires-Dist: markdownify
42
41
  Requires-Dist: pydantic
@@ -55,6 +54,10 @@ Requires-Dist: playsound
55
54
  Provides-Extra: dev
56
55
  Requires-Dist: ruff>=0.1.6; extra == "dev"
57
56
  Requires-Dist: pytest>=7.4.2; extra == "dev"
57
+ Provides-Extra: local
58
+ Requires-Dist: llama-cpp-python; extra == "local"
59
+ Requires-Dist: colorama; extra == "local"
60
+ Requires-Dist: numpy; extra == "local"
58
61
 
59
62
  <div align="center">
60
63
  <!-- Replace `#` with your actual links -->
@@ -0,0 +1,83 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ with open("README.md", encoding="utf-8") as f:
4
+ README = f.read()
5
+
6
+ setup(
7
+ name="webscout",
8
+ version="2.3-beta",
9
+ description="Search for anything using Google, DuckDuckGo, phind.com. Also contains AI models, can transcribe yt videos, temporary email and phone number generation, has TTS support, and webai (terminal gpt and open interpreter).",
10
+ long_description=README,
11
+ long_description_content_type="text/markdown",
12
+ author="OEvortex",
13
+ author_email="helpingai5@gmail.com",
14
+ packages=find_packages(),
15
+ classifiers=[
16
+ "Development Status :: 5 - Production/Stable",
17
+ "Intended Audience :: Developers",
18
+ "License :: Other/Proprietary License",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.8",
22
+ "Programming Language :: Python :: 3.9",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Programming Language :: Python :: Implementation :: CPython",
27
+ "Topic :: Internet :: WWW/HTTP :: Indexing/Search",
28
+ "Topic :: Software Development :: Libraries :: Python Modules",
29
+ ],
30
+ install_requires=[
31
+ "docstring_inheritance",
32
+ "click",
33
+ "curl_cffi",
34
+ "lxml",
35
+ "nest-asyncio",
36
+ "selenium",
37
+ "tqdm",
38
+ "webdriver-manager",
39
+ "halo>=0.0.31",
40
+ "g4f>=0.2.2.3",
41
+ "rich",
42
+ "python-dotenv",
43
+ "beautifulsoup4",
44
+ "markdownify",
45
+ "pydantic",
46
+ "requests",
47
+ "sse_starlette",
48
+ "termcolor",
49
+ "tiktoken",
50
+ "tldextract",
51
+ "orjson",
52
+ "PyYAML",
53
+ "appdirs",
54
+ "GoogleBard1>=2.1.4",
55
+ "tls_client",
56
+ "clipman",
57
+ "playsound",
58
+ ],
59
+ entry_points={
60
+ "console_scripts": [
61
+ "WEBS = webscout.cli:cli",
62
+ "webscout = webscout.webai:main",
63
+ ],
64
+ },
65
+ extras_require={
66
+ "dev": [
67
+ "ruff>=0.1.6",
68
+ "pytest>=7.4.2",
69
+ ],
70
+ "local": [
71
+ 'llama-cpp-python',
72
+ 'colorama',
73
+ 'numpy',
74
+ ],
75
+ },
76
+ license="HelpingAI Simplified Universal License",
77
+ project_urls={
78
+ "Documentation": "https://github.com/OE-LUCIFER/Webscout/wiki",
79
+ "Source": "https://github.com/OE-LUCIFER/Webscout",
80
+ "Tracker": "https://github.com/OE-LUCIFER/Webscout/issues",
81
+ "YouTube": "https://youtube.com/@OEvortex",
82
+ },
83
+ )
@@ -1,13 +1,29 @@
1
- from webscout.AI import Provider, AsyncProvider
2
- from webscout.AI import OPENGPT, AsyncOPENGPT
3
- from webscout.AI import KOBOLDAI, AsyncKOBOLDAI
4
- from webscout.AI import PhindSearch, AsyncPhindSearch
5
- from webscout.AI import LLAMA2, AsyncLLAMA2
6
- from webscout.AI import BLACKBOXAI, AsyncBLACKBOXAI
7
- from webscout.AI import PERPLEXITY
8
- from webscout.AI import ThinkAnyAI
9
- from webscout.AI import YouChat
10
- from webscout.AI import YEPCHAT
1
+ from webscout.AIbase import Provider, AsyncProvider
2
+ from webscout import OPENGPT, AsyncOPENGPT
3
+ from webscout import KOBOLDAI, AsyncKOBOLDAI
4
+ from webscout import PhindSearch, AsyncPhindSearch
5
+ from webscout import LLAMA2, AsyncLLAMA2
6
+ from webscout import BLACKBOXAI, AsyncBLACKBOXAI
7
+ from webscout import PERPLEXITY
8
+ from webscout import ThinkAnyAI
9
+ from webscout import YouChat
10
+ from webscout import YEPCHAT
11
+ from webscout.AIbase import Provider, AsyncProvider
12
+ from webscout import KOBOLDAI, AsyncKOBOLDAI
13
+ from webscout import PhindSearch, AsyncPhindSearch
14
+ from webscout import LLAMA2, AsyncLLAMA2
15
+ from webscout import BLACKBOXAI, AsyncBLACKBOXAI
16
+ from webscout import PERPLEXITY
17
+ from webscout import ThinkAnyAI
18
+ from webscout import YouChat
19
+ from webscout import YEPCHAT, AsyncYEPCHAT
20
+ from webscout import LEO, AsyncLEO
21
+ from webscout import GROQ, AsyncGROQ
22
+ from webscout import OPENAI, AsyncOPENAI
23
+ from webscout import REKA
24
+ from webscout import Xjai
25
+ from webscout import Berlin4h
26
+ from webscout import ChatGPTUK
11
27
  from webscout.g4f import GPT4FREE, AsyncGPT4FREE
12
28
  from webscout.g4f import TestProviders
13
29
  from webscout.exceptions import AllProvidersFailure
@@ -20,7 +36,26 @@ import logging
20
36
 
21
37
 
22
38
  provider_map: dict[
23
- str, Union[OPENGPT, KOBOLDAI, PhindSearch, LLAMA2, BLACKBOXAI, PERPLEXITY, GPT4FREE, ThinkAnyAI, YEPCHAT, YouChat]
39
+ str, Union[ ThinkAnyAI,
40
+ Xjai,
41
+ LLAMA2,
42
+ AsyncLLAMA2,
43
+ LEO,
44
+ AsyncLEO,
45
+ KOBOLDAI,
46
+ AsyncKOBOLDAI,
47
+ OPENGPT,
48
+ AsyncOPENGPT,
49
+ PERPLEXITY,
50
+ BLACKBOXAI,
51
+ AsyncBLACKBOXAI,
52
+ PhindSearch,
53
+ AsyncPhindSearch,
54
+ YEPCHAT,
55
+ AsyncYEPCHAT,
56
+ YouChat,
57
+ Berlin4h,
58
+ ChatGPTUK,]
24
59
  ] = {
25
60
  "PhindSearch": PhindSearch,
26
61
  "perplexity": PERPLEXITY,
@@ -32,6 +67,12 @@ provider_map: dict[
32
67
  "thinkany": ThinkAnyAI,
33
68
  "yepchat": YEPCHAT,
34
69
  "you": YouChat,
70
+ "leo": LEO,
71
+ "xjai": Xjai,
72
+ "berlin4h": Berlin4h,
73
+ "chatgptuk": ChatGPTUK,
74
+ "gpt4free": GPT4FREE,
75
+
35
76
  }
36
77
 
37
78
 
@@ -113,13 +154,13 @@ class AUTO(Provider):
113
154
  "conversationally": conversationally,
114
155
  }
115
156
 
116
- # tgpt-based providers
157
+ # webscout-based providers
117
158
  for provider_name, provider_obj in provider_map.items():
118
159
  # continue
119
160
  if provider_name in self.exclude:
120
161
  continue
121
162
  try:
122
- self.provider_name = f"tgpt-{provider_name}"
163
+ self.provider_name = f"webscout-{provider_name}"
123
164
  self.provider = provider_obj(
124
165
  is_conversation=self.is_conversation,
125
166
  max_tokens=self.max_tokens,
@@ -0,0 +1,120 @@
1
+ from .webscout_search import WEBS
2
+ from .webscout_search_async import AsyncWEBS
3
+ from .version import __version__
4
+ from .DWEBS import DeepWEBS
5
+ from .transcriber import transcriber
6
+ from .voice import play_audio
7
+ from .tempid import Client as TempMailClient, TemporaryPhoneNumber
8
+ from .LLM import LLM
9
+ # Import Localai models and utilities directly
10
+ from .Localai import *
11
+ import g4f
12
+ # Import provider classes for direct access
13
+ from .Provider import (
14
+ ThinkAnyAI,
15
+ Xjai,
16
+ LLAMA2,
17
+ AsyncLLAMA2,
18
+ Cohere,
19
+ REKA,
20
+ GROQ,
21
+ AsyncGROQ,
22
+ OPENAI,
23
+ AsyncOPENAI,
24
+ LEO,
25
+ AsyncLEO,
26
+ KOBOLDAI,
27
+ AsyncKOBOLDAI,
28
+ OPENGPT,
29
+ AsyncOPENGPT,
30
+ PERPLEXITY,
31
+ BLACKBOXAI,
32
+ AsyncBLACKBOXAI,
33
+ PhindSearch,
34
+ AsyncPhindSearch,
35
+ YEPCHAT,
36
+ AsyncYEPCHAT,
37
+ YouChat,
38
+ GEMINI,
39
+ Berlin4h,
40
+ ChatGPTUK,
41
+ )
42
+
43
+ __repo__ = "https://github.com/OE-LUCIFER/Webscout"
44
+
45
+ webai = [
46
+ "leo",
47
+ "openai",
48
+ "opengpt",
49
+ "koboldai",
50
+ "gemini",
51
+ "phind",
52
+ "blackboxai",
53
+ "g4fauto",
54
+ "perplexity",
55
+ "groq",
56
+ "reka",
57
+ "cohere",
58
+ "yepchat",
59
+ "you",
60
+ "xjai",
61
+ "thinkany",
62
+ "berlin4h",
63
+ "chatgptuk",
64
+ "auto",
65
+ ]
66
+
67
+ gpt4free_providers = [
68
+ provider.__name__ for provider in g4f.Provider.__providers__ # if provider.working
69
+ ]
70
+
71
+ available_providers = webai + gpt4free_providers
72
+
73
+ # Add all the provider classes, Localai models, Thread, and Model to __all__
74
+ __all__ = [
75
+ "WEBS",
76
+ "AsyncWEBS",
77
+ "__version__",
78
+ "DeepWEBS",
79
+ "transcriber",
80
+ "play_audio",
81
+ "TempMailClient",
82
+ "TemporaryPhoneNumber",
83
+ "LLM",
84
+ # Localai models and utilities
85
+ "Model",
86
+ "Thread",
87
+ "formats",
88
+
89
+ # AI Providers
90
+ "ThinkAnyAI",
91
+ "Xjai",
92
+ "LLAMA2",
93
+ "AsyncLLAMA2",
94
+ "Cohere",
95
+ "REKA",
96
+ "GROQ",
97
+ "AsyncGROQ",
98
+ "OPENAI",
99
+ "AsyncOPENAI",
100
+ "LEO",
101
+ "AsyncLEO",
102
+ "KOBOLDAI",
103
+ "AsyncKOBOLDAI",
104
+ "OPENGPT",
105
+ "AsyncOPENGPT",
106
+ "PERPLEXITY",
107
+ "BLACKBOXAI",
108
+ "AsyncBLACKBOXAI",
109
+ "PhindSearch",
110
+ "AsyncPhindSearch",
111
+ "YEPCHAT",
112
+ "AsyncYEPCHAT",
113
+ "YouChat",
114
+ "GEMINI",
115
+ "Berlin4h",
116
+ "ChatGPTUK",
117
+ ]
118
+
119
+ import logging
120
+ logging.getLogger("webscout").addHandler(logging.NullHandler())
@@ -1,12 +1,12 @@
1
- from webscout.AI import AsyncPhindSearch
2
- from webscout.AI import AsyncYEPCHAT
3
- from webscout.AI import AsyncOPENGPT
4
- from webscout.AI import AsyncOPENAI
5
- from webscout.AI import AsyncLLAMA2
6
- from webscout.AI import AsyncLEO
7
- from webscout.AI import AsyncKOBOLDAI
8
- from webscout.AI import AsyncGROQ
9
- from webscout.AI import AsyncBLACKBOXAI
1
+ from webscout import AsyncPhindSearch
2
+ from webscout import AsyncYEPCHAT
3
+ from webscout import AsyncOPENGPT
4
+ from webscout import AsyncOPENAI
5
+ from webscout import AsyncLLAMA2
6
+ from webscout import AsyncLEO
7
+ from webscout import AsyncKOBOLDAI
8
+ from webscout import AsyncGROQ
9
+ from webscout import AsyncBLACKBOXAI
10
10
  from webscout.g4f import AsyncGPT4FREE
11
11
 
12
12
  mapper: dict[str, object] = {
@@ -227,8 +227,8 @@ class GPT4FREE(Provider):
227
227
  auth: str = None,
228
228
  max_tokens: int = 600,
229
229
  model: str = None,
230
- chat_completion: bool = False,
231
- ignore_working: bool = False,
230
+ chat_completion: bool = True,
231
+ ignore_working: bool = True,
232
232
  timeout: int = 30,
233
233
  intro: str = None,
234
234
  filepath: str = None,
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 2.2
4
- Summary: Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI models, can transcribe yt videos, temporary email and phone number generation, have TTS support and webai(terminal gpt and open interpeter)
3
+ Version: 2.3b0
4
+ Summary: Search for anything using Google, DuckDuckGo, phind.com. Also contains AI models, can transcribe yt videos, temporary email and phone number generation, has TTS support, and webai (terminal gpt and open interpreter).
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
7
7
  License: HelpingAI Simplified Universal License
@@ -36,7 +36,6 @@ Requires-Dist: halo>=0.0.31
36
36
  Requires-Dist: g4f>=0.2.2.3
37
37
  Requires-Dist: rich
38
38
  Requires-Dist: python-dotenv
39
- Requires-Dist: Helpingai-T2
40
39
  Requires-Dist: beautifulsoup4
41
40
  Requires-Dist: markdownify
42
41
  Requires-Dist: pydantic
@@ -55,6 +54,10 @@ Requires-Dist: playsound
55
54
  Provides-Extra: dev
56
55
  Requires-Dist: ruff>=0.1.6; extra == "dev"
57
56
  Requires-Dist: pytest>=7.4.2; extra == "dev"
57
+ Provides-Extra: local
58
+ Requires-Dist: llama-cpp-python; extra == "local"
59
+ Requires-Dist: colorama; extra == "local"
60
+ Requires-Dist: numpy; extra == "local"
58
61
 
59
62
  <div align="center">
60
63
  <!-- Replace `#` with your actual links -->
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ WEBS = webscout.cli:cli
3
+ webscout = webscout.webai:main
@@ -10,7 +10,6 @@ halo>=0.0.31
10
10
  g4f>=0.2.2.3
11
11
  rich
12
12
  python-dotenv
13
- Helpingai-T2
14
13
  beautifulsoup4
15
14
  markdownify
16
15
  pydantic
@@ -30,3 +29,8 @@ playsound
30
29
  [dev]
31
30
  ruff>=0.1.6
32
31
  pytest>=7.4.2
32
+
33
+ [local]
34
+ llama-cpp-python
35
+ colorama
36
+ numpy
webscout-2.2/setup.py DELETED
@@ -1,82 +0,0 @@
1
- from setuptools import setup, find_packages
2
-
3
- with open("README.md", encoding="utf-8") as f:
4
- README = f.read()
5
-
6
- setup(
7
- name="webscout",
8
- version="2.2",
9
- description="Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI models, can transcribe yt videos, temporary email and phone number generation, have TTS support and webai(terminal gpt and open interpeter)",
10
- long_description=README,
11
- long_description_content_type="text/markdown",
12
- author="OEvortex",
13
- author_email="helpingai5@gmail.com",
14
- packages=find_packages(),
15
- classifiers=[
16
- 'Development Status :: 5 - Production/Stable',
17
- 'Intended Audience :: Developers',
18
- 'License :: Other/Proprietary License',
19
- 'Operating System :: OS Independent',
20
- 'Programming Language :: Python :: 3',
21
- 'Programming Language :: Python :: 3.8',
22
- 'Programming Language :: Python :: 3.9',
23
- 'Programming Language :: Python :: 3.10',
24
- 'Programming Language :: Python :: 3.11',
25
- 'Programming Language :: Python :: 3.12',
26
- 'Programming Language :: Python :: Implementation :: CPython',
27
- 'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
28
- 'Topic :: Software Development :: Libraries :: Python Modules',
29
- ],
30
- install_requires=[
31
- "docstring_inheritance",
32
- "click",
33
- "curl_cffi",
34
- "lxml",
35
- "nest-asyncio",
36
- "selenium",
37
- "tqdm",
38
- "webdriver-manager",
39
- "halo>=0.0.31",
40
- "g4f>=0.2.2.3",
41
- "rich",
42
- "python-dotenv",
43
- "Helpingai-T2",
44
- "beautifulsoup4",
45
- "markdownify",
46
- "pydantic",
47
- "requests",
48
- "sse_starlette",
49
- "termcolor",
50
- "tiktoken",
51
- "tldextract",
52
- "orjson",
53
- "PyYAML",
54
- "appdirs",
55
- "GoogleBard1>=2.1.4",
56
- "tls_client",
57
- "clipman",
58
- "playsound",
59
- ],
60
- entry_points={
61
- "console_scripts": [
62
- "WEBS = webscout.cli:cli",
63
- "webscout-ai-phindsearch = webscout.AI:phindsearch",
64
- "webscout-ai-yepchat = webscout.AI:yepchat",
65
- "webscout-ai = webscout.AI:cli",
66
- "webscout-llm = webscout.LLM:chat",
67
- ],
68
- },
69
- extras_require={
70
- "dev": [
71
- "ruff>=0.1.6",
72
- "pytest>=7.4.2",
73
- ],
74
- },
75
- license='HelpingAI Simplified Universal License',
76
- project_urls={
77
- 'Documentation': 'https://github.com/OE-LUCIFER/Webscout/wiki',
78
- 'Source': 'https://github.com/OE-LUCIFER/Webscout',
79
- 'Tracker': 'https://github.com/OE-LUCIFER/Webscout/issues',
80
- 'YouTube': 'https://youtube.com/@OEvortex',
81
- },
82
- )
@@ -1,117 +0,0 @@
1
- """Webscout.
2
-
3
- Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI models, can transcribe yt videos, temporary email and phone number generation, have TTS support and webai(terminal gpt and open interpeter)
4
- """
5
- # webscout/__init__.py
6
-
7
- from .webscout_search import WEBS
8
- from .webscout_search_async import AsyncWEBS
9
- from .version import __version__
10
- from .DWEBS import DeepWEBS
11
- from .transcriber import transcriber
12
- from .voice import play_audio
13
- import g4f
14
- # Import provider classes for direct access
15
- from .Provider import (
16
- ThinkAnyAI,
17
- Xjai,
18
- LLAMA2,
19
- AsyncLLAMA2,
20
- Cohere,
21
- REKA,
22
- GROQ,
23
- AsyncGROQ,
24
- OPENAI,
25
- AsyncOPENAI,
26
- LEO,
27
- AsyncLEO,
28
- KOBOLDAI,
29
- AsyncKOBOLDAI,
30
- OPENGPT,
31
- AsyncOPENGPT,
32
- PERPLEXITY,
33
- BLACKBOXAI,
34
- AsyncBLACKBOXAI,
35
- PhindSearch,
36
- AsyncPhindSearch,
37
- YEPCHAT,
38
- AsyncYEPCHAT,
39
- YouChat,
40
- GEMINI,
41
- Berlin4h,
42
- ChatGPTUK,
43
- )
44
-
45
- __repo__ = "https://github.com/OE-LUCIFER/Webscout"
46
-
47
- webai = [
48
- "leo",
49
- "openai",
50
- "opengpt",
51
- "koboldai",
52
- "gemini",
53
- "phind",
54
- "blackboxai",
55
- "g4fauto",
56
- "perplexity",
57
- "groq",
58
- "reka",
59
- "cohere",
60
- "yepchat",
61
- "you",
62
- "xjai",
63
- "thinkany",
64
- "berlin4h",
65
- "chatgptuk",
66
- "auto",
67
- ]
68
-
69
- gpt4free_providers = [
70
- provider.__name__ for provider in g4f.Provider.__providers__ # if provider.working
71
- ]
72
-
73
- available_providers = webai + gpt4free_providers
74
-
75
- # Add all the provider classes you want to directly import to __all__
76
- __all__ = [
77
- "WEBS",
78
- "AsyncWEBS",
79
- "__version__",
80
- "cli",
81
- "DeepWEBS",
82
- "transcriber",
83
- "play_audio",
84
-
85
- # AI Providers
86
- "ThinkAnyAI",
87
- "Xjai",
88
- "LLAMA2",
89
- "AsyncLLAMA2",
90
- "Cohere",
91
- "REKA",
92
- "GROQ",
93
- "AsyncGROQ",
94
- "OPENAI",
95
- "AsyncOPENAI",
96
- "LEO",
97
- "AsyncLEO",
98
- "KOBOLDAI",
99
- "AsyncKOBOLDAI",
100
- "OPENGPT",
101
- "AsyncOPENGPT",
102
- "PERPLEXITY",
103
- "BLACKBOXAI",
104
- "AsyncBLACKBOXAI",
105
- "PhindSearch",
106
- "AsyncPhindSearch",
107
- "YEPCHAT",
108
- "AsyncYEPCHAT",
109
- "YouChat",
110
- "GEMINI",
111
- "Berlin4h",
112
- "ChatGPTUK",
113
- ]
114
-
115
- # Set up basic logger
116
- import logging
117
- logging.getLogger("webscout").addHandler(logging.NullHandler())
@@ -1,6 +0,0 @@
1
- [console_scripts]
2
- WEBS = webscout.cli:cli
3
- webscout-ai = webscout.AI:cli
4
- webscout-ai-phindsearch = webscout.AI:phindsearch
5
- webscout-ai-yepchat = webscout.AI:yepchat
6
- webscout-llm = webscout.LLM:chat
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes