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

🛠️ 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.1.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.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: topsis_nandini-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 39c7ed8538db5f39b43cf1be821104e8b9462ee2f9ef70141c222f583c64eb55
MD5 0ad69171c730a98c34fc05daee0d4246
BLAKE2b-256 5694654cd01ce0534c1082f46846b2eb4f876ade8e3e94f273b720ee3eb5e84a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: topsis_nandini-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 090a7fd2ce58a54da7fde2531cd19363d48cf9dc7d993882e40576a99a918aeb
MD5 e1e58b19f157cc1bcafd182940cd8154
BLAKE2b-256 7cf6a4117d969b2040c4288b50af27cecab6b5b3c78d2ef1f7e1f5ea182b1224

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