A small example package
Project description
Topsis implemented by Nipun Garg 102003674
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for Topsis_Nipun_Garg_102003674-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbc2300cdc5ddd81550030a533e8700627291f5e42570b22d131ce2a6cb3324e |
|
MD5 | 9f3c0591baa2de0dcfed3656e134a785 |
|
BLAKE2b-256 | ce76f680da931ed33460c61838d3153e7b0b6394abf3774293c7494b9ba6cb36 |
Close
Hashes for Topsis_Nipun_Garg_102003674-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b138755ecf9c08653013aaa89035465f22ddddf27529429ed7ab9e99251dc221 |
|
MD5 | 56408f3543e9da57789d5c0d215ebc19 |
|
BLAKE2b-256 | d6a5364e0d7b01ea09e12844521aa695329db67b7791e7f7357d8621a16bacd4 |