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 Distribution

topsis_harshita_102317208-0.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file topsis_harshita_102317208-0.3.tar.gz.

File metadata

  • Download URL: topsis_harshita_102317208-0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for topsis_harshita_102317208-0.3.tar.gz
Algorithm Hash digest
SHA256 67574ada75da6786f2282290249be2923a54d2f11dd6fe80c93a165e148da023
MD5 43ad51be7f2f6a56bcd662b9ee36959e
BLAKE2b-256 96f08da30bc67a43b98c965c08d3d2aa9f2581a89912a52228cf314483357ad3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_harshita_102317208-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6e70c6f4e19a52ec6c9940c119cc79df0525d8e3e27e60c7e49eadabd26b434e
MD5 baababe22bd788ca13c531cf61fb8314
BLAKE2b-256 527e2ccce973cd713736bb85e1c359e3d3e657cbb63e3251fdc39cfcc377da90

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