Metadata-Version: 2.1
Name: Topsis1234
Version: 1.0.0
Summary: It gives a csv file that includes the topsis result
Home-page: UNKNOWN
Author: Jitesh Silhi
Author-email: jsilhi@protonmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: numpy

# Topsis Result Calculator
It runs on terminal and takes a csv file , weights of column, impacts and name of the output file as input and gives an output csv file that contains topsis performance score and the rank of a particular entity.

## Installation
On your terminal run the command below:<br>
```pip install Topsis-JiteshSilhi-101903797```

## Importing and using in source file
use the package in source file as follows:<br>

```
tbj=__import__("topsis)
tbj.get_topsis_result()
```

## How to get output?
output is taken by running the command on terminal as : python "sourcefile.py" "input.csv" "weights(separateed by ',')" "impact(separated by ','))" 
use impact as '+' for maximizing the feature and '-' for minimizing.
On your terminal run the command:<br>
```python source_file_name.py input_file.csv "1,1,0,1" "+,-,+,+" output_file_name.csv```
Output will be stored in your present working directory as a csv file.

## Constraints
### Number of columns in input file(other than the name of the entity) should be equal to length of impacts and length of weights.
### Input file should not have blank values
### Number of Columns in Input files should not be less than 3
### There should not be any csv file with same name as your output file in present directory
### Number of Arguments should be equal to the number as specified above  



