Skip to main content

102303803-Topsis

A robust Python implementation for the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS), widely used for Multi-Criteria Decision Making (MCDM).

Installation

Easily install the package using pip:

pip install 102303803-Topsis

Usage

Run the package directly from the command line interface (CLI):

topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>

Example Usage

topsis data.csv "1,1,1,2,1" "+,+,+,-,+" result.csv

Parameters Explained

  1. InputDataFile: Compatibility with CSV format. The file must include a header. The first column is treated as the object identifier and excluded from calculations. All subsequent columns must contain numeric data.
  2. Weights: A comma-separated string of numeric weights corresponding to each criterion (e.g., "1,1,1,2,1").
  3. Impacts: A comma-separated string indicating the direction of impact for each criterion ('+' for beneficial, '-' for non-beneficial) (e.g., "+,+,+,-,+").
  4. OutputResultFileName: The desired filename for the output CSV, which will include the original data augmented with Topsis Score and Rank.

License

MIT License

Release files for Topsis-Pulkit-102303803 1.0.1

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-Pulkit-102303803 1.0.1
File Size Uploaded
topsis_pulkit_102303803-1.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Topsis-Pulkit-102303803 1.0.1
File Interpreter ABI Platform
topsis_pulkit_102303803-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / topsis_pulkit_102303803-1.0.1.tar.gz

Download URL topsis_pulkit_102303803-1.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
22e9b0da7ffe3ab5c5e2f71cb5af35258e33ff9777423b7922d2bf8c0171df47
BLAKE2b-256 checksum
How to use checksums
4850619a59cd7495f772c47a061d994ad0f8d79f7ef4460f83522c3abac548e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / topsis_pulkit_102303803-1.0.1-py3-none-any.whl

Download URL topsis_pulkit_102303803-1.0.1-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b46b066c120f2db00ccae893852297e0649e6490b4349ef5fd223689f28dea03
BLAKE2b-256 checksum
How to use checksums
6933c1034e3654c2ad7393e0bf9faed4b32962edbe07eb93038c817898d5398d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

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