Metadata-Version: 2.2
Name: Topsis-BaneetSingh-102203180
Version: 1.0.0
Summary: A TOPSIS implementation for multiple-criteria decision analysis
Home-page: https://github.com/Baneet2s/topsis
Author: Baneet Singh
Author-email: 2baneetsingh@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: numpy
Requires-Dist: pandas
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Topsis-Baneet-102203180

A Python package for implementing the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method.

## Installation

```bash
pip install Topsis-Baneet-102203180
```

## Usage

You can use this package either through command line or as a Python module.

### Command Line Usage

```bash
python -m topsis_baneet_102203180 input.csv "1,1,1,2" "+,+,-,+" result.csv
```

### Python Module Usage

```python
from topsis_baneet_102203180 import topsis

# Process TOPSIS
result = topsis("input.csv", "1,1,1,2", "+,+,-,+", "result.csv")
```

## Input Format

1. Input file (CSV):
   - First column: Object/Variable names
   - Subsequent columns: Numeric values only

2. Weights: Comma-separated numeric values
   - Example: "1,1,1,2"

3. Impacts: Comma-separated '+' or '-' values
   - Example: "+,+,-,+"

## Output

The program will generate a CSV file with:
- All original columns
- Additional 'Topsis Score' column
- Additional 'Rank' column

## License

MIT License

## Author

Baneet Singh
