This content originally appeared on DEV Community and was authored by Vihanga Anuththara
Building a simple Hospital Medicine Management System in Python ( Tkinter + JSON )
Managing medicine inventory in hospitals can get messy without a proper system. As an HNDIT student passionate about solving real-world problems using code, I created a Hospital Medicine Management System using Python’s Tkinter.
Why I Built It
I wanted to practice Python GUI development and build something meaningful, and this was my first individual project as part of my HNDIT studies. It gave me hands-on experience in building a complete desktop application from scratch using Python.
Tech Stack
- Python Tkinter – for building the GUI
- JSON – for storing and loading medicine data
- ReportLab – to export reports as PDF
- Matplotlib – to visualize stock data with bar charts
- webbrowser module – to open useful links inside the app
Features
- Add, update, delete medicines
- View all medicine info
- Export medicine reports to PDF
- Stock level chart ( bar graph )
- Open official links inside app
What I Learned
- How to build responsive Tikinter UIs
- Storing structured data using JSON
- Generating styled PDFs with ReportLab
- Plotting charts using Matplotlib
- Combining multiple Python libraries in one project
GitHub
Check it out here: https://www.github.com/vanu888/HMMSystem
HMMSystem user-manual: https://vanu888.github.io/HMMSystem/
This content originally appeared on DEV Community and was authored by Vihanga Anuththara