Skip to main content

A small example package

Project description

Topsis implemented by Nipun Garg 102003674

forthebadge made-with-python
Python 3.6

Functionality of the Package

  • Outputs the result(topsis score) and ranking of items in output.csv file you will mention in terminal or command promt
  • Inputs the file path of input csv file in terminal

Example

#test.py
##
type:
from Topsis_Nipun_Garg_102003674 import main
n=len(sys.argv)
inputFile= sys.argv[1]
weight=sys.argv[2]
impact=sys.argv[3]
outputFile=sys.argv[4]
# main.get_score(inputFile, weight, impact, outputFile)

Usage

  • Make sure you have Python installed in your system.
  • Run Following command in the CMD.
 pip install Topsis_Nipun_Garg_102003674

Run the following Script.

 python <Filename.py> <inputfile.csv> weight impact <outputfile.csv>

Note

  • I have tried to implement all the functionality, it might have some bugs also. Ignore that or please try to solve that bug.
  • Rank 1 corresponds to minimum performance score and so on.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Topsis_Nipun_Garg_102003674-0.0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page