webscout 8.2.9__py3-none-any.whl → 2026.1.19__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.
Files changed (413) hide show
  1. webscout/AIauto.py +524 -251
  2. webscout/AIbase.py +247 -319
  3. webscout/AIutel.py +68 -703
  4. webscout/Bard.py +1072 -1026
  5. webscout/Extra/GitToolkit/__init__.py +10 -10
  6. webscout/Extra/GitToolkit/gitapi/__init__.py +20 -12
  7. webscout/Extra/GitToolkit/gitapi/gist.py +142 -0
  8. webscout/Extra/GitToolkit/gitapi/organization.py +91 -0
  9. webscout/Extra/GitToolkit/gitapi/repository.py +308 -195
  10. webscout/Extra/GitToolkit/gitapi/search.py +162 -0
  11. webscout/Extra/GitToolkit/gitapi/trending.py +236 -0
  12. webscout/Extra/GitToolkit/gitapi/user.py +128 -96
  13. webscout/Extra/GitToolkit/gitapi/utils.py +82 -62
  14. webscout/Extra/YTToolkit/README.md +443 -375
  15. webscout/Extra/YTToolkit/YTdownloader.py +953 -957
  16. webscout/Extra/YTToolkit/__init__.py +3 -3
  17. webscout/Extra/YTToolkit/transcriber.py +595 -476
  18. webscout/Extra/YTToolkit/ytapi/README.md +230 -44
  19. webscout/Extra/YTToolkit/ytapi/__init__.py +22 -6
  20. webscout/Extra/YTToolkit/ytapi/captions.py +190 -0
  21. webscout/Extra/YTToolkit/ytapi/channel.py +302 -307
  22. webscout/Extra/YTToolkit/ytapi/errors.py +13 -13
  23. webscout/Extra/YTToolkit/ytapi/extras.py +178 -118
  24. webscout/Extra/YTToolkit/ytapi/hashtag.py +120 -0
  25. webscout/Extra/YTToolkit/ytapi/https.py +89 -88
  26. webscout/Extra/YTToolkit/ytapi/patterns.py +61 -61
  27. webscout/Extra/YTToolkit/ytapi/playlist.py +59 -59
  28. webscout/Extra/YTToolkit/ytapi/pool.py +8 -8
  29. webscout/Extra/YTToolkit/ytapi/query.py +143 -40
  30. webscout/Extra/YTToolkit/ytapi/shorts.py +122 -0
  31. webscout/Extra/YTToolkit/ytapi/stream.py +68 -63
  32. webscout/Extra/YTToolkit/ytapi/suggestions.py +97 -0
  33. webscout/Extra/YTToolkit/ytapi/utils.py +66 -62
  34. webscout/Extra/YTToolkit/ytapi/video.py +403 -232
  35. webscout/Extra/__init__.py +2 -3
  36. webscout/Extra/gguf.py +1298 -684
  37. webscout/Extra/tempmail/README.md +487 -487
  38. webscout/Extra/tempmail/__init__.py +28 -28
  39. webscout/Extra/tempmail/async_utils.py +143 -141
  40. webscout/Extra/tempmail/base.py +172 -161
  41. webscout/Extra/tempmail/cli.py +191 -187
  42. webscout/Extra/tempmail/emailnator.py +88 -84
  43. webscout/Extra/tempmail/mail_tm.py +378 -361
  44. webscout/Extra/tempmail/temp_mail_io.py +304 -292
  45. webscout/Extra/weather.py +196 -194
  46. webscout/Extra/weather_ascii.py +17 -15
  47. webscout/Provider/AISEARCH/PERPLEXED_search.py +175 -0
  48. webscout/Provider/AISEARCH/Perplexity.py +292 -333
  49. webscout/Provider/AISEARCH/README.md +106 -279
  50. webscout/Provider/AISEARCH/__init__.py +16 -9
  51. webscout/Provider/AISEARCH/brave_search.py +298 -0
  52. webscout/Provider/AISEARCH/iask_search.py +357 -410
  53. webscout/Provider/AISEARCH/monica_search.py +200 -220
  54. webscout/Provider/AISEARCH/webpilotai_search.py +242 -255
  55. webscout/Provider/Algion.py +413 -0
  56. webscout/Provider/Andi.py +74 -69
  57. webscout/Provider/Apriel.py +313 -0
  58. webscout/Provider/Ayle.py +323 -0
  59. webscout/Provider/ChatSandbox.py +329 -342
  60. webscout/Provider/ClaudeOnline.py +365 -0
  61. webscout/Provider/Cohere.py +232 -208
  62. webscout/Provider/DeepAI.py +367 -0
  63. webscout/Provider/Deepinfra.py +467 -340
  64. webscout/Provider/EssentialAI.py +217 -0
  65. webscout/Provider/ExaAI.py +274 -261
  66. webscout/Provider/Gemini.py +175 -169
  67. webscout/Provider/GithubChat.py +385 -369
  68. webscout/Provider/Gradient.py +286 -0
  69. webscout/Provider/Groq.py +556 -801
  70. webscout/Provider/HadadXYZ.py +323 -0
  71. webscout/Provider/HeckAI.py +392 -375
  72. webscout/Provider/HuggingFace.py +387 -0
  73. webscout/Provider/IBM.py +340 -0
  74. webscout/Provider/Jadve.py +317 -291
  75. webscout/Provider/K2Think.py +306 -0
  76. webscout/Provider/Koboldai.py +221 -384
  77. webscout/Provider/Netwrck.py +273 -270
  78. webscout/Provider/Nvidia.py +310 -0
  79. webscout/Provider/OPENAI/DeepAI.py +489 -0
  80. webscout/Provider/OPENAI/K2Think.py +423 -0
  81. webscout/Provider/OPENAI/PI.py +463 -0
  82. webscout/Provider/OPENAI/README.md +890 -952
  83. webscout/Provider/OPENAI/TogetherAI.py +405 -0
  84. webscout/Provider/OPENAI/TwoAI.py +255 -357
  85. webscout/Provider/OPENAI/__init__.py +148 -40
  86. webscout/Provider/OPENAI/ai4chat.py +348 -293
  87. webscout/Provider/OPENAI/akashgpt.py +436 -0
  88. webscout/Provider/OPENAI/algion.py +303 -0
  89. webscout/Provider/OPENAI/{exachat.py → ayle.py} +365 -444
  90. webscout/Provider/OPENAI/base.py +253 -249
  91. webscout/Provider/OPENAI/cerebras.py +296 -0
  92. webscout/Provider/OPENAI/chatgpt.py +870 -556
  93. webscout/Provider/OPENAI/chatsandbox.py +233 -173
  94. webscout/Provider/OPENAI/deepinfra.py +403 -322
  95. webscout/Provider/OPENAI/e2b.py +2370 -1414
  96. webscout/Provider/OPENAI/elmo.py +278 -0
  97. webscout/Provider/OPENAI/exaai.py +452 -417
  98. webscout/Provider/OPENAI/freeassist.py +446 -0
  99. webscout/Provider/OPENAI/gradient.py +448 -0
  100. webscout/Provider/OPENAI/groq.py +380 -364
  101. webscout/Provider/OPENAI/hadadxyz.py +292 -0
  102. webscout/Provider/OPENAI/heckai.py +333 -308
  103. webscout/Provider/OPENAI/huggingface.py +321 -0
  104. webscout/Provider/OPENAI/ibm.py +425 -0
  105. webscout/Provider/OPENAI/llmchat.py +253 -0
  106. webscout/Provider/OPENAI/llmchatco.py +378 -335
  107. webscout/Provider/OPENAI/meta.py +541 -0
  108. webscout/Provider/OPENAI/netwrck.py +374 -357
  109. webscout/Provider/OPENAI/nvidia.py +317 -0
  110. webscout/Provider/OPENAI/oivscode.py +348 -287
  111. webscout/Provider/OPENAI/openrouter.py +328 -0
  112. webscout/Provider/OPENAI/pydantic_imports.py +1 -172
  113. webscout/Provider/OPENAI/sambanova.py +397 -0
  114. webscout/Provider/OPENAI/sonus.py +305 -304
  115. webscout/Provider/OPENAI/textpollinations.py +370 -339
  116. webscout/Provider/OPENAI/toolbaz.py +375 -413
  117. webscout/Provider/OPENAI/typefully.py +419 -355
  118. webscout/Provider/OPENAI/typliai.py +279 -0
  119. webscout/Provider/OPENAI/utils.py +314 -318
  120. webscout/Provider/OPENAI/wisecat.py +359 -387
  121. webscout/Provider/OPENAI/writecream.py +185 -163
  122. webscout/Provider/OPENAI/x0gpt.py +462 -365
  123. webscout/Provider/OPENAI/zenmux.py +380 -0
  124. webscout/Provider/OpenRouter.py +386 -0
  125. webscout/Provider/Openai.py +337 -496
  126. webscout/Provider/PI.py +443 -429
  127. webscout/Provider/QwenLM.py +346 -254
  128. webscout/Provider/STT/__init__.py +28 -0
  129. webscout/Provider/STT/base.py +303 -0
  130. webscout/Provider/STT/elevenlabs.py +264 -0
  131. webscout/Provider/Sambanova.py +317 -0
  132. webscout/Provider/TTI/README.md +69 -82
  133. webscout/Provider/TTI/__init__.py +37 -7
  134. webscout/Provider/TTI/base.py +147 -64
  135. webscout/Provider/TTI/claudeonline.py +393 -0
  136. webscout/Provider/TTI/magicstudio.py +292 -201
  137. webscout/Provider/TTI/miragic.py +180 -0
  138. webscout/Provider/TTI/pollinations.py +331 -221
  139. webscout/Provider/TTI/together.py +334 -0
  140. webscout/Provider/TTI/utils.py +14 -11
  141. webscout/Provider/TTS/README.md +186 -192
  142. webscout/Provider/TTS/__init__.py +43 -10
  143. webscout/Provider/TTS/base.py +523 -159
  144. webscout/Provider/TTS/deepgram.py +286 -156
  145. webscout/Provider/TTS/elevenlabs.py +189 -111
  146. webscout/Provider/TTS/freetts.py +218 -0
  147. webscout/Provider/TTS/murfai.py +288 -113
  148. webscout/Provider/TTS/openai_fm.py +364 -129
  149. webscout/Provider/TTS/parler.py +203 -111
  150. webscout/Provider/TTS/qwen.py +334 -0
  151. webscout/Provider/TTS/sherpa.py +286 -0
  152. webscout/Provider/TTS/speechma.py +693 -580
  153. webscout/Provider/TTS/streamElements.py +275 -333
  154. webscout/Provider/TTS/utils.py +280 -280
  155. webscout/Provider/TextPollinationsAI.py +331 -308
  156. webscout/Provider/TogetherAI.py +450 -0
  157. webscout/Provider/TwoAI.py +309 -475
  158. webscout/Provider/TypliAI.py +311 -305
  159. webscout/Provider/UNFINISHED/ChatHub.py +219 -209
  160. webscout/Provider/{OPENAI/glider.py → UNFINISHED/ChutesAI.py} +331 -326
  161. webscout/Provider/{GizAI.py → UNFINISHED/GizAI.py} +300 -295
  162. webscout/Provider/{Marcus.py → UNFINISHED/Marcus.py} +218 -198
  163. webscout/Provider/UNFINISHED/Qodo.py +481 -0
  164. webscout/Provider/{MCPCore.py → UNFINISHED/XenAI.py} +330 -315
  165. webscout/Provider/UNFINISHED/Youchat.py +347 -330
  166. webscout/Provider/UNFINISHED/aihumanizer.py +41 -0
  167. webscout/Provider/UNFINISHED/grammerchecker.py +37 -0
  168. webscout/Provider/UNFINISHED/liner.py +342 -0
  169. webscout/Provider/UNFINISHED/liner_api_request.py +246 -263
  170. webscout/Provider/{samurai.py → UNFINISHED/samurai.py} +231 -224
  171. webscout/Provider/WiseCat.py +256 -233
  172. webscout/Provider/WrDoChat.py +390 -370
  173. webscout/Provider/__init__.py +115 -174
  174. webscout/Provider/ai4chat.py +181 -174
  175. webscout/Provider/akashgpt.py +330 -335
  176. webscout/Provider/cerebras.py +397 -290
  177. webscout/Provider/cleeai.py +236 -213
  178. webscout/Provider/elmo.py +291 -283
  179. webscout/Provider/geminiapi.py +343 -208
  180. webscout/Provider/julius.py +245 -223
  181. webscout/Provider/learnfastai.py +333 -325
  182. webscout/Provider/llama3mitril.py +230 -215
  183. webscout/Provider/llmchat.py +308 -258
  184. webscout/Provider/llmchatco.py +321 -306
  185. webscout/Provider/meta.py +996 -801
  186. webscout/Provider/oivscode.py +332 -309
  187. webscout/Provider/searchchat.py +316 -292
  188. webscout/Provider/sonus.py +264 -258
  189. webscout/Provider/toolbaz.py +359 -353
  190. webscout/Provider/turboseek.py +332 -266
  191. webscout/Provider/typefully.py +262 -202
  192. webscout/Provider/x0gpt.py +332 -299
  193. webscout/__init__.py +31 -39
  194. webscout/__main__.py +5 -5
  195. webscout/cli.py +585 -524
  196. webscout/client.py +1497 -70
  197. webscout/conversation.py +140 -436
  198. webscout/exceptions.py +383 -362
  199. webscout/litagent/__init__.py +29 -29
  200. webscout/litagent/agent.py +492 -455
  201. webscout/litagent/constants.py +60 -60
  202. webscout/models.py +505 -181
  203. webscout/optimizers.py +74 -420
  204. webscout/prompt_manager.py +376 -288
  205. webscout/sanitize.py +1514 -0
  206. webscout/scout/README.md +452 -404
  207. webscout/scout/__init__.py +8 -8
  208. webscout/scout/core/__init__.py +7 -7
  209. webscout/scout/core/crawler.py +330 -210
  210. webscout/scout/core/scout.py +800 -607
  211. webscout/scout/core/search_result.py +51 -96
  212. webscout/scout/core/text_analyzer.py +64 -63
  213. webscout/scout/core/text_utils.py +412 -277
  214. webscout/scout/core/web_analyzer.py +54 -52
  215. webscout/scout/element.py +872 -478
  216. webscout/scout/parsers/__init__.py +70 -69
  217. webscout/scout/parsers/html5lib_parser.py +182 -172
  218. webscout/scout/parsers/html_parser.py +238 -236
  219. webscout/scout/parsers/lxml_parser.py +203 -178
  220. webscout/scout/utils.py +38 -37
  221. webscout/search/__init__.py +47 -0
  222. webscout/search/base.py +201 -0
  223. webscout/search/bing_main.py +45 -0
  224. webscout/search/brave_main.py +92 -0
  225. webscout/search/duckduckgo_main.py +57 -0
  226. webscout/search/engines/__init__.py +127 -0
  227. webscout/search/engines/bing/__init__.py +15 -0
  228. webscout/search/engines/bing/base.py +35 -0
  229. webscout/search/engines/bing/images.py +114 -0
  230. webscout/search/engines/bing/news.py +96 -0
  231. webscout/search/engines/bing/suggestions.py +36 -0
  232. webscout/search/engines/bing/text.py +109 -0
  233. webscout/search/engines/brave/__init__.py +19 -0
  234. webscout/search/engines/brave/base.py +47 -0
  235. webscout/search/engines/brave/images.py +213 -0
  236. webscout/search/engines/brave/news.py +353 -0
  237. webscout/search/engines/brave/suggestions.py +318 -0
  238. webscout/search/engines/brave/text.py +167 -0
  239. webscout/search/engines/brave/videos.py +364 -0
  240. webscout/search/engines/duckduckgo/__init__.py +25 -0
  241. webscout/search/engines/duckduckgo/answers.py +80 -0
  242. webscout/search/engines/duckduckgo/base.py +189 -0
  243. webscout/search/engines/duckduckgo/images.py +100 -0
  244. webscout/search/engines/duckduckgo/maps.py +183 -0
  245. webscout/search/engines/duckduckgo/news.py +70 -0
  246. webscout/search/engines/duckduckgo/suggestions.py +22 -0
  247. webscout/search/engines/duckduckgo/text.py +221 -0
  248. webscout/search/engines/duckduckgo/translate.py +48 -0
  249. webscout/search/engines/duckduckgo/videos.py +80 -0
  250. webscout/search/engines/duckduckgo/weather.py +84 -0
  251. webscout/search/engines/mojeek.py +61 -0
  252. webscout/search/engines/wikipedia.py +77 -0
  253. webscout/search/engines/yahoo/__init__.py +41 -0
  254. webscout/search/engines/yahoo/answers.py +19 -0
  255. webscout/search/engines/yahoo/base.py +34 -0
  256. webscout/search/engines/yahoo/images.py +323 -0
  257. webscout/search/engines/yahoo/maps.py +19 -0
  258. webscout/search/engines/yahoo/news.py +258 -0
  259. webscout/search/engines/yahoo/suggestions.py +140 -0
  260. webscout/search/engines/yahoo/text.py +273 -0
  261. webscout/search/engines/yahoo/translate.py +19 -0
  262. webscout/search/engines/yahoo/videos.py +302 -0
  263. webscout/search/engines/yahoo/weather.py +220 -0
  264. webscout/search/engines/yandex.py +67 -0
  265. webscout/search/engines/yep/__init__.py +13 -0
  266. webscout/search/engines/yep/base.py +34 -0
  267. webscout/search/engines/yep/images.py +101 -0
  268. webscout/search/engines/yep/suggestions.py +38 -0
  269. webscout/search/engines/yep/text.py +99 -0
  270. webscout/search/http_client.py +172 -0
  271. webscout/search/results.py +141 -0
  272. webscout/search/yahoo_main.py +57 -0
  273. webscout/search/yep_main.py +48 -0
  274. webscout/server/__init__.py +48 -0
  275. webscout/server/config.py +78 -0
  276. webscout/server/exceptions.py +69 -0
  277. webscout/server/providers.py +286 -0
  278. webscout/server/request_models.py +131 -0
  279. webscout/server/request_processing.py +404 -0
  280. webscout/server/routes.py +642 -0
  281. webscout/server/server.py +351 -0
  282. webscout/server/ui_templates.py +1171 -0
  283. webscout/swiftcli/__init__.py +79 -95
  284. webscout/swiftcli/core/__init__.py +7 -7
  285. webscout/swiftcli/core/cli.py +574 -297
  286. webscout/swiftcli/core/context.py +98 -104
  287. webscout/swiftcli/core/group.py +268 -241
  288. webscout/swiftcli/decorators/__init__.py +28 -28
  289. webscout/swiftcli/decorators/command.py +243 -221
  290. webscout/swiftcli/decorators/options.py +247 -220
  291. webscout/swiftcli/decorators/output.py +392 -252
  292. webscout/swiftcli/exceptions.py +21 -21
  293. webscout/swiftcli/plugins/__init__.py +9 -9
  294. webscout/swiftcli/plugins/base.py +134 -135
  295. webscout/swiftcli/plugins/manager.py +269 -269
  296. webscout/swiftcli/utils/__init__.py +58 -59
  297. webscout/swiftcli/utils/formatting.py +251 -252
  298. webscout/swiftcli/utils/parsing.py +368 -267
  299. webscout/update_checker.py +280 -136
  300. webscout/utils.py +28 -14
  301. webscout/version.py +2 -1
  302. webscout/version.py.bak +3 -0
  303. webscout/zeroart/__init__.py +218 -135
  304. webscout/zeroart/base.py +70 -66
  305. webscout/zeroart/effects.py +155 -101
  306. webscout/zeroart/fonts.py +1799 -1239
  307. webscout-2026.1.19.dist-info/METADATA +638 -0
  308. webscout-2026.1.19.dist-info/RECORD +312 -0
  309. {webscout-8.2.9.dist-info → webscout-2026.1.19.dist-info}/WHEEL +1 -1
  310. {webscout-8.2.9.dist-info → webscout-2026.1.19.dist-info}/entry_points.txt +1 -1
  311. webscout/DWEBS.py +0 -520
  312. webscout/Extra/Act.md +0 -309
  313. webscout/Extra/GitToolkit/gitapi/README.md +0 -110
  314. webscout/Extra/autocoder/__init__.py +0 -9
  315. webscout/Extra/autocoder/autocoder.py +0 -1105
  316. webscout/Extra/autocoder/autocoder_utiles.py +0 -332
  317. webscout/Extra/gguf.md +0 -430
  318. webscout/Extra/weather.md +0 -281
  319. webscout/Litlogger/README.md +0 -10
  320. webscout/Litlogger/__init__.py +0 -15
  321. webscout/Litlogger/formats.py +0 -4
  322. webscout/Litlogger/handlers.py +0 -103
  323. webscout/Litlogger/levels.py +0 -13
  324. webscout/Litlogger/logger.py +0 -92
  325. webscout/Provider/AI21.py +0 -177
  326. webscout/Provider/AISEARCH/DeepFind.py +0 -254
  327. webscout/Provider/AISEARCH/felo_search.py +0 -202
  328. webscout/Provider/AISEARCH/genspark_search.py +0 -324
  329. webscout/Provider/AISEARCH/hika_search.py +0 -186
  330. webscout/Provider/AISEARCH/scira_search.py +0 -298
  331. webscout/Provider/Aitopia.py +0 -316
  332. webscout/Provider/AllenAI.py +0 -440
  333. webscout/Provider/Blackboxai.py +0 -791
  334. webscout/Provider/ChatGPTClone.py +0 -237
  335. webscout/Provider/ChatGPTGratis.py +0 -194
  336. webscout/Provider/Cloudflare.py +0 -324
  337. webscout/Provider/ExaChat.py +0 -358
  338. webscout/Provider/Flowith.py +0 -217
  339. webscout/Provider/FreeGemini.py +0 -250
  340. webscout/Provider/Glider.py +0 -225
  341. webscout/Provider/HF_space/__init__.py +0 -0
  342. webscout/Provider/HF_space/qwen_qwen2.py +0 -206
  343. webscout/Provider/HuggingFaceChat.py +0 -469
  344. webscout/Provider/Hunyuan.py +0 -283
  345. webscout/Provider/LambdaChat.py +0 -411
  346. webscout/Provider/Llama3.py +0 -259
  347. webscout/Provider/Nemotron.py +0 -218
  348. webscout/Provider/OLLAMA.py +0 -396
  349. webscout/Provider/OPENAI/BLACKBOXAI.py +0 -766
  350. webscout/Provider/OPENAI/Cloudflare.py +0 -378
  351. webscout/Provider/OPENAI/FreeGemini.py +0 -283
  352. webscout/Provider/OPENAI/NEMOTRON.py +0 -232
  353. webscout/Provider/OPENAI/Qwen3.py +0 -283
  354. webscout/Provider/OPENAI/api.py +0 -969
  355. webscout/Provider/OPENAI/c4ai.py +0 -373
  356. webscout/Provider/OPENAI/chatgptclone.py +0 -494
  357. webscout/Provider/OPENAI/copilot.py +0 -242
  358. webscout/Provider/OPENAI/flowith.py +0 -162
  359. webscout/Provider/OPENAI/freeaichat.py +0 -359
  360. webscout/Provider/OPENAI/mcpcore.py +0 -389
  361. webscout/Provider/OPENAI/multichat.py +0 -376
  362. webscout/Provider/OPENAI/opkfc.py +0 -496
  363. webscout/Provider/OPENAI/scirachat.py +0 -477
  364. webscout/Provider/OPENAI/standardinput.py +0 -433
  365. webscout/Provider/OPENAI/typegpt.py +0 -364
  366. webscout/Provider/OPENAI/uncovrAI.py +0 -463
  367. webscout/Provider/OPENAI/venice.py +0 -431
  368. webscout/Provider/OPENAI/yep.py +0 -382
  369. webscout/Provider/OpenGPT.py +0 -209
  370. webscout/Provider/Perplexitylabs.py +0 -415
  371. webscout/Provider/Reka.py +0 -214
  372. webscout/Provider/StandardInput.py +0 -290
  373. webscout/Provider/TTI/aiarta.py +0 -365
  374. webscout/Provider/TTI/artbit.py +0 -0
  375. webscout/Provider/TTI/fastflux.py +0 -200
  376. webscout/Provider/TTI/piclumen.py +0 -203
  377. webscout/Provider/TTI/pixelmuse.py +0 -225
  378. webscout/Provider/TTS/gesserit.py +0 -128
  379. webscout/Provider/TTS/sthir.py +0 -94
  380. webscout/Provider/TeachAnything.py +0 -229
  381. webscout/Provider/UNFINISHED/puterjs.py +0 -635
  382. webscout/Provider/UNFINISHED/test_lmarena.py +0 -119
  383. webscout/Provider/Venice.py +0 -258
  384. webscout/Provider/VercelAI.py +0 -253
  385. webscout/Provider/Writecream.py +0 -246
  386. webscout/Provider/WritingMate.py +0 -269
  387. webscout/Provider/asksteve.py +0 -220
  388. webscout/Provider/chatglm.py +0 -215
  389. webscout/Provider/copilot.py +0 -425
  390. webscout/Provider/freeaichat.py +0 -285
  391. webscout/Provider/granite.py +0 -235
  392. webscout/Provider/hermes.py +0 -266
  393. webscout/Provider/koala.py +0 -170
  394. webscout/Provider/lmarena.py +0 -198
  395. webscout/Provider/multichat.py +0 -364
  396. webscout/Provider/scira_chat.py +0 -299
  397. webscout/Provider/scnet.py +0 -243
  398. webscout/Provider/talkai.py +0 -194
  399. webscout/Provider/typegpt.py +0 -289
  400. webscout/Provider/uncovr.py +0 -368
  401. webscout/Provider/yep.py +0 -389
  402. webscout/litagent/Readme.md +0 -276
  403. webscout/litprinter/__init__.py +0 -59
  404. webscout/swiftcli/Readme.md +0 -323
  405. webscout/tempid.py +0 -128
  406. webscout/webscout_search.py +0 -1184
  407. webscout/webscout_search_async.py +0 -654
  408. webscout/yep_search.py +0 -347
  409. webscout/zeroart/README.md +0 -89
  410. webscout-8.2.9.dist-info/METADATA +0 -1033
  411. webscout-8.2.9.dist-info/RECORD +0 -289
  412. {webscout-8.2.9.dist-info → webscout-2026.1.19.dist-info}/licenses/LICENSE.md +0 -0
  413. {webscout-8.2.9.dist-info → webscout-2026.1.19.dist-info}/top_level.txt +0 -0
@@ -1,1033 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: webscout
3
- Version: 8.2.9
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 and more
5
- Author-email: OEvortex <helpingai5@gmail.com>
6
- License: HelpingAI
7
- Project-URL: Source, https://github.com/OE-LUCIFER/Webscout
8
- Project-URL: Tracker, https://github.com/OE-LUCIFER/Webscout/issues
9
- Project-URL: YouTube, https://youtube.com/@OEvortex
10
- Keywords: search,ai,chatbot,llm,language-model,gpt,openai,gemini,claude,llama,search-engine,text-to-speech,tts,text-to-image,tti,weather,youtube,toolkit,utilities,web-search,duckduckgo,google,yep
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: Intended Audience :: Developers
13
- Classifier: Intended Audience :: End Users/Desktop
14
- Classifier: Intended Audience :: Science/Research
15
- Classifier: License :: Other/Proprietary License
16
- Classifier: Natural Language :: English
17
- Classifier: Operating System :: OS Independent
18
- Classifier: Operating System :: Microsoft :: Windows
19
- Classifier: Operating System :: POSIX :: Linux
20
- Classifier: Operating System :: MacOS :: MacOS X
21
- Classifier: Programming Language :: Python :: 3
22
- Classifier: Programming Language :: Python :: 3.9
23
- Classifier: Programming Language :: Python :: 3.10
24
- Classifier: Programming Language :: Python :: 3.11
25
- Classifier: Programming Language :: Python :: 3.12
26
- Classifier: Programming Language :: Python :: 3.13
27
- Classifier: Programming Language :: Python :: Implementation :: CPython
28
- Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
29
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
- Classifier: Topic :: Text Processing :: Linguistic
31
- Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
32
- Classifier: Topic :: Communications
33
- Classifier: Topic :: Utilities
34
- Requires-Python: >=3.9
35
- Description-Content-Type: text/markdown
36
- License-File: LICENSE.md
37
- Requires-Dist: setuptools
38
- Requires-Dist: wheel
39
- Requires-Dist: pip
40
- Requires-Dist: nodriver
41
- Requires-Dist: mistune
42
- Requires-Dist: curl_cffi
43
- Requires-Dist: nest-asyncio
44
- Requires-Dist: websocket-client
45
- Requires-Dist: colorama
46
- Requires-Dist: rich
47
- Requires-Dist: markdownify
48
- Requires-Dist: requests
49
- Requires-Dist: google-generativeai
50
- Requires-Dist: lxml>=5.2.2
51
- Requires-Dist: orjson
52
- Requires-Dist: PyYAML
53
- Requires-Dist: ollama
54
- Requires-Dist: pillow
55
- Requires-Dist: bson
56
- Requires-Dist: cloudscraper
57
- Requires-Dist: html5lib
58
- Requires-Dist: aiofiles
59
- Requires-Dist: openai
60
- Requires-Dist: gradio_client
61
- Requires-Dist: psutil
62
- Requires-Dist: aiohttp
63
- Requires-Dist: zstandard
64
- Provides-Extra: dev
65
- Requires-Dist: ruff>=0.1.6; extra == "dev"
66
- Requires-Dist: pytest>=7.4.2; extra == "dev"
67
- Provides-Extra: api
68
- Requires-Dist: fastapi; extra == "api"
69
- Requires-Dist: uvicorn[standard]; extra == "api"
70
- Requires-Dist: pydantic; extra == "api"
71
- Requires-Dist: python-multipart; extra == "api"
72
- Requires-Dist: tiktoken; extra == "api"
73
- Dynamic: license-file
74
-
75
- <div align="center">
76
- <a href="https://github.com/OEvortex/Webscout">
77
- <img src="https://img.shields.io/badge/WebScout-Ultimate%20Toolkit-blue?style=for-the-badge&logo=python&logoColor=white" alt="WebScout Logo">
78
- </a>
79
-
80
- <h1>Webscout</h1>
81
-
82
- <p><strong>Your All-in-One Python Toolkit for Web Search, AI Interaction, Digital Utilities, and More</strong></p>
83
-
84
- <p>
85
- Access diverse search engines, cutting-edge AI models, temporary communication tools, media utilities, developer helpers, and powerful CLI interfaces – all through one unified library.
86
- </p>
87
-
88
- <!-- Badges -->
89
- <p>
90
- <a href="https://pypi.org/project/webscout/"><img src="https://img.shields.io/pypi/v/webscout.svg?style=flat-square&logo=pypi&label=PyPI" alt="PyPI Version"></a>
91
- <a href="https://pepy.tech/project/webscout"><img src="https://static.pepy.tech/badge/webscout/month?style=flat-square" alt="Monthly Downloads"></a>
92
- <a href="https://pepy.tech/project/webscout"><img src="https://static.pepy.tech/badge/webscout?style=flat-square" alt="Total Downloads"></a>
93
- <a href="#"><img src="https://img.shields.io/pypi/pyversions/webscout?style=flat-square&logo=python" alt="Python Version"></a>
94
- <a href="https://deepwiki.com/OEvortex/Webscout"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
95
- </p>
96
- </div>
97
-
98
- <hr/>
99
-
100
- ## 📋 Table of Contents
101
-
102
- - [🌟 Key Features](#-features)
103
- - [⚙️ Installation](#️-installation)
104
- - [🖥️ Command Line Interface](#️-command-line-interface)
105
- - [🔄 OpenAI-Compatible API Server](#-openai-compatible-api-server)
106
- - [🔍 Search Engines](#-search-engines)
107
- - [🦆 DuckDuckGo Search](#-duckduckgo-search-with-webs-and-asyncwebs)
108
- - [💻 WEBS API Reference](#-webs-api-reference)
109
- - [🤖 AI Models and Voices](#-ai-models-and-voices)
110
- - [💬 AI Chat Providers](#-ai-chat-providers)
111
- - [👨‍💻 Advanced AI Interfaces](#-advanced-ai-interfaces)
112
- - [🤝 Contributing](#-contributing)
113
- - [🙏 Acknowledgments](#-acknowledgments)
114
-
115
- <hr/>
116
-
117
- > [!IMPORTANT]
118
- > **Webscout supports three types of compatibility:**
119
- > - **Native Compatibility:** Webscout's own native API for maximum flexibility
120
- > - **OpenAI Compatibility:** Use providers with OpenAI-compatible interfaces
121
- > - **Local LLM Compatibility:** Run local models with [Inferno](https://github.com/HelpingAI/inferno), an OpenAI-compatible server (now a standalone package)
122
- >
123
- > Choose the approach that best fits your needs! For OpenAI compatibility, check the [OpenAI Providers README](webscout/Provider/OPENAI/README.md) or see the [OpenAI-Compatible API Server](#-openai-compatible-api-server) section below.
124
-
125
- > [!NOTE]
126
- > Webscout supports over 90 AI providers including: LLAMA, C4ai, Venice, Copilot, HuggingFaceChat, PerplexityLabs, DeepSeek, WiseCat, GROQ, OPENAI, GEMINI, DeepInfra, Meta, YEPCHAT, TypeGPT, ChatGPTClone, ExaAI, Claude, Anthropic, Cloudflare, AI21, Cerebras, and many more. All providers follow similar usage patterns with consistent interfaces.
127
-
128
- <div align="center">
129
- <!-- Social/Support Links -->
130
- <p>
131
- <a href="https://t.me/PyscoutAI"><img alt="Telegram Group" src="https://img.shields.io/badge/Telegram%20Group-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white"></a>
132
- <a href="https://t.me/ANONYMOUS_56788"><img alt="Developer Telegram" src="https://img.shields.io/badge/Developer%20Contact-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white"></a>
133
- <a href="https://youtube.com/@OEvortex"><img alt="YouTube" src="https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white"></a>
134
- <a href="https://www.linkedin.com/in/oe-vortex-29a407265/"><img alt="LinkedIn" src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white"></a>
135
- <a href="https://www.instagram.com/oevortex/"><img alt="Instagram" src="https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white"></a>
136
- <a href="https://buymeacoffee.com/oevortex"><img alt="Buy Me A Coffee" src="https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?style=for-the-badge&logo=buymeacoffee&logoColor=black"></a>
137
- </p>
138
- </div>
139
-
140
- <hr/>
141
-
142
- ## 🚀 Features
143
-
144
- <details open>
145
- <summary><b>Search & AI</b></summary>
146
- <p>
147
-
148
- * **Comprehensive Search:** Leverage Google, DuckDuckGo, and Yep for diverse search results
149
- * **AI Powerhouse:** Access and interact with various AI models through three compatibility options:
150
- * **Native API:** Use Webscout's native interfaces for providers like OpenAI, Cohere, Gemini, and many more
151
- * **[OpenAI-Compatible Providers](webscout/Provider/OPENAI/README.md):** Seamlessly integrate with various AI providers using standardized OpenAI-compatible interfaces
152
- * **[Local LLMs with Inferno](https://github.com/HelpingAI/inferno):** Run local models with an OpenAI-compatible server (now available as a standalone package)
153
- * **[AI Search](webscout/Provider/AISEARCH/README.md):** AI-powered search engines with advanced capabilities
154
- </p>
155
- </details>
156
-
157
- <details open>
158
- <summary><b>Media & Content Tools</b></summary>
159
- <p>
160
-
161
- * **[YouTube Toolkit](webscout/Extra/YTToolkit/README.md):** Advanced YouTube video and transcript management with multi-language support
162
- * **[Text-to-Speech (TTS)](webscout/Provider/TTS/README.md):** Convert text into natural-sounding speech using multiple AI-powered providers
163
- * **[Text-to-Image](webscout/Provider/TTI/README.md):** Generate high-quality images using a wide range of AI art providers
164
- * **[Weather Tools](webscout/Extra/weather.md):** Retrieve detailed weather information for any location
165
- </p>
166
- </details>
167
-
168
- <details open>
169
- <summary><b>Developer Tools</b></summary>
170
- <p>
171
-
172
- * **[GitAPI](webscout/Extra/GitToolkit/gitapi):** Powerful GitHub data extraction toolkit without authentication requirements for public data
173
- * **[SwiftCLI](webscout/swiftcli/Readme.md):** A powerful and elegant CLI framework for beautiful command-line interfaces
174
- * **[LitPrinter](webscout/litprinter/Readme.md):** Styled console output with rich formatting and colors
175
- * **[LitLogger](webscout/litlogger/README.md):** Simplified logging with customizable formats and color schemes
176
- * **[LitAgent](webscout/litagent/Readme.md):** Modern user agent generator that keeps your requests undetectable
177
- * **[Scout](webscout/scout/README.md):** Advanced web parsing and crawling library with intelligent HTML/XML parsing
178
- * **[Inferno](https://github.com/HelpingAI/inferno):** Run local LLMs with an OpenAI-compatible API and interactive CLI (now a standalone package: `pip install inferno-llm`)
179
- * **[GGUF Conversion](webscout/Extra/gguf.md):** Convert and quantize Hugging Face models to GGUF format
180
- </p>
181
- </details>
182
-
183
- <details open>
184
- <summary><b>Privacy & Utilities</b></summary>
185
- <p>
186
-
187
- * **[Tempmail](webscout/Extra/tempmail/README.md) & Temp Number:** Generate temporary email addresses and phone numbers
188
- * **[Awesome Prompts](webscout/Extra/Act.md):** Curated collection of system prompts for specialized AI personas
189
- </p>
190
- </details>
191
-
192
- <hr/>
193
-
194
- ## ⚙️ Installation
195
-
196
- Webscout supports multiple installation methods to fit your workflow:
197
-
198
- ### 📦 Standard Installation
199
-
200
- ```bash
201
- # Install from PyPI
202
- pip install -U webscout
203
-
204
- # Install with API server dependencies
205
- pip install -U "webscout[api]"
206
-
207
- # Install with development dependencies
208
- pip install -U "webscout[dev]"
209
- ```
210
-
211
- ### ⚡ UV Package Manager (Recommended)
212
-
213
- [UV](https://github.com/astral-sh/uv) is a fast Python package manager. Webscout has full UV support:
214
-
215
- ```bash
216
- # Install UV first (if not already installed)
217
- pip install uv
218
-
219
- # Install Webscout with UV
220
- uv add webscout
221
-
222
- # Install with API dependencies
223
- uv add "webscout[api]"
224
-
225
- # Run Webscout directly with UV (no installation needed)
226
- uv run webscout --help
227
-
228
- # Run with API dependencies
229
- uv run --extra api webscout-server
230
-
231
- # Install as a UV tool for global access
232
- uv tool install webscout
233
-
234
- # Use UV tool commands
235
- webscout --help
236
- webscout-server --help
237
- ```
238
-
239
- ### 🔧 Development Installation
240
-
241
- ```bash
242
- # Clone the repository
243
- git clone https://github.com/OEvortex/Webscout.git
244
- cd Webscout
245
-
246
- # Install in development mode with UV
247
- uv sync --extra dev --extra api
248
-
249
- # Or with pip
250
- pip install -e ".[dev,api]"
251
- ```
252
-
253
- ### 🐳 Docker Installation
254
-
255
- ```bash
256
- # Pull and run the Docker image
257
- docker pull oevortex/webscout:latest
258
- docker run -it oevortex/webscout:latest
259
- ```
260
-
261
- ### 📱 Quick Start Commands
262
-
263
- After installation, you can immediately start using Webscout:
264
-
265
- ```bash
266
- # Check version
267
- webscout version
268
-
269
- # Search the web
270
- webscout text -k "python programming"
271
-
272
- # Start API server
273
- webscout-server
274
-
275
- # Get help
276
- webscout --help
277
- ```
278
-
279
- <hr/>
280
-
281
- ## 🖥️ Command Line Interface
282
-
283
- Webscout provides a powerful command-line interface for quick access to its features. You can use it in multiple ways:
284
-
285
- ### 🚀 Direct Commands (Recommended)
286
-
287
- After installing with `uv tool install webscout` or `pip install webscout`:
288
-
289
- ```bash
290
- # Get help
291
- webscout --help
292
-
293
- # Start API server
294
- webscout-server
295
- ```
296
-
297
- ### 🔧 UV Run Commands (No Installation Required)
298
-
299
- ```bash
300
- # Run directly with UV (downloads and runs automatically)
301
- uv run webscout --help
302
- uv run --extra api webscout-server
303
- ```
304
-
305
- ### 📦 Python Module Commands
306
-
307
- ```bash
308
- # Traditional Python module execution
309
- python -m webscout --help
310
- python -m webscout.client # Start API server
311
- ```
312
-
313
- <details open>
314
- <summary><b>🔍 Web Search Commands</b></summary>
315
- <p>
316
-
317
- | Command | Description | Example |
318
- |---------|-------------|---------|
319
- | `webscout text -k "query"` | Perform a text search | `webscout text -k "python programming"` |
320
- | `webscout answers -k "query"` | Get instant answers | `webscout answers -k "what is AI"` |
321
- | `webscout images -k "query"` | Search for images | `webscout images -k "nature photography"` |
322
- | `webscout videos -k "query"` | Search for videos | `webscout videos -k "python tutorials"` |
323
- | `webscout news -k "query"` | Search for news articles | `webscout news -k "technology trends"` |
324
- | `webscout maps -k "query"` | Perform a maps search | `webscout maps -k "restaurants near me"` |
325
- | `webscout translate -k "text"` | Translate text | `webscout translate -k "hello world"` |
326
- | `webscout suggestions -k "query"` | Get search suggestions | `webscout suggestions -k "how to"` |
327
- | `webscout weather -l "location"` | Get weather information | `webscout weather -l "New York"` |
328
- | `webscout version` | Display the current version | `webscout version` |
329
-
330
- **Google Search Commands:**
331
- | Command | Description | Example |
332
- |---------|-------------|---------|
333
- | `webscout google_text -k "query"` | Google text search | `webscout google_text -k "machine learning"` |
334
- | `webscout google_news -k "query"` | Google news search | `webscout google_news -k "AI breakthrough"` |
335
- | `webscout google_suggestions -q "query"` | Google suggestions | `webscout google_suggestions -q "python"` |
336
-
337
- **Yep Search Commands:**
338
- | Command | Description | Example |
339
- |---------|-------------|---------|
340
- | `webscout yep_text -k "query"` | Yep text search | `webscout yep_text -k "web development"` |
341
- | `webscout yep_images -k "query"` | Yep image search | `webscout yep_images -k "landscapes"` |
342
- | `webscout yep_suggestions -q "query"` | Yep suggestions | `webscout yep_suggestions -q "javascript"` |
343
-
344
- </p>
345
- </details>
346
-
347
- <details open>
348
- <summary><b>Inferno LLM Commands</b></summary>
349
- <p>
350
-
351
- Inferno is now a standalone package. Install it separately with:
352
-
353
- ```bash
354
- pip install inferno-llm
355
- ```
356
-
357
- After installation, you can use its CLI for managing and using local LLMs:
358
-
359
- ```bash
360
- inferno --help
361
- ```
362
-
363
- | Command | Description |
364
- |---------|-------------|
365
- | `inferno pull <model>` | Download a model from Hugging Face |
366
- | `inferno list` | List downloaded models |
367
- | `inferno serve <model>` | Start a model server with OpenAI-compatible API |
368
- | `inferno run <model>` | Chat with a model interactively |
369
- | `inferno remove <model>` | Remove a downloaded model |
370
- | `inferno version` | Show version information |
371
-
372
- For more information, visit the [Inferno GitHub repository](https://github.com/HelpingAI/inferno) or [PyPI package page](https://pypi.org/project/inferno-llm/).
373
- </p>
374
- </details>
375
-
376
- > [!NOTE]
377
- > **Hardware requirements for running models with Inferno:**
378
- > - Around 2 GB of RAM for 1B models
379
- > - Around 4 GB of RAM for 3B models
380
- > - At least 8 GB of RAM for 7B models
381
- > - 16 GB of RAM for 13B models
382
- > - 32 GB of RAM for 33B models
383
- > - GPU acceleration is recommended for better performance
384
-
385
- <details open>
386
- <summary><b>🔄 OpenAI-Compatible API Server</b></summary>
387
- <p>
388
-
389
- Webscout includes an OpenAI-compatible API server that allows you to use any supported provider with tools and applications designed for OpenAI's API.
390
-
391
- ### Starting the API Server
392
-
393
- #### From Command Line (Recommended)
394
-
395
- ```bash
396
- # Start with default settings (port 8000)
397
- webscout-server
398
-
399
- # Start with custom port
400
- webscout-server --port 8080
401
-
402
- # Start with API key authentication
403
- webscout-server --api-key "your-secret-key"
404
-
405
- # Specify a default provider
406
- webscout-server --default-provider "Claude"
407
-
408
- # Run in debug mode
409
- webscout-server --debug
410
-
411
- # Get help for all options
412
- webscout-server --help
413
- ```
414
-
415
- #### Alternative Methods
416
-
417
- ```bash
418
- # Using UV (no installation required)
419
- uv run --extra api webscout-server
420
-
421
- # Using Python module
422
- python -m webscout.client
423
-
424
- # Legacy method (still supported)
425
- python -m webscout.Provider.OPENAI.api
426
- ```
427
-
428
- #### From Python Code
429
-
430
- ```python
431
- # Method 1: Using the helper function
432
- from webscout.client import start_server # <--- Now recommended
433
-
434
- # Start with default settings
435
- start_server()
436
-
437
- # Start with custom settings
438
- start_server(port=8080, api_key="your-secret-key", default_provider="Claude")
439
-
440
- # Method 2: Using the run_api function for more control
441
- from webscout.client import run_api
442
-
443
- run_api(
444
- host="0.0.0.0",
445
- debug=True
446
- )
447
- ```
448
-
449
- ### Using the API
450
-
451
- Once the server is running, you can use it with any OpenAI client library or tool:
452
-
453
- ```python
454
- # Using the OpenAI Python client
455
- from openai import OpenAI
456
-
457
- client = OpenAI(
458
- api_key="your-secret-key", # Only needed if you set an API key
459
- base_url="http://localhost:8000/v1" # Point to your local server
460
- )
461
-
462
- # Chat completion
463
- response = client.chat.completions.create(
464
- model="gpt-4", # This can be any model name registered with Webscout
465
- messages=[
466
- {"role": "system", "content": "You are a helpful assistant."},
467
- {"role": "user", "content": "Hello, how are you?"}
468
- ]
469
- )
470
-
471
- print(response.choices[0].message.content)
472
- ```
473
-
474
- ### Using with cURL
475
-
476
- ```bash
477
- # Basic chat completion request
478
- curl http://localhost:8000/v1/chat/completions \
479
- -H "Content-Type: application/json" \
480
- -H "Authorization: Bearer your-secret-key" \
481
- -d '{
482
- "model": "gpt-4",
483
- "messages": [
484
- {"role": "system", "content": "You are a helpful assistant."},
485
- {"role": "user", "content": "Hello, how are you?"}
486
- ]
487
- }'
488
-
489
- # List available models
490
- curl http://localhost:8000/v1/models \
491
- -H "Authorization: Bearer your-secret-key"
492
- ```
493
-
494
- ### Available Endpoints
495
-
496
- - `GET /v1/models` - List all available models
497
- - `GET /v1/models/{model_name}` - Get information about a specific model
498
- - `POST /v1/chat/completions` - Create a chat completion
499
-
500
- </p>
501
- </details>
502
-
503
- <hr/>
504
-
505
- ## 🔍 Search Engines
506
-
507
- Webscout provides multiple search engine interfaces for diverse search capabilities.
508
-
509
- ### YepSearch - Yep.com Interface
510
-
511
- ```python
512
- from webscout import YepSearch
513
-
514
- # Initialize YepSearch
515
- yep = YepSearch(
516
- timeout=20, # Optional: Set custom timeout
517
- proxies=None, # Optional: Use proxies
518
- verify=True # Optional: SSL verification
519
- )
520
-
521
- # Text Search
522
- text_results = yep.text(
523
- keywords="artificial intelligence",
524
- region="all", # Optional: Region for results
525
- safesearch="moderate", # Optional: "on", "moderate", "off"
526
- max_results=10 # Optional: Limit number of results
527
- )
528
-
529
- # Image Search
530
- image_results = yep.images(
531
- keywords="nature photography",
532
- region="all",
533
- safesearch="moderate",
534
- max_results=10
535
- )
536
-
537
- # Get search suggestions
538
- suggestions = yep.suggestions("hist")
539
- ```
540
-
541
- ### GoogleSearch - Google Interface
542
-
543
- ```python
544
- from webscout import GoogleSearch
545
-
546
- # Initialize GoogleSearch
547
- google = GoogleSearch(
548
- timeout=10, # Optional: Set custom timeout
549
- proxies=None, # Optional: Use proxies
550
- verify=True # Optional: SSL verification
551
- )
552
-
553
- # Text Search
554
- text_results = google.text(
555
- keywords="artificial intelligence",
556
- region="us", # Optional: Region for results
557
- safesearch="moderate", # Optional: "on", "moderate", "off"
558
- max_results=10 # Optional: Limit number of results
559
- )
560
- for result in text_results:
561
- print(f"Title: {result.title}")
562
- print(f"URL: {result.url}")
563
- print(f"Description: {result.description}")
564
-
565
- # News Search
566
- news_results = google.news(
567
- keywords="technology trends",
568
- region="us",
569
- safesearch="moderate",
570
- max_results=5
571
- )
572
-
573
- # Get search suggestions
574
- suggestions = google.suggestions("how to")
575
-
576
- # Legacy usage is still supported
577
- from webscout import search
578
- results = search("Python programming", num_results=5)
579
- ```
580
-
581
- <hr/>
582
-
583
- ## 🦆 DuckDuckGo Search with WEBS and AsyncWEBS
584
-
585
- Webscout provides powerful interfaces to DuckDuckGo's search capabilities through the `WEBS` and `AsyncWEBS` classes.
586
-
587
- <details open>
588
- <summary><b>Synchronous Usage with WEBS</b></summary>
589
- <p>
590
-
591
- ```python
592
- from webscout import WEBS
593
-
594
- # Use as a context manager for proper resource management
595
- with WEBS() as webs:
596
- # Simple text search
597
- results = webs.text("python programming", max_results=5)
598
- for result in results:
599
- print(f"Title: {result['title']}\nURL: {result['url']}")
600
- ```
601
- </p>
602
- </details>
603
-
604
- <details open>
605
- <summary><b>Asynchronous Usage with AsyncWEBS</b></summary>
606
- <p>
607
-
608
- ```python
609
- import asyncio
610
- from webscout import AsyncWEBS
611
-
612
- async def search_multiple_terms(search_terms):
613
- async with AsyncWEBS() as webs:
614
- # Create tasks for each search term
615
- tasks = [webs.text(term, max_results=5) for term in search_terms]
616
- # Run all searches concurrently
617
- results = await asyncio.gather(*tasks)
618
- return results
619
-
620
- async def main():
621
- terms = ["python", "javascript", "machine learning"]
622
- all_results = await search_multiple_terms(terms)
623
-
624
- # Process results
625
- for i, term_results in enumerate(all_results):
626
- print(f"Results for '{terms[i]}':\n")
627
- for result in term_results:
628
- print(f"- {result['title']}")
629
- print("\n")
630
-
631
- # Run the async function
632
- asyncio.run(main())
633
- ```
634
- </p>
635
- </details>
636
-
637
- > [!TIP]
638
- > Always use these classes with a context manager (`with` statement) to ensure proper resource management and cleanup.
639
-
640
- <hr/>
641
-
642
- ## 💻 WEBS API Reference
643
-
644
- The WEBS class provides comprehensive access to DuckDuckGo's search capabilities through a clean, intuitive API.
645
-
646
- ### Available Search Methods
647
-
648
- | Method | Description | Example |
649
- |--------|-------------|--------|
650
- | `text()` | General web search | `webs.text('python programming')` |
651
- | `answers()` | Instant answers | `webs.answers('population of france')` |
652
- | `images()` | Image search | `webs.images('nature photography')` |
653
- | `videos()` | Video search | `webs.videos('documentary')` |
654
- | `news()` | News articles | `webs.news('technology')` |
655
- | `maps()` | Location search | `webs.maps('restaurants', place='new york')` |
656
- | `translate()` | Text translation | `webs.translate('hello', to='es')` |
657
- | `suggestions()` | Search suggestions | `webs.suggestions('how to')` |
658
- | `weather()` | Weather information | `webs.weather('london')` |
659
-
660
- <details>
661
- <summary><b>Example: Text Search</b></summary>
662
- <p>
663
-
664
- ```python
665
- from webscout import WEBS
666
-
667
- with WEBS() as webs:
668
- results = webs.text(
669
- 'artificial intelligence',
670
- region='wt-wt', # Optional: Region for results
671
- safesearch='off', # Optional: 'on', 'moderate', 'off'
672
- timelimit='y', # Optional: Time limit ('d'=day, 'w'=week, 'm'=month, 'y'=year)
673
- max_results=10 # Optional: Limit number of results
674
- )
675
-
676
- for result in results:
677
- print(f"Title: {result['title']}")
678
- print(f"URL: {result['url']}")
679
- print(f"Description: {result['body']}\n")
680
- ```
681
- </p>
682
- </details>
683
-
684
- <details>
685
- <summary><b>Example: News Search with Formatting</b></summary>
686
- <p>
687
-
688
- ```python
689
- from webscout import WEBS
690
- import datetime
691
-
692
- def fetch_formatted_news(keywords, timelimit='d', max_results=20):
693
- """Fetch and format news articles"""
694
- with WEBS() as webs:
695
- # Get news results
696
- news_results = webs.news(
697
- keywords,
698
- region="wt-wt",
699
- safesearch="off",
700
- timelimit=timelimit, # 'd'=day, 'w'=week, 'm'=month
701
- max_results=max_results
702
- )
703
-
704
- # Format the results
705
- formatted_news = []
706
- for i, item in enumerate(news_results, 1):
707
- # Format the date
708
- date = datetime.datetime.fromisoformat(item['date']).strftime('%B %d, %Y')
709
-
710
- # Create formatted entry
711
- entry = f"{i}. {item['title']}\n"
712
- entry += f" Published: {date}\n"
713
- entry += f" {item['body']}\n"
714
- entry += f" URL: {item['url']}\n"
715
-
716
- formatted_news.append(entry)
717
-
718
- return formatted_news
719
-
720
- # Example usage
721
- news = fetch_formatted_news('artificial intelligence', timelimit='w', max_results=5)
722
- print('\n'.join(news))
723
- ```
724
- </p>
725
- </details>
726
-
727
- <details>
728
- <summary><b>Example: Weather Information</b></summary>
729
- <p>
730
-
731
- ```python
732
- from webscout import WEBS
733
-
734
- with WEBS() as webs:
735
- # Get weather for a location
736
- weather = webs.weather("New York")
737
-
738
- # Access weather data
739
- if weather:
740
- print(f"Location: {weather.get('location', 'Unknown')}")
741
- print(f"Temperature: {weather.get('temperature', 'N/A')}")
742
- print(f"Conditions: {weather.get('condition', 'N/A')}")
743
- ```
744
- </p>
745
- </details>
746
-
747
- <hr/>
748
-
749
- ## 🤖 AI Models and Voices
750
-
751
- Webscout provides easy access to a wide range of AI models and voice options.
752
-
753
- <details open>
754
- <summary><b>LLM Models</b></summary>
755
- <p>
756
-
757
- Access and manage Large Language Models with Webscout's model utilities.
758
-
759
- ```python
760
- from webscout import model
761
- from rich import print
762
-
763
- # List all available LLM models
764
- all_models = model.llm.list()
765
- print(f"Total available models: {len(all_models)}")
766
-
767
- # Get a summary of models by provider
768
- summary = model.llm.summary()
769
- print("Models by provider:")
770
- for provider, count in summary.items():
771
- print(f" {provider}: {count} models")
772
-
773
- # Get models for a specific provider
774
- provider_name = "PerplexityLabs"
775
- available_models = model.llm.get(provider_name)
776
- print(f"\n{provider_name} models:")
777
- if isinstance(available_models, list):
778
- for i, model_name in enumerate(available_models, 1):
779
- print(f" {i}. {model_name}")
780
- else:
781
- print(f" {available_models}")
782
- ```
783
- </p>
784
- </details>
785
-
786
- <details open>
787
- <summary><b>TTS Voices</b></summary>
788
- <p>
789
-
790
- Access and manage Text-to-Speech voices across multiple providers.
791
-
792
- ```python
793
- from webscout import model
794
- from rich import print
795
-
796
- # List all available TTS voices
797
- all_voices = model.tts.list()
798
- print(f"Total available voices: {len(all_voices)}")
799
-
800
- # Get a summary of voices by provider
801
- summary = model.tts.summary()
802
- print("\nVoices by provider:")
803
- for provider, count in summary.items():
804
- print(f" {provider}: {count} voices")
805
-
806
- # Get voices for a specific provider
807
- provider_name = "ElevenlabsTTS"
808
- available_voices = model.tts.get(provider_name)
809
- print(f"\n{provider_name} voices:")
810
- if isinstance(available_voices, dict):
811
- for voice_name, voice_id in list(available_voices.items())[:5]: # Show first 5 voices
812
- print(f" - {voice_name}: {voice_id}")
813
- if len(available_voices) > 5:
814
- print(f" ... and {len(available_voices) - 5} more")
815
- ```
816
- </p>
817
- </details>
818
-
819
- <hr/>
820
-
821
- ## 💬 AI Chat Providers
822
-
823
- Webscout offers a comprehensive collection of AI chat providers, giving you access to various language models through a consistent interface.
824
-
825
- ### Popular AI Providers
826
-
827
- <div class="provider-table">
828
-
829
- | Provider | Description | Key Features |
830
- |----------|-------------|-------------|
831
- | `OPENAI` | OpenAI's models | GPT-3.5, GPT-4, tool calling |
832
- | `GEMINI` | Google's Gemini models | Web search capabilities |
833
- | `Meta` | Meta's AI assistant | Image generation, web search |
834
- | `GROQ` | Fast inference platform | High-speed inference, tool calling |
835
- | `LLAMA` | Meta's Llama models | Open weights models |
836
- | `DeepInfra` | Various open models | Multiple model options |
837
- | `Cohere` | Cohere's language models | Command models |
838
- | `PerplexityLabs` | Perplexity AI | Web search integration |
839
- | `YEPCHAT` | Yep.com's AI | Streaming responses |
840
- | `ChatGPTClone` | ChatGPT-like interface | Multiple model options |
841
- | `TypeGPT` | TypeChat models | Multiple model options |
842
-
843
- </div>
844
-
845
-
846
- <details>
847
- <summary><b>Example: Using Meta AI</b></summary>
848
- <p>
849
-
850
- ```python
851
- from webscout import Meta
852
-
853
- # For basic usage (no authentication required)
854
- meta_ai = Meta()
855
-
856
- # Simple text prompt
857
- response = meta_ai.chat("What is the capital of France?")
858
- print(response)
859
-
860
- # For authenticated usage with web search and image generation
861
- meta_ai = Meta(fb_email="your_email@example.com", fb_password="your_password")
862
-
863
- # Text prompt with web search
864
- response = meta_ai.ask("What are the latest developments in quantum computing?")
865
- print(response["message"])
866
- print("Sources:", response["sources"])
867
-
868
- # Image generation
869
- response = meta_ai.ask("Create an image of a futuristic city")
870
- for media in response.get("media", []):
871
- print(media["url"])
872
- ```
873
- </p>
874
- </details>
875
-
876
- <details>
877
- <summary><b>Example: GROQ with Tool Calling</b></summary>
878
- <p>
879
-
880
- ```python
881
- from webscout import GROQ, WEBS
882
- import json
883
-
884
- # Initialize GROQ client
885
- client = GROQ(api_key="your_api_key")
886
-
887
- # Define helper functions
888
- def calculate(expression):
889
- """Evaluate a mathematical expression"""
890
- try:
891
- result = eval(expression)
892
- return json.dumps({"result": result})
893
- except Exception as e:
894
- return json.dumps({"error": str(e)})
895
-
896
- def search(query):
897
- """Perform a web search"""
898
- try:
899
- results = WEBS().text(query, max_results=3)
900
- return json.dumps({"results": results})
901
- except Exception as e:
902
- return json.dumps({"error": str(e)})
903
-
904
- # Register functions with GROQ
905
- client.add_function("calculate", calculate)
906
- client.add_function("search", search)
907
-
908
- # Define tool specifications
909
- tools = [
910
- {
911
- "type": "function",
912
- "function": {
913
- "name": "calculate",
914
- "description": "Evaluate a mathematical expression",
915
- "parameters": {
916
- "type": "object",
917
- "properties": {
918
- "expression": {
919
- "type": "string",
920
- "description": "The mathematical expression to evaluate"
921
- }
922
- },
923
- "required": ["expression"]
924
- }
925
- }
926
- },
927
- {
928
- "type": "function",
929
- "function": {
930
- "name": "search",
931
- "description": "Perform a web search",
932
- "parameters": {
933
- "type": "object",
934
- "properties": {
935
- "query": {
936
- "type": "string",
937
- "description": "The search query"
938
- }
939
- },
940
- "required": ["query"]
941
- }
942
- }
943
- }
944
- ]
945
-
946
- # Use the tools
947
- response = client.chat("What is 25 * 4 + 10?", tools=tools)
948
- print(response)
949
-
950
- response = client.chat("Find information about quantum computing", tools=tools)
951
- print(response)
952
- ```
953
- </p>
954
- </details>
955
-
956
-
957
-
958
- <details open>
959
- <summary><b>GGUF Model Conversion</b></summary>
960
- <p>
961
-
962
- Webscout provides tools to convert and quantize Hugging Face models into the GGUF format for offline use.
963
-
964
- ```python
965
- from webscout.Extra.gguf import ModelConverter
966
-
967
- # Create a converter instance
968
- converter = ModelConverter(
969
- model_id="mistralai/Mistral-7B-Instruct-v0.2", # Hugging Face model ID
970
- quantization_methods="q4_k_m" # Quantization method
971
- )
972
-
973
- # Run the conversion
974
- converter.convert()
975
- ```
976
-
977
- #### Available Quantization Methods
978
-
979
- | Method | Description |
980
- |--------|-------------|
981
- | `fp16` | 16-bit floating point - maximum accuracy, largest size |
982
- | `q2_k` | 2-bit quantization (smallest size, lowest accuracy) |
983
- | `q3_k_l` | 3-bit quantization (large) - balanced for size/accuracy |
984
- | `q3_k_m` | 3-bit quantization (medium) - good balance for most use cases |
985
- | `q3_k_s` | 3-bit quantization (small) - optimized for speed |
986
- | `q4_0` | 4-bit quantization (version 0) - standard 4-bit compression |
987
- | `q4_1` | 4-bit quantization (version 1) - improved accuracy over q4_0 |
988
- | `q4_k_m` | 4-bit quantization (medium) - balanced for most models |
989
- | `q4_k_s` | 4-bit quantization (small) - optimized for speed |
990
- | `q5_0` | 5-bit quantization (version 0) - high accuracy, larger size |
991
- | `q5_1` | 5-bit quantization (version 1) - improved accuracy over q5_0 |
992
- | `q5_k_m` | 5-bit quantization (medium) - best balance for quality/size |
993
- | `q5_k_s` | 5-bit quantization (small) - optimized for speed |
994
- | `q6_k` | 6-bit quantization - highest accuracy, largest size |
995
- | `q8_0` | 8-bit quantization - maximum accuracy, largest size |
996
-
997
- #### Command Line Usage
998
-
999
- ```bash
1000
- python -m webscout.Extra.gguf convert -m "mistralai/Mistral-7B-Instruct-v0.2" -q "q4_k_m"
1001
- ```
1002
- </p>
1003
- </details>
1004
-
1005
- <div align="center">
1006
- <p>
1007
- <a href="https://youtube.com/@OEvortex">▶️ Vortex's YouTube Channel</a> |
1008
- <a href="https://t.me/ANONYMOUS_56788">📢 Anonymous Coder's Telegram</a>
1009
- </p>
1010
- </div>
1011
-
1012
- <hr/>
1013
-
1014
- ## 🤝 Contributing
1015
-
1016
- Contributions are welcome! If you'd like to contribute to Webscout, please follow these steps:
1017
-
1018
- 1. Fork the repository
1019
- 2. Create a new branch for your feature or bug fix
1020
- 3. Make your changes and commit them with descriptive messages
1021
- 4. Push your branch to your forked repository
1022
- 5. Submit a pull request to the main repository
1023
-
1024
- ## 🙏 Acknowledgments
1025
-
1026
- * All the amazing developers who have contributed to the project
1027
- * The open-source community for their support and inspiration
1028
-
1029
- <hr/>
1030
-
1031
- <div align="center">
1032
- <p>Made with ❤️ by the Webscout team</p>
1033
- </div>