webscout 2.2__tar.gz → 2.3__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 (72) hide show
  1. {webscout-2.2 → webscout-2.3}/PKG-INFO +6 -3
  2. webscout-2.3/setup.py +83 -0
  3. {webscout-2.2 → webscout-2.3}/webscout/AIauto.py +54 -13
  4. webscout-2.3/webscout/Local/__init__.py +10 -0
  5. webscout-2.3/webscout/Local/_version.py +3 -0
  6. webscout-2.3/webscout/Local/formats.py +482 -0
  7. webscout-2.3/webscout/Local/model.py +702 -0
  8. webscout-2.3/webscout/Local/samplers.py +161 -0
  9. webscout-2.3/webscout/Local/thread.py +641 -0
  10. webscout-2.3/webscout/Local/utils.py +171 -0
  11. webscout-2.3/webscout/__init__.py +119 -0
  12. {webscout-2.2 → webscout-2.3}/webscout/async_providers.py +9 -9
  13. {webscout-2.2 → webscout-2.3}/webscout/g4f.py +2 -2
  14. {webscout-2.2 → webscout-2.3}/webscout.egg-info/PKG-INFO +6 -3
  15. {webscout-2.2 → webscout-2.3}/webscout.egg-info/SOURCES.txt +7 -0
  16. webscout-2.3/webscout.egg-info/entry_points.txt +3 -0
  17. {webscout-2.2 → webscout-2.3}/webscout.egg-info/requires.txt +5 -1
  18. webscout-2.2/setup.py +0 -82
  19. webscout-2.2/webscout/__init__.py +0 -117
  20. webscout-2.2/webscout.egg-info/entry_points.txt +0 -6
  21. {webscout-2.2 → webscout-2.3}/DeepWEBS/__init__.py +0 -0
  22. {webscout-2.2 → webscout-2.3}/DeepWEBS/documents/__init__.py +0 -0
  23. {webscout-2.2 → webscout-2.3}/DeepWEBS/documents/query_results_extractor.py +0 -0
  24. {webscout-2.2 → webscout-2.3}/DeepWEBS/documents/webpage_content_extractor.py +0 -0
  25. {webscout-2.2 → webscout-2.3}/DeepWEBS/networks/__init__.py +0 -0
  26. {webscout-2.2 → webscout-2.3}/DeepWEBS/networks/filepath_converter.py +0 -0
  27. {webscout-2.2 → webscout-2.3}/DeepWEBS/networks/google_searcher.py +0 -0
  28. {webscout-2.2 → webscout-2.3}/DeepWEBS/networks/network_configs.py +0 -0
  29. {webscout-2.2 → webscout-2.3}/DeepWEBS/networks/webpage_fetcher.py +0 -0
  30. {webscout-2.2 → webscout-2.3}/DeepWEBS/utilsdw/__init__.py +0 -0
  31. {webscout-2.2 → webscout-2.3}/DeepWEBS/utilsdw/enver.py +0 -0
  32. {webscout-2.2 → webscout-2.3}/DeepWEBS/utilsdw/logger.py +0 -0
  33. {webscout-2.2 → webscout-2.3}/LICENSE.md +0 -0
  34. {webscout-2.2 → webscout-2.3}/README.md +0 -0
  35. {webscout-2.2 → webscout-2.3}/setup.cfg +0 -0
  36. {webscout-2.2 → webscout-2.3}/webscout/AIbase.py +0 -0
  37. {webscout-2.2 → webscout-2.3}/webscout/AIutel.py +0 -0
  38. {webscout-2.2 → webscout-2.3}/webscout/DWEBS.py +0 -0
  39. {webscout-2.2 → webscout-2.3}/webscout/LLM.py +0 -0
  40. {webscout-2.2 → webscout-2.3}/webscout/Provider/Berlin4h.py +0 -0
  41. {webscout-2.2 → webscout-2.3}/webscout/Provider/Blackboxai.py +0 -0
  42. {webscout-2.2 → webscout-2.3}/webscout/Provider/ChatGPTUK.py +0 -0
  43. {webscout-2.2 → webscout-2.3}/webscout/Provider/Cohere.py +0 -0
  44. {webscout-2.2 → webscout-2.3}/webscout/Provider/Gemini.py +0 -0
  45. {webscout-2.2 → webscout-2.3}/webscout/Provider/Groq.py +0 -0
  46. {webscout-2.2 → webscout-2.3}/webscout/Provider/Koboldai.py +0 -0
  47. {webscout-2.2 → webscout-2.3}/webscout/Provider/Leo.py +0 -0
  48. {webscout-2.2 → webscout-2.3}/webscout/Provider/Llama2.py +0 -0
  49. {webscout-2.2 → webscout-2.3}/webscout/Provider/OpenGPT.py +0 -0
  50. {webscout-2.2 → webscout-2.3}/webscout/Provider/Openai.py +0 -0
  51. {webscout-2.2 → webscout-2.3}/webscout/Provider/Perplexity.py +0 -0
  52. {webscout-2.2 → webscout-2.3}/webscout/Provider/Phind.py +0 -0
  53. {webscout-2.2 → webscout-2.3}/webscout/Provider/Reka.py +0 -0
  54. {webscout-2.2 → webscout-2.3}/webscout/Provider/ThinkAnyAI.py +0 -0
  55. {webscout-2.2 → webscout-2.3}/webscout/Provider/Xjai.py +0 -0
  56. {webscout-2.2 → webscout-2.3}/webscout/Provider/Yepchat.py +0 -0
  57. {webscout-2.2 → webscout-2.3}/webscout/Provider/Youchat.py +0 -0
  58. {webscout-2.2 → webscout-2.3}/webscout/Provider/__init__.py +0 -0
  59. {webscout-2.2 → webscout-2.3}/webscout/__main__.py +0 -0
  60. {webscout-2.2 → webscout-2.3}/webscout/cli.py +0 -0
  61. {webscout-2.2 → webscout-2.3}/webscout/exceptions.py +0 -0
  62. {webscout-2.2 → webscout-2.3}/webscout/models.py +0 -0
  63. {webscout-2.2 → webscout-2.3}/webscout/tempid.py +0 -0
  64. {webscout-2.2 → webscout-2.3}/webscout/transcriber.py +0 -0
  65. {webscout-2.2 → webscout-2.3}/webscout/utils.py +0 -0
  66. {webscout-2.2 → webscout-2.3}/webscout/version.py +0 -0
  67. {webscout-2.2 → webscout-2.3}/webscout/voice.py +0 -0
  68. {webscout-2.2 → webscout-2.3}/webscout/webai.py +0 -0
  69. {webscout-2.2 → webscout-2.3}/webscout/webscout_search.py +0 -0
  70. {webscout-2.2 → webscout-2.3}/webscout/webscout_search_async.py +0 -0
  71. {webscout-2.2 → webscout-2.3}/webscout.egg-info/dependency_links.txt +0 -0
  72. {webscout-2.2 → webscout-2.3}/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.3
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 -->
webscout-2.3/setup.py ADDED
@@ -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",
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,10 @@
1
+ # webscout\easy_LLM\__init__.py
2
+ from ._version import __version__, __llama_cpp_version__
3
+
4
+
5
+ from . import formats
6
+ from . import samplers
7
+ from . import utils
8
+
9
+ from .model import Model
10
+ from .thread import Thread
@@ -0,0 +1,3 @@
1
+ from llama_cpp import __version__ as __llama_cpp_version__
2
+
3
+ __version__ = '2.3'