A simple project for managing driver assignments. This repository provides tools and scripts to allocate drivers to tasks efficiently.
- Assign drivers to tasks based on availability
- Simple configuration and setup
git clone https://github.com/yourusername/driver_assignment.git
cd driver_assignment- Export a CSV file from a Bitpoll poll.
- Run the assignment script:
python assign_drivers.py poll.csv --sort_drivers
- Assignment is printed to the console
The assignment script expects the CSV file to follow the format exported by Bitpoll. The file should contain:
- The first row with column headers (
Name,Datetime- ignored, followed by task or time slot columns) - Each subsequent row represents a driver and their availability for each task or slot with "Ich kann" meaning they accept the date.
Example:
Name,Datetime,Task 1,Task 2,Task 3
Alice,ignored,Ich kann,no,Ich kann
Bob,ignored,no,Ich kann,Ich kann
Charlie,ignored,Ich kann,Ich kann,noEnsure your CSV matches this structure for correct processing.
This project is licensed under the MIT License.