Skip to main content

Project description

MCDM solution using TOPSIS using CLI

A Python package made by me to solve the problem of MCDM (Multi Criteria Decision Making) implemented using TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) algorithm. This package supports both CSV and Excel files.

Installation

Follow the steps below to install and use the package:

Install the Package from PyPI (recommended):

pip install 102203092_topsis

Repo Clone (optional):

git clone

cd TOPSIS-pypi

(Optional) Install Locally: If you have the source code and want to install the package locally:

pip install setuptools wheel

python setup.py sdist bdist_wheel

pip install .

Argument Description
input_file "CSV/Excel" file path
weights` Comma-separated numbers
impacts Comma-separated '+' or '-'
output_file Output CSV/Excel file path

Usage

  1. After installation, you can use the package directly from the command line using topsis-cli.
  2. The CLI supports both .csv and .xlsx formats for input and output files.
  3. Command-Line Interface (CLI)
  4. Package installed from PyPi can be globally used irrespective of directory

topsis-cli <input_file> <weights> <impacts> <output_file>

Args:

  1. input_file: Path to the input file (must be .csv or .xlsx).
  2. weights: Comma-separated list of weights for the criteria (e.g., 0.4,0.3,0.3).
  3. impacts: Comma-separated list of impacts for the criteria (+ for positive, - for negative).
  4. output_file: Path to save the output file (can be .csv or .xlsx).

Input File Format

Col 1 Col 2 Col 3
Alternte ID Criterion 1 Value Criterion 2 Value

Output File Format

Col 1 Col 2 Col 3 Col 4 Col 5
Alternate ID Criterion 1 Value V2 Topsis Score Rank

Uday Sharma

102203092

Release files for 102203092-topsis 1.1.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 102203092-topsis 1.1.2
File Size Uploaded
102203092_topsis-1.1.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for 102203092-topsis 1.1.2
File Interpreter ABI Platform
102203092_topsis-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / 102203092_topsis-1.1.2.tar.gz

Download URL 102203092_topsis-1.1.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
768c6573f72b86bbd96a2e411a9078d9d9377435433c963c066a32cd37d9fb8e
BLAKE2b-256 checksum
How to use checksums
6e6fe6e8362e3cbadb54a54c12ea885cb11a3e56bd52d25cd9fa95677f07875b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Release files / 102203092_topsis-1.1.2-py3-none-any.whl

Download URL 102203092_topsis-1.1.2-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9daa71519687e86b339f68093f7f2bbfbee2b0f91d02d46ffe14e5686e5ed5ca
BLAKE2b-256 checksum
How to use checksums
654c6a7ddc732c0483c01970b7fe9f2eeff15ca8c24834fb3fe1cf322dad6c8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

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