Metadata-Version: 2.1
Name: Topsis-aditya-102217092
Version: 0.5
Summary: A Python package for TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution)
Home-page: https://github.com/asadityasonu/Topsiss-aditya-102217092
Author: Aditya Pandey
Author-email: asadityasonu@gmail.com
Project-URL: Bug Tracker, https://github.com/asadityasonu/Topsiss-aditya-102217092/issues
Project-URL: Documentation, https://github.com/asadityasonu/Topsiss-aditya-102217092
Project-URL: Source Code, https://github.com/asadityasonu/Topsiss-aditya-102217092
Keywords: topsis decision-making MCDM ranking
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pandas

# Topsis Python Package

**Developed by:** Aditya Pandey - 102217092

## Overview

The Topsis (Technique for Order of Preference by Similarity to Ideal Solution) method is a popular multi-criteria decision-making technique. It helps to evaluate and select the best alternative from a set of options based on their proximity to the ideal solution. This Python package implements the Topsis method, making it easy to apply the technique on datasets with multiple criteria.

## Features
- Computes Topsis scores based on input data, weights, and impacts.
- Ranks alternatives according to the Topsis methodology.
- Supports data input through Excel files.
- Provides an easy-to-use command-line interface for seamless integration.

## Installation

To install the Topsis Python package, use `pip` with the following command:

```bash
pip install 102217092-Aditya-topsis
```

## Usage

### Command-Line Input

To use the Topsis package from the command line, run the following command:

```sh
python <program.py> <InputDataFile> <Weights> <Impacts> <ResultFileName>
```

- **Input File Type**: The input file must be an Excel file.
- **Data Format**: The second to last columns of the data file MUST contain numeric values.
- **Impacts**: Impacts should be either '+' (positive) or '-' (negative).
- **Weights and Impacts**: Weights and impacts should be enclosed in double quotes and separated by commas.
- **Output**: The output will include a 'Topsis Score' column and a 'Rank' column added to the data. The results will be saved to a CSV file specified in the command-line arguments.

## Example

### Command-Line Input Example

```sh
python 102217092.py data.csv "1,1,1,1,1" "+,+,-,+,-" 102217092-result.csv
```




