webscout 8.2.8__py3-none-any.whl → 8.2.9__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.
- webscout/AIauto.py +32 -14
- webscout/AIbase.py +96 -37
- webscout/AIutel.py +491 -87
- webscout/Bard.py +441 -323
- webscout/Extra/GitToolkit/__init__.py +10 -10
- webscout/Extra/YTToolkit/ytapi/video.py +232 -232
- webscout/Litlogger/README.md +10 -0
- webscout/Litlogger/__init__.py +7 -59
- webscout/Litlogger/formats.py +4 -0
- webscout/Litlogger/handlers.py +103 -0
- webscout/Litlogger/levels.py +13 -0
- webscout/Litlogger/logger.py +92 -0
- webscout/Provider/AISEARCH/Perplexity.py +332 -358
- webscout/Provider/AISEARCH/felo_search.py +9 -35
- webscout/Provider/AISEARCH/genspark_search.py +30 -56
- webscout/Provider/AISEARCH/hika_search.py +4 -16
- webscout/Provider/AISEARCH/iask_search.py +410 -436
- webscout/Provider/AISEARCH/monica_search.py +4 -30
- webscout/Provider/AISEARCH/scira_search.py +6 -32
- webscout/Provider/AISEARCH/webpilotai_search.py +38 -64
- webscout/Provider/Blackboxai.py +153 -35
- webscout/Provider/Deepinfra.py +339 -339
- webscout/Provider/ExaChat.py +358 -358
- webscout/Provider/Gemini.py +169 -169
- webscout/Provider/GithubChat.py +1 -2
- webscout/Provider/Glider.py +3 -3
- webscout/Provider/HeckAI.py +171 -81
- webscout/Provider/OPENAI/BLACKBOXAI.py +766 -735
- webscout/Provider/OPENAI/Cloudflare.py +7 -7
- webscout/Provider/OPENAI/FreeGemini.py +6 -5
- webscout/Provider/OPENAI/NEMOTRON.py +8 -20
- webscout/Provider/OPENAI/Qwen3.py +283 -0
- webscout/Provider/OPENAI/README.md +952 -1253
- webscout/Provider/OPENAI/TwoAI.py +357 -0
- webscout/Provider/OPENAI/__init__.py +5 -1
- webscout/Provider/OPENAI/ai4chat.py +40 -40
- webscout/Provider/OPENAI/api.py +808 -649
- webscout/Provider/OPENAI/c4ai.py +3 -3
- webscout/Provider/OPENAI/chatgpt.py +555 -555
- webscout/Provider/OPENAI/chatgptclone.py +493 -487
- webscout/Provider/OPENAI/chatsandbox.py +4 -3
- webscout/Provider/OPENAI/copilot.py +242 -0
- webscout/Provider/OPENAI/deepinfra.py +5 -2
- webscout/Provider/OPENAI/e2b.py +63 -5
- webscout/Provider/OPENAI/exaai.py +416 -410
- webscout/Provider/OPENAI/exachat.py +444 -443
- webscout/Provider/OPENAI/freeaichat.py +2 -2
- webscout/Provider/OPENAI/glider.py +5 -2
- webscout/Provider/OPENAI/groq.py +5 -2
- webscout/Provider/OPENAI/heckai.py +308 -307
- webscout/Provider/OPENAI/mcpcore.py +8 -2
- webscout/Provider/OPENAI/multichat.py +4 -4
- webscout/Provider/OPENAI/netwrck.py +6 -5
- webscout/Provider/OPENAI/oivscode.py +287 -0
- webscout/Provider/OPENAI/opkfc.py +496 -496
- webscout/Provider/OPENAI/pydantic_imports.py +172 -0
- webscout/Provider/OPENAI/scirachat.py +15 -9
- webscout/Provider/OPENAI/sonus.py +304 -303
- webscout/Provider/OPENAI/standardinput.py +433 -433
- webscout/Provider/OPENAI/textpollinations.py +4 -4
- webscout/Provider/OPENAI/toolbaz.py +413 -413
- webscout/Provider/OPENAI/typefully.py +3 -3
- webscout/Provider/OPENAI/typegpt.py +11 -5
- webscout/Provider/OPENAI/uncovrAI.py +463 -462
- webscout/Provider/OPENAI/utils.py +90 -79
- webscout/Provider/OPENAI/venice.py +431 -425
- webscout/Provider/OPENAI/wisecat.py +387 -381
- webscout/Provider/OPENAI/writecream.py +3 -3
- webscout/Provider/OPENAI/x0gpt.py +365 -378
- webscout/Provider/OPENAI/yep.py +39 -13
- webscout/Provider/TTI/README.md +55 -101
- webscout/Provider/TTI/__init__.py +4 -9
- webscout/Provider/TTI/aiarta.py +365 -0
- webscout/Provider/TTI/artbit.py +0 -0
- webscout/Provider/TTI/base.py +64 -0
- webscout/Provider/TTI/fastflux.py +200 -0
- webscout/Provider/TTI/magicstudio.py +201 -0
- webscout/Provider/TTI/piclumen.py +203 -0
- webscout/Provider/TTI/pixelmuse.py +225 -0
- webscout/Provider/TTI/pollinations.py +221 -0
- webscout/Provider/TTI/utils.py +11 -0
- webscout/Provider/TTS/__init__.py +2 -1
- webscout/Provider/TTS/base.py +159 -159
- webscout/Provider/TTS/openai_fm.py +129 -0
- webscout/Provider/TextPollinationsAI.py +308 -308
- webscout/Provider/TwoAI.py +239 -44
- webscout/Provider/UNFINISHED/Youchat.py +330 -330
- webscout/Provider/UNFINISHED/puterjs.py +635 -0
- webscout/Provider/UNFINISHED/test_lmarena.py +119 -119
- webscout/Provider/Writecream.py +246 -246
- webscout/Provider/__init__.py +2 -0
- webscout/Provider/ai4chat.py +33 -8
- webscout/Provider/koala.py +169 -169
- webscout/Provider/oivscode.py +309 -0
- webscout/Provider/samurai.py +3 -2
- webscout/Provider/typegpt.py +3 -3
- webscout/Provider/uncovr.py +368 -368
- webscout/client.py +70 -0
- webscout/litprinter/__init__.py +58 -58
- webscout/optimizers.py +419 -419
- webscout/scout/README.md +3 -1
- webscout/scout/core/crawler.py +134 -64
- webscout/scout/core/scout.py +148 -109
- webscout/scout/element.py +106 -88
- webscout/swiftcli/Readme.md +323 -323
- webscout/swiftcli/plugins/manager.py +9 -2
- webscout/version.py +1 -1
- webscout/zeroart/__init__.py +134 -134
- webscout/zeroart/effects.py +100 -100
- webscout/zeroart/fonts.py +1238 -1238
- {webscout-8.2.8.dist-info → webscout-8.2.9.dist-info}/METADATA +159 -35
- {webscout-8.2.8.dist-info → webscout-8.2.9.dist-info}/RECORD +116 -161
- {webscout-8.2.8.dist-info → webscout-8.2.9.dist-info}/WHEEL +1 -1
- {webscout-8.2.8.dist-info → webscout-8.2.9.dist-info}/entry_points.txt +1 -0
- webscout/Litlogger/Readme.md +0 -175
- webscout/Litlogger/core/__init__.py +0 -6
- webscout/Litlogger/core/level.py +0 -23
- webscout/Litlogger/core/logger.py +0 -165
- webscout/Litlogger/handlers/__init__.py +0 -12
- webscout/Litlogger/handlers/console.py +0 -33
- webscout/Litlogger/handlers/file.py +0 -143
- webscout/Litlogger/handlers/network.py +0 -173
- webscout/Litlogger/styles/__init__.py +0 -7
- webscout/Litlogger/styles/colors.py +0 -249
- webscout/Litlogger/styles/formats.py +0 -458
- webscout/Litlogger/styles/text.py +0 -87
- webscout/Litlogger/utils/__init__.py +0 -6
- webscout/Litlogger/utils/detectors.py +0 -153
- webscout/Litlogger/utils/formatters.py +0 -200
- webscout/Provider/TTI/AiForce/README.md +0 -159
- webscout/Provider/TTI/AiForce/__init__.py +0 -22
- webscout/Provider/TTI/AiForce/async_aiforce.py +0 -224
- webscout/Provider/TTI/AiForce/sync_aiforce.py +0 -245
- webscout/Provider/TTI/FreeAIPlayground/README.md +0 -99
- webscout/Provider/TTI/FreeAIPlayground/__init__.py +0 -9
- webscout/Provider/TTI/FreeAIPlayground/async_freeaiplayground.py +0 -181
- webscout/Provider/TTI/FreeAIPlayground/sync_freeaiplayground.py +0 -180
- webscout/Provider/TTI/ImgSys/README.md +0 -174
- webscout/Provider/TTI/ImgSys/__init__.py +0 -23
- webscout/Provider/TTI/ImgSys/async_imgsys.py +0 -202
- webscout/Provider/TTI/ImgSys/sync_imgsys.py +0 -195
- webscout/Provider/TTI/MagicStudio/README.md +0 -101
- webscout/Provider/TTI/MagicStudio/__init__.py +0 -2
- webscout/Provider/TTI/MagicStudio/async_magicstudio.py +0 -111
- webscout/Provider/TTI/MagicStudio/sync_magicstudio.py +0 -109
- webscout/Provider/TTI/Nexra/README.md +0 -155
- webscout/Provider/TTI/Nexra/__init__.py +0 -22
- webscout/Provider/TTI/Nexra/async_nexra.py +0 -286
- webscout/Provider/TTI/Nexra/sync_nexra.py +0 -258
- webscout/Provider/TTI/PollinationsAI/README.md +0 -146
- webscout/Provider/TTI/PollinationsAI/__init__.py +0 -23
- webscout/Provider/TTI/PollinationsAI/async_pollinations.py +0 -311
- webscout/Provider/TTI/PollinationsAI/sync_pollinations.py +0 -265
- webscout/Provider/TTI/aiarta/README.md +0 -134
- webscout/Provider/TTI/aiarta/__init__.py +0 -2
- webscout/Provider/TTI/aiarta/async_aiarta.py +0 -482
- webscout/Provider/TTI/aiarta/sync_aiarta.py +0 -440
- webscout/Provider/TTI/artbit/README.md +0 -100
- webscout/Provider/TTI/artbit/__init__.py +0 -22
- webscout/Provider/TTI/artbit/async_artbit.py +0 -155
- webscout/Provider/TTI/artbit/sync_artbit.py +0 -148
- webscout/Provider/TTI/fastflux/README.md +0 -129
- webscout/Provider/TTI/fastflux/__init__.py +0 -22
- webscout/Provider/TTI/fastflux/async_fastflux.py +0 -261
- webscout/Provider/TTI/fastflux/sync_fastflux.py +0 -252
- webscout/Provider/TTI/huggingface/README.md +0 -114
- webscout/Provider/TTI/huggingface/__init__.py +0 -22
- webscout/Provider/TTI/huggingface/async_huggingface.py +0 -199
- webscout/Provider/TTI/huggingface/sync_huggingface.py +0 -195
- webscout/Provider/TTI/piclumen/README.md +0 -161
- webscout/Provider/TTI/piclumen/__init__.py +0 -23
- webscout/Provider/TTI/piclumen/async_piclumen.py +0 -268
- webscout/Provider/TTI/piclumen/sync_piclumen.py +0 -233
- webscout/Provider/TTI/pixelmuse/README.md +0 -79
- webscout/Provider/TTI/pixelmuse/__init__.py +0 -4
- webscout/Provider/TTI/pixelmuse/async_pixelmuse.py +0 -249
- webscout/Provider/TTI/pixelmuse/sync_pixelmuse.py +0 -182
- webscout/Provider/TTI/talkai/README.md +0 -139
- webscout/Provider/TTI/talkai/__init__.py +0 -4
- webscout/Provider/TTI/talkai/async_talkai.py +0 -229
- webscout/Provider/TTI/talkai/sync_talkai.py +0 -207
- webscout/Provider/UNFINISHED/oivscode.py +0 -351
- {webscout-8.2.8.dist-info → webscout-8.2.9.dist-info}/licenses/LICENSE.md +0 -0
- {webscout-8.2.8.dist-info → webscout-8.2.9.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: webscout
|
|
3
|
-
Version: 8.2.
|
|
3
|
+
Version: 8.2.9
|
|
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 and more
|
|
5
5
|
Author-email: OEvortex <helpingai5@gmail.com>
|
|
6
6
|
License: HelpingAI
|
|
@@ -60,6 +60,7 @@ Requires-Dist: openai
|
|
|
60
60
|
Requires-Dist: gradio_client
|
|
61
61
|
Requires-Dist: psutil
|
|
62
62
|
Requires-Dist: aiohttp
|
|
63
|
+
Requires-Dist: zstandard
|
|
63
64
|
Provides-Extra: dev
|
|
64
65
|
Requires-Dist: ruff>=0.1.6; extra == "dev"
|
|
65
66
|
Requires-Dist: pytest>=7.4.2; extra == "dev"
|
|
@@ -68,6 +69,7 @@ Requires-Dist: fastapi; extra == "api"
|
|
|
68
69
|
Requires-Dist: uvicorn[standard]; extra == "api"
|
|
69
70
|
Requires-Dist: pydantic; extra == "api"
|
|
70
71
|
Requires-Dist: python-multipart; extra == "api"
|
|
72
|
+
Requires-Dist: tiktoken; extra == "api"
|
|
71
73
|
Dynamic: license-file
|
|
72
74
|
|
|
73
75
|
<div align="center">
|
|
@@ -170,7 +172,7 @@ Dynamic: license-file
|
|
|
170
172
|
* **[GitAPI](webscout/Extra/GitToolkit/gitapi):** Powerful GitHub data extraction toolkit without authentication requirements for public data
|
|
171
173
|
* **[SwiftCLI](webscout/swiftcli/Readme.md):** A powerful and elegant CLI framework for beautiful command-line interfaces
|
|
172
174
|
* **[LitPrinter](webscout/litprinter/Readme.md):** Styled console output with rich formatting and colors
|
|
173
|
-
* **[LitLogger](webscout/litlogger/
|
|
175
|
+
* **[LitLogger](webscout/litlogger/README.md):** Simplified logging with customizable formats and color schemes
|
|
174
176
|
* **[LitAgent](webscout/litagent/Readme.md):** Modern user agent generator that keeps your requests undetectable
|
|
175
177
|
* **[Scout](webscout/scout/README.md):** Advanced web parsing and crawling library with intelligent HTML/XML parsing
|
|
176
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`)
|
|
@@ -191,45 +193,154 @@ Dynamic: license-file
|
|
|
191
193
|
|
|
192
194
|
## ⚙️ Installation
|
|
193
195
|
|
|
194
|
-
|
|
196
|
+
Webscout supports multiple installation methods to fit your workflow:
|
|
197
|
+
|
|
198
|
+
### 📦 Standard Installation
|
|
195
199
|
|
|
196
200
|
```bash
|
|
201
|
+
# Install from PyPI
|
|
197
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
|
|
198
277
|
```
|
|
199
|
-
</div>
|
|
200
278
|
|
|
201
279
|
<hr/>
|
|
202
280
|
|
|
203
281
|
## 🖥️ Command Line Interface
|
|
204
282
|
|
|
205
|
-
Webscout provides a powerful command-line interface for quick access to its features:
|
|
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
|
|
206
306
|
|
|
207
307
|
```bash
|
|
308
|
+
# Traditional Python module execution
|
|
208
309
|
python -m webscout --help
|
|
310
|
+
python -m webscout.client # Start API server
|
|
209
311
|
```
|
|
210
312
|
|
|
211
313
|
<details open>
|
|
212
|
-
<summary><b
|
|
314
|
+
<summary><b>🔍 Web Search Commands</b></summary>
|
|
213
315
|
<p>
|
|
214
316
|
|
|
215
|
-
| Command | Description |
|
|
216
|
-
|
|
217
|
-
| `
|
|
218
|
-
| `
|
|
219
|
-
| `
|
|
220
|
-
| `
|
|
221
|
-
| `
|
|
222
|
-
| `
|
|
223
|
-
| `
|
|
224
|
-
| `
|
|
225
|
-
| `
|
|
226
|
-
| `
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
|
230
|
-
|
|
231
|
-
| `
|
|
232
|
-
| `
|
|
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
|
+
|
|
233
344
|
</p>
|
|
234
345
|
</details>
|
|
235
346
|
|
|
@@ -279,30 +390,46 @@ Webscout includes an OpenAI-compatible API server that allows you to use any sup
|
|
|
279
390
|
|
|
280
391
|
### Starting the API Server
|
|
281
392
|
|
|
282
|
-
#### From Command Line
|
|
393
|
+
#### From Command Line (Recommended)
|
|
283
394
|
|
|
284
395
|
```bash
|
|
285
396
|
# Start with default settings (port 8000)
|
|
286
|
-
|
|
397
|
+
webscout-server
|
|
287
398
|
|
|
288
399
|
# Start with custom port
|
|
289
|
-
|
|
400
|
+
webscout-server --port 8080
|
|
290
401
|
|
|
291
402
|
# Start with API key authentication
|
|
292
|
-
|
|
403
|
+
webscout-server --api-key "your-secret-key"
|
|
293
404
|
|
|
294
405
|
# Specify a default provider
|
|
295
|
-
|
|
406
|
+
webscout-server --default-provider "Claude"
|
|
296
407
|
|
|
297
408
|
# Run in debug mode
|
|
298
|
-
|
|
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
|
|
299
426
|
```
|
|
300
427
|
|
|
301
428
|
#### From Python Code
|
|
302
429
|
|
|
303
430
|
```python
|
|
304
431
|
# Method 1: Using the helper function
|
|
305
|
-
from webscout.
|
|
432
|
+
from webscout.client import start_server # <--- Now recommended
|
|
306
433
|
|
|
307
434
|
# Start with default settings
|
|
308
435
|
start_server()
|
|
@@ -311,13 +438,10 @@ start_server()
|
|
|
311
438
|
start_server(port=8080, api_key="your-secret-key", default_provider="Claude")
|
|
312
439
|
|
|
313
440
|
# Method 2: Using the run_api function for more control
|
|
314
|
-
from webscout.
|
|
441
|
+
from webscout.client import run_api
|
|
315
442
|
|
|
316
443
|
run_api(
|
|
317
444
|
host="0.0.0.0",
|
|
318
|
-
port=8080,
|
|
319
|
-
api_key="your-secret-key",
|
|
320
|
-
default_provider="Claude",
|
|
321
445
|
debug=True
|
|
322
446
|
)
|
|
323
447
|
```
|