Skip to main content

It gives a csv file that includes the topsis result

Project description

Topsis Result Calculator

It runs on terminal and takes a csv file , weights of column, impacts and name of the output file as input and gives an output csv file that contains topsis performance score and the rank of a particular entity.

Installation

On your terminal run the command below:
pip install Topsis-RounakTaneja-101903784

Importing and using in source file

use the package in source file as follows:

tbj=__import__("topsis")
tbj.get_topsis_result()

How to get output?

output is taken by running the command on terminal as : python "sourcefile.py" "input.csv" "weights(separateed by ',')" "impact(separated by ','))" use impact as '+' for maximizing the feature and '-' for minimizing. On your terminal run the command:
python source_file_name.py input_file.csv "1,1,0,1" "+,-,+,+" output_file_name.csv
It will display the input arguments and the input data on terminal screen and Output will be stored in your present working directory as a csv file.

Constraints

Number of columns in input file(other than the name of the entity) should be equal to length of impacts and length of weights.

Input file should not have blank values

Number of Columns in Input files should not be less than 3

There should not be any csv file with same name as your output file in present directory

Number of Arguments should be equal to the number as specified above

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-RounakTaneja-101903784-5.0.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

Topsis_RounakTaneja_101903784-5.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-RounakTaneja-101903784-5.0.0.tar.gz.

File metadata

  • Download URL: Topsis-RounakTaneja-101903784-5.0.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for Topsis-RounakTaneja-101903784-5.0.0.tar.gz
Algorithm Hash digest
SHA256 d4ad48a2481ff7b03f54e99e5d7fe5137e9cef03798ae4e01f14efbd4244dea7
MD5 d4e8897ca1b1da60a91e3ac2493973af
BLAKE2b-256 544e14efd3ac5f4aa3051420482a2a8e8cc5c942fc51459c9c8a11316170d041

See more details on using hashes here.

File details

Details for the file Topsis_RounakTaneja_101903784-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: Topsis_RounakTaneja_101903784-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for Topsis_RounakTaneja_101903784-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f6d0545dcab945c2a6d6da53dcbe90987c164f024d364f98b40a8258d853a98
MD5 3d14baf36ad4572ae9d2e84ff4230ca7
BLAKE2b-256 8091cf0d29d0c10fad418f71e832ab7dd8243580a7352641a2642687ad867217

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