Skip to main content

No project description provided

Project description

Topsis-Devit-102217044

Description

This project is a Python implementation of the TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) method, which is widely used for decision-making problems. TOPSIS helps to evaluate and rank alternatives based on multiple criteria, determining how close each alternative is to the ideal solution.

Features

  • Takes input data as a CSV file.
  • Accepts weights for each criterion.
  • Allows specification of impacts for each criterion (positive or negative).
  • Computes the TOPSIS score and ranks the alternatives.
  • Outputs the results into a CSV file with ranks and scores.

Installation

You can install this package using pip:

pip install topsis-devit-102217044

#Once installed, you can use the TOPSIS method as follows:

from topsis import topsis

# Example data
input_file = 'data.csv'
weights = '1,1,2,2'  # Comma-separated weights for each criterion
impacts = '+,+,-,+,+'   # Comma-separated impacts for each criterion ('+' for benefit, '-' for cost)
result_file = 'result.csv'

topsis(input_file, weights, impacts, result_file)

## Requirements
pip install pandas numpy

###For creating python package
 pip install build
 python -m build

 ##To upload in pypi site
 pip install twine
 twine upload dist/* 
 #enter the token accesing from pypi site after login and authenticator from authenticator app the you can add token for specific project
## Validation
python>=3.6

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topsis_devit_102217044-1.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Topsis_Devit_102217044-1.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file topsis_devit_102217044-1.0.1.tar.gz.

File metadata

  • Download URL: topsis_devit_102217044-1.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.20

File hashes

Hashes for topsis_devit_102217044-1.0.1.tar.gz
Algorithm Hash digest
SHA256 aab1eb6f97dd2788fef1a6febd92bd6ab9bfccb84e4492ce10992e08682225f9
MD5 67c95ccf8e24e059b97502a331c3b539
BLAKE2b-256 c93839a5ef26257ca456e423a80dd1bb020bd9fabe487a07a4a8c7189e0ca1f2

See more details on using hashes here.

File details

Details for the file Topsis_Devit_102217044-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Devit_102217044-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bcc1ac0da39a968c3707d6492f1ea3d9ef0d9ff6fbe6630b7c9c531fe2af5c1a
MD5 9fcc5495c8b631192014347b30b62bdf
BLAKE2b-256 4345e15c299bc4fc7b52461ea7f13218a873d6c7ada7c059bb3df4564957bccd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page