Skip to main content

topsis_rishabh_102203060

topsis_rishabh_102203060 is a Python package that implements the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) method for multi-criteria decision analysis.

Installation

You can install the package using pip:

pip install topsis_rishabh_102203060

Usage

Input File Format

The input CSV file should have the following structure:

  • The first column should contain the names of the models.
  • The subsequent columns should contain the criteria values for each alternative.
  • The first row should contain the headers for each column.

Example:

model Criteria 1 Criteria 2 Criteria 3
m1 260 18 14
m2 220 16 10
m3 320 14 16

Command-line Usage

After installation, you can use the topsis command in the terminal:

topsis <input_file> <weights> <impacts> <output_file>
  • <input_file>: Path to the input CSV file.
  • <weights>: Comma-separated string of weights for the criteria.
  • <impacts>: Comma-separated string of '+' or '-' indicating the desirability of the criteria.
  • <output_file>: Path to the output CSV file to save the results.

Example

topsis data.csv "0.4,0.3,0.1" "+,-,+" results.csv

This command will process the data.csv file using the specified weights and impacts and output the results to results.csv.

NOTE

  • Ensure that the input file has at least three columns: one for alternatives and at least two for criteria.
  • All criteria columns should contain numeric values.
  • The number of weights and impacts must match the number of criteria.
  • Impacts should only be '+' or '-'.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Release files for topsis-rishabh-102203060 1.0.3

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-rishabh-102203060 1.0.3
File Size Uploaded
topsis_rishabh_102203060-1.0.3.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for topsis-rishabh-102203060 1.0.3
File Interpreter ABI Platform
topsis_rishabh_102203060-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / topsis_rishabh_102203060-1.0.3.tar.gz

Download URL topsis_rishabh_102203060-1.0.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4fefbcca1ea22fc8fad419ad3abd91b21ad79bd069e14904f37628a97eec7f6b
BLAKE2b-256 checksum
How to use checksums
e64047e084ca70e631c512baf1e0b916afb89ef86e26e93b32d6b8a410a11f33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / topsis_rishabh_102203060-1.0.3-py3-none-any.whl

Download URL topsis_rishabh_102203060-1.0.3-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
050347dd07301c2a6a46c5181aa705143cb6f1cf769682cd5e7d270cbc3a8c7d
BLAKE2b-256 checksum
How to use checksums
9cb441e2ede0b771058ca92bd6bd364ce0249eb99bdb1fea735ee77ef773de0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

1.0.3 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