| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A comprehensive product analysis and recommendation system that works with JSON data files. Features 12+ analysis engines, visual recommendations, Excel export, and interactive Python charts.
🎯 Comprehensive Analysis: Extract 15+ product attributes including sustainability, materials, style, pricing, brand analysis, dimensions, care instructions, target market, seasonal trends, quality assessment, and usage recommendations
🖼️ Visual Recommendations: Interactive matplotlib-based product comparisons with automatic image downloading and high-quality PNG export
📊 Professional Reports: Multi-sheet Excel exports with comprehensive data and interactive Python visualizations
🤖 No TensorFlow Required: Lightweight alternatives using scikit-learn and PIL for easy deployment
🏗️ Professional Architecture: Complete system documentation with Mermaid diagrams, component interactions, and data flow charts
⚡ Easy to Use: Simple configuration file setup - just add your JSON file paths and run!
pip install -r requirements.txtEdit examples/product_lists.txt to add your JSON file paths:
# Product Lists Configuration # Just add your JSON file paths - everything else is auto-detected! C:\Users\YourName\Downloads\styles\product1.json C:\Users\YourName\Downloads\styles\product2.json
# Analyze all products
python src/multi_product_analyzer.py --product-lists-config examples/product_lists.txt
# Create tabular charts with Python visualizations
python src/tabular_product_analyzer.py --product-lists-config examples/product_lists.txt
# Get product recommendations with visual display
python src/product_recommender_json.py --config-file examples/product_lists.txt --analyze
python src/product_recommender_json.py --config-file examples/product_lists.txt --recommend "PRODUCT_ID_HERE"ProductClassification/ ├── src/ # Main source code │ ├── json_data_loader.py # JSON data loading utility │ ├── multi_product_analyzer.py # Multi-file product analyzer │ ├── product_analyzer_from_file.py # Single file product analyzer │ ├── product_analyzer_json.py # JSON-based product analyzer │ ├── tabular_product_analyzer.py # Tabular chart generator │ ├── product_recommender_json.py # Visual product recommendation system │ ├── image_classifier_json.py # Image classification │ ├── combined_classifier_json.py # Combined text + image classifier │ ├── simple_text_classifier.py # Text classification │ ├── basic_text_analyzer.py # Basic text analysis │ ├── categorize_words_json.py # Word categorization │ ├── images/ # Cached product images and recommendation visualizations │ │ ├── product images (7 files) # Downloaded product images │ │ └── recommendations_*.png # Visual recommendation charts │ ├── 10045_401097928176_analysis.txt # Generated analysis report │ └── product_analysis_charts.xlsx # Generated Excel charts ├── examples/ # Example files and configurations │ ├── product_lists.txt # Your product lists configuration │ ├── example_product_lists.txt # Example configuration template │ ├── run_analysis.py # Example analysis script │ ├── run_examples.bat # Windows batch file for examples │ ├── analysis_results.txt # Example analysis output │ ├── comprehensive_analysis.xlsx # Example Excel output │ ├── comprehensive_analysis_updated.xlsx # Updated example │ └── comprehensive_analysis_with_python_charts.xlsx # Python charts example ├── results/ # Legacy analysis results │ ├── categories.txt # Category data │ ├── image-classification-top500-errors.html # Image classification errors │ └── text-classification-top500-errors.html # Text classification errors ├── architecture/ # System architecture documentation │ ├── system_architecture.md # Main architecture overview │ ├── component_diagram.md # Component interactions │ └── data_flow.md # Data flow documentation ├── requirements.txt # Python dependencies ├── config.env.example # Environment configuration template └── README.md # This documentation file
Copy config.env.example to config.env and configure:
SHOPSTYLE_API_KEY=your_api_key_here DATABASE_URL=sqlite:///crawl.db
The examples/product_lists.txt file supports:
python src/multi_product_analyzer.py --product-lists-config examples/product_lists.txtpython src/tabular_product_analyzer.py --product-lists-config examples/product_lists.txt --output-file my_analysis.xlsx# First, analyze to see available products
python src/product_recommender_json.py --config-file examples/product_lists.txt --analyze
# Then get recommendations for a specific product
python src/product_recommender_json.py --config-file examples/product_lists.txt --recommend "productID" --top-k 5python src/simple_text_classifier.py --json-file path/to/your/products.jsonpython src/image_classifier_json.py --json-file path/to/your/products.jsonThe recommendation system displays:
Here's an actual analysis output from the system analyzing 6 products:
The product recommendation system generates visual comparisons and saves them as high-quality PNG files:
🎬 See it in action! The system creates professional visualizations like this:
Try it yourself: Run python src/product_recommender_json.py --config-file examples/product_lists.txt --recommend "productID" to generate your own visual recommendations!
🎯 PRODUCT: DRESSING FLORAL ITALIAN BRIEF
🎯 PRODUCT: SK 3/4S BTNK LNG
✅ Sustainability Analysis: Identifies eco-friendly materials and practices ✅ Material Extraction: Detects primary materials (cotton, silk, polyester, nylon) ✅ Price Analysis: Categorizes products by price range and luxury level ✅ Brand Analysis: Identifies brand names and reputation scores ✅ Market Segmentation: Determines target demographics and market positioning ✅ Quality Assessment: Evaluates craftsmanship and construction quality ✅ Care Instructions: Provides maintenance recommendations ✅ Style Analysis: Identifies design elements and occasions ✅ Dimensional Analysis: Extracts size and weight information
Run the example script: python examples/run_analysis.py or double-click examples/run_examples.bat
For detailed understanding of the system architecture:
The architecture documentation includes:
If you found this project helpful, please give it a ⭐ star! It helps others discover this tool and motivates continued development.
We welcome contributions! See our Contributing Guidelines for details.
Made with ❤️ for the data science community
Enjoy analyzing your products! 🎉
| Back | FazBrowse Home | New Git URL |