Inspiration: This is my 1st hackathon and signed up the day before the kickoff date, so I did not have much time to think about it. I have been wanting to get more experience manipulating data using python and though this was a great opportunity to practice while participating in a hackathon.

What it does: Takes the Grocery_dataset.csv file I downloaded from Kaggle and generates a list of the available groceries to search from. Then it takes user input asking for an item they want to add and searches the list for the item. If found the user will be prompted to add a brand or description of the item and quantity. This will be stored in the shopping data list. Then, they will be asked if they would like to add more items, if they add more it will go through the same questions. When they are done adding it will use the shopping data list and generate a file called shopping_list.csv of the items added with the description and quantity that was added.

How we built it: I used python and imported the csv module. I jumped straight to the coding and added the methods as I needed.

Challenges we ran into: I am still working out some bugs to prevent the user from choosing undesired selections from the menu and making the program crash. Also, the assignments given in class usually provide you with specific instructions on what methods the program needs and how to implement them, so I did not have much time to put together my ideas and organize the code.

Accomplishments that we're proud of: I am proud that I was able to get a working code and produce some sort of output in such a short amount of time. Also, I think if the prompts are followed it will not crash (I need to work on testing as we only touched briefly on it in class).

What we learned: I learned that implementing a program from scratch with no guidelines can be difficult and requires more time in the preparation stage. I think if I would have put together an outline then the coding would have been smoother.

What's next for Shopping List Generator: I would like to fix all bugs, clean it up and organize it better. I would like to have found a more complete dataset that has real life grocery items. As I learn more programming, I would like to implement a graphical user interphase where there is a search box. I think it would also be cool to see the items you have added to the list and to be able to modify them (e.g. update the quantity or description or delete from the list).

Built With

Share this project:

Updates