A cab booking CLI python project where a rider can book a cab, driver can accept/reject rides, admin can monitor rider and users.
Client: Python
- Register a rider.
- Register a driver/cab
- Update a cab's location
- A driver can switch on/off his availability
- A rider can book a cab
- Fetch history of all rides taken by a rider.
- End the Trip
- The location is represented as a (x, y) coordinate.
- Distance between two points (x1, y1) and(x2, y2) is sqrt((x1-x2)^2 + (y1-y2)^2)
- Platform has decided upon the maximum distance a driver has to travel to pickup a rider.
- A cab has only 1 driver.
- Sharing of cab is not allowed between riders
- There is a single type of cab
Clone the project
git clone https://github.com/nitin-nagaraj-au26/cab-booking-python.gitGo to the project directory
cd cab-booking-pythonRun the command
python3 cabbooking.py

