Metadata-Version: 2.4
Name: Topsis-JaspreetSingh-102303163
Version: 0.3
Summary: TOPSIS implementation using command line
Author: Jaspreet Singh
Author-email: jaspreetsinghupkar@gmail.com
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: summary

# 🧮 Topsis-JaspreetSingh-102303163

A simple and powerful Python implementation of the **TOPSIS (Technique for Order Preference by Similarity to Ideal Solution)** method that runs directly from the command line after installation.

This package allows users to rank alternatives based on multiple criteria using weights and impacts — without writing any code.

---

## 🚀 Features

- Works directly from command line
- Reads any CSV file with numeric criteria
- Accepts custom weights and impacts
- Calculates **Topsis Score** and **Rank**
- Generates output CSV automatically
- Easy to install using `pip`

---

## 📦 Installation

```bash
pip install Topsis-JaspreetSingh-102303163
```

---

## ▶️ How to Use

After installation, simply run:

```bash
topsis data.csv "1,1,1,2" "+,+,-,+" result.csv
```

### Arguments Explained

| Argument | Description |
|---|---|
| `data.csv` | Input CSV file |
| `"1,1,1,2"` | Weights for each numeric column |
| `"+,+,-,+"` | Impacts (`+` for benefit, `-` for cost) |
| `result.csv` | Output file with Topsis Score and Rank |

---

## 📄 Input CSV Format

- First column: Alternative names (non-numeric)
- Remaining columns: Numeric criteria values

Example:

| Model | Price | Mileage | Safety | Comfort |
|------|------|------|------|------|
| A | 25000 | 18 | 7 | 8 |
| B | 27000 | 15 | 9 | 6 |

---

## 📤 Output

The output CSV will contain two extra columns:

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

---

## 🧠 About TOPSIS

TOPSIS is a multi-criteria decision-making method that identifies solutions closest to the ideal and farthest from the worst case.

---

## 👨‍💻 Author

**Jaspreet Singh**  
Roll No: 102303163

---

## 🌐 Project Links

- PyPI: https://pypi.org/project/Topsis-JaspreetSingh-102303163/
- GitHub: https://github.com/JaspreetSingh33
