Skip to main content

A Python package for performing TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) analysis.

Project description

TOPSIS Implementation

This package provides a Python implementation of the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method for multi-criteria decision analysis.


Features

  • Ease of Use: Simple and clear implementation of the TOPSIS algorithm.
  • Weighted Decision Making: Allows users to define weights for each criterion.
  • Impact Analysis: Accounts for both positive and negative impacts of criteria.
  • Command-Line Interface: Execute TOPSIS directly from the terminal with input and output files.

Installation

To install the package, use:

pip install TOPSIS_Prerit_102217030

Usage

Run the TOPSIS analysis using the command-line interface:

topsis

Example Suppose you have a CSV file data.csv containing a decision matrix where:

The first column is the identifier for alternatives. The subsequent columns contain numeric data for each criterion.

If you want to apply TOPSIS with weights [1, 1, 1, 2] and impacts [+, +, -, +], use: python topsis data.csv "1,1,1,2" "+,+,-,+" result.csv

This will generate a result file result.csv with the calculated TOPSIS scores and rankings.

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_prerit_102217030-1.0.8.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Prerit_102217030-1.0.8-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file topsis_prerit_102217030-1.0.8.tar.gz.

File metadata

  • Download URL: topsis_prerit_102217030-1.0.8.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for topsis_prerit_102217030-1.0.8.tar.gz
Algorithm Hash digest
SHA256 340809623f634dfa9079405483fb37c5f334b178ddca16cb40ebb6ad7928715c
MD5 ed91bed951ba5889ccb12b50abbb2526
BLAKE2b-256 30d2e14057c0669c33ab986092522589ae391ad420c42b9dff8a02a941b861f0

See more details on using hashes here.

File details

Details for the file Topsis_Prerit_102217030-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Prerit_102217030-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6fa8388a50b6bc424ba5943af9aa82eeb06480e8b311cebf69212984e36eb834
MD5 7ef94f5ac8772948540d4a658ed81efa
BLAKE2b-256 52e2ee68ab64e22ad26442ffe0387b561f62f7643655cb7c9991908b1b5c2167

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