🏦 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
Metadata
Release files for omar-gad-bank 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| omar_gad_bank-1.0.1.tar.gz | 10.1 kB | Without provenance | Details for omar_gad_bank-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omar_gad_bank-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for omar_gad_bank-1.0.1-py3-none-any.whl |
Total release size: 19.1 kB
Release files / omar_gad_bank-1.0.1.tar.gz
| Download URL | omar_gad_bank-1.0.1.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edaf098948c99ff3ee2c7b683ac1edb7ffe4117330ced726a55d2853d44181fe
|
|
BLAKE2b-256 checksum How to use checksums |
272bdb97337138ddc612edc1881b9472192f391ed164a9b73068f511266b08d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / omar_gad_bank-1.0.1-py3-none-any.whl
| Download URL | omar_gad_bank-1.0.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
339f56a78b176cb93796248690dc34510c5b5c05cca71cba2f888fcb241c07b5
|
|
BLAKE2b-256 checksum How to use checksums |
e2c46c29ce12c03a5aafd833ff304dec71258c6bdc628bf795b5be134e904160
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for omar-gad-bank 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.