ayeshasilvia / price_calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

price_calculator

A Command Line program to calculate price of the products in a shopping cart.

Description

It takes 2 json file names as input - Cart file and Base price file.

Run pip install -r requirements.txt to install the required modules. Run python setup.py install which will install the command calculate_price inside your current environment.

Run it like this: calculate_price <full path to cart file> <full path to base price file>

To run the tests: Run this python setup.py test

Note

This project has been set up using PyScaffold 3.0.3. For details and usage information on PyScaffold see http://pyscaffold.org/.

About

License:MIT License


Languages

Language:Python 100.0%