PharmaPulse AI is a Streamlit-based pharmaceutical supply chain dashboard built to support demand forecasting, shortage risk visualization, redistribution recommendations, and medicine alternative insights.
app.py- main Streamlit application launcherpipeline.py- automation and generative summary logicPhase_4/- dashboard page modules for Overview, Demand Forecast, Shortage Map, Redistribution, and Medicine Alternativespharma_pulse.db- SQLite database used by the appoutputs/- generated output files for supplier orders and reports
- Interactive pharmacy dashboard with multiple pages
- Demand forecast and shortage risk analysis
- Redistribution and stock balancing recommendations
- AI-driven summary generation using Groq LLM (optional)
- Create a Python virtual environment:
python -m venv .venv .venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Make sure the
pharma_pulse.dbfile is present in the project root and contains the required tables.
streamlit run app.pyThen open the local URL shown in the terminal.
- The app expects a local SQLite database file named
pharma_pulse.db.
This project uses at least:
streamlitpandasplotlygroq(optional, only if you want AI summary generation)
If you add other packages in the future, add them to requirements.txt.