Skip to main content

This is a Python Package implementing TOPSIS used for multi-criteria decision analysis method

Project description

Topsis TopsisPy is a Python Package implementing Topsis method used for multi-criteria decision analysis. Topsis stands for 'Technique for Order of Preference by Similarity to Ideal Solution'.

TopsisPy intends to make the process of TOPSIS simple in python. Key features of the package are -

Easy to use Numpy based Ideal for Students And off course, PyTopsis code is Open Source.

How to use? Install the Package using the command -

$ pip install Topsis-Divjyot-101903623 And using this Package in python as -

from divjyot.topsis import topsis a =[ ... [250, 16, 12, 5], ... [200, 16, 8, 3], ... [300, 32, 16, 4], ... [275, 32, 8, 4], ... [225, 16, 16, 2] ... ] w = [0.25, 0.25, 0.25, 0.25] sign = [-1, 1, 1, 1] tp.topsis(a, w, sign) Or You may use the Package via commandline as -

$ python [package name] [path of csv as string] [list of weights as string] [list of sign as string] Here, as string means using " "

This will return a tuple with

1.the index of winning data point 2.array containing scores of all data points As for above - (2, array([0.53427686, 0.30836777, 0.69163223, 0.53473658, 0.40104612])) Development Want to contribute? Great! Use your Python skills and creativity for easy decision making for the world.

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-Divjyot-101903623-0.0.3.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Divjyot_101903623-0.0.3-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Divjyot-101903623-0.0.3.tar.gz.

File metadata

  • Download URL: Topsis-Divjyot-101903623-0.0.3.tar.gz
  • Upload date:
  • Size: 2.1 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.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Topsis-Divjyot-101903623-0.0.3.tar.gz
Algorithm Hash digest
SHA256 64eef4d30aa665e27e703790230caa1cc89f18fa1a975b768121167a33b258bd
MD5 c06710d67b36b7dea17033a82827f14c
BLAKE2b-256 59e0713a1bdf5cf1d80ef73f27d4e84cf2ea8ca916b1f6cc0af09373cb5d1679

See more details on using hashes here.

File details

Details for the file Topsis_Divjyot_101903623-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Divjyot_101903623-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.0 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.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Topsis_Divjyot_101903623-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a311d5d48ff095fa48094cda687e5e672b3687801dc82c409d6dd3272868ac5e
MD5 251b4574f3f43de05ece771bd7e0d191
BLAKE2b-256 06d77bc41d8e0792e731e435c24ba4298780302253520ee602fede9936fa6230

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