The Pizza Drop Off is a Python command-line interface (CUI) project that allows users to select pizzas, beverages, and snacks with different types, flavors, and sizes and add them to their cart. The project utilizes various Python third-party libraries like os
, csv
, random
,datetime
and math
for bill calculation and CSV bill generation. It offers features such as user authentication, pizza selection, order cancellation, beverage selection, and CSV bill generation.
-
User Authentication: Users can enter their details for authentication before placing an order.
-
Pizza Selection:
- Choose from a variety of pizzas with different types, flavors, and sizes.
- Add multiple pizzas to the cart.
-
Order Cancellation: Cancel the entire order and start over.
-
Beverage Selection:
- Select beverages to complement your pizza.
- Choose from a range of options.
-
Bill Generation: Automatically calculate and generate a CSV bill with all order details.
Follow these steps to run the Pizza Drop Off application:
-
Clone or download this repository to your local machine.
-
Navigate to the project directory:
cd pizza-drop-off
-
Run the application:
python pizza_drop_off.py
-
Follow the on-screen instructions to interact with the Pizza Drop Off system.
-
User Authentication:
- Enter your details (e.g., name, phone number) for authentication.
-
Pizza Selection:
- Choose from the available pizza options.
- Specify the type (e.g., Margherita, Pepperoni), flavor, and size.
- Add the selected pizza to your cart.
-
Order Cancellation:
- If you want to cancel the entire order, use the cancel order option.
-
Beverage Selection:
- Select beverages to go with your pizza order.
- Choose from a list of available options (e.g., Coke, Pepsi).
-
CSV Bill Generation:
- The system will automatically calculate your bill, including the cost of pizzas and beverages.
- A CSV bill will be generated and saved in the
bills
folder.
pizza_drop_off.py
: The main Python script for the Pizza Drop Off application.menu.py
: Contains functions for displaying menus and taking user input.bill.py
: Handles bill calculation and CSV bill generation.bills/
: Contains CSV files for generated bills.data/
: Stores pizza and beverage data in CSV files.
Contributions to this project are welcome. You can contribute by opening issues, providing feedback, or submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy your pizza with Pizza Drop Off! 🍕