Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Bank Management System

This repository contains a simple Streamlit-based bank management application implemented in project1.py.

Overview

The app provides a basic banking interface for creating accounts, depositing money, withdrawing money, viewing account details, updating account information, and deleting accounts.

Features

  • Create accounts with name, age, email, and PIN
  • Generate a unique account number for each new account
  • Store account data in data.json
  • Deposit funds into an account
  • Withdraw funds from an account
  • View account details
  • Update account name, email, or PIN
  • Delete an account

File Structure

  • project1.py: Main Streamlit application and bank class implementation
  • data.json: JSON file used to persist account information

How It Works

  • The bank class manages account data and exposes methods for account operations.
  • Account data is loaded from data.json on startup and saved back after every change.
  • The Streamlit UI is defined in the same file and uses sidebar navigation to select actions.

Usage

  1. Install Streamlit if needed:

    pip install streamlit
  2. Run the app:

    streamlit run project1.py
  3. Open the provided local URL in your browser.

Notes

  • The current code validates that the user must be at least 18 years old and that the PIN has exactly 4 digits.
  • Deposit amounts are limited to a maximum of $10,000 and must be non-negative.
  • The app uses a simple JSON file for storage, so it is best suited for demo or learning purposes rather than production use.

About

First python project , just a beggining towards Machine Learning

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages