Skip to main content

No project description provided

Project description

TOPSIS Package

TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) is a Python package that provides an implementation of the TOPSIS method for multi-criteria decision analysis. This package allows users to evaluate and rank alternative solutions based on a set of criteria.

Table of Contents

Introduction

Multi-criteria decision analysis (MCDA) is a method for making decisions when there are multiple criteria to consider. TOPSIS is one of the widely used MCDA techniques that helps in ranking alternatives based on their proximity to the ideal solution and their distance to the anti-ideal solution.

This package provides a Python implementation of the TOPSIS method, both as a Python module and a command line tool.

Installation

You can install TOPSIS using pip:

pip install topsis-package


To use TOPSIS in your Python code, import the topsis module:

python
Copy code
from topsis_package import topsis

# Your decision matrix
data = {...}

# Your weights and impacts
weights = [...]
impacts = [...]

# Run TOPSIS
result_df = topsis(data, weights, impacts)

# Display the results
print(result_df)

Command Line

TOPSIS also provides a command line interface for convenient usage:

topsis input.csv <weights> <impacts> result.csv
  • input.csv: Path to the input CSV file containing the decision matrix.
  • weights: Weights for each criterion separated by commas.
  • impacts: Impacts for each criterion (+ or -) separated by commas.
  • result.csv: Path to the output CSV file where the results will be saved.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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_debolinaghosh_102103365-0.2.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file topsis_debolinaghosh_102103365-0.2.0.tar.gz.

File metadata

File hashes

Hashes for topsis_debolinaghosh_102103365-0.2.0.tar.gz
Algorithm Hash digest
SHA256 16ea4e5559219aea6a3589ad852bf3f4c6390b5b4e4adaa265ba392b292ace4d
MD5 5ec51c5337c8c329836e4f56686a22e7
BLAKE2b-256 3fe2194a67b7412eb68f3555d54e104f7e455f1f2bff000ea801a8a343fc9d48

See more details on using hashes here.

File details

Details for the file topsis_debolinaghosh_102103365-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_debolinaghosh_102103365-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56ac316dd48a4b84d287d47b26bfc3ac13c8ccbbfe7bf023b4b458b9b187f906
MD5 d6c1345efd509ee37c20b0de918b926b
BLAKE2b-256 34c174f863bc78fb2866d08127f2cb416aee1f530d8b7b8687de0c5ec397b5f1

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