Skip to main content

A Python package for performing TOPSIS analysis

Project description

TOPSIS Package

A Python package for performing TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) analysis.

Installation

You can install this package using pip:

pip install package-topsis

from package_102217249 import topsis

data = [
    [250, 16, 12, 5],
    [200, 16, 8, 3],
    [300, 32, 16, 4],
    [275, 32, 8, 4],
    [225, 16, 16, 2],
]
weights = [0.25, 0.25, 0.25, 0.25]
impacts = ['+', '+', '-', '+']

rankings = topsis(data, weights, impacts)
print(rankings)  # Output: [3, 1, 2, 5, 4]

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

package_102217249-1.0.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

package_102217249-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: package_102217249-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.1

File hashes

Hashes for package_102217249-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a83c747cf0bce696e906cde09f1972045504ef16e0afe0248c2455db0936e400
MD5 36d199968aca2f4da19d861fc53a07a0
BLAKE2b-256 65f4781eb28383708f85600bac7430bfb523df515ea66a6f80f848506a4c24c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for package_102217249-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dd6b8fad09eadde8f24c0b60f427cc73de8a6bbe0c198be44dc68bff73c8050
MD5 98864b14c5c1141684ab2d46a616f604
BLAKE2b-256 11bc0c2109c809504478de87555d8c4b1ad66f608e0f60b37c04fcb2f99e623b

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