webscout 1.3.6__tar.gz → 1.3.9__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 (45) hide show
  1. {webscout-1.3.6 → webscout-1.3.9}/PKG-INFO +8 -19
  2. {webscout-1.3.6 → webscout-1.3.9}/README.md +5 -18
  3. {webscout-1.3.6 → webscout-1.3.9}/setup.py +4 -2
  4. {webscout-1.3.6 → webscout-1.3.9}/webscout/AI.py +2928 -919
  5. webscout-1.3.9/webscout/AIbase.py +138 -0
  6. {webscout-1.3.6 → webscout-1.3.9}/webscout/AIutel.py +317 -3
  7. {webscout-1.3.6 → webscout-1.3.9}/webscout/__init__.py +2 -2
  8. webscout-1.3.9/webscout/async_providers.py +33 -0
  9. {webscout-1.3.6 → webscout-1.3.9}/webscout/exceptions.py +4 -1
  10. {webscout-1.3.6 → webscout-1.3.9}/webscout/g4f.py +665 -473
  11. webscout-1.3.9/webscout/version.py +2 -0
  12. {webscout-1.3.6 → webscout-1.3.9}/webscout/voice.py +26 -26
  13. {webscout-1.3.6 → webscout-1.3.9}/webscout/webai.py +2437 -2360
  14. {webscout-1.3.6 → webscout-1.3.9}/webscout.egg-info/PKG-INFO +8 -19
  15. {webscout-1.3.6 → webscout-1.3.9}/webscout.egg-info/SOURCES.txt +1 -1
  16. {webscout-1.3.6 → webscout-1.3.9}/webscout.egg-info/requires.txt +2 -0
  17. webscout-1.3.6/webscout/AIbase.py +0 -70
  18. webscout-1.3.6/webscout/HelpingAI.py +0 -192
  19. webscout-1.3.6/webscout/version.py +0 -2
  20. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/__init__.py +0 -0
  21. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/documents/__init__.py +0 -0
  22. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/documents/query_results_extractor.py +0 -0
  23. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/documents/webpage_content_extractor.py +0 -0
  24. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/networks/__init__.py +0 -0
  25. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/networks/filepath_converter.py +0 -0
  26. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/networks/google_searcher.py +0 -0
  27. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/networks/network_configs.py +0 -0
  28. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/networks/webpage_fetcher.py +0 -0
  29. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/utilsdw/__init__.py +0 -0
  30. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/utilsdw/enver.py +0 -0
  31. {webscout-1.3.6 → webscout-1.3.9}/DeepWEBS/utilsdw/logger.py +0 -0
  32. {webscout-1.3.6 → webscout-1.3.9}/LICENSE.md +0 -0
  33. {webscout-1.3.6 → webscout-1.3.9}/setup.cfg +0 -0
  34. {webscout-1.3.6 → webscout-1.3.9}/webscout/DWEBS.py +0 -0
  35. {webscout-1.3.6 → webscout-1.3.9}/webscout/LLM.py +0 -0
  36. {webscout-1.3.6 → webscout-1.3.9}/webscout/__main__.py +0 -0
  37. {webscout-1.3.6 → webscout-1.3.9}/webscout/cli.py +0 -0
  38. {webscout-1.3.6 → webscout-1.3.9}/webscout/models.py +0 -0
  39. {webscout-1.3.6 → webscout-1.3.9}/webscout/transcriber.py +0 -0
  40. {webscout-1.3.6 → webscout-1.3.9}/webscout/utils.py +0 -0
  41. {webscout-1.3.6 → webscout-1.3.9}/webscout/webscout_search.py +0 -0
  42. {webscout-1.3.6 → webscout-1.3.9}/webscout/webscout_search_async.py +0 -0
  43. {webscout-1.3.6 → webscout-1.3.9}/webscout.egg-info/dependency_links.txt +0 -0
  44. {webscout-1.3.6 → webscout-1.3.9}/webscout.egg-info/entry_points.txt +0 -0
  45. {webscout-1.3.6 → webscout-1.3.9}/webscout.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 1.3.6
3
+ Version: 1.3.9
4
4
  Summary: Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models, can transcribe yt videos, have TTS support and now has webai(terminal gpt and open interpeter) support
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
@@ -46,6 +46,8 @@ Requires-Dist: termcolor
46
46
  Requires-Dist: tiktoken
47
47
  Requires-Dist: tldextract
48
48
  Requires-Dist: orjson
49
+ Requires-Dist: PyYAML
50
+ Requires-Dist: appdirsGoogleBard1>=2.1.4
49
51
  Provides-Extra: dev
50
52
  Requires-Dist: ruff>=0.1.6; extra == "dev"
51
53
  Requires-Dist: pytest>=7.4.2; extra == "dev"
@@ -96,10 +98,8 @@ Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.co
96
98
  - [7. `PERPLEXITY` - Search With PERPLEXITY](#7-perplexity---search-with-perplexity)
97
99
  - [8. `OpenGPT` - chat With OPENGPT](#8-opengpt---chat-with-opengpt)
98
100
  - [9. `KOBOLDIA` -](#9-koboldia--)
99
- - [10. `Sean` - chat With Sean](#10-sean---chat-with-sean)
100
- - [11. `Reka` - chat with reka](#11-reka---chat-with-reka)
101
- - [12. `Cohere` - chat with cohere](#12-cohere---chat-with-cohere)
102
- - [usage of special .LLM file from webscout (webscout.LLM)](#usage-of-special-llm-file-from-webscout-webscoutllm)
101
+ - [10. `Reka` - chat with reka](#10-reka---chat-with-reka)
102
+ - [11. `Cohere` - chat with cohere](#11-cohere---chat-with-cohere)
103
103
  - [`LLM`](#llm)
104
104
  - [`LLM` with internet](#llm-with-internet)
105
105
  - [`Webai` - terminal gpt and a open interpeter](#webai---terminal-gpt-and-a-open-interpeter)
@@ -687,19 +687,9 @@ response = koboldai.ask(prompt)
687
687
  message = koboldai.get_message(response)
688
688
  print(message)
689
689
 
690
- ```
691
- ### 10. `Sean` - chat With Sean
692
- ```python
693
- from webscout.AI import Sean
694
-
695
- a = Sean(is_conversation=True, max_tokens=8000, timeout=30)
696
- # This example sends a simple greeting and prints the response
697
- prompt = "tell me about india"
698
- response_str = a.chat(prompt)
699
- print(response_str)
700
690
  ```
701
691
 
702
- ### 11. `Reka` - chat with reka
692
+ ### 10. `Reka` - chat with reka
703
693
  ```python
704
694
  from webscout.AI import REKA
705
695
 
@@ -710,7 +700,7 @@ response_str = a.chat(prompt)
710
700
  print(response_str)
711
701
  ```
712
702
 
713
- ### 12. `Cohere` - chat with cohere
703
+ ### 11. `Cohere` - chat with cohere
714
704
  ```python
715
705
  from webscout.AI import Cohere
716
706
 
@@ -720,7 +710,6 @@ prompt = "tell me about india"
720
710
  response_str = a.chat(prompt)
721
711
  print(response_str)
722
712
  ```
723
- ## usage of special .LLM file from webscout (webscout.LLM)
724
713
 
725
714
  ### `LLM`
726
715
  ```python
@@ -843,7 +832,7 @@ def use_rawdog_with_webai(prompt):
843
832
  top_k=40,
844
833
  top_p=0.95,
845
834
  model="command-r-plus", # Replace with your desired model
846
- auth="0zoQbKs1AAgd8WrPBO9CTIGgVvm5ZMbDcCqJOVyl", # Replace with your auth key/value (if needed)
835
+ auth=None, # Replace with your auth key/value (if needed)
847
836
  timeout=30,
848
837
  disable_conversation=True,
849
838
  filepath=None,
@@ -44,10 +44,8 @@ Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.co
44
44
  - [7. `PERPLEXITY` - Search With PERPLEXITY](#7-perplexity---search-with-perplexity)
45
45
  - [8. `OpenGPT` - chat With OPENGPT](#8-opengpt---chat-with-opengpt)
46
46
  - [9. `KOBOLDIA` -](#9-koboldia--)
47
- - [10. `Sean` - chat With Sean](#10-sean---chat-with-sean)
48
- - [11. `Reka` - chat with reka](#11-reka---chat-with-reka)
49
- - [12. `Cohere` - chat with cohere](#12-cohere---chat-with-cohere)
50
- - [usage of special .LLM file from webscout (webscout.LLM)](#usage-of-special-llm-file-from-webscout-webscoutllm)
47
+ - [10. `Reka` - chat with reka](#10-reka---chat-with-reka)
48
+ - [11. `Cohere` - chat with cohere](#11-cohere---chat-with-cohere)
51
49
  - [`LLM`](#llm)
52
50
  - [`LLM` with internet](#llm-with-internet)
53
51
  - [`Webai` - terminal gpt and a open interpeter](#webai---terminal-gpt-and-a-open-interpeter)
@@ -635,19 +633,9 @@ response = koboldai.ask(prompt)
635
633
  message = koboldai.get_message(response)
636
634
  print(message)
637
635
 
638
- ```
639
- ### 10. `Sean` - chat With Sean
640
- ```python
641
- from webscout.AI import Sean
642
-
643
- a = Sean(is_conversation=True, max_tokens=8000, timeout=30)
644
- # This example sends a simple greeting and prints the response
645
- prompt = "tell me about india"
646
- response_str = a.chat(prompt)
647
- print(response_str)
648
636
  ```
649
637
 
650
- ### 11. `Reka` - chat with reka
638
+ ### 10. `Reka` - chat with reka
651
639
  ```python
652
640
  from webscout.AI import REKA
653
641
 
@@ -658,7 +646,7 @@ response_str = a.chat(prompt)
658
646
  print(response_str)
659
647
  ```
660
648
 
661
- ### 12. `Cohere` - chat with cohere
649
+ ### 11. `Cohere` - chat with cohere
662
650
  ```python
663
651
  from webscout.AI import Cohere
664
652
 
@@ -668,7 +656,6 @@ prompt = "tell me about india"
668
656
  response_str = a.chat(prompt)
669
657
  print(response_str)
670
658
  ```
671
- ## usage of special .LLM file from webscout (webscout.LLM)
672
659
 
673
660
  ### `LLM`
674
661
  ```python
@@ -791,7 +778,7 @@ def use_rawdog_with_webai(prompt):
791
778
  top_k=40,
792
779
  top_p=0.95,
793
780
  model="command-r-plus", # Replace with your desired model
794
- auth="0zoQbKs1AAgd8WrPBO9CTIGgVvm5ZMbDcCqJOVyl", # Replace with your auth key/value (if needed)
781
+ auth=None, # Replace with your auth key/value (if needed)
795
782
  timeout=30,
796
783
  disable_conversation=True,
797
784
  filepath=None,
@@ -5,7 +5,7 @@ with open("README.md", encoding="utf-8") as f:
5
5
 
6
6
  setup(
7
7
  name="webscout",
8
- version="1.3.6",
8
+ version="1.3.9",
9
9
  description="Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models, can transcribe yt videos, have TTS support and now has webai(terminal gpt and open interpeter) support",
10
10
  long_description=README,
11
11
  long_description_content_type="text/markdown",
@@ -50,7 +50,9 @@ setup(
50
50
  "tiktoken",
51
51
  "tldextract",
52
52
  "orjson",
53
- # "appdirs"
53
+ "PyYAML",
54
+ "appdirs"
55
+ "GoogleBard1>=2.1.4"
54
56
  ],
55
57
  entry_points={
56
58
  "console_scripts": [