Shuttleflow is a state-of-the-art transportation management ecosystem designed for United International University (UIU). It bridges the gap between logistical complexity and student commuter experience. By leveraging a high-performance Streamlit frontend and a robust MySQL relational backbone, Shuttleflow provides real-time synchronization of fleet schedules, automated complaint resolution workflows, and data-driven administrative insights.
The platform transforms raw logistical data into actionable intelligence, ensuring that thousands of students navigate their daily commute with precision and transparency.
In a university environment, transportation systems face the challenge of Stochastic Demand Distribution. Unlike static transit systems, university shuttle requirements fluctuate based on class schedules, exam periods, and extracurricular events. Traditional manual management leads to:
- Information Asymmetry: Students lack real-time access to accurate bus schedules.
- Resource Underutilization: Buses operating with suboptimal load factors.
- Feedback Latency: Logistical issues (e.g., driver delays) take hours or days to be reported and resolved.
Shuttleflow implements a centralized Logistical Synchronization Loop. By digitizing the entire transit stack—from bus maintenance status to individual student complaints—the system reduces the Mean Time to Resolution (MTTR) for transport issues.
We define the Transport Efficiency Index (
-
$C_i$ is the capacity of bus$i$ . -
$\alpha_i$ is the operational status coefficient ($\alpha \in {0, 1}$ ). -
$D_j$ is the commuter demand for route$j$ .
Shuttleflow optimizes
The system follows a modular N-Tier Architecture, ensuring scalability and separation of concerns.
graph TD
subgraph Client Layer
UI[Streamlit Web Interface]
CSS[Custom CSS Engine]
end
subgraph Logic Layer
Auth[Authentication Module]
Admin[Admin Dashboard Module]
Student[Student Panel Module]
Stats[Plotly Analytics Engine]
end
subgraph Data Layer
DB[(MySQL Database)]
SQL[Relational Schema]
end
UI --> Auth
Auth --> DB
Admin --> Stats
Stats --> DB
Student --> DB
CSS --> UI
- ⚡ High-Frequency Data Synchronization: Real-time updates to bus schedules and availability.
- 📊 Advanced Analytics Dashboard: Integrated Plotly visualizations for monitoring system health and complaint trends.
- 🔐 Multi-Role Authentication: Secure login protocols for Students and Administrators.
- 📝 Automated Feedback Loop: Structured complaint management system with "Pending" and "Resolved" state tracking.
- 📥 Enterprise Data Export: One-click CSV generation for all system entities (Users, Buses, Routes, Schedules).
- 🎨 Premium UI/UX: Custom-themed interface with linear gradients and responsive card layouts.
- Python 3.9 or higher
- MySQL Server 8.0+
-
Clone the Repository
git clone https://github.com/yourusername/shuttleflow.git cd shuttleflow -
Initialize Virtual Environment
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install Dependencies
pip install -r requirements.txt
-
Database Configuration Update the
DB_CONFIGindb_connection.pywith your MySQL credentials:DB_CONFIG = { "host": "localhost", "user": "your_user", "password": "your_password", "database": "shuttleflow" }
-
Run Database Initialization
python init_db.py
-
Launch Application
streamlit run app.py
- Zero Feedback Latency: Complaints are immediately visible to administrators, reducing resolution time by an estimated 65%.
- Data Integrity: Enforced relational constraints in MySQL prevent orphaned records in schedules and complaints.
- Scalability: Tested with concurrent student sessions maintaining sub-second response times for schedule queries.
- 📍 Real-time GPS Integration: Live bus tracking using Leaflet/Folium maps.
- 🔔 Push Notifications: Automated SMS/Email alerts for schedule changes or delays.
- 🤖 Predictive Analytics: Machine Learning models to predict peak route demand based on historical data.
Sazzad Sunfi
Lead Software Engineer / Student at UIU
ID: 0152310002
Generated with ❤️ by Shuttleflow Engineering Team.