A comprehensive feasibility analysis tool for retail outlet dealers, providing financial metrics calculation (NPV, IRR, Payback Period) across multiple scenarios.
- Complete dealer/outlet data management
- Multiple scenario analysis
- Financial metrics calculation (NPV, IRR, Payback Period)
- Visualization of results with interactive charts
- Excel file import/export
- Detailed report generation
- Scenario comparison
- Clone this repository
- Install the required packages:
pip install -r requirements.txtRun the Streamlit application:
cd dealer_feasibility
streamlit run app.pyThe application will open in your web browser.
- Import/Export: Upload an existing DF format Excel file or start from scratch
- Dealer Information: Enter dealer details and initial sales projections
- Scenario Analysis: Define various scenarios with different parameters
- Results & Comparison: View results, compare scenarios, and generate reports
dealer_feasibility/
│
├── app.py # Main Streamlit application
├── requirements.txt # Dependencies
│
├── src/
│ ├── models/ # Data models
│ │ ├── dealer.py # Dealer data model
│ │ └── scenario.py # Scenario data model
│ │
│ ├── calculations/ # Financial calculations
│ │ ├── financial.py # NPV, IRR, Payback calculations
│ │ └── sales.py # Sales projection calculations
│ │
│ ├── excel/ # Excel file handling
│ │ ├── parser.py # Excel file reader/writer
│ │ └── report.py # Report generation
│ │
│ └── ui/ # UI components (future expansion)
│
└── data/
└── templates/ # Excel templates
- Python 3.8+
- Streamlit
- Pandas
- NumPy
- Plotly
- OpenPyXL
- XlsxWriter