Skip to content

About

an advance project uses data base to track data and uses statics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Finance Tracker

A Python-based finance tracking application that uses SQLite to store financial data and SQL queries to analyze transactions and generate statistics.

Features

  • Data Storage: Store financial records in an SQLite database.
  • Database Management: Create and access database tables using Python's sqlite3 library.
  • Financial Statistics: Calculate total amounts and analyze records.
  • Daily Analysis: Calculate totals for individual days.
  • Category Analysis: Group financial data by category and identify the category with the highest total.
  • SQL Queries: Retrieve and analyze stored data using SQL.

Technologies Used

  • Python — Application logic and data processing
  • SQLite — Database storage
  • SQL — Data retrieval, aggregation, and analysis
  • sqlite3 — Python's built-in SQLite interface

Requirements

  • Python 3.x
  • No external database server required

The sqlite3 library is included with standard Python installations.

Installation and Usage

1. Clone the repository

git clone https://github.com/blackguy-dev-git/finance-tracker.git

2. Navigate to the project directory

cd finance-tracker

3. Run the application

python main.py

Follow the prompts displayed in the terminal to enter financial data and view the available statistics.

Project Structure

finance-tracker/
├── main.py       # Application logic and database operations
├── README.md     # Project documentation
└── finance.db    # SQLite database, created at runtime if applicable

Note: The database filename shown above assumes your application uses finance.db; adjust it if your code uses a different filename.

What I Learned

Through this project, I practiced:

  • Connecting Python applications to SQLite databases.
  • Creating database tables and executing SQL queries.
  • Inserting and retrieving records.
  • Using SQL aggregate functions to calculate totals.
  • Grouping data by day and category.
  • Organizing a Python application into functions.

Future Improvements

  • Add separate income and expense tracking.
  • Support complete transaction dates and monthly reports.
  • Implement input validation and error handling.
  • Add a menu for managing financial records.
  • Support editing and deleting transactions.
  • Introduce visual charts and a graphical user interface.

Author

Moiz Butt


Built with Python and SQLite as a hands-on project to strengthen database and software development skills.

About

an advance project uses data base to track data and uses statics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages