Skip to main content

TOPSIS Implementation in Python

A Python implementation of the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) for multi-criteria decision-making problems. This package processes an input dataset, calculates the TOPSIS scores, and ranks alternatives based on their scores.

Installation

You can install this package directly from PyPI: pip install 102203584

Usage

Command-Line Interface

Run the script using the following format: python <program.py> <InputDataFile> <Weights> <Impacts> <ResultFileName>

Arguments:

  1. InputDataFile: Path to the input .csv file containing the dataset. -The first column should contain the names of the alternatives. -The remaining columns should contain numeric criteria values.

  2. Weights: Comma-separated values representing the importance of each criterion.

  3. Impacts: Comma-separated values (+ or -) indicating whether the criterion is beneficial (+) or non-beneficial (-).

  4. ResultFileName: Name of the output .csv file where the results (TOPSIS scores and ranks) will be saved

Dependencies

This package requires the following Python libraries: -pandas -numpy

License

This repository is licensed under the MIT license. See LICENSE for details.

Metadata

Release files for 102203584 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 102203584 1.0.0
File Size Uploaded Provenance Actions
102203584-1.0.0.tar.gz 3.8 kB Without provenance Details for 102203584-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for 102203584 1.0.0
File Interpreter ABI Platform Actions
102203584-1.0.0-py3-none-any.whl Python 3 none any Details for 102203584-1.0.0-py3-none-any.whl

Total release size: 7.8 kB

Release files / 102203584-1.0.0.tar.gz

Download URL 102203584-1.0.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4c87e409e33364a950cded9a926b12de8b091274ac72b6e8940cf64feb50a819
BLAKE2b-256 checksum
How to use checksums
0b743a6a281367c10d4c19481267b8b466840457f8fab23b989d8e2295068f51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

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

Download URL 102203584-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
244d8c7a8707eb01eaa28d71fc4564ab8812000a7a143c3bae3554be479e50f5
BLAKE2b-256 checksum
How to use checksums
13c0d0836ab3b2f21af5ba1d52d19a6f5949680089bd92464507a74ed215f3bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Security for 102203584 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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