Skip to content

WaqarZahour/Atm-Machine

Repository files navigation

Bank Atm Machine

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

Install

To install protobuf on mac installation command is

$ brew install protobuf 

$ protoc --version (Version should be 3.1.0)

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 [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published