A Streamlit application that identifies brand names for products by matching them against a reference dataset.
- Automatically loads product reference data from 'public/products.csv'
- Upload a CSV file with product names to identify brands
- Uses exact and partial matching to find the most appropriate brand
- Provides statistics and downloadable results
-
Clone this repository:
git clone https://github.com/yourusername/brand-finder-app.git cd brand-finder-app
-
Install the requirements:
pip install -r requirements.txt
-
Run the app:
streamlit run brand_finder.py
- Ensure your products.csv file is in the 'public' folder
- Upload your CSV file with product names
- Select the appropriate columns
- Click 'Find Brands' to process the data
- Download the resulting CSV with brand information
The app uses multiple matching techniques to identify brands:
- Exact Matching: First tries to find exact matches between product names
- Partial Matching: Searches for brand names contained within product names
- Similarity Matching: Checks for similar product names in the reference data
brand-finder-app/
├── brand_finder.py # The main Streamlit application
├── public/
│ └── products.csv # Reference dataset with product and brand information
├── requirements.txt # Python dependencies
└── README.md # This file
- Python 3.7+
- Streamlit
- Pandas
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.