Tanish ChahalThis is a submission for the GitHub Finish-Up-A-Thon Challenge What I Built I built the...
This is a submission for the GitHub Finish-Up-A-Thon Challenge
I built the Sundar Lal Mega Mart - Intelligent POS Suite, a fully functional desktop Point-of-Sale and inventory management application written in Python.
This project originally started out as my Class XII Computer Science practical file. Back then, it was just a localized script that read a CSV file, did some basic multiplication, and printed a PDF. It was functional, but once the school practicals ended, it sat collecting dust on my hard drive. To me, this project is incredibly special because it represents my transition from writing isolated "student code" to engineering a production-ready utility that actively solves real-world storefront problems like inventory overdrafting and data management.
Here is a look at the newly designed Dark Mode interface in action:
Repository Link: https://github.com/TanishChahal/invoice-generator
Where it was before:
My original script was a clunky, single-screen tkinter app with a bright pink background. It worked like a glorified calculator—it read products.csv for prices, but it had zero state management. It didn't track how much stock was left, and the UI was completely rigid.
What I changed to finish it up:
I completely tore down the architecture and rebuilt it for the real world.
The UI Overhaul: I stripped out legacy Tkinter and implemented customtkinter, designing a sleek, dual-tab layout with a native Dark Mode toggle switch, smooth hover animations, and anti-aliased fonts.
Live Inventory Depletion Matrix: The app is no longer a static reader. It now actively tracks inventory state. When a cashier rings up items, the backend checks for maximum availability. Once the invoice is finalized, it dynamically writes back to the CSV database to decrement stock.
Store Analytics Dashboard: I separated the workflow by adding a secondary tab that tracks real-time database metrics, actively flagging "Low Stock" and "Out of Stock" items to prevent inventory overdrafts.
Production PDF Generation: I upgraded the fpdf export engine to utilize a modern grid layout with dynamic timestamping and mathematical summaries.
Using GitHub Copilot as a pair programmer was an absolute game-changer for this sprint. Transitioning an entire application from standard tkinter to customtkinter requires a massive amount of syntax refactoring. Copilot helped me instantly map out the new UI wrapper and component structures without getting bogged down in boilerplate code.
More importantly, it acted as a rapid debugger. When I ran into library versioning errors (like deprecated kwargs for font colors and segmented button hover states), Copilot helped me track down the exact lines and resolve them in seconds. It kept my momentum going and allowed me to focus purely on the business logic and user experience!