0 %
!
Programmer
SEO-optimizer
English
German
Russian
HTML
CSS
WordPress
Python
C#
  • Bootstrap, Materialize
  • GIT knowledge

Utility Bills App

23.04.2024

Project: Utility Bills App / Tools: Python, Streamlit

Description:

I developed an interactive web application using the Streamlit framework in Python. The app is designed to assist users in managing their utility bills and tracking their monthly expenses. The application is deployed and accessible at here.

Key Features:

  • User-friendly interface for adding and managing utility bills
  • Ability to categorize bills (e.g., electricity, water)
  • Automatic calculation of total monthly expenses
  • Visualizations to track expenses over time using interactive charts (maybe in future)
  • Option to export bill data as a CSV file (maybe in future)

Technologies Used:

  • Python programming language
  • Streamlit framework for building data-driven web applications
  • JSON library for data savings and analysis

The application can perform the following tasks:

  • Add, select, and delete houses
  • Input utility readings (water, electricity) and tariffs for each house
  • Calculate monthly differences and total monthly costs based on the provided readings
  • Save and load utility data to/from a JSON file

The main components of the code are:

  • The Utilities class, which encapsulates the functionality for managing utility data, performing calculations, and interacting with the JSON file.
  • The show_all method, which displays the main UI and handles different actions (select house, add new house, delete house).
  • The show_utilities_form method, which renders the form for inputting utility readings and tariffs, and updates the utility data when the user clicks the “Update” button.
  • Helper methods for loading/saving data from/to the JSON file, calculating monthly differences and total costs.

Outcome:

The Utility Bills App provides users with a convenient way to manage their monthly utility expenses. By leveraging Streamlit’s capabilities, I created an intuitive and responsive web application that offers real-time data processing, in future can be interactive visualizations, and seamless data import/export. The app is now publicly accessible, allowing users to effortlessly track and analyze their utility costs.

Git
Demo

Posted in Python, StreamlitTags:
Write a comment
© 2024... All Rights Reserved.

You cannot copy content of this page