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
Metadata
Release files for topsis-sharv-102303341 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| topsis_sharv_102303341-1.0.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| topsis_sharv_102303341-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / topsis_sharv_102303341-1.0.0.tar.gz
| Download URL | topsis_sharv_102303341-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60d5d2a0bbca1f8544fff0380584929fa79178ea53784560e36eeae51bd3b1c1
|
|
BLAKE2b-256 checksum How to use checksums |
04b1b674ea574c2d2354a144e1767d663248d75bbcf204df3e6c3839c11dc677
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / topsis_sharv_102303341-1.0.0-py3-none-any.whl
| Download URL | topsis_sharv_102303341-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bf3d9e397a1ac627ae5dd3996362bb6efdca1180e9eb5fb29dbbf99cbea3c2b
|
|
BLAKE2b-256 checksum How to use checksums |
374806ec46b1497ed8b05e8f89bc1892351851abd76b98fa9c473eb21b2d204a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|