A Python package to implement TOPSIS
Project description
Topsis-Punya-102303567
This is a Python package to implement the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS).
Installation
pip install Topsis-Punya-102303567
Usage
You can use this package via the command line:
topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>
Example
topsis data.csv "1,1,1,2" "+,+,+,-" result.csv
Parameters
- InputDataFile: Path to the CSV file containing the data. The file should have a header row and the first column should be the object/alternative names (which will not be used in calculation). The rest of the columns must be numeric.
- Weights: Comma-separated weights for each criterion (e.g., "1,1,1,2").
- Impacts: Comma-separated impacts for each criterion ('+' for beneficial, '-' for non-beneficial) (e.g., "+,+,+,-").
- OutputResultFileName: Path for the output CSV file which will contain the original data along with the Topsis Score and Rank.
License
MIT
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_punya_102303567-1.0.0.tar.gz.
File metadata
- Download URL: topsis_punya_102303567-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
596125aef43291e5b10d37fd2d173787ec0351833172aebd56ad791c4f650fa1
|
|
| MD5 |
bcc9114cc662c66cc30c0b1d69d6fc40
|
|
| BLAKE2b-256 |
3ac846b5b4739617c85925cfdc5c12c203e2a57108a6202ba72ed6731db06cc3
|
File details
Details for the file topsis_punya_102303567-1.0.0-py3-none-any.whl.
File metadata
- Download URL: topsis_punya_102303567-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dc28602fab2fa5c558666abb067ab50928f1302201e99924daa8e10fed0a47c
|
|
| MD5 |
78b2ccc6fff55ec5eb7b71bf72507f5c
|
|
| BLAKE2b-256 |
b8b5281e1de0e24e3cbe3c71663d887cd68de5b97f7f59b7670a3fd8f8415d48
|