TOPSIS CLI Tool
Project description
Topsis-Nitin-102303918
A command-line Python implementation of the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) algorithm used in Multi-Criteria Decision Making (MCDM).
Features
- Supports CSV and Excel (.xlsx) input files
- Implements full TOPSIS ranking method
- Validates user input and handles common errors
- Produces decision scores and ranks
- Lightweight and easy-to-use CLI tool
About TOPSIS
TOPSIS is a popular decision-making technique that ranks alternatives based on their distance from the ideal best and ideal worst solutions.
Installation
pip install topsis-nitin-102303918
Usage
topsis
EXAMPLE: topsis data.xlsx "1,1,1,1" "+,+,+,+" result.csv
Input Rules
- First column → Alternative names
- Remaining columns → Numeric criteria only
- Minimum 3 columns required
- Number of weights must equal number of criteria
- Number of impacts must equal number of criteria
- Impacts must be:
- → Benefit criterion
- → Cost criterion
Output
The output file contains: Original dataset Topsis Score Rank Higher score indicates a better alternative.
Dependencies
Automatically installed with the package: pandas numpy openpyxl
Author
Nitin Malhotra
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topsis_nitin_102303918-0.1.0.tar.gz.
File metadata
- Download URL: topsis_nitin_102303918-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c4b6ddd87b4884eebb7926beaaf6730f02f9c98a671fa18472290377eb7a94
|
|
| MD5 |
9e15155a694c801a435583b38ddfa04a
|
|
| BLAKE2b-256 |
1da7940e3bee0c5dd8d4ea1a8bec3392f5fc9d0efe56dcd96ba5af4236aaaabb
|
File details
Details for the file topsis_nitin_102303918-0.1.0-py3-none-any.whl.
File metadata
- Download URL: topsis_nitin_102303918-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4897540137da946ce67a46b32f278d974e9d42f69ba41005082ef4f1fed39cb4
|
|
| MD5 |
a1a98b8b55301cc8c439d4a663c421d0
|
|
| BLAKE2b-256 |
e0f479dc1db25b607dddab4040f092a779e598cfe3f376387b406bbc0f2c5b1d
|