Inspiration

Max, one of our groupmates' mother is a type one diabetic struggling to calculate how much insulin she needs throughout the day. With this, our idea was to create an application that is easy to use and user-friendly.

What it does

Diabeasy is an application made using Python that can calculate the amount of insulin you need at any point in the day with some basic information. Once you input these basic details, you can use our calculator by typing your current blood sugar and it will return the amount of insulin units you need. All the information is stored in a history log so you can see your blood sugar, amount of units needed, and the date and time per log. You can also transfer all of this information to a PDF or Excel file with a click of a button! You can also view a scatter plot graph with all of your blood sugar information over days, hours, or minutes! All information is encrypted using Python Cryptography so all personal health information is safe and inaccessible to anyone except you. Link for More Information: [https://diabeasy.org/]

How we built it

We built this program using Tkinter which is a Python Library for application development. Since we have access to a Type 1 Diabetic, we were able to use real input and ideas from her to create this web application. She helped us by describing the challenges of what other apps don't have and how they can be improved. With these ideas, we used multiple other libraries such as Matlabs, Cryptography, pdfkit, and wkhtmltopdf. We were able to create a safe and efficient insulin calculating program. All information is encrypted using Cryptography. Matlabs is used for creating the graph to show the patient's data over time. pdfkit and wkhtmltopdf are used for the patient's data being able to become a pdf or excel file if they choose.

Challenges we ran into

We ran into a lot of challenges developing the graph and the clear history button. These two were extremely difficult because the original format of the data we had was not compatible with Matlabs or the ability to clear all the data properly. We combatted this by changing all of our data to JSON which allowed us to to clear the data whenever the user wanted to and also allowed us to plot on a graph.

Accomplishments that we're proud of

We are extremely proud of this whole entire project because it meets the needs of Max's mother which was our main goal from the start. We hope to keep developing this program to make it more sleek and efficient and also add new features in the feature!

What we learned

We all learned Tkinter in one day and the usage of multiple python libraries to bring together a larger-scale project like this one. We also learned that programming is not just for our own benefit but can benefit others in an impactful way.

What's next for Diabeasy

We would like to be able to port this application on phones using BeeWare but we did not have enough allotted time to currently finish it. We plan to keep updating the application to meet Max's mother's needs and hopefully for the general public's needs.

Built With

Share this project:

Updates