Skip to main content

A Python library for Multi-Criteria Decision Making (TOPSIS, AHP, VIKOR, Entropy, etc.)

Project description

TOPSISX 📊

PyPI Version Downloads License


TOPSISX is a Python library for multi-criteria decision-making (MCDM) using methods like TOPSIS, AHP, Entropy Weighting, and VIKOR. It also supports PDF report generation and visualizations.


🚀 Features

  • 📈 TOPSIS: Rank alternatives based on weighted criteria.
  • 📊 AHP: Calculate weights using Analytic Hierarchy Process.
  • 📋 Entropy Weighting: Objective weight calculation.
  • 📑 PDF Reports: Generate professional reports of results.
  • 🖼️ Visualizations: Plot graphs for better insights.

📦 Installation

Install the package from PyPI:

pip install topsisx

⚡ Quick Start
Here’s how you can use topsisx in your project:

python
Copy
Edit
from topsisx.topsis import topsis

# Sample data
data = [
    [250, 16, 12, 5],
    [200, 16, 8, 3],
    [300, 32, 16, 4],
    [275, 32, 8, 4],
    [225, 16, 16, 2]
]

weights = [0.25, 0.25, 0.25, 0.25]
impacts = ['+', '+', '-', '+']

ranked = topsis(data, weights, impacts)
print(ranked)
📖 Documentation
Go to topsisx.readthedocs.io (Coming Soon 🚧)

👨‍💻 Contributing
We welcome contributions! Please open an issue or pull request on GitHub.


📝 License
This project is licensed under the MIT License.

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

topsisx-0.1.3.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

topsisx-0.1.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file topsisx-0.1.3.tar.gz.

File metadata

  • Download URL: topsisx-0.1.3.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for topsisx-0.1.3.tar.gz
Algorithm Hash digest
SHA256 811ebcd3dfc2147cf334a2816a8a081d350d8a8da2963a9b99fedd0ef71c5f50
MD5 db263b6b59fee7d849b57deb3ee688d7
BLAKE2b-256 e8becd053f68a76c4196d40cadd1b3e290cf47d82798239933dab6e7ccab364c

See more details on using hashes here.

File details

Details for the file topsisx-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: topsisx-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for topsisx-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1323f24b4570692310d061a62bffbfeedf1d03b21f52233fb591d5869b508dfb
MD5 9ae63cb3b4b892009f68ee96c0e7e99d
BLAKE2b-256 2cca42cf196ca75ab7d9b504d8fd1dbb79a13fb0e75eec9159b89af2dc347196

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