A Python package for TOPSIS method
Project description
Topsis-Sharv-102303341
A Python package to implement TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) method.
Installation
pip install Topsis-Sharv-102303341
Usage
Command Line
topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>
Example:
topsis data.csv "1,1,1,1" "+,+,+,-" result.csv
Input File Format
The input file should be a CSV or Excel file where:
- The first column contains the names/labels of the alternatives.
- The remaining columns contain numeric values for the criteria.
| Alternative | C1 | C2 | C3 | C4 |
|---|---|---|---|---|
| M1 | 250 | 16 | 12 | 5 |
| M2 | 200 | 16 | 8 | 3 |
| M3 | 300 | 32 | 16 | 4 |
Arguments
- InputDataFile: Path to the input CSV or Excel file.
- Weights: Comma-separated weights for the criteria (e.g., "0.25,0.25,0.25,0.25").
- Impacts: Comma-separated impacts ('+' for beneficial, '-' for non-beneficial) (e.g., "+,+,+,-").
- ResultFileName: Path to save the output file (CSV).
License
MIT License
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_sharv_102303341-1.0.0.tar.gz.
File metadata
- Download URL: topsis_sharv_102303341-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60d5d2a0bbca1f8544fff0380584929fa79178ea53784560e36eeae51bd3b1c1
|
|
| MD5 |
71d3bfb5b08ab99a9faf55c96e970201
|
|
| BLAKE2b-256 |
04b1b674ea574c2d2354a144e1767d663248d75bbcf204df3e6c3839c11dc677
|
File details
Details for the file topsis_sharv_102303341-1.0.0-py3-none-any.whl.
File metadata
- Download URL: topsis_sharv_102303341-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bf3d9e397a1ac627ae5dd3996362bb6efdca1180e9eb5fb29dbbf99cbea3c2b
|
|
| MD5 |
159efe092058aefbbc36c55055b0e488
|
|
| BLAKE2b-256 |
374806ec46b1497ed8b05e8f89bc1892351851abd76b98fa9c473eb21b2d204a
|