A library capable of implementing TOPSIS
PROJECT 1, UCS633 - Data Analysis and Visualization
Nikhil Gupta
COE17
Roll number: 101703371
Output is the best allternative out of list of all allternatives. Other ranks are streamed to the csv file.
Best Attribute: Mobile 3
Installation
pip install topsispack_NG
Note the name has an underscore not a hyphen. If installation gives error or package is not found after installing, install as sudo.
Recommended - test it out in a virtual environment.
To use via command line
Topcli myData.csv "1,1,1,1" "-,+,+,+"
First argument after nikcli is the location of the .csv file. The weights and impacts should be passed as strings in double quotes with each weight or impact separated by a comma (',').
To use in .py script
from toplib.models import topsis
topsis(['myData.csv',"1,1,1,1","-,+,+,+"])
The argument passed should be a list.
Can email me for any issues or suggestions
Metadata
Release files for topsispack-NG 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| topsispack-NG-0.1.1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| topsispack_NG-0.1.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 5.6 kB
Release files / topsispack-NG-0.1.1.tar.gz
| Download URL | topsispack-NG-0.1.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
864c46173f467891e0041bd7b2ffa284ebe6871814e4bdc0d94de8e250f48f9e
|
|
BLAKE2b-256 checksum How to use checksums |
d5ee71ffcb804cf9e70986fece345d4b57c3be183b268b452a77166c4a34c954
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.17
|
Release files / topsispack_NG-0.1.1-py2-none-any.whl
| Download URL | topsispack_NG-0.1.1-py2-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
1975eb64586f55b85a34395dabb123ab4ae9186f76604e680cb32cfb84a863ab
|
|
BLAKE2b-256 checksum How to use checksums |
f4286916f3d64e2e3dbae87302dc34734b48a471c9fc1b92309559af7a800531
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.17
|