Skip to main content

A Python package to implement TOPSIS

Project description

Topsis-Punya-102303567

This is a Python package to implement the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS).

Installation

pip install Topsis-Punya-102303567

Usage

You can use this package via the command line:

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

Example

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

Parameters

  1. InputDataFile: Path to the CSV file containing the data. The file should have a header row and the first column should be the object/alternative names (which will not be used in calculation). The rest of the columns must be numeric.
  2. Weights: Comma-separated weights for each criterion (e.g., "1,1,1,2").
  3. Impacts: Comma-separated impacts for each criterion ('+' for beneficial, '-' for non-beneficial) (e.g., "+,+,+,-").
  4. OutputResultFileName: Path for the output CSV file which will contain the original data along with the Topsis Score and Rank.

License

MIT

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_punya_102303567-1.0.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.

topsis_punya_102303567-1.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file topsis_punya_102303567-1.0.0.tar.gz.

File metadata

  • Download URL: topsis_punya_102303567-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for topsis_punya_102303567-1.0.0.tar.gz
Algorithm Hash digest
SHA256 596125aef43291e5b10d37fd2d173787ec0351833172aebd56ad791c4f650fa1
MD5 bcc9114cc662c66cc30c0b1d69d6fc40
BLAKE2b-256 3ac846b5b4739617c85925cfdc5c12c203e2a57108a6202ba72ed6731db06cc3

See more details on using hashes here.

File details

Details for the file topsis_punya_102303567-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_punya_102303567-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5dc28602fab2fa5c558666abb067ab50928f1302201e99924daa8e10fed0a47c
MD5 78b2ccc6fff55ec5eb7b71bf72507f5c
BLAKE2b-256 b8b5281e1de0e24e3cbe3c71663d887cd68de5b97f7f59b7670a3fd8f8415d48

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