Skip to main content

TOPSIS implementation for multi-criteria decision making

Project description

📊 TOPSIS — A Python Package for Multi-Criteria Decision Making

License Python

This package implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) algorithm — a widely used multi-criteria decision analysis method.


📌 What is TOPSIS?

TOPSIS is an algorithm that helps in ranking and selecting from a set of alternatives based on multiple criteria.
It is based on the concept that the chosen alternative should have the shortest distance from the ideal solution and the farthest from the negative-ideal solution.

It is especially useful in areas like:

  • Decision-making systems
  • Recommendation engines
  • Business and financial analysis
  • Supply chain and logistics

🚀 Features

  • Simple and clean API
  • Accepts CSV or pandas DataFrame input
  • Supports weighted and normalized decision matrices
  • Generates final rankings of alternatives

📦 Installation

Install the package directly from PyPI:

pip install topsis-nandini==0.1.2

🛠️ Usage

# 1. Run via Python module
python -m topsis data.csv "0.4,0.3,0.3" "+,-,+"

# 2. Use inside Python script
from topsis import topsis
topsis.run("data.csv", "0.4,0.3,0.3", "+,-,+")

📁 Project Structure

Topsis_package/
│
├── topsis
│ ├── init.py  ├── main.py  └── topsis.py 
├── README.md 
├── LICENSE 
├── setup.py 
└── pyproject.toml 

📄 License

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

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_nandini-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

topsis_nandini-0.1.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file topsis_nandini-0.1.2.tar.gz.

File metadata

  • Download URL: topsis_nandini-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for topsis_nandini-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d2ff5aa326b041582ed94af409a3d5b5a58554e8543ca815c8d55c160c89fedb
MD5 3a859f5bebb5bf7bf9cbc0bc9202c226
BLAKE2b-256 6435d0fcc5b6ffa0d7c339603b7b5709eb3d03157b3f58941670965406cd61b9

See more details on using hashes here.

File details

Details for the file topsis_nandini-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: topsis_nandini-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for topsis_nandini-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d20c3f5c342a6563c10bd17aa3b9a98c668712f53ce2e054b9c081ccecfdc41a
MD5 5323b1ddf53584c5fa0242871a027c58
BLAKE2b-256 081689ea5a5e929a13f0e3bacd4037f93d0d1e6eadfbdf3a90b09b0e8402cbb1

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