Skip to main content

TOPSIS CLI with automatic categorical handling

Project description

Topsis-Kshitiz-102303748

TOPSIS command-line tool with automatic handling of categorical columns (ordinal detection + label encoding fallback).

Installation

pip install Topsis-Kshitiz-102303748

Quick Start

topsis-kshitiz-102303748 input.csv "1,1,2,1" "+,+,-,+" output.csv

Features

  • ✅ Multi-criteria decision analysis using TOPSIS
  • ✅ Automatic categorical-to-numeric conversion
  • ✅ Comprehensive input validation
  • ✅ Clear error messages
  • ✅ Support for any number of criteria

Basic Usage

topsis-kshitiz-102303748 <InputFile.csv> <Weights> <Impacts> <OutputFile.csv>

Example:

topsis-kshitiz-102303748 data.csv "1,1,1,2,1" "+,+,-,+,+" results.csv

Input Format

CSV file with:

  • First column: Name/identifier
  • Remaining columns: Criteria (numeric or categorical)
  • Minimum 3 columns required

Parameters

  • Weights: Comma-separated numbers (e.g., "1,2,1")
  • Impacts: '+' (higher is better) or '-' (lower is better)
  • Both must match the number of criteria columns

For Developers

Build from source

pip install build twine
python -m build

Upload to PyPI

twine upload --repository testpypi dist/*
twine upload dist/*

License

MIT License

Version

0.1.2

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

Uploaded Source

Built Distribution

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

topsis_kshitiz_102303748-0.1.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for topsis_kshitiz_102303748-0.1.2.tar.gz
Algorithm Hash digest
SHA256 918a55e9af35862b7fcf05a830fffab7a9c45466b75543cb578d87c408f45371
MD5 491ef08664ad3cc07b497e0c238db550
BLAKE2b-256 414d644f0b855a92aac0c606eec565917b0c56637a15082d55e31a4fb6f22a69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_kshitiz_102303748-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b1b7d7986dda3b2747dbb54cc4a6e9a71e6335234b4ea0a47d6b25ebf2b5487f
MD5 cab293ad14e2935143775f93017800de
BLAKE2b-256 8a517182d5102ba4549d1497268d322e2cfffda2213479ca85b0689704c4c569

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