An Object-Oriented Programming (OOP) based terminal banking system built with Python, featuring account management, real-time transaction processing, and JSON-based persistent storage.
- Account Creation & Management: Create unique bank accounts with initial balance setup.
- Core Banking Transactions: Deposit funds, withdraw with real-time balance validation, and check account balances.
- Persistent Storage: Saves account data and transaction states securely in a local
accounts.jsonfile. - Robust OOP Design: Implements clean classes, methods, and encapsulation principles for maintainable code.
- Interactive CLI: User-friendly menu-driven interface with input validation.
- Language: Python 3.8+
- Data Storage: JSON (File-based storage)
- Paradigm: Object-Oriented Programming (OOP)
-
Clone the Repository
git clone https://github.com/satyanarayana51115/py_bank_project.git cd py_bank_project -
Run the Application (No external pip dependencies required - runs directly on pure Python standard library)
python bank_account.py
-
Follow the Menu Prompts Select the desired banking operation (Create Account, Deposit, Withdraw, Check Balance, Exit) directly in your terminal.
graph TD
A[User / Terminal Interface] --> B[Banking Menu Controller]
B --> C{User Operation}
C -->|Create Account| D[Account Creator & ID Generator]
C -->|Deposit / Withdraw| E[Transaction Processor & Balance Validator]
C -->|Check Balance| F[Account Inquiry]
D --> G[(accounts.json - Data Persistence)]
E --> G
F --> G
Satyanarayana - @satyanarayana51115