Skip to main content

TOPSIS Implementation (Python Package)

Overview

This Python package provides a clear and practical implementation of the
TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) method for
Multi-Criteria Decision Making (MCDM).

Using this package, users can rank multiple alternatives based on numerical criteria by assigning weights and impacts (benefit or cost) to each criterion.
The package is implemented as a command-line tool and works directly with CSV files.


Project Information

Field Details
Course Project-1
Author Raghav Chhabra
Roll No 102303580
Group 3C42

Features

  • Easy-to-use command-line interface
  • Supports customizable weights and impacts
  • Handles benefit (+) and cost (-) criteria
  • Accepts CSV input and produces CSV output
  • Automatically computes TOPSIS score and Rank

📌 Sample Input File (IMPORTANT)

Create a file named data.csv in the same folder as topsis.py and paste the following content:

Fund,P1,P2,P3,P4,P5
M1,0.71,0.50,3.9,33.8,9.73
M2,0.88,0.77,5.2,45.8,13.16
M3,0.78,0.61,3.8,40.1,11.32
M4,0.91,0.83,5.8,43.8,12.84
M5,0.76,0.58,6.4,34.8,10.6

Installation

Install the package using pip:

pip install topsis-raghav-102303580

Metadata

Release files for topsis-raghav-102303580 1.0.2

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-raghav-102303580 1.0.2
File Size Uploaded Provenance Actions
topsis_raghav_102303580-1.0.2.tar.gz 3.1 kB Without provenance Details for topsis_raghav_102303580-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for topsis-raghav-102303580 1.0.2
File Interpreter ABI Platform Actions
topsis_raghav_102303580-1.0.2-py3-none-any.whl Python 3 none any Details for topsis_raghav_102303580-1.0.2-py3-none-any.whl

Total release size: 6.8 kB

Release files / topsis_raghav_102303580-1.0.2.tar.gz

Download URL topsis_raghav_102303580-1.0.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
655d50bb08e0539cdd2b7e87d72f9cae4f6063d5a05c42a496144a092408c3e9
BLAKE2b-256 checksum
How to use checksums
32858d7fe3d7259e01d988a46d1eab9772c1a8a8b9a19028e8600f60d830e053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / topsis_raghav_102303580-1.0.2-py3-none-any.whl

Download URL topsis_raghav_102303580-1.0.2-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
213aba0a589e780e1952e09a2eb53f7e0baa7b64afdcc2b54b405568774113b6
BLAKE2b-256 checksum
How to use checksums
5017320180e5ecb5b9a6d037d26f5b6ca06ec486d3f6012f3007ef1498184637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Security for topsis-raghav-102303580 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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