Skip to main content

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.

Metadata

Release files for Topsis-Prerit-102217030 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Topsis-Prerit-102217030 1.0.8
File Size Uploaded
topsis_prerit_102217030-1.0.8.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Topsis-Prerit-102217030 1.0.8
File Interpreter ABI Platform
Topsis_Prerit_102217030-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / topsis_prerit_102217030-1.0.8.tar.gz

Download URL topsis_prerit_102217030-1.0.8.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
340809623f634dfa9079405483fb37c5f334b178ddca16cb40ebb6ad7928715c
BLAKE2b-256 checksum
How to use checksums
30d2e14057c0669c33ab986092522589ae391ad420c42b9dff8a02a941b861f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / Topsis_Prerit_102217030-1.0.8-py3-none-any.whl

Download URL Topsis_Prerit_102217030-1.0.8-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fa8388a50b6bc424ba5943af9aa82eeb06480e8b311cebf69212984e36eb834
BLAKE2b-256 checksum
How to use checksums
52e2ee68ab64e22ad26442ffe0387b561f62f7643655cb7c9991908b1b5c2167
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page