webscout 1.3.8__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.8 → webscout-1.3.9}/PKG-INFO +7 -19
  2. {webscout-1.3.8 → webscout-1.3.9}/README.md +5 -18
  3. {webscout-1.3.8 → webscout-1.3.9}/setup.py +3 -2
  4. webscout-1.3.9/webscout/AI.py +4946 -0
  5. webscout-1.3.9/webscout/AIbase.py +138 -0
  6. {webscout-1.3.8 → webscout-1.3.9}/webscout/AIutel.py +19 -2
  7. {webscout-1.3.8 → webscout-1.3.9}/webscout/__init__.py +2 -2
  8. webscout-1.3.9/webscout/async_providers.py +33 -0
  9. {webscout-1.3.8 → webscout-1.3.9}/webscout/exceptions.py +4 -1
  10. {webscout-1.3.8 → webscout-1.3.9}/webscout/g4f.py +193 -1
  11. webscout-1.3.9/webscout/version.py +2 -0
  12. {webscout-1.3.8 → webscout-1.3.9}/webscout/webai.py +20 -2
  13. {webscout-1.3.8 → webscout-1.3.9}/webscout.egg-info/PKG-INFO +7 -19
  14. {webscout-1.3.8 → webscout-1.3.9}/webscout.egg-info/SOURCES.txt +1 -0
  15. {webscout-1.3.8 → webscout-1.3.9}/webscout.egg-info/requires.txt +1 -0
  16. webscout-1.3.8/webscout/AI.py +0 -2710
  17. webscout-1.3.8/webscout/AIbase.py +0 -70
  18. webscout-1.3.8/webscout/version.py +0 -2
  19. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/__init__.py +0 -0
  20. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/documents/__init__.py +0 -0
  21. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/documents/query_results_extractor.py +0 -0
  22. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/documents/webpage_content_extractor.py +0 -0
  23. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/networks/__init__.py +0 -0
  24. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/networks/filepath_converter.py +0 -0
  25. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/networks/google_searcher.py +0 -0
  26. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/networks/network_configs.py +0 -0
  27. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/networks/webpage_fetcher.py +0 -0
  28. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/utilsdw/__init__.py +0 -0
  29. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/utilsdw/enver.py +0 -0
  30. {webscout-1.3.8 → webscout-1.3.9}/DeepWEBS/utilsdw/logger.py +0 -0
  31. {webscout-1.3.8 → webscout-1.3.9}/LICENSE.md +0 -0
  32. {webscout-1.3.8 → webscout-1.3.9}/setup.cfg +0 -0
  33. {webscout-1.3.8 → webscout-1.3.9}/webscout/DWEBS.py +0 -0
  34. {webscout-1.3.8 → webscout-1.3.9}/webscout/LLM.py +0 -0
  35. {webscout-1.3.8 → webscout-1.3.9}/webscout/__main__.py +0 -0
  36. {webscout-1.3.8 → webscout-1.3.9}/webscout/cli.py +0 -0
  37. {webscout-1.3.8 → webscout-1.3.9}/webscout/models.py +0 -0
  38. {webscout-1.3.8 → webscout-1.3.9}/webscout/transcriber.py +0 -0
  39. {webscout-1.3.8 → webscout-1.3.9}/webscout/utils.py +0 -0
  40. {webscout-1.3.8 → webscout-1.3.9}/webscout/voice.py +0 -0
  41. {webscout-1.3.8 → webscout-1.3.9}/webscout/webscout_search.py +0 -0
  42. {webscout-1.3.8 → webscout-1.3.9}/webscout/webscout_search_async.py +0 -0
  43. {webscout-1.3.8 → webscout-1.3.9}/webscout.egg-info/dependency_links.txt +0 -0
  44. {webscout-1.3.8 → webscout-1.3.9}/webscout.egg-info/entry_points.txt +0 -0
  45. {webscout-1.3.8 → 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.8
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
@@ -47,6 +47,7 @@ Requires-Dist: tiktoken
47
47
  Requires-Dist: tldextract
48
48
  Requires-Dist: orjson
49
49
  Requires-Dist: PyYAML
50
+ Requires-Dist: appdirsGoogleBard1>=2.1.4
50
51
  Provides-Extra: dev
51
52
  Requires-Dist: ruff>=0.1.6; extra == "dev"
52
53
  Requires-Dist: pytest>=7.4.2; extra == "dev"
@@ -97,10 +98,8 @@ Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.co
97
98
  - [7. `PERPLEXITY` - Search With PERPLEXITY](#7-perplexity---search-with-perplexity)
98
99
  - [8. `OpenGPT` - chat With OPENGPT](#8-opengpt---chat-with-opengpt)
99
100
  - [9. `KOBOLDIA` -](#9-koboldia--)
100
- - [10. `Sean` - chat With Sean](#10-sean---chat-with-sean)
101
- - [11. `Reka` - chat with reka](#11-reka---chat-with-reka)
102
- - [12. `Cohere` - chat with cohere](#12-cohere---chat-with-cohere)
103
- - [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)
104
103
  - [`LLM`](#llm)
105
104
  - [`LLM` with internet](#llm-with-internet)
106
105
  - [`Webai` - terminal gpt and a open interpeter](#webai---terminal-gpt-and-a-open-interpeter)
@@ -688,19 +687,9 @@ response = koboldai.ask(prompt)
688
687
  message = koboldai.get_message(response)
689
688
  print(message)
690
689
 
691
- ```
692
- ### 10. `Sean` - chat With Sean
693
- ```python
694
- from webscout.AI import Sean
695
-
696
- a = Sean(is_conversation=True, max_tokens=8000, timeout=30)
697
- # This example sends a simple greeting and prints the response
698
- prompt = "tell me about india"
699
- response_str = a.chat(prompt)
700
- print(response_str)
701
690
  ```
702
691
 
703
- ### 11. `Reka` - chat with reka
692
+ ### 10. `Reka` - chat with reka
704
693
  ```python
705
694
  from webscout.AI import REKA
706
695
 
@@ -711,7 +700,7 @@ response_str = a.chat(prompt)
711
700
  print(response_str)
712
701
  ```
713
702
 
714
- ### 12. `Cohere` - chat with cohere
703
+ ### 11. `Cohere` - chat with cohere
715
704
  ```python
716
705
  from webscout.AI import Cohere
717
706
 
@@ -721,7 +710,6 @@ prompt = "tell me about india"
721
710
  response_str = a.chat(prompt)
722
711
  print(response_str)
723
712
  ```
724
- ## usage of special .LLM file from webscout (webscout.LLM)
725
713
 
726
714
  ### `LLM`
727
715
  ```python
@@ -844,7 +832,7 @@ def use_rawdog_with_webai(prompt):
844
832
  top_k=40,
845
833
  top_p=0.95,
846
834
  model="command-r-plus", # Replace with your desired model
847
- auth="0zoQbKs1AAgd8WrPBO9CTIGgVvm5ZMbDcCqJOVyl", # Replace with your auth key/value (if needed)
835
+ auth=None, # Replace with your auth key/value (if needed)
848
836
  timeout=30,
849
837
  disable_conversation=True,
850
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.8",
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",
@@ -51,7 +51,8 @@ setup(
51
51
  "tldextract",
52
52
  "orjson",
53
53
  "PyYAML",
54
- # "appdirs"
54
+ "appdirs"
55
+ "GoogleBard1>=2.1.4"
55
56
  ],
56
57
  entry_points={
57
58
  "console_scripts": [