Skip to content

abbasia/Atm-Machine

 
 

Repository files navigation

Bank Atm Machine

This repo contains command line Atm machine interface with protobuf data structure.

Install

To install protoc on respective os (like linun, mac) installation commands are

$ sudo apt-get install protobuf-compiler

$ brew install protobuf

Kindly make sure you have setup the Virtual Environment.

Install the python packages that we have mention in requirements.txt

Example:

$ pip install protobuf

Usage

If have done with the installation. By running this script that will create bank account with dummy data

$ python data_initializer.py account_holders

This script will show up the account holder list

$ python data_reader.py account_holders

Now everything is setup just run this script and enjoy the atm interface

$ python atm_menu.py

shortway to clean your project and regerenate the files

$ make clean
$ make all	

Regenerate Protoc

$ protoc bank.proto --python_out .

Reached Me

I can be reached at waqar.zahour@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.5%
  • Protocol Buffer 2.5%
  • Makefile 2.0%