Skip to main content

Topsis Python Package

Made By

Prarthana Samal (Roll Number 102383015)

Description

The Topsis Python Package is a Python library that provides an implementation of the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method. TOPSIS is a multi-criteria decision-making method used to determine the best alternative among a set of alternatives based on their performance on multiple criteria.

Installation

You can install this package using pip (if published to PyPI) or clone the repository directly:

pip install topsis-prarthana

Usage

Use the following command to perform TOPSIS analysis on a dataset:

topsis.py data.csv "1,0,1,0,1" "+,-,+,-,+" output.csv

Arguments:

  • data.csv: Path to the input CSV file containing the dataset.
  • "1,0,1,0,1": Weights for each criterion separated by commas.
  • "+,-,+,-,+": Impacts for each criterion (either + for maximizing or - for minimizing).

Input

Screenshot 2025-01-18 120924

Output

Screenshot 2025-01-18 120825

Metadata

Release files for Topsis-Prarthana-102383015 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Topsis-Prarthana-102383015 1.0.0
File Size Uploaded
topsis_prarthana_102383015-1.0.0.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Topsis-Prarthana-102383015 1.0.0
File Interpreter ABI Platform
Topsis_Prarthana_102383015-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.5 kB

Release files / topsis_prarthana_102383015-1.0.0.tar.gz

Download URL topsis_prarthana_102383015-1.0.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f1607c5b4abdc31a81d3d3ade72c8397e3e7ef6a47fe8b2e9bf43c35cfd3c9c6
BLAKE2b-256 checksum
How to use checksums
a433798ae70251761743adef31cf1ec72b34fbf3b519b839485ca14cd3fbe783
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.1

Release files / Topsis_Prarthana_102383015-1.0.0-py3-none-any.whl

Download URL Topsis_Prarthana_102383015-1.0.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1530ba12284f967d3b27844e3398ea1838d717e8783b96f961db2ffb269e78ec
BLAKE2b-256 checksum
How to use checksums
463429f4207cdf97ac14c993265d9fec448005af3c51b3f496136570a5c171ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page