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

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

Output

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.3.tar.gz (4.0 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.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for topsis_anmol_bhatt_102217006-1.0.3.tar.gz
Algorithm Hash digest
SHA256 195ffd6e572dabddf382dd7f5c9876ee6cda6f6102a7e314dcdd16717b406265
MD5 c4d1c17b7c736c21ef10b68cc4040dd9
BLAKE2b-256 b7603c1ff38f8f2024a584e2cb46cd59d372a5008c3a0b397114658aa55f4944

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_ANMOL_BHATT_102217006-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7d9d68b5de6ddf0f0fe75ce6f03dd11601343b59ed29e1daa6b82360126641
MD5 0e82ade0c358affed601d5b4a560fc25
BLAKE2b-256 31bd1c9d8b14a0050c3a1c1c630144a9201a4df75e92a6c312da6230c1a06a39

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