webscout 2.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 2.5
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 and Yep.com](#1-text---text-search-by-duckduckgocom-and-yepcom)
113
- - [2. `answers()` - instant answers by DuckDuckGo.com and Yep.com](#2-answers---instant-answers-by-duckduckgocom-and-yepcom)
114
- - [3. `images()` - image search by DuckDuckGo.com and Yep.com](#3-images---image-search-by-duckduckgocom-and-yepcom)
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 and yep.com](#5-news---news-search-by-duckduckgocom-and-yepcom)
117
- - [6. `maps()` - map search by DuckDuckGo.com and](#6-maps---map-search-by-duckduckgocom-and)
118
- - [7. `translate()` - translation by DuckDuckGo.com and Yep.com](#7-translate---translation-by-duckduckgocom-and-yepcom)
119
- - [8. `suggestions()` - suggestions by DuckDuckGo.com and Yep.com](#8-suggestions---suggestions-by-duckduckgocom-and-yepcom)
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,7 +135,10 @@ 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)
141
+ - [`Local-LLM` webscout can now run GGUF models](#local-llm-webscout-can-now-run-gguf-models)
138
142
  - [`LLM` with internet](#llm-with-internet)
139
143
  - [LLM with deepwebs](#llm-with-deepwebs)
140
144
  - [`Webai` - terminal gpt and a open interpeter](#webai---terminal-gpt-and-a-open-interpeter)
@@ -524,12 +528,12 @@ Exceptions:
524
528
 
525
529
  ## usage of webscout
526
530
 
527
- ### 1. `text()` - text search by DuckDuckGo.com and Yep.com
531
+ ### 1. `text()` - text search by DuckDuckGo.com
528
532
 
529
533
  ```python
530
534
  from webscout import WEBS
531
535
 
532
- # Text search for 'live free or die' using DuckDuckGo.com and Yep.com
536
+ # Text search for 'live free or die' using DuckDuckGo.com
533
537
  with WEBS() as WEBS:
534
538
  for r in WEBS.text('live free or die', region='wt-wt', safesearch='off', timelimit='y', max_results=10):
535
539
  print(r)
@@ -538,23 +542,23 @@ with WEBS() as WEBS:
538
542
  print(r)
539
543
  ```
540
544
 
541
- ### 2. `answers()` - instant answers by DuckDuckGo.com and Yep.com
545
+ ### 2. `answers()` - instant answers by DuckDuckGo.com
542
546
 
543
547
  ```python
544
548
  from webscout import WEBS
545
549
 
546
- # Instant answers for the query "sun" using DuckDuckGo.com and Yep.com
550
+ # Instant answers for the query "sun" using DuckDuckGo.com
547
551
  with WEBS() as WEBS:
548
552
  for r in WEBS.answers("sun"):
549
553
  print(r)
550
554
  ```
551
555
 
552
- ### 3. `images()` - image search by DuckDuckGo.com and Yep.com
556
+ ### 3. `images()` - image search by DuckDuckGo.com
553
557
 
554
558
  ```python
555
559
  from webscout import WEBS
556
560
 
557
- # Image search for the keyword 'butterfly' using DuckDuckGo.com and Yep.com
561
+ # Image search for the keyword 'butterfly' using DuckDuckGo.com
558
562
  with WEBS() as WEBS:
559
563
  keywords = 'butterfly'
560
564
  WEBS_images_gen = WEBS.images(
@@ -592,7 +596,7 @@ with WEBS() as WEBS:
592
596
  print(r)
593
597
  ```
594
598
 
595
- ### 5. `news()` - news search by DuckDuckGo.com and yep.com
599
+ ### 5. `news()` - news search by DuckDuckGo.com
596
600
 
597
601
  ```python
598
602
  from webscout import WEBS
@@ -639,7 +643,7 @@ print(formatted_headlines)
639
643
 
640
644
  ```
641
645
 
642
- ### 6. `maps()` - map search by DuckDuckGo.com and
646
+ ### 6. `maps()` - map search by DuckDuckGo.com
643
647
 
644
648
  ```python
645
649
  from webscout import WEBS
@@ -650,24 +654,24 @@ with WEBS() as WEBS:
650
654
  print(r)
651
655
  ```
652
656
 
653
- ### 7. `translate()` - translation by DuckDuckGo.com and Yep.com
657
+ ### 7. `translate()` - translation by DuckDuckGo.com
654
658
 
655
659
  ```python
656
660
  from webscout import WEBS
657
661
 
658
- # Translation of the keyword 'school' to German ('hi') using DuckDuckGo.com and Yep.com
662
+ # Translation of the keyword 'school' to German ('hi') using DuckDuckGo.com
659
663
  with WEBS() as WEBS:
660
664
  keywords = 'school'
661
665
  r = WEBS.translate(keywords, to="hi")
662
666
  print(r)
663
667
  ```
664
668
 
665
- ### 8. `suggestions()` - suggestions by DuckDuckGo.com and Yep.com
669
+ ### 8. `suggestions()` - suggestions by DuckDuckGo.com
666
670
 
667
671
  ```python
668
672
  from webscout import WEBS
669
673
 
670
- # Suggestions for the keyword 'fly' using DuckDuckGo.com and Yep
674
+ # Suggestions for the keyword 'fly' using DuckDuckGo.com
671
675
  with WEBS() as WEBS:
672
676
  for r in WEBS.suggestions("fly"):
673
677
  print(r)
@@ -930,7 +934,12 @@ ___
930
934
  </details>
931
935
 
932
936
  ## usage of webscout AI
933
-
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
+ ```
934
943
  ### 1. `PhindSearch` - Search using Phind.com
935
944
 
936
945
  ```python
@@ -1198,7 +1207,13 @@ ai = ChatGPTUK(
1198
1207
  prompt = "Explain the concept of recursion in simple terms."
1199
1208
  response = ai.chat(prompt)
1200
1209
  print(response)
1210
+
1201
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
1202
1217
  ### `LLM`
1203
1218
  ```python
1204
1219
  from webscout.LLM import LLM
@@ -1225,6 +1240,26 @@ while True:
1225
1240
  # Print the response
1226
1241
  print("AI: ", response)
1227
1242
  ```
1243
+ ### `Local-LLM` webscout can now run GGUF models
1244
+ ```python
1245
+ from webscout.Local.utils import download_model
1246
+ from webscout.Local.model import Model
1247
+ from webscout.Local.thread import Thread
1248
+ from webscout.Local import formats
1249
+ # 1. Download the model
1250
+ repo_id = "microsoft/Phi-3-mini-4k-instruct-gguf" # Replace with the desired Hugging Face repo
1251
+ filename = "Phi-3-mini-4k-instruct-q4.gguf" # Replace with the correct filename
1252
+ model_path = download_model(repo_id, filename)
1253
+
1254
+ # 2. Load the model
1255
+ model = Model(model_path, n_gpu_layers=4)
1256
+
1257
+ # 3. Create a Thread for conversation
1258
+ thread = Thread(model, formats.phi3)
1259
+
1260
+ # 4. Start interacting with the model
1261
+ thread.interact()
1262
+ ```
1228
1263
  ### `LLM` with internet
1229
1264
  ```python
1230
1265
  from __future__ import annotations
@@ -12,31 +12,32 @@ DeepWEBS/utilsdw/enver.py,sha256=vpI7s4_o_VL9govSryOv-z1zYK3pTEW3-H9QNN8JYtc,247
12
12
  DeepWEBS/utilsdw/logger.py,sha256=Z0nFUcEGyU8r28yKiIyvEtO26xxpmJgbvNToTfwZecc,8174
13
13
  webscout/AIauto.py,sha256=xPGr_Z0h27XXNh4Wiufjn9TksDOqxqlaGcLUYKNP55w,18246
14
14
  webscout/AIbase.py,sha256=GoHbN8r0gq2saYRZv6LA-Fr9Jlcjv80STKFXUq2ZeGU,4710
15
- webscout/AIutel.py,sha256=LXYgQOEk21c7MpNJlSl2RbLvR8HDJhTSwJiVVgqf0Iw,33266
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=jsZ4ivXz9sXnh8vLAnCxW4tRSxJJClll_ENNHBaGpUI,2214
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=F888fdrFUQgczMBN4yMOSf6Nh-IbvkqpPhDsbnA2FtQ,17059
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=fFBXyqC1-7JPoHD1UTEFlaKrCKVdGOVN0qqyZ63dkXw,23
28
+ webscout/version.py,sha256=b9bayAJW34HKes4lYXQfEKUVAD2JpNlMxJN-rAKR0Xs,23
29
29
  webscout/voice.py,sha256=0QjXTHAQmCK07IDZXRc7JXem47cnPJH7u3X0sVP1-UQ,967
30
- webscout/webai.py,sha256=cRzJNVljryCxV4kEtmii0_CEBxSs71Ft3sdPdcqGmBg,84668
31
- webscout/webscout_search.py,sha256=TvbrRYVMXbFGgEh0CoFHNYVY3iQ8SmejxEmv8Csu4IA,3159
32
- webscout/webscout_search_async.py,sha256=4_L_t_I9WlvpPEI3FI0K3v6Aayr0pNvD3chYOp7JR8o,42902
30
+ webscout/webai.py,sha256=GqJs_4KSas9xOvEZ7cDAwo88OVsPoJnJWmnZ68qRQ0g,85324
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=sc9JboCC9IEKihG_oql9GqyPt0rTPN2OXbpyzRDoCQ4,83
35
- webscout/Local/formats.py,sha256=tttN2Cqq39YZgypjyu1_ZbfDTj8cdiFndiW-MUFR4qQ,17153
36
- webscout/Local/model.py,sha256=Hf_xybJm1PZBBIIy5j0p3Z3CnWezymNfxr8zQeFHJqY,27611
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=geDTADuSMJ4i6HNWMkRpRU21oKCSMRy5r7jt1_dCWz0,26786
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
@@ -50,15 +51,16 @@ webscout/Provider/OpenGPT.py,sha256=XkmunIY8pOA6id31vh7Swnu30zvZRiHfc7ocyymT1BE,
50
51
  webscout/Provider/Openai.py,sha256=_sSye4VHwRZsmSoDpP3SThgIR0kDqVTM4jNj5YCDMt0,20107
51
52
  webscout/Provider/Perplexity.py,sha256=zIPYqcjFkJ4-u0N9W8UZNCBbH29lV8RxwsNeuu2OYns,8597
52
53
  webscout/Provider/Phind.py,sha256=nOA6DqmRFK2voKNp6SNvM2fxAAxnnCo-WKUdBsXO0iw,19390
54
+ webscout/Provider/Poe.py,sha256=UlynXNM0aDeuf0lW0ZAT8d3ewz2f9HxjS2akXmsDoBQ,7303
53
55
  webscout/Provider/Reka.py,sha256=-sIZredU-AMT7BIHBB9Zpct6FkAC4mNLGC0ueJCr_d4,8692
54
56
  webscout/Provider/ThinkAnyAI.py,sha256=_qFjj0djxxrranyEY33w14oizyRjzlVwMv_hzvVtwNc,11616
55
57
  webscout/Provider/Xjai.py,sha256=gI9FqEodS-jHfFM_CsDPmTb_wL5NU2q__2fg9hqVoEc,8809
56
58
  webscout/Provider/Yepchat.py,sha256=E0tv3Zfoqs1Sw8Pe-6_5d--_1LESm8mjw536DWclJk8,19398
57
59
  webscout/Provider/Youchat.py,sha256=JAZYwcj0Kl1UUgqN0rD3TKaReA1G-cmIlW_4mog1j_c,7756
58
- webscout/Provider/__init__.py,sha256=BPYm-ZOkZOXXn3bx_2UHIV6aZS47d9Y01JDq-EiPXhQ,1318
59
- webscout-2.5.dist-info/LICENSE.md,sha256=mRVwJuT4SXC5O93BFdsfWBjlXjGn2Np90Zm5SocUzM0,3150
60
- webscout-2.5.dist-info/METADATA,sha256=KIzNRKKCjpHu6M-QqHet-_Hg6hdDVbx7O10u33BKpBk,46648
61
- webscout-2.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
62
- webscout-2.5.dist-info/entry_points.txt,sha256=Hh4YIIjvkqB9SVxZ2ri4DZUkgEu_WF_5_r_nZDIvfG8,73
63
- webscout-2.5.dist-info/top_level.txt,sha256=OD5YKy6Y3hldL7SmuxsiEDxAG4LgdSSWwzYk22MF9fk,18
64
- webscout-2.5.dist-info/RECORD,,
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