webscout 2.6__py3-none-any.whl → 2.8__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.
Potentially problematic release.
This version of webscout might be problematic. Click here for more details.
- webscout/LLM.py +56 -1
- webscout/Local/_version.py +1 -1
- webscout/Local/formats.py +154 -88
- webscout/Local/model.py +4 -4
- webscout/Local/thread.py +166 -156
- webscout/Provider/BasedGPT.py +226 -0
- webscout/Provider/__init__.py +1 -0
- webscout/__init__.py +2 -2
- webscout/cli.py +39 -3
- webscout/version.py +1 -1
- webscout/webscout_search.py +1018 -40
- webscout/webscout_search_async.py +151 -839
- {webscout-2.6.dist-info → webscout-2.8.dist-info}/METADATA +37 -21
- {webscout-2.6.dist-info → webscout-2.8.dist-info}/RECORD +18 -17
- {webscout-2.6.dist-info → webscout-2.8.dist-info}/LICENSE.md +0 -0
- {webscout-2.6.dist-info → webscout-2.8.dist-info}/WHEEL +0 -0
- {webscout-2.6.dist-info → webscout-2.8.dist-info}/entry_points.txt +0 -0
- {webscout-2.6.dist-info → webscout-2.8.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: webscout
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8
|
|
4
4
|
Summary: Search for anything using Google, DuckDuckGo, 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
|
|
5
5
|
Author: OEvortex
|
|
6
6
|
Author-email: helpingai5@gmail.com
|
|
@@ -52,6 +52,8 @@ Requires-Dist: tls-client
|
|
|
52
52
|
Requires-Dist: clipman
|
|
53
53
|
Requires-Dist: Helpingai-T2
|
|
54
54
|
Requires-Dist: playsound
|
|
55
|
+
Requires-Dist: poe-api-wrapper
|
|
56
|
+
Requires-Dist: pyreqwest-impersonate
|
|
55
57
|
Provides-Extra: dev
|
|
56
58
|
Requires-Dist: ruff >=0.1.6 ; extra == 'dev'
|
|
57
59
|
Requires-Dist: pytest >=7.4.2 ; extra == 'dev'
|
|
@@ -109,17 +111,18 @@ Search for anything using Google, DuckDuckGo, phind.com, Contains AI models, can
|
|
|
109
111
|
- [Available TTS Voices:](#available-tts-voices)
|
|
110
112
|
- [Exceptions](#exceptions)
|
|
111
113
|
- [usage of webscout](#usage-of-webscout)
|
|
112
|
-
- [1. `text()` - text search by DuckDuckGo.com
|
|
113
|
-
- [2. `answers()` - instant answers by DuckDuckGo.com
|
|
114
|
-
- [3. `images()` - image search by DuckDuckGo.com
|
|
114
|
+
- [1. `text()` - text search by DuckDuckGo.com](#1-text---text-search-by-duckduckgocom)
|
|
115
|
+
- [2. `answers()` - instant answers by DuckDuckGo.com](#2-answers---instant-answers-by-duckduckgocom)
|
|
116
|
+
- [3. `images()` - image search by DuckDuckGo.com](#3-images---image-search-by-duckduckgocom)
|
|
115
117
|
- [4. `videos()` - video search by DuckDuckGo.com](#4-videos---video-search-by-duckduckgocom)
|
|
116
|
-
- [5. `news()` - news search by DuckDuckGo.com
|
|
117
|
-
- [6. `maps()` - map search by DuckDuckGo.com
|
|
118
|
-
- [7. `translate()` - translation by DuckDuckGo.com
|
|
119
|
-
- [8. `suggestions()` - suggestions by DuckDuckGo.com
|
|
118
|
+
- [5. `news()` - news search by DuckDuckGo.com](#5-news---news-search-by-duckduckgocom)
|
|
119
|
+
- [6. `maps()` - map search by DuckDuckGo.com](#6-maps---map-search-by-duckduckgocom)
|
|
120
|
+
- [7. `translate()` - translation by DuckDuckGo.com](#7-translate---translation-by-duckduckgocom)
|
|
121
|
+
- [8. `suggestions()` - suggestions by DuckDuckGo.com](#8-suggestions---suggestions-by-duckduckgocom)
|
|
120
122
|
- [ALL acts](#all-acts)
|
|
121
123
|
- [Webscout Supported Acts:](#webscout-supported-acts)
|
|
122
124
|
- [usage of webscout AI](#usage-of-webscout-ai)
|
|
125
|
+
- [0. `Duckchat` - chat with LLM](#0-duckchat---chat-with-llm)
|
|
123
126
|
- [1. `PhindSearch` - Search using Phind.com](#1-phindsearch---search-using-phindcom)
|
|
124
127
|
- [2. `YepChat` - Chat with mistral 8x7b powered by yepchat](#2-yepchat---chat-with-mistral-8x7b-powered-by-yepchat)
|
|
125
128
|
- [3. `You.com` - search/chat with you.com](#3-youcom---searchchat-with-youcom)
|
|
@@ -134,6 +137,8 @@ Search for anything using Google, DuckDuckGo, phind.com, Contains AI models, can
|
|
|
134
137
|
- [12. `Xjai` - chat with free gpt 3.5](#12-xjai---chat-with-free-gpt-35)
|
|
135
138
|
- [13. `ThinkAny` - AI search engine](#13-thinkany---ai-search-engine)
|
|
136
139
|
- [14. `chatgptuk` - Chat with gemini-pro](#14-chatgptuk---chat-with-gemini-pro)
|
|
140
|
+
- [15. `poe`- chat with poe](#15-poe--chat-with-poe)
|
|
141
|
+
- [16. `BasedGPT` - chat with GPT](#16-basedgpt---chat-with-gpt)
|
|
137
142
|
- [`LLM`](#llm)
|
|
138
143
|
- [`Local-LLM` webscout can now run GGUF models](#local-llm-webscout-can-now-run-gguf-models)
|
|
139
144
|
- [`LLM` with internet](#llm-with-internet)
|
|
@@ -525,12 +530,12 @@ Exceptions:
|
|
|
525
530
|
|
|
526
531
|
## usage of webscout
|
|
527
532
|
|
|
528
|
-
### 1. `text()` - text search by DuckDuckGo.com
|
|
533
|
+
### 1. `text()` - text search by DuckDuckGo.com
|
|
529
534
|
|
|
530
535
|
```python
|
|
531
536
|
from webscout import WEBS
|
|
532
537
|
|
|
533
|
-
# Text search for 'live free or die' using DuckDuckGo.com
|
|
538
|
+
# Text search for 'live free or die' using DuckDuckGo.com
|
|
534
539
|
with WEBS() as WEBS:
|
|
535
540
|
for r in WEBS.text('live free or die', region='wt-wt', safesearch='off', timelimit='y', max_results=10):
|
|
536
541
|
print(r)
|
|
@@ -539,23 +544,23 @@ with WEBS() as WEBS:
|
|
|
539
544
|
print(r)
|
|
540
545
|
```
|
|
541
546
|
|
|
542
|
-
### 2. `answers()` - instant answers by DuckDuckGo.com
|
|
547
|
+
### 2. `answers()` - instant answers by DuckDuckGo.com
|
|
543
548
|
|
|
544
549
|
```python
|
|
545
550
|
from webscout import WEBS
|
|
546
551
|
|
|
547
|
-
# Instant answers for the query "sun" using DuckDuckGo.com
|
|
552
|
+
# Instant answers for the query "sun" using DuckDuckGo.com
|
|
548
553
|
with WEBS() as WEBS:
|
|
549
554
|
for r in WEBS.answers("sun"):
|
|
550
555
|
print(r)
|
|
551
556
|
```
|
|
552
557
|
|
|
553
|
-
### 3. `images()` - image search by DuckDuckGo.com
|
|
558
|
+
### 3. `images()` - image search by DuckDuckGo.com
|
|
554
559
|
|
|
555
560
|
```python
|
|
556
561
|
from webscout import WEBS
|
|
557
562
|
|
|
558
|
-
# Image search for the keyword 'butterfly' using DuckDuckGo.com
|
|
563
|
+
# Image search for the keyword 'butterfly' using DuckDuckGo.com
|
|
559
564
|
with WEBS() as WEBS:
|
|
560
565
|
keywords = 'butterfly'
|
|
561
566
|
WEBS_images_gen = WEBS.images(
|
|
@@ -593,7 +598,7 @@ with WEBS() as WEBS:
|
|
|
593
598
|
print(r)
|
|
594
599
|
```
|
|
595
600
|
|
|
596
|
-
### 5. `news()` - news search by DuckDuckGo.com
|
|
601
|
+
### 5. `news()` - news search by DuckDuckGo.com
|
|
597
602
|
|
|
598
603
|
```python
|
|
599
604
|
from webscout import WEBS
|
|
@@ -640,7 +645,7 @@ print(formatted_headlines)
|
|
|
640
645
|
|
|
641
646
|
```
|
|
642
647
|
|
|
643
|
-
### 6. `maps()` - map search by DuckDuckGo.com
|
|
648
|
+
### 6. `maps()` - map search by DuckDuckGo.com
|
|
644
649
|
|
|
645
650
|
```python
|
|
646
651
|
from webscout import WEBS
|
|
@@ -651,24 +656,24 @@ with WEBS() as WEBS:
|
|
|
651
656
|
print(r)
|
|
652
657
|
```
|
|
653
658
|
|
|
654
|
-
### 7. `translate()` - translation by DuckDuckGo.com
|
|
659
|
+
### 7. `translate()` - translation by DuckDuckGo.com
|
|
655
660
|
|
|
656
661
|
```python
|
|
657
662
|
from webscout import WEBS
|
|
658
663
|
|
|
659
|
-
# Translation of the keyword 'school' to German ('hi') using DuckDuckGo.com
|
|
664
|
+
# Translation of the keyword 'school' to German ('hi') using DuckDuckGo.com
|
|
660
665
|
with WEBS() as WEBS:
|
|
661
666
|
keywords = 'school'
|
|
662
667
|
r = WEBS.translate(keywords, to="hi")
|
|
663
668
|
print(r)
|
|
664
669
|
```
|
|
665
670
|
|
|
666
|
-
### 8. `suggestions()` - suggestions by DuckDuckGo.com
|
|
671
|
+
### 8. `suggestions()` - suggestions by DuckDuckGo.com
|
|
667
672
|
|
|
668
673
|
```python
|
|
669
674
|
from webscout import WEBS
|
|
670
675
|
|
|
671
|
-
# Suggestions for the keyword 'fly' using DuckDuckGo.com
|
|
676
|
+
# Suggestions for the keyword 'fly' using DuckDuckGo.com
|
|
672
677
|
with WEBS() as WEBS:
|
|
673
678
|
for r in WEBS.suggestions("fly"):
|
|
674
679
|
print(r)
|
|
@@ -931,7 +936,12 @@ ___
|
|
|
931
936
|
</details>
|
|
932
937
|
|
|
933
938
|
## usage of webscout AI
|
|
934
|
-
|
|
939
|
+
### 0. `Duckchat` - chat with LLM
|
|
940
|
+
```python
|
|
941
|
+
from webscout import WEBS as w
|
|
942
|
+
R = w().chat("hello", model='claude-3-haiku') # GPT-3.5 Turbo
|
|
943
|
+
print(R)
|
|
944
|
+
```
|
|
935
945
|
### 1. `PhindSearch` - Search using Phind.com
|
|
936
946
|
|
|
937
947
|
```python
|
|
@@ -1199,7 +1209,13 @@ ai = ChatGPTUK(
|
|
|
1199
1209
|
prompt = "Explain the concept of recursion in simple terms."
|
|
1200
1210
|
response = ai.chat(prompt)
|
|
1201
1211
|
print(response)
|
|
1212
|
+
|
|
1202
1213
|
```
|
|
1214
|
+
### 15. `poe`- chat with poe
|
|
1215
|
+
Usage code similar to other proviers
|
|
1216
|
+
|
|
1217
|
+
### 16. `BasedGPT` - chat with GPT
|
|
1218
|
+
Usage code similar to other providers
|
|
1203
1219
|
### `LLM`
|
|
1204
1220
|
```python
|
|
1205
1221
|
from webscout.LLM import LLM
|
|
@@ -14,29 +14,30 @@ webscout/AIauto.py,sha256=xPGr_Z0h27XXNh4Wiufjn9TksDOqxqlaGcLUYKNP55w,18246
|
|
|
14
14
|
webscout/AIbase.py,sha256=GoHbN8r0gq2saYRZv6LA-Fr9Jlcjv80STKFXUq2ZeGU,4710
|
|
15
15
|
webscout/AIutel.py,sha256=YirhjJGkPWtv1Ceh0Mu4gVczXcOwW-LDhjfesWPHDwI,33256
|
|
16
16
|
webscout/DWEBS.py,sha256=QT-7-dUgWhQ_H7EVZD53AVyXxyskoPMKCkFIpzkN56Q,7332
|
|
17
|
-
webscout/LLM.py,sha256=
|
|
18
|
-
webscout/__init__.py,sha256=
|
|
17
|
+
webscout/LLM.py,sha256=LbGCZdJf8A5dwfoGS4tyy39tAh5BDdhMZP0ScKaaQfU,4184
|
|
18
|
+
webscout/__init__.py,sha256=QCcZuzCLjMjk7229CU50V1hgvvp6pB_vDDE3NvXRVHg,1840
|
|
19
19
|
webscout/__main__.py,sha256=ZtTRgsRjUi2JOvYFLF1ZCh55Sdoz94I-BS-TlJC7WDU,126
|
|
20
20
|
webscout/async_providers.py,sha256=holBv5SxanxVXc_92CBBaXHlB2IakB_fHnhyZaFjYF8,684
|
|
21
|
-
webscout/cli.py,sha256=
|
|
21
|
+
webscout/cli.py,sha256=174iWc0NxwfYMq9vyIk_NNnd3Q8bkzEiCa_BE6a0WZY,18743
|
|
22
22
|
webscout/exceptions.py,sha256=Wx8bEN3bz1nNZ9PAZHX8jwvFPddF9Y2pHAEwCMu_VJc,498
|
|
23
23
|
webscout/g4f.py,sha256=NNcnlOtIWV9R93UsBN4jBGBEJ9sJ-Np1WbgjkGVDcYc,24487
|
|
24
24
|
webscout/models.py,sha256=5iQIdtedT18YuTZ3npoG7kLMwcrKwhQ7928dl_7qZW0,692
|
|
25
25
|
webscout/tempid.py,sha256=5oc3UbXhPGKxrMRTfRABT-V-dNzH_hOKWtLYM6iCWd4,5896
|
|
26
26
|
webscout/transcriber.py,sha256=EddvTSq7dPJ42V3pQVnGuEiYQ7WjJ9uyeR9kMSxN7uY,20622
|
|
27
27
|
webscout/utils.py,sha256=CxeXvp0rWIulUrEaPZMaNfg_tSuQLRSV8uuHA2chyKE,2603
|
|
28
|
-
webscout/version.py,sha256=
|
|
28
|
+
webscout/version.py,sha256=b9bayAJW34HKes4lYXQfEKUVAD2JpNlMxJN-rAKR0Xs,23
|
|
29
29
|
webscout/voice.py,sha256=0QjXTHAQmCK07IDZXRc7JXem47cnPJH7u3X0sVP1-UQ,967
|
|
30
30
|
webscout/webai.py,sha256=GqJs_4KSas9xOvEZ7cDAwo88OVsPoJnJWmnZ68qRQ0g,85324
|
|
31
|
-
webscout/webscout_search.py,sha256=
|
|
32
|
-
webscout/webscout_search_async.py,sha256=
|
|
31
|
+
webscout/webscout_search.py,sha256=8tDmlskNtIUAM41dqIc387ufC1YunovTm6w5NqeM_yQ,42650
|
|
32
|
+
webscout/webscout_search_async.py,sha256=ecn9b0J6YtAxMER80iUF1cgn_eh3Ysj7jFpievJzDbE,14471
|
|
33
33
|
webscout/Local/__init__.py,sha256=0yXXihFek7VCugUjjCI67i3yZ_PQ8mw3MMVlWGpMmLM,217
|
|
34
|
-
webscout/Local/_version.py,sha256=
|
|
35
|
-
webscout/Local/formats.py,sha256=
|
|
36
|
-
webscout/Local/model.py,sha256=
|
|
34
|
+
webscout/Local/_version.py,sha256=efRFdwc7BqYaf299BGKcfpk-Cqn-BCRNBQJMDD0KVZM,83
|
|
35
|
+
webscout/Local/formats.py,sha256=BiZZSoN3e8S6-S-ykBL9ogSUs0vK11GaZ3ghc9U8GRk,18994
|
|
36
|
+
webscout/Local/model.py,sha256=f6Ug0tVH4MXCzelfevxBtHJXyml2C3ribnLGJ6HfCGU,27618
|
|
37
37
|
webscout/Local/samplers.py,sha256=qXwU4eLXER-2aCYzcJcTgA6BeFmi5GMpTDUX1C9pTN4,4372
|
|
38
|
-
webscout/Local/thread.py,sha256=
|
|
38
|
+
webscout/Local/thread.py,sha256=KkxTTQLhAiZqfcM4ZS9GCp5SNxVu984YFcmIL4a6pA8,26925
|
|
39
39
|
webscout/Local/utils.py,sha256=OHMHnemIdfwVAfi45SHMTYZgIUv_zgKLHaw6pEmftdU,6108
|
|
40
|
+
webscout/Provider/BasedGPT.py,sha256=eijTnqsecFQuHtspXDHryvh42caE_yANJI7gw9wiG7Y,8191
|
|
40
41
|
webscout/Provider/Berlin4h.py,sha256=-O6BRkLusUEdYXcyQ09iY86dFl9WoiA4mlmZ_DLZbos,8342
|
|
41
42
|
webscout/Provider/Blackboxai.py,sha256=8B5wT_eb86RVZ5uOqwvgVC5QATl0uEMCli0n4SDwt1M,16743
|
|
42
43
|
webscout/Provider/ChatGPTUK.py,sha256=ozpWnuOlC_7jeDcTuUukFPcPkIksx-Bgq_6Rrf0Bwak,8357
|
|
@@ -56,10 +57,10 @@ webscout/Provider/ThinkAnyAI.py,sha256=_qFjj0djxxrranyEY33w14oizyRjzlVwMv_hzvVtw
|
|
|
56
57
|
webscout/Provider/Xjai.py,sha256=gI9FqEodS-jHfFM_CsDPmTb_wL5NU2q__2fg9hqVoEc,8809
|
|
57
58
|
webscout/Provider/Yepchat.py,sha256=E0tv3Zfoqs1Sw8Pe-6_5d--_1LESm8mjw536DWclJk8,19398
|
|
58
59
|
webscout/Provider/Youchat.py,sha256=JAZYwcj0Kl1UUgqN0rD3TKaReA1G-cmIlW_4mog1j_c,7756
|
|
59
|
-
webscout/Provider/__init__.py,sha256=
|
|
60
|
-
webscout-2.
|
|
61
|
-
webscout-2.
|
|
62
|
-
webscout-2.
|
|
63
|
-
webscout-2.
|
|
64
|
-
webscout-2.
|
|
65
|
-
webscout-2.
|
|
60
|
+
webscout/Provider/__init__.py,sha256=FsMWjMRgwARRVbXU1nApZdYum3UDcAfPJizfvIFnCjk,1372
|
|
61
|
+
webscout-2.8.dist-info/LICENSE.md,sha256=mRVwJuT4SXC5O93BFdsfWBjlXjGn2Np90Zm5SocUzM0,3150
|
|
62
|
+
webscout-2.8.dist-info/METADATA,sha256=BcLCjHQ08-IqsCMkte4JOt1lUg5Li9CpUcZrI0Or2fs,47735
|
|
63
|
+
webscout-2.8.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
64
|
+
webscout-2.8.dist-info/entry_points.txt,sha256=Hh4YIIjvkqB9SVxZ2ri4DZUkgEu_WF_5_r_nZDIvfG8,73
|
|
65
|
+
webscout-2.8.dist-info/top_level.txt,sha256=OD5YKy6Y3hldL7SmuxsiEDxAG4LgdSSWwzYk22MF9fk,18
|
|
66
|
+
webscout-2.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|