How codemachinee/wb_parser works
Project type and purpose
• This is an open-source Python tool (“wb_parser”) whose goal is to fetch and parse various seller data from the Wildberries API.
• Key indicators:
• The README states “парсер различных данных продавца через wildberries_api.”
• Presence of modules like wb_api.py, parse.py, and output helpers (exel.py, google_sheets.py).
File structure
• Top-level Python modules:
• main.py – entry point
• FSM.py – finite-state machine logic to manage parsing sessions
• callbacks.py & keyboards.py – likely handle user interaction or command routing
• parse.py & wb_api.py – perform API requests and transform raw responses
• database.py – persistence layer (e.g., storing fetched data)
• file.py & functions.py – file I/O utilities and general business logic helpers
• exel.py & google_sheets.py – output/export modules to Excel or Google Sheets
• salute.py – perhaps greeting logic or startup messages
• Configuration and tooling:
• Dockerfile / .dockerignore / .python-version / pyproject.toml / requirements.txt
• tests/ suite with pytest configurations and at least one test file
• No “frontend” directory: this is a backend CLI or bot-style parser.
README for additional insights
• Minimal info: confirms this is a data parser using Wildberries API.
Detail without overthinking
• Configuration/infrastructure at the bottom or side (Docker, pyproject.toml)