A professional terminal-based banking management system
Project description
๐ฆ Omar Gad Bank - Professional CLI Banking System
A professional, terminal-based banking management system built with Python. This tool provides a clean, modern CLI interface for managing bank accounts, processing transactions, and viewing history with beautiful ANSI styling and animations.
โจ Features
- ๐ค Account Management: Create and remove bank accounts with unique IDs.
- ๐ฐ Financial Transactions: Securely deposit and withdraw funds.
- ๐ Information Tracking: View detailed account info and real-time balances.
- ๐ Transaction History: Track every deposit and withdrawal with a clean history log.
- ๐จ Modern UI: Powered by
Richfor beautiful tables, panels, and loading animations. - ๐ Installable CLI: Global access from your terminal using the
omar-bankcommand.
๐ธ Screenshots
(Place screenshots here after running the app)
- Main Menu: A clean list of options in a styled panel.
- Account Creation: Interactive prompts with validation.
- Transaction History: Color-coded history table.
๐ Installation
Prerequisites
- Python 3.7 or higher
- pip (Python package installer)
Quick Install (from PyPI)
pip install omar-gad-bank
From Source
- Clone the repository:
git clone https://github.com/omargad/bank-management-system.git cd bank-management-system
- Install the package locally:
pip install .
๐ ๏ธ Usage
Once installed, you can launch the application from any terminal window:
omar-bank
Example Workflow
- Launch: Run
omar-bank. - Create: Select option
1to create your first account. - Save ID: Note down the generated Account ID (e.g., 1001).
- Deposit: Select option
2, enter your ID, and deposit some funds. - Check: Select option
4to see your updated balance.
๐ Project Structure
omar-gad-bank/
โโโ omar_bank/ # Root package
โ โโโ logic/ # Core banking logic
โ โ โโโ bank.py # Bank & Customer classes
โ โโโ ui/ # Terminal UI implementation
โ โ โโโ interface.py # Rich-based UI logic
โ โโโ cli.py # CLI Entry point
โโโ pyproject.toml # Build system configuration
โโโ setup.py # Package setup script
โโโ MANIFEST.in # Non-code files to include
โโโ LICENSE # MIT License
โโโ README.md # Documentation
โโโ requirements.txt # Project dependencies
๐ป Developer Setup
Windows
# Create virtual environment
python -m venv .venv
# Activate
.venv\Scripts\activate
# Install in editable mode
pip install -e .
Linux / macOS
# Create virtual environment
python3 -m venv .venv
# Activate
source .venv/bin/activate
# Install in editable mode
pip install -e .
Building the Package
To build the distribution files (sdist and wheel):
pip install build
python -m build
Uploading to PyPI
pip install twine
python -m twine upload dist/*
๐๏ธ Technologies Used
- Python: Core programming language.
- Rich: For professional terminal UI rendering.
- Setuptools: For packaging and distribution.
๐ฎ Future Improvements
- Persistent storage using SQLite or JSON files.
- Transfer money between accounts.
- Support for multiple currencies.
- Password protection for accounts.
๐ค Contribution
Contributions are welcome! Please feel free to submit a Pull Request.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
Developed with โค๏ธ by Omar Gad
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omar_gad_bank-1.0.0.tar.gz.
File metadata
- Download URL: omar_gad_bank-1.0.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a44c297d81fabcdab38a39d1232d14d04d7d91a193f8b4cd4d7ba958feabf52
|
|
| MD5 |
b34114c9f2e6b3430d72246239795703
|
|
| BLAKE2b-256 |
c2173c453ad745e1cfffef2354cf1037df36ddb241c83a71b65ca92fae836c4a
|
File details
Details for the file omar_gad_bank-1.0.0-py3-none-any.whl.
File metadata
- Download URL: omar_gad_bank-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f000e35fc258b4f0c4b99cb94f64a8bcd3767d8f096001ba421aba49cb4d6b16
|
|
| MD5 |
854491863609017f2f02522da9f21246
|
|
| BLAKE2b-256 |
116df6f20fe21ea13cb94604d142cc9a1de70cff38b6f2de9b0a890b4c012849
|