Metadata-Version: 2.4
Name: Topsis-Prigya-102313061
Version: 1.0.0
Summary: Command line implementation of TOPSIS method
Author: Prigya Goyal
Author-email: goyalprigya@gmail.com
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: numpy
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# TOPSIS Python Package

This project implements the **TOPSIS (Technique for Order Preference by Similarity to Ideal Solution)** method as a command line tool.

TOPSIS is a multi-criteria decision making technique used to rank alternatives based on their distance from an ideal best and ideal worst solution.

---

## Installation

```bash
pip install Topsis-Prigya-102313061
```

---

## Input File Format

The input must be a CSV file with:

- First column: Names of alternatives
- Remaining columns: Numeric criteria values

### Example Input CSV

```text
Fund Name,Return,Risk,Expense Ratio,Assets
Fund A,12.5,8.2,0.45,150
Fund B,10.2,6.5,0.30,200
Fund C,14.1,9.1,0.55,180
Fund D,9.8,5.9,0.25,220
```

### Meaning of Criteria

- Return â†’ Higher is better (+)
- Risk â†’ Lower is better (-)
- Expense Ratio â†’ Lower is better (-)
- Assets â†’ Higher is better (+)

---

## Command Line Usage

```bash
topsis data.csv "1,1,1,1" "+,-,-,+" output.csv
```

---

## Output

The output CSV file will contain two additional columns:

- **Topsis Score**
- **Rank**

---

## Requirements

- Python 3.6+
- pandas
- numpy

---

## Author

Prigya Goyal
