webscout 4.6__tar.gz → 4.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.
Potentially problematic release.
This version of webscout might be problematic. Click here for more details.
- {webscout-4.6/webscout.egg-info → webscout-4.7}/PKG-INFO +29 -47
- {webscout-4.6 → webscout-4.7}/README.md +27 -46
- {webscout-4.6 → webscout-4.7}/setup.py +2 -1
- {webscout-4.6 → webscout-4.7}/webscout/Provider/__init__.py +4 -1
- webscout-4.7/webscout/Provider/meta.py +778 -0
- {webscout-4.6 → webscout-4.7}/webscout/exceptions.py +6 -0
- {webscout-4.6 → webscout-4.7/webscout.egg-info}/PKG-INFO +29 -47
- {webscout-4.6 → webscout-4.7}/webscout.egg-info/SOURCES.txt +2 -1
- {webscout-4.6 → webscout-4.7}/webscout.egg-info/requires.txt +1 -0
- {webscout-4.6 → webscout-4.7}/LICENSE.md +0 -0
- {webscout-4.6 → webscout-4.7}/setup.cfg +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/AIauto.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/AIbase.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/AIutel.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Agents/Onlinesearcher.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Agents/__init__.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Agents/functioncall.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/DWEBS.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Extra/__init__.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Extra/autollama.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Extra/gguf.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Extra/weather.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Extra/weather_ascii.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/GoogleS.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/LLM.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Local/__init__.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Local/_version.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Local/formats.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Local/model.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Local/rawdog.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Local/samplers.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Local/thread.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Local/utils.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Andi.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/BasedGPT.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Berlin4h.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Blackboxai.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/ChatGPTUK.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Cohere.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/DARKAI.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Deepinfra.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Deepseek.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/FreeGemini.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Gemini.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Geminiflash.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Geminipro.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Groq.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Koboldai.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Leo.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Llama.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Llama3.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/OLLAMA.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/OpenGPT.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Openai.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Perplexity.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Phind.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/PizzaGPT.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Poe.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/RUBIKSAI.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Reka.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/ThinkAnyAI.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/VTLchat.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Xjai.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Yepchat.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/Youchat.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/Provider/koala.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/YTdownloader.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/__init__.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/__main__.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/async_providers.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/cli.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/g4f.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/models.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/tempid.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/transcriber.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/utils.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/version.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/voice.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/webai.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/webscout_search.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/webscout_search_async.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout/websx_search.py +0 -0
- {webscout-4.6 → webscout-4.7}/webscout.egg-info/dependency_links.txt +0 -0
- {webscout-4.6 → webscout-4.7}/webscout.egg-info/entry_points.txt +0 -0
- {webscout-4.6 → webscout-4.7}/webscout.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: webscout
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.7
|
|
4
4
|
Summary: Search for anything using Google, DuckDuckGo, brave, qwant, phind.com, Contains AI models, can transcribe yt videos, temporary email and phone number generation, has TTS support, webai (terminal gpt and open interpreter) and offline LLMs and more
|
|
5
5
|
Author: OEvortex
|
|
6
6
|
Author-email: helpingai5@gmail.com
|
|
@@ -62,6 +62,7 @@ Requires-Dist: ollama
|
|
|
62
62
|
Requires-Dist: pyfiglet
|
|
63
63
|
Requires-Dist: yaspin
|
|
64
64
|
Requires-Dist: pillow
|
|
65
|
+
Requires-Dist: requests_html
|
|
65
66
|
Provides-Extra: dev
|
|
66
67
|
Requires-Dist: ruff>=0.1.6; extra == "dev"
|
|
67
68
|
Requires-Dist: pytest>=7.4.2; extra == "dev"
|
|
@@ -1176,55 +1177,36 @@ prompt = "Explain the concept of recursion in simple terms."
|
|
|
1176
1177
|
response = perplexity.chat(prompt)
|
|
1177
1178
|
print(response)
|
|
1178
1179
|
```
|
|
1179
|
-
### 8. `
|
|
1180
|
+
### 8. `meta ai` - chat With meta ai
|
|
1180
1181
|
```python
|
|
1181
|
-
from webscout import
|
|
1182
|
+
from webscout import Meta
|
|
1183
|
+
from rich import print
|
|
1184
|
+
# **For unauthenticated usage**
|
|
1185
|
+
meta_ai = Meta()
|
|
1182
1186
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
prompt = input("Enter your prompt: ")
|
|
1187
|
-
# Send the prompt to the OPENGPT model and print the response
|
|
1188
|
-
response_str = opengpt.chat(prompt)
|
|
1189
|
-
print(response_str)
|
|
1190
|
-
```
|
|
1191
|
-
```python
|
|
1192
|
-
from webscout import OPENGPTv2
|
|
1193
|
-
|
|
1194
|
-
# Initialize the bot with all specified settings
|
|
1195
|
-
bot = OPENGPTv2(
|
|
1196
|
-
generate_new_agents=True, # Set to True to generate new IDs, False to load from file
|
|
1197
|
-
assistant_name="My Custom Assistant",
|
|
1198
|
-
retrieval_description="Helpful information from my files.",
|
|
1199
|
-
agent_system_message="",
|
|
1200
|
-
enable_action_server=False, # Assuming you want to disable Action Server by Robocorp
|
|
1201
|
-
enable_ddg_search=False, # Enable DuckDuckGo search tool
|
|
1202
|
-
enable_arxiv=False, # Assuming you want to disable Arxiv
|
|
1203
|
-
enable_press_releases=False, # Assuming you want to disable Press Releases (Kay.ai)
|
|
1204
|
-
enable_pubmed=False, # Assuming you want to disable PubMed
|
|
1205
|
-
enable_sec_filings=False, # Assuming you want to disable SEC Filings (Kay.ai)
|
|
1206
|
-
enable_retrieval=False, # Assuming you want to disable Retrieval
|
|
1207
|
-
enable_search_tavily=False, # Assuming you want to disable Search (Tavily)
|
|
1208
|
-
enable_search_short_answer_tavily=False, # Assuming you want to disable Search (short answer, Tavily)
|
|
1209
|
-
enable_you_com_search=True, # Assuming you want to disable You.com Search
|
|
1210
|
-
enable_wikipedia=False, # Enable Wikipedia tool
|
|
1211
|
-
is_public=True,
|
|
1212
|
-
is_conversation=True,
|
|
1213
|
-
max_tokens=800,
|
|
1214
|
-
timeout=40,
|
|
1215
|
-
filepath="opengpt_conversation_history.txt",
|
|
1216
|
-
update_file=True,
|
|
1217
|
-
history_offset=10250,
|
|
1218
|
-
act=None,
|
|
1219
|
-
)
|
|
1187
|
+
# Simple text prompt
|
|
1188
|
+
response = meta_ai.chat("What is the capital of France?")
|
|
1189
|
+
print(response)
|
|
1220
1190
|
|
|
1221
|
-
#
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1191
|
+
# Streaming response
|
|
1192
|
+
for chunk in meta_ai.chat("Tell me a story about a cat."):
|
|
1193
|
+
print(chunk, end="", flush=True)
|
|
1194
|
+
|
|
1195
|
+
# **For authenticated usage (including image generation)**
|
|
1196
|
+
fb_email = "abcd@abc.com"
|
|
1197
|
+
fb_password = "qwertfdsa"
|
|
1198
|
+
meta_ai = Meta(fb_email=fb_email, fb_password=fb_password)
|
|
1199
|
+
|
|
1200
|
+
# Text prompt with web search
|
|
1201
|
+
response = meta_ai.ask("what is currently happning in bangladesh in aug 2024")
|
|
1202
|
+
print(response["message"]) # Access the text message
|
|
1203
|
+
print("Sources:", response["sources"]) # Access sources (if any)
|
|
1204
|
+
|
|
1205
|
+
# Image generation
|
|
1206
|
+
response = meta_ai.ask("Create an image of a cat wearing a hat.")
|
|
1207
|
+
print(response["message"]) # Print the text message from the response
|
|
1208
|
+
for media in response["media"]:
|
|
1209
|
+
print(media["url"]) # Access image URLs
|
|
1228
1210
|
|
|
1229
1211
|
```
|
|
1230
1212
|
### 9. `KOBOLDAI` -
|
|
@@ -1103,55 +1103,36 @@ prompt = "Explain the concept of recursion in simple terms."
|
|
|
1103
1103
|
response = perplexity.chat(prompt)
|
|
1104
1104
|
print(response)
|
|
1105
1105
|
```
|
|
1106
|
-
### 8. `
|
|
1106
|
+
### 8. `meta ai` - chat With meta ai
|
|
1107
1107
|
```python
|
|
1108
|
-
from webscout import
|
|
1108
|
+
from webscout import Meta
|
|
1109
|
+
from rich import print
|
|
1110
|
+
# **For unauthenticated usage**
|
|
1111
|
+
meta_ai = Meta()
|
|
1109
1112
|
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
prompt = input("Enter your prompt: ")
|
|
1114
|
-
# Send the prompt to the OPENGPT model and print the response
|
|
1115
|
-
response_str = opengpt.chat(prompt)
|
|
1116
|
-
print(response_str)
|
|
1117
|
-
```
|
|
1118
|
-
```python
|
|
1119
|
-
from webscout import OPENGPTv2
|
|
1120
|
-
|
|
1121
|
-
# Initialize the bot with all specified settings
|
|
1122
|
-
bot = OPENGPTv2(
|
|
1123
|
-
generate_new_agents=True, # Set to True to generate new IDs, False to load from file
|
|
1124
|
-
assistant_name="My Custom Assistant",
|
|
1125
|
-
retrieval_description="Helpful information from my files.",
|
|
1126
|
-
agent_system_message="",
|
|
1127
|
-
enable_action_server=False, # Assuming you want to disable Action Server by Robocorp
|
|
1128
|
-
enable_ddg_search=False, # Enable DuckDuckGo search tool
|
|
1129
|
-
enable_arxiv=False, # Assuming you want to disable Arxiv
|
|
1130
|
-
enable_press_releases=False, # Assuming you want to disable Press Releases (Kay.ai)
|
|
1131
|
-
enable_pubmed=False, # Assuming you want to disable PubMed
|
|
1132
|
-
enable_sec_filings=False, # Assuming you want to disable SEC Filings (Kay.ai)
|
|
1133
|
-
enable_retrieval=False, # Assuming you want to disable Retrieval
|
|
1134
|
-
enable_search_tavily=False, # Assuming you want to disable Search (Tavily)
|
|
1135
|
-
enable_search_short_answer_tavily=False, # Assuming you want to disable Search (short answer, Tavily)
|
|
1136
|
-
enable_you_com_search=True, # Assuming you want to disable You.com Search
|
|
1137
|
-
enable_wikipedia=False, # Enable Wikipedia tool
|
|
1138
|
-
is_public=True,
|
|
1139
|
-
is_conversation=True,
|
|
1140
|
-
max_tokens=800,
|
|
1141
|
-
timeout=40,
|
|
1142
|
-
filepath="opengpt_conversation_history.txt",
|
|
1143
|
-
update_file=True,
|
|
1144
|
-
history_offset=10250,
|
|
1145
|
-
act=None,
|
|
1146
|
-
)
|
|
1113
|
+
# Simple text prompt
|
|
1114
|
+
response = meta_ai.chat("What is the capital of France?")
|
|
1115
|
+
print(response)
|
|
1147
1116
|
|
|
1148
|
-
#
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1117
|
+
# Streaming response
|
|
1118
|
+
for chunk in meta_ai.chat("Tell me a story about a cat."):
|
|
1119
|
+
print(chunk, end="", flush=True)
|
|
1120
|
+
|
|
1121
|
+
# **For authenticated usage (including image generation)**
|
|
1122
|
+
fb_email = "abcd@abc.com"
|
|
1123
|
+
fb_password = "qwertfdsa"
|
|
1124
|
+
meta_ai = Meta(fb_email=fb_email, fb_password=fb_password)
|
|
1125
|
+
|
|
1126
|
+
# Text prompt with web search
|
|
1127
|
+
response = meta_ai.ask("what is currently happning in bangladesh in aug 2024")
|
|
1128
|
+
print(response["message"]) # Access the text message
|
|
1129
|
+
print("Sources:", response["sources"]) # Access sources (if any)
|
|
1130
|
+
|
|
1131
|
+
# Image generation
|
|
1132
|
+
response = meta_ai.ask("Create an image of a cat wearing a hat.")
|
|
1133
|
+
print(response["message"]) # Print the text message from the response
|
|
1134
|
+
for media in response["media"]:
|
|
1135
|
+
print(media["url"]) # Access image URLs
|
|
1155
1136
|
|
|
1156
1137
|
```
|
|
1157
1138
|
### 9. `KOBOLDAI` -
|
|
@@ -5,7 +5,7 @@ with open("README.md", encoding="utf-8") as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="webscout",
|
|
8
|
-
version="4.
|
|
8
|
+
version="4.7",
|
|
9
9
|
description="Search for anything using Google, DuckDuckGo, brave, qwant, phind.com, Contains AI models, can transcribe yt videos, temporary email and phone number generation, has TTS support, webai (terminal gpt and open interpreter) and offline LLMs and more",
|
|
10
10
|
long_description=README,
|
|
11
11
|
long_description_content_type="text/markdown",
|
|
@@ -66,6 +66,7 @@ setup(
|
|
|
66
66
|
"pyfiglet",
|
|
67
67
|
"yaspin",
|
|
68
68
|
"pillow",
|
|
69
|
+
"requests_html"
|
|
69
70
|
],
|
|
70
71
|
entry_points={
|
|
71
72
|
"console_scripts": [
|
|
@@ -44,6 +44,8 @@ from .Llama3 import *
|
|
|
44
44
|
from .DARKAI import *
|
|
45
45
|
from .koala import *
|
|
46
46
|
from .RUBIKSAI import *
|
|
47
|
+
from .meta import *
|
|
48
|
+
|
|
47
49
|
__all__ = [
|
|
48
50
|
'ThinkAnyAI',
|
|
49
51
|
'Xjai',
|
|
@@ -90,5 +92,6 @@ __all__ = [
|
|
|
90
92
|
'LLAMA3',
|
|
91
93
|
'DARKAI',
|
|
92
94
|
'KOALA',
|
|
93
|
-
'RUBIKSAI'
|
|
95
|
+
'RUBIKSAI',
|
|
96
|
+
'Meta',
|
|
94
97
|
]
|