webscout 2.6__py3-none-any.whl → 2.7__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.
- 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.7.dist-info}/METADATA +35 -21
- {webscout-2.6.dist-info → webscout-2.7.dist-info}/RECORD +17 -16
- {webscout-2.6.dist-info → webscout-2.7.dist-info}/LICENSE.md +0 -0
- {webscout-2.6.dist-info → webscout-2.7.dist-info}/WHEEL +0 -0
- {webscout-2.6.dist-info → webscout-2.7.dist-info}/entry_points.txt +0 -0
- {webscout-2.6.dist-info → webscout-2.7.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.7
|
|
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
|
|
@@ -109,17 +109,18 @@ Search for anything using Google, DuckDuckGo, phind.com, Contains AI models, can
|
|
|
109
109
|
- [Available TTS Voices:](#available-tts-voices)
|
|
110
110
|
- [Exceptions](#exceptions)
|
|
111
111
|
- [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
|
|
112
|
+
- [1. `text()` - text search by DuckDuckGo.com](#1-text---text-search-by-duckduckgocom)
|
|
113
|
+
- [2. `answers()` - instant answers by DuckDuckGo.com](#2-answers---instant-answers-by-duckduckgocom)
|
|
114
|
+
- [3. `images()` - image search by DuckDuckGo.com](#3-images---image-search-by-duckduckgocom)
|
|
115
115
|
- [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
|
|
116
|
+
- [5. `news()` - news search by DuckDuckGo.com](#5-news---news-search-by-duckduckgocom)
|
|
117
|
+
- [6. `maps()` - map search by DuckDuckGo.com](#6-maps---map-search-by-duckduckgocom)
|
|
118
|
+
- [7. `translate()` - translation by DuckDuckGo.com](#7-translate---translation-by-duckduckgocom)
|
|
119
|
+
- [8. `suggestions()` - suggestions by DuckDuckGo.com](#8-suggestions---suggestions-by-duckduckgocom)
|
|
120
120
|
- [ALL acts](#all-acts)
|
|
121
121
|
- [Webscout Supported Acts:](#webscout-supported-acts)
|
|
122
122
|
- [usage of webscout AI](#usage-of-webscout-ai)
|
|
123
|
+
- [0. `Duckchat` - chat with LLM](#0-duckchat---chat-with-llm)
|
|
123
124
|
- [1. `PhindSearch` - Search using Phind.com](#1-phindsearch---search-using-phindcom)
|
|
124
125
|
- [2. `YepChat` - Chat with mistral 8x7b powered by yepchat](#2-yepchat---chat-with-mistral-8x7b-powered-by-yepchat)
|
|
125
126
|
- [3. `You.com` - search/chat with you.com](#3-youcom---searchchat-with-youcom)
|
|
@@ -134,6 +135,8 @@ Search for anything using Google, DuckDuckGo, phind.com, Contains AI models, can
|
|
|
134
135
|
- [12. `Xjai` - chat with free gpt 3.5](#12-xjai---chat-with-free-gpt-35)
|
|
135
136
|
- [13. `ThinkAny` - AI search engine](#13-thinkany---ai-search-engine)
|
|
136
137
|
- [14. `chatgptuk` - Chat with gemini-pro](#14-chatgptuk---chat-with-gemini-pro)
|
|
138
|
+
- [15. `poe`- chat with poe](#15-poe--chat-with-poe)
|
|
139
|
+
- [16. `BasedGPT` - chat with GPT](#16-basedgpt---chat-with-gpt)
|
|
137
140
|
- [`LLM`](#llm)
|
|
138
141
|
- [`Local-LLM` webscout can now run GGUF models](#local-llm-webscout-can-now-run-gguf-models)
|
|
139
142
|
- [`LLM` with internet](#llm-with-internet)
|
|
@@ -525,12 +528,12 @@ Exceptions:
|
|
|
525
528
|
|
|
526
529
|
## usage of webscout
|
|
527
530
|
|
|
528
|
-
### 1. `text()` - text search by DuckDuckGo.com
|
|
531
|
+
### 1. `text()` - text search by DuckDuckGo.com
|
|
529
532
|
|
|
530
533
|
```python
|
|
531
534
|
from webscout import WEBS
|
|
532
535
|
|
|
533
|
-
# Text search for 'live free or die' using DuckDuckGo.com
|
|
536
|
+
# Text search for 'live free or die' using DuckDuckGo.com
|
|
534
537
|
with WEBS() as WEBS:
|
|
535
538
|
for r in WEBS.text('live free or die', region='wt-wt', safesearch='off', timelimit='y', max_results=10):
|
|
536
539
|
print(r)
|
|
@@ -539,23 +542,23 @@ with WEBS() as WEBS:
|
|
|
539
542
|
print(r)
|
|
540
543
|
```
|
|
541
544
|
|
|
542
|
-
### 2. `answers()` - instant answers by DuckDuckGo.com
|
|
545
|
+
### 2. `answers()` - instant answers by DuckDuckGo.com
|
|
543
546
|
|
|
544
547
|
```python
|
|
545
548
|
from webscout import WEBS
|
|
546
549
|
|
|
547
|
-
# Instant answers for the query "sun" using DuckDuckGo.com
|
|
550
|
+
# Instant answers for the query "sun" using DuckDuckGo.com
|
|
548
551
|
with WEBS() as WEBS:
|
|
549
552
|
for r in WEBS.answers("sun"):
|
|
550
553
|
print(r)
|
|
551
554
|
```
|
|
552
555
|
|
|
553
|
-
### 3. `images()` - image search by DuckDuckGo.com
|
|
556
|
+
### 3. `images()` - image search by DuckDuckGo.com
|
|
554
557
|
|
|
555
558
|
```python
|
|
556
559
|
from webscout import WEBS
|
|
557
560
|
|
|
558
|
-
# Image search for the keyword 'butterfly' using DuckDuckGo.com
|
|
561
|
+
# Image search for the keyword 'butterfly' using DuckDuckGo.com
|
|
559
562
|
with WEBS() as WEBS:
|
|
560
563
|
keywords = 'butterfly'
|
|
561
564
|
WEBS_images_gen = WEBS.images(
|
|
@@ -593,7 +596,7 @@ with WEBS() as WEBS:
|
|
|
593
596
|
print(r)
|
|
594
597
|
```
|
|
595
598
|
|
|
596
|
-
### 5. `news()` - news search by DuckDuckGo.com
|
|
599
|
+
### 5. `news()` - news search by DuckDuckGo.com
|
|
597
600
|
|
|
598
601
|
```python
|
|
599
602
|
from webscout import WEBS
|
|
@@ -640,7 +643,7 @@ print(formatted_headlines)
|
|
|
640
643
|
|
|
641
644
|
```
|
|
642
645
|
|
|
643
|
-
### 6. `maps()` - map search by DuckDuckGo.com
|
|
646
|
+
### 6. `maps()` - map search by DuckDuckGo.com
|
|
644
647
|
|
|
645
648
|
```python
|
|
646
649
|
from webscout import WEBS
|
|
@@ -651,24 +654,24 @@ with WEBS() as WEBS:
|
|
|
651
654
|
print(r)
|
|
652
655
|
```
|
|
653
656
|
|
|
654
|
-
### 7. `translate()` - translation by DuckDuckGo.com
|
|
657
|
+
### 7. `translate()` - translation by DuckDuckGo.com
|
|
655
658
|
|
|
656
659
|
```python
|
|
657
660
|
from webscout import WEBS
|
|
658
661
|
|
|
659
|
-
# Translation of the keyword 'school' to German ('hi') using DuckDuckGo.com
|
|
662
|
+
# Translation of the keyword 'school' to German ('hi') using DuckDuckGo.com
|
|
660
663
|
with WEBS() as WEBS:
|
|
661
664
|
keywords = 'school'
|
|
662
665
|
r = WEBS.translate(keywords, to="hi")
|
|
663
666
|
print(r)
|
|
664
667
|
```
|
|
665
668
|
|
|
666
|
-
### 8. `suggestions()` - suggestions by DuckDuckGo.com
|
|
669
|
+
### 8. `suggestions()` - suggestions by DuckDuckGo.com
|
|
667
670
|
|
|
668
671
|
```python
|
|
669
672
|
from webscout import WEBS
|
|
670
673
|
|
|
671
|
-
# Suggestions for the keyword 'fly' using DuckDuckGo.com
|
|
674
|
+
# Suggestions for the keyword 'fly' using DuckDuckGo.com
|
|
672
675
|
with WEBS() as WEBS:
|
|
673
676
|
for r in WEBS.suggestions("fly"):
|
|
674
677
|
print(r)
|
|
@@ -931,7 +934,12 @@ ___
|
|
|
931
934
|
</details>
|
|
932
935
|
|
|
933
936
|
## usage of webscout AI
|
|
934
|
-
|
|
937
|
+
### 0. `Duckchat` - chat with LLM
|
|
938
|
+
```python
|
|
939
|
+
from webscout import WEBS as w
|
|
940
|
+
R = w().chat("hello", model='claude-3-haiku') # GPT-3.5 Turbo
|
|
941
|
+
print(R)
|
|
942
|
+
```
|
|
935
943
|
### 1. `PhindSearch` - Search using Phind.com
|
|
936
944
|
|
|
937
945
|
```python
|
|
@@ -1199,7 +1207,13 @@ ai = ChatGPTUK(
|
|
|
1199
1207
|
prompt = "Explain the concept of recursion in simple terms."
|
|
1200
1208
|
response = ai.chat(prompt)
|
|
1201
1209
|
print(response)
|
|
1210
|
+
|
|
1202
1211
|
```
|
|
1212
|
+
### 15. `poe`- chat with poe
|
|
1213
|
+
Usage code similar to other proviers
|
|
1214
|
+
|
|
1215
|
+
### 16. `BasedGPT` - chat with GPT
|
|
1216
|
+
Usage code similar to other providers
|
|
1203
1217
|
### `LLM`
|
|
1204
1218
|
```python
|
|
1205
1219
|
from webscout.LLM import LLM
|
|
@@ -15,28 +15,29 @@ 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
17
|
webscout/LLM.py,sha256=CiDz0okZNEoXuxMwadZnwRGSLpqk2zg0vzvXSxQZjcE,1910
|
|
18
|
-
webscout/__init__.py,sha256=
|
|
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.7.dist-info/LICENSE.md,sha256=mRVwJuT4SXC5O93BFdsfWBjlXjGn2Np90Zm5SocUzM0,3150
|
|
62
|
+
webscout-2.7.dist-info/METADATA,sha256=_HoJfv6obPJKjW14493lyewdUr1v0B2c6q3dqoHSwps,47665
|
|
63
|
+
webscout-2.7.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
64
|
+
webscout-2.7.dist-info/entry_points.txt,sha256=Hh4YIIjvkqB9SVxZ2ri4DZUkgEu_WF_5_r_nZDIvfG8,73
|
|
65
|
+
webscout-2.7.dist-info/top_level.txt,sha256=OD5YKy6Y3hldL7SmuxsiEDxAG4LgdSSWwzYk22MF9fk,18
|
|
66
|
+
webscout-2.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|