Metadata-Version: 2.4
Name: Topsis-Ashpreet-102303263
Version: 1.0.1
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: numpy
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist

# TOPSIS Command Line Tool  
### By Ashpreet Singh (Roll No: 102303263)

This Python package implements the TOPSIS (Technique for Order Preference by
Similarity to Ideal Solution) method for solving Multi-Criteria Decision Making problems.

## Installation

pip install Topsis-Ashpreet-102303263

## Input File Format

CSV file:
First column → Alternatives  
Other columns → Numeric criteria

Example:
Model,P1,P2,P3,P4
M1,1,2,3,4
M2,2,3,4,5
M3,3,4,5,6

## Usage

topsis <inputfile> <weights> <impacts> <outputfile>

Example:
topsis data.csv "1,1,1,1" "+,+,+,+" result.csv

## Weights

Comma separated numbers  
Must match criteria count

Example:
1,1,1,1

## Impacts

Use + for benefit  
Use - for cost

Example:
+,+,-,+

## Output

Output CSV will contain:
Topsis Score  
Rank

Higher score = better alternative

## Error Handling

Program checks:
File not found  
Wrong inputs  
Non numeric values  
Weight/impact mismatch
