A Python package for implementing the Topsis method
Project description
Usage
Input File
The input file can be either a .csv or .xlsx file with the following structure:
| Name | Criterion1 | Criterion2 | Criterion3 |
|---|---|---|---|
| Option1 | 250 | 16 | 12 |
| Option2 | 200 | 16 | 8 |
Example Code
from topsis.topsis import Topsis
weights = [0.25, 0.25, 0.25]
impacts = ['+', '+', '-']
result = Topsis.calculate('data.xlsx', weights, impacts)
print(result)
Project details
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_vivek_102203871-1.0.0.tar.gz.
File metadata
- Download URL: topsis_vivek_102203871-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aed76f50c053a4aa90bb45e2800c9bea63f1538d292aa8a64f44cb29a844658c
|
|
| MD5 |
adcf5d07a5c340137db67ec011bedced
|
|
| BLAKE2b-256 |
29b02c82f8ae0f2f8849468a417ded810ea951bfbe3b6800ecba7fa13835062c
|
File details
Details for the file Topsis_Vivek_102203871-1.0.0-py3-none-any.whl.
File metadata
- Download URL: Topsis_Vivek_102203871-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90c741997a60642c3eec40b854e78a5060dc70f4806f7db8b71fc75f8ae86670
|
|
| MD5 |
d0b9cabd49dd6d3588b74db4a1041a71
|
|
| BLAKE2b-256 |
98d87c76325f15c126129942ff4775f615202a48a008d8feb1afdef9496c7072
|