TOPSIS Implementation in Python
A Python implementation of the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) for multi-criteria decision-making problems. This package processes an input dataset, calculates the TOPSIS scores, and ranks alternatives based on their scores.
Installation
You can install this package directly from PyPI:
pip install 102203584
Usage
Command-Line Interface
Run the script using the following format:
python <program.py> <InputDataFile> <Weights> <Impacts> <ResultFileName>
Arguments:
-
InputDataFile: Path to the input .csv file containing the dataset. -The first column should contain the names of the alternatives. -The remaining columns should contain numeric criteria values.
-
Weights: Comma-separated values representing the importance of each criterion.
-
Impacts: Comma-separated values (+ or -) indicating whether the criterion is beneficial (+) or non-beneficial (-).
-
ResultFileName: Name of the output .csv file where the results (TOPSIS scores and ranks) will be saved
Dependencies
This package requires the following Python libraries: -pandas -numpy
License
This repository is licensed under the MIT license. See LICENSE for details.
Metadata
Release files for Topsis-Trish-Rustagi-102203584 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| topsis_trish_rustagi_102203584-0.1.0.tar.gz | 4.3 kB | Without provenance | Details for topsis_trish_rustagi_102203584-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Topsis_Trish_Rustagi_102203584-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for Topsis_Trish_Rustagi_102203584-0.1.0-py3-none-any.whl |
Total release size: 8.4 kB
Release files / topsis_trish_rustagi_102203584-0.1.0.tar.gz
| Download URL | topsis_trish_rustagi_102203584-0.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dd395a5a5c227639a4fba461b49f85a4bc4275f83c120960f7317ee941b44e3
|
|
BLAKE2b-256 checksum How to use checksums |
6002a6e0d69de19b9f5c131a224e04eb8c0f9ce0a52897a34a11ea9bacbb058e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|
Release files / Topsis_Trish_Rustagi_102203584-0.1.0-py3-none-any.whl
| Download URL | Topsis_Trish_Rustagi_102203584-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34408e4feddf25ca9cf15eeb799f663b8918ff9d347bb032d0d3eceac00aaa93
|
|
BLAKE2b-256 checksum How to use checksums |
e43fc43b132e2192108934e4770352be49a7ce63987118591977d43a284d374b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|
Security for Topsis-Trish-Rustagi-102203584 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.