Skip to main content

WB SDK Pro (`wb-sdk-pro`)

All-in-One Wildberries Suite: Catalog Parser + WB Wallet Pricing + Search Rank Tracker + Smart Review Analyzer + Desktop GUI & MCP Server

🇬🇧 English • 🇷🇺 Документация на русском

PyPI Version Release Python Versions uv Powered Tests Desktop GUI MCP Server License: MIT

Unified 3-in-1 Wildberries Architecture upgrading and merging wildberries_parser + wb_rank + wb_smart_review into one modular, type-safe SDK, Desktop App, CLI, and MCP Server.


🐍 Python Compatibility

Runtime Versions Status
CPython 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14, 3.15, 3.16 ✅ All 25 tests pass
Free-Threaded (No-GIL) 3.13t, 3.14t, 3.15t, 3.16t ✅ Thread-safe, all pass
PyPy 3.9, 3.10, 3.11, 3.12 ✅ All 25 tests pass

17 runtimes tested with zero Rust/C extensions in the core. Pure-Python BaseModel replaces pydantic for maximum portability.


🚀 Unified Modules & Features

Module What It Solves Highlights
Catalog & CDN Engine (wb_parser.shards, client) Broken basket-15 caps, 404 .jpg links & Issue #2 (feedbacks1/2) Dynamic live sync (basket-01..65+, articles up to 2.88B+), real .webp URLs, root_id % 100 >= 50 feedback routing, direct card.json without WBAAS blocks
WB Wallet Pricing (wb_parser.wallet) Calculating real buyer checkout price with WB Кошелёк / ВБ Клуб Fetches live default-payment.json + settings-front.json thresholds (wlt1DiscountDisplayMaxPrice), floors prices via ROUND_FLOOR
Search Rank Tracker (wb_parser.rank) Monitoring keyword positions across WB search (wb_rank) Scans pages 1..N (Top 100–500+), saves SQLite history, calculates position deltas (▲ +5 / ▼ -3), exports styled Excel .xlsx
Smart Review Analyzer (wb_parser.reviews) Extracting buyer pros, cons & size fit (wb_smart_review) Filters reviews by exact nm_id color or whole root_id, runs instant Zero-API offline pros/cons/size analysis OR optional OpenAI-compatible LLM summary
Desktop GUI (wb-gui) Visual control center without touching terminal Dark CustomTkinter UI with 7 tabs (Parser, Catalog Feed, Rank Tracker, Smart Reviews, Proxy & Session, Telegram, Logs)
Native MCP Server (wb-mcp) Giving AI agents live Wildberries market intelligence 8 JSON-RPC 2.0 tools for Claude Desktop, Cursor, Windsurf, and Antigravity

📦 Installation

PyPI (uv / pip)

# Using uv (recommended)
uv add wb-sdk-pro

# Or run GUI / CLI ephemerally via uvx
uvx --from wb-sdk-pro wb-gui

# Or via pip
pip install wb-sdk-pro

Optional Extras

# Desktop GUI (adds customtkinter, Pillow, curl_cffi)
uv add "wb-sdk-pro[gui]"

# Chrome TLS engine (adds curl_cffi)
uv add "wb-sdk-pro[tls]"

# Everything
uv add "wb-sdk-pro[all]"

Debian / Ubuntu (APT)

# 1-line setup (adds eminsk PPA + GPG key)
curl -sS https://eminsk.github.io/ppa/setup.sh | sudo bash

# Install
sudo apt install python3-wb-sdk-pro

From Source

git clone https://github.com/eminsk/wildberries_parser.git
cd wildberries_parser
uv sync

⚡ Quick Start — Python Library

1. Card Inspection, Sharded Feedbacks & Excel Export

from wb_parser import WBClient, to_excel

with WBClient(tracker_db="wb_prices.db") as wb:
    wb.sync_upstreams()
    item = wb.get_product("https://www.wildberries.ru/catalog/141217830/detail.aspx")
    print(item.name, item.brand, f"Reviews: {item.feedback_count} (★ {item.valuation})")
    to_excel([item], "result/wb_catalog.xlsx")

2. WB Wallet Discount Price (wb_parser.wallet)

from wb_parser import WBClient

with WBClient() as wb:
    res = wb.wallet_price(4990)
    print(f"Base: {res.base_price} ₽ -> With WB Wallet (-{res.discount_pct}%): {res.wallet_price} ₽")

3. Search Rank Tracking (wb_parser.rank)

from wb_parser import WBClient, rank_results_to_excel

with WBClient(cookies="x_wbaas_token=...", proxy="http://user:pass@ip:port") as wb:
    rank = wb.check_rank(141217830, "кроссовки sb dunk", max_pages=3)
    print(f"Position: #{rank.position} (Page {rank.page}, Delta: {rank.rank_delta})")
    rank_results_to_excel([rank], "result/ranks.xlsx")

4. Smart Review Summary (wb_parser.reviews)

from wb_parser import WBClient

with WBClient() as wb:
    summary = wb.analyze_reviews(141217830, only_this_color=True, limit=100)
    print("Size fit:", summary.size_fit)
    print("Pros:", summary.top_pros)
    print("Cons:", summary.top_cons)

    # Optional OpenAI / DeepSeek / ProxyAPI summarization:
    # summary = wb.analyze_reviews(141217830, ai_key="sk-...", ai_base_url="https://api.openai.com/v1")

🖥️ Desktop GUI (WB SDK Pro — 7 Tabs)

uv run wb-gui
# or
uv run python run_gui.py
  1. 🔍 Парсер: Scrape product links, nm_id articles, /seller/... stores, or search queries with price/discount/rating/keyword filters and 24/7 monitoring.
  2. 📦 Каталог товаров: Live cards displaying price, 💳 WB Wallet price, discount badge, price drop alert (📉), clickable "Открыть на WB ↗", and 1-click export to Excel .xlsx, CSV, and JSON.
  3. 📈 Позиции (Rank): Paste nm_id : keyword pairs, scan Top 100–500+, see position movement (▲/▼), and export rank reports to Excel.
  4. 💬 Умные отзывы: Enter any WB URL or nm_id to extract buyer reviews, rating histogram, size fit stats, and side-by-side ✅ Pros & ❌ Cons (instant offline mode OR optional LLM API).
  5. 🌐 Прокси и Сессия: Choose delivery region (dest), configure HTTP/SOCKS5 proxy, rotation URL, x_wbaas_token cookie, and ping CDN + live WB Wallet discount rates in 1 click.
  6. ✈️ Telegram: Forward product cards & alerts via a decoupled Telegram proxy.
  7. 📋 Журнал: Live execution log.

💻 CLI Commands (wb-parser)

# 1. Sync live CDN shards (01..65+) and check WB Wallet discount %
uv run wb-parser upstreams

# 2. Fetch product card (CDN card.json + feedbacks1/2 + .webp links) & save Excel
uv run wb-parser card https://www.wildberries.ru/catalog/141217830/detail.aspx -o item.xlsx

# 3. Calculate exact live WB Wallet discounted price
uv run wb-parser wallet 4990

# 4. Run Smart Review Analyzer (works directly without proxy or AI key!)
uv run wb-parser reviews 141217830 --limit 60

# 5. Track product search rank across pages
uv run wb-parser rank 141217830 "кроссовки dunk" --pages 3 -o ranks.xlsx

# 6. Check sharded feedbacks directly
uv run wb-parser feedbacks 181851928

# 7. View SQLite price drops
uv run wb-parser drops --db wb_prices.db

🤖 Native MCP Server (wb-mcp — 8 Tools)

{
  "mcpServers": {
    "wildberries": {
      "command": "uvx",
      "args": ["--from", "wb-sdk-pro", "wb-mcp"]
    }
  }
}

Available tools: wb_get_card, wb_get_feedbacks, wb_search, wb_get_seller_catalog, wb_price_drops, wb_wallet_price, wb_check_rank, wb_smart_reviews.


🧪 Tests (pytest)

uv run pytest

25 tests passing × 17 Python runtimes (CPython 3.8–3.16, PyPy 3.9–3.12, Free-Threaded 3.13t–3.16t) covering shard math, models, sync/async clients, WB Wallet rounding & thresholds, multi-page rank tracking & history deltas, smart review color filtering & pros/cons extraction, Excel exports, MCP tools, CLI, GUI config persistence, and thread safety.

📄 License

MIT License.

Metadata

Release files for wb-sdk-pro 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wb-sdk-pro 2.2.0
File Size Uploaded Provenance Actions
wb_sdk_pro-2.2.0.tar.gz 183.5 kB Without provenance Details for wb_sdk_pro-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wb-sdk-pro 2.2.0
File Interpreter ABI Platform Actions
wb_sdk_pro-2.2.0-py3-none-any.whl Python 3 none any Details for wb_sdk_pro-2.2.0-py3-none-any.whl

Total release size: 251.6 kB

Release files / wb_sdk_pro-2.2.0.tar.gz

Download URL wb_sdk_pro-2.2.0.tar.gz
Size 183.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c94251548d37a193a9cae52856256dc5a4289501bf9575018af72852fcf22290
BLAKE2b-256 checksum
How to use checksums
f577f1e1396561e10fce9bfac2a8a53e4b1d4b749980963e2d2fbbf56ad29037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / wb_sdk_pro-2.2.0-py3-none-any.whl

Download URL wb_sdk_pro-2.2.0-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f23d4e3a51b4d5474381a69ad16a5866b1db703886a8e3139c56e9f232ebd5c6
BLAKE2b-256 checksum
How to use checksums
7fd312c0cda91a9ae7093a326e494dd998c64f4c5108b23b45dd741285dc8fbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for wb-sdk-pro 2.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page