GithubHelp home page GithubHelp logo

ecommerce-framwork's Introduction

Ecommerce-Framework

screenshot 2018-12-09 at 9 06 45 pm

You've been hired to create an e-commerce solution in Python to allow multiple stores to sell multiple products to multiple customers.

You'll need to download five different data files that you'll need to include in your solution. Each file, except the product file, includes a header row to describe each column:

stores.txt describes each of the stores in e-commerce solution you're building with a store_id and store name products.txt describes the products sold by each store with the product_id, the store_id where the product is sold, and a description of the item sold. inventory.txt identifies the store_id of the store, the product_id of the product, and initial quantities of each product when the store opens. Customer orders may exceed the initial supply but the store has no mechanism to add more inventory. customers.txt includes the customer_id and the name of the customer who purchase products from the stores transactions.txt describes the transactions where the customers attempt to purchase products from sellers and includes the customer_id who is making the purchase, the quantity to be purchased, the product_id of the product being purchased, and the store_id where the product is being purchased Your solution should define classes to store all of the relevant information and then read the data files to create instances of those classes. My solution creates the stores, defines the products, identifies the customers, then processes the initial inventory to store the quantities of each product at each store. Then it processes each line in the transactions file to update the sales and purchase information. Finally, it generates prettytables to summarize the sales at each stores and the orders placed by the individual customers.

build status of master

ecommerce-framwork's People

Contributors

svaity avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.