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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topsis_kshitiz_102303748-0.1.2.tar.gz.
File metadata
- Download URL: topsis_kshitiz_102303748-0.1.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
918a55e9af35862b7fcf05a830fffab7a9c45466b75543cb578d87c408f45371
|
|
| MD5 |
491ef08664ad3cc07b497e0c238db550
|
|
| BLAKE2b-256 |
414d644f0b855a92aac0c606eec565917b0c56637a15082d55e31a4fb6f22a69
|
File details
Details for the file topsis_kshitiz_102303748-0.1.2-py3-none-any.whl.
File metadata
- Download URL: topsis_kshitiz_102303748-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1b7d7986dda3b2747dbb54cc4a6e9a71e6335234b4ea0a47d6b25ebf2b5487f
|
|
| MD5 |
cab293ad14e2935143775f93017800de
|
|
| BLAKE2b-256 |
8a517182d5102ba4549d1497268d322e2cfffda2213479ca85b0689704c4c569
|