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.0

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.1.tar.gz (6.7 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.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for topsis_kshitiz_102303748-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c26db8052c5792ae7b5c285023639055eeb534e7545992a73a04c7b1743da378
MD5 a57751ae5bff09a2b2bf180e561bf0e1
BLAKE2b-256 7a5b8a891f36c003728510a4dbf4abc368b04bfbd9d2e07486f23c6ad1b9675c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_kshitiz_102303748-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1ede5da581369876aa61d88b2417a171218c40f45e4b64efd3c91e7249b422a
MD5 0d3ea384b72c204e76a72f4682f03ef9
BLAKE2b-256 c854c8f047c47cab54cf144804fb3c4a111e14ad2125bbafbafffa3bc1c28e66

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