Catalog PyPI
Back to packageRELEASE DETAILS

1.0.5

PyPI

102203551-topsis

A Python package to implement the TOPSIS decision-making method.

Published19 Jan 2025
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 1.0.5 documentation

TOPSIS Package

Overview

This project implements a Python package for performing the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method. TOPSIS is a multi-criteria decision-making (MCDM) approach used to rank and select among various alternatives based on their distances from an ideal and a negative-ideal solution.


Features

  • Accepts CSV input files with multi-criteria data.
  • Supports user-defined weights and impacts for each criterion.
  • Outputs a ranked list based on the TOPSIS evaluation.
  • Error handling for invalid input files, weights, and impacts.

Installation

pip install 102203551-topsis

Usage

Run the package from the command line:

Syntax

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

Example

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

Parameters

  • <InputDataFile>: Path to the CSV file containing the decision matrix.
  • <Weights>: Comma-separated weights for each criterion (e.g., 1,2,1,1).
  • <Impacts>: Comma-separated impacts for each criterion (+ for benefit, - for cost).
  • <ResultFileName>: Name of the output file where results will be saved.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
pandas
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pandas>=1.0.0runtime
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
numpy>=1.18.0runtime

Distribution files

2 collected
102203551_topsis-1.0.5-py3-none-any.whl

bdist_wheel · 5.65 KB · Python py3

Source file
102203551_topsis-1.0.5.tar.gz

sdist · 5.19 KB · Python source

Source file

Repository

PENDING
aryanz01/topsis-python-package

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 15:08 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d5261f3ecb4d5a362d8f144eb9d98a035a9cd87b2279778b43f011d89e30cc51

Other collected versions

View all collected versions →