Skip to main content

A Python package for implementing the TOPSIS multi-criteria decision analysis method.

Project description

TOPSIS-Python

TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) implementation in Python.

Description

This package provides a simple implementation of the TOPSIS method for multi-criteria decision-making. It allows users to perform a TOPSIS analysis using a CSV file with criteria values, weights, and impacts.

Installation

Install the package via pip (after uploading to PyPI):

pip install topsis-python

Usage

Run from the command line:

python -m topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>

Example:

python -m topsis data.csv "1,2,1,1" "+,+,-,+" result.csv

Example Input File (data.csv)

C1,C2,C3,C4 250,16,12,5 200,16,8,3 300,32,16,4 275,24,10,3

Output (result.csv)

C1,C2,C3,C4,Topsis Score,Rank 250,16,12,5,0.63,2 200,16,8,3,0.37,4 300,32,16,4,0.78,1 275,24,10,3,0.52,3

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

topsis_anmol_bhatt_102217006-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topsis_ANMOL_BHATT_102217006-1.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file topsis_anmol_bhatt_102217006-1.0.1.tar.gz.

File metadata

File hashes

Hashes for topsis_anmol_bhatt_102217006-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8c5f038705ac9259fca6880699ec87ad8840d228b05485f23e7a1987d285b527
MD5 779296e9d7f2157ef6b2faf7f314df3e
BLAKE2b-256 e949f685c21e49f1861b6f8af98f076529d567fc81f3b8e85651f237f22e7bc1

See more details on using hashes here.

File details

Details for the file topsis_ANMOL_BHATT_102217006-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_ANMOL_BHATT_102217006-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb663630f50908a31450e18a81c2d51d11323f5415ce5a4d6cfc0b409f1d4f4d
MD5 f72368264d335866816263ee364d85c0
BLAKE2b-256 42159fd3a4f1f09c67c8b369a5001274f5e47e474691756a9428e847cb7e68f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page