TOPSIS Package
Overview
This project implements a Python package for performing the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method. TOPSIS is a multi-criteria decision-making (MCDM) approach used to rank and select among various alternatives based on their distances from an ideal and a negative-ideal solution.
Features
- Accepts CSV input files with multi-criteria data.
- Supports user-defined weights and impacts for each criterion.
- Outputs a ranked list based on the TOPSIS evaluation.
- Error handling for invalid input files, weights, and impacts.
Installation
pip install 102203551-topsis
Usage
Run the package from the command line:
Syntax
python -m topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>
Example
python -m topsis 102203551-data.csv "1,1,1,2,3" "+,+,-,+,+" 102203551-result.csv
Parameters
<InputDataFile>: Path to the CSV file containing the decision matrix.<Weights>: Comma-separated weights for each criterion (e.g.,1,2,1,1).<Impacts>: Comma-separated impacts for each criterion (+for benefit,-for cost).<ResultFileName>: Name of the output file where results will be saved.
Metadata
Release files for 102203551-topsis 1.0.5
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 | |
|---|---|---|---|---|
| 102203551_topsis-1.0.5.tar.gz | 5.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 102203551_topsis-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / 102203551_topsis-1.0.5.tar.gz
| Download URL | 102203551_topsis-1.0.5.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0e834915704ba8bc5c707bf749f3cf9e7bb0b469e2339ef1cf4c1f974ee6b50
|
|
BLAKE2b-256 checksum How to use checksums |
c4eadb69084a7a817cb9f8be20f9d3e483c73814b45b28c3cf125d84299a9155
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / 102203551_topsis-1.0.5-py3-none-any.whl
| Download URL | 102203551_topsis-1.0.5-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
168b72c2efbc2bbebf4c4f71e2de689ab15322434bfa4c8c04ad15a3432bf938
|
|
BLAKE2b-256 checksum How to use checksums |
f47b6a0a887ef3d232b81e9bf2ea26841dd227b0400ed065e974d2d775d1615e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Security for 102203551-topsis 1.0.5
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.