Skip to main content

A Python implementation of Topsis method

Project description

Topsis-Harshita-102317208

A Python package implementing the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method for multi-criteria decision making.


Installation

pip install Topsis-Harshita-102317208

Command Line Usage

topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>

Example

topsis data.xlsx "1,1,1,2" "+,+,-,+" result.xlsx

Input File Requirements

  • Input file must contain three or more columns
  • First column should contain alternatives (non-numeric allowed)
  • From second column onward, all values must be numeric
  • Number of weights = number of impacts = number of criteria columns
  • Impacts must be either '+' or '-'
  • Weights and impacts must be comma separated

Output

The output file will contain:

  • Topsis Score
  • Rank of each alternative

Features

✔ Command line interface
✔ Input validation
✔ Exception handling
✔ Excel file support
✔ Automatic ranking


Author

Harshita
Roll Number: 102317208

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

topsis_harshita_102317208-0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file topsis_harshita_102317208-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_harshita_102317208-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a113306dd913fe8364bb314598e2adc8ac036296f1b6e4230393781d11feb9c6
MD5 e6e53b80e33cb8852d5264e6df6e52a6
BLAKE2b-256 1021b45252e95d6337f348932f7d99f2ab0892bb543ee82a1f0dc658137b1d33

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