webscout 1.2.0__tar.gz → 1.2.1__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 (26) hide show
  1. {webscout-1.2.0/webscout.egg-info → webscout-1.2.1}/PKG-INFO +1 -1
  2. {webscout-1.2.0 → webscout-1.2.1}/setup.py +1 -1
  3. webscout-1.2.1/webscout/version.py +2 -0
  4. {webscout-1.2.0 → webscout-1.2.1}/webscout/webscout_search.py +7 -6
  5. {webscout-1.2.0 → webscout-1.2.1/webscout.egg-info}/PKG-INFO +1 -1
  6. webscout-1.2.0/webscout/version.py +0 -2
  7. {webscout-1.2.0 → webscout-1.2.1}/LICENSE.md +0 -0
  8. {webscout-1.2.0 → webscout-1.2.1}/README.md +0 -0
  9. {webscout-1.2.0 → webscout-1.2.1}/setup.cfg +0 -0
  10. {webscout-1.2.0 → webscout-1.2.1}/webscout/AI.py +0 -0
  11. {webscout-1.2.0 → webscout-1.2.1}/webscout/AIbase.py +0 -0
  12. {webscout-1.2.0 → webscout-1.2.1}/webscout/AIutel.py +0 -0
  13. {webscout-1.2.0 → webscout-1.2.1}/webscout/HelpingAI.py +0 -0
  14. {webscout-1.2.0 → webscout-1.2.1}/webscout/LLM.py +0 -0
  15. {webscout-1.2.0 → webscout-1.2.1}/webscout/__init__.py +0 -0
  16. {webscout-1.2.0 → webscout-1.2.1}/webscout/__main__.py +0 -0
  17. {webscout-1.2.0 → webscout-1.2.1}/webscout/cli.py +0 -0
  18. {webscout-1.2.0 → webscout-1.2.1}/webscout/exceptions.py +0 -0
  19. {webscout-1.2.0 → webscout-1.2.1}/webscout/models.py +0 -0
  20. {webscout-1.2.0 → webscout-1.2.1}/webscout/utils.py +0 -0
  21. {webscout-1.2.0 → webscout-1.2.1}/webscout/webscout_search_async.py +0 -0
  22. {webscout-1.2.0 → webscout-1.2.1}/webscout.egg-info/SOURCES.txt +0 -0
  23. {webscout-1.2.0 → webscout-1.2.1}/webscout.egg-info/dependency_links.txt +0 -0
  24. {webscout-1.2.0 → webscout-1.2.1}/webscout.egg-info/entry_points.txt +0 -0
  25. {webscout-1.2.0 → webscout-1.2.1}/webscout.egg-info/requires.txt +0 -0
  26. {webscout-1.2.0 → webscout-1.2.1}/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.2.0
3
+ Version: 1.2.1
4
4
  Summary: Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
@@ -9,7 +9,7 @@ with open("README.md", encoding="utf-8") as f:
9
9
 
10
10
  setup(
11
11
  name="webscout",
12
- version="1.2.0", # Use the version variable from the version.py file
12
+ version="1.2.1", # Use the version variable from the version.py file
13
13
  description="Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models",
14
14
  long_description=README,
15
15
  long_description_content_type="text/markdown",
@@ -0,0 +1,2 @@
1
+ __version__ = "1.2.1"
2
+
@@ -1,14 +1,15 @@
1
1
  import asyncio
2
2
  from concurrent.futures import Future
3
3
  from threading import Thread
4
+ import sys
4
5
  from types import TracebackType
5
6
  from typing import Any, Awaitable, Dict, Optional, Type, Union
6
- # Attempt to set the event loop policy to WindowsSelectorEventLoopPolicy
7
- try:
8
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
9
- except AttributeError:
10
- # Fall back to ProactorEventLoopPolicy if WindowsSelectorEventLoopPolicy is not available
11
- asyncio.set_event_loop_policy(asyncio.ProactorEventLoopPolicy())
7
+ if sys.platform == 'win32':
8
+ try:
9
+ asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
10
+ except AttributeError:
11
+ # If WindowsSelectorEventLoopPolicy is not available, do nothing
12
+ pass
12
13
  from .webscout_search_async import AsyncWEBS
13
14
 
14
15
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
@@ -1,2 +0,0 @@
1
- __version__ = "1.2.0"
2
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes