topsis-kanuj-102017188


Nametopsis-kanuj-102017188 JSON
Version 1.2 PyPI version JSON
download
home_pagehttps://github.com/kanuj-boora/topsis-17188
SummaryPython Package implementing TOPSIS method for multi-criteria decision making method
upload_time2023-01-22 22:06:06
maintainer
docs_urlNone
authorKanuj Boora
requires_python
licenseMIT
keywords topsis mcdm mcda tiet thapar
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Topsis Python Package

This is a Python Package implementing Topsis Multi-Criteria Decison Making method.<br />
It is a simple implementation using
    - pandas
    - numpy<br />
It stores the output as a csv file with user-specified name.<br/>
Output contains the original data with two additional columns i.e. Topsis Score and Rank based on the score.

## Installation

To install the package<br />

```pip install topsis-kanuj-102017188```

## Usage

To use the package from the command line (Data file and result file name should contain .csv extension)<br />

```topsis [data file name] [weights as string seperated by ','] [impacts as string seperated by ','] [result data file name]```

For example<br />

```topsis data.csv "1,1,1,1,1" "+,+,+,-,+" result.csv```

## Sample

Data Sample<br />

```
Model,StorageSpace,Camera,Price,Looks
M1,16,12,250,5
M2,16,8,200,3
M3,32,16,300,4
M4,32,8,275,4
M5,16,16,225,2
```
Sample topsis command<br />

```topsis data.csv "0.25,0.25,0.25,0.25" "+,+,-,+" result.csv```

Sample Output file<br />
```
Model,StorageSpace,Camera,Price,Looks,TopsisScore,Rank
M1,16,12,250,5,0.534277,3.0
M2,16,8,200,3,0.308368,5.0
M3,32,16,300,4,0.691632,1.0
M4,32,8,275,4,0.534737,2.0
M5,16,16,225,2,0.401046,4.0
```

## Notes

The data should only contain numerical data.<br />


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kanuj-boora/topsis-17188",
    "name": "topsis-kanuj-102017188",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "topsis,mcdm,mcda,TIET,thapar",
    "author": "Kanuj Boora",
    "author_email": "boorakanuj@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f3/c6/aaf06748fb6d80a712aae485e21f37302c76fcbb2ffc1b140a6bc3b6e89e/topsis-kanuj-102017188-1.2.tar.gz",
    "platform": null,
    "description": "# Topsis Python Package\r\n\r\nThis is a Python Package implementing Topsis Multi-Criteria Decison Making method.<br />\r\nIt is a simple implementation using\r\n    - pandas\r\n    - numpy<br />\r\nIt stores the output as a csv file with user-specified name.<br/>\r\nOutput contains the original data with two additional columns i.e. Topsis Score and Rank based on the score.\r\n\r\n## Installation\r\n\r\nTo install the package<br />\r\n\r\n```pip install topsis-kanuj-102017188```\r\n\r\n## Usage\r\n\r\nTo use the package from the command line (Data file and result file name should contain .csv extension)<br />\r\n\r\n```topsis [data file name] [weights as string seperated by ','] [impacts as string seperated by ','] [result data file name]```\r\n\r\nFor example<br />\r\n\r\n```topsis data.csv \"1,1,1,1,1\" \"+,+,+,-,+\" result.csv```\r\n\r\n## Sample\r\n\r\nData Sample<br />\r\n\r\n```\r\nModel,StorageSpace,Camera,Price,Looks\r\nM1,16,12,250,5\r\nM2,16,8,200,3\r\nM3,32,16,300,4\r\nM4,32,8,275,4\r\nM5,16,16,225,2\r\n```\r\nSample topsis command<br />\r\n\r\n```topsis data.csv \"0.25,0.25,0.25,0.25\" \"+,+,-,+\" result.csv```\r\n\r\nSample Output file<br />\r\n```\r\nModel,StorageSpace,Camera,Price,Looks,TopsisScore,Rank\r\nM1,16,12,250,5,0.534277,3.0\r\nM2,16,8,200,3,0.308368,5.0\r\nM3,32,16,300,4,0.691632,1.0\r\nM4,32,8,275,4,0.534737,2.0\r\nM5,16,16,225,2,0.401046,4.0\r\n```\r\n\r\n## Notes\r\n\r\nThe data should only contain numerical data.<br />\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python Package implementing TOPSIS method for multi-criteria decision making method",
    "version": "1.2",
    "split_keywords": [
        "topsis",
        "mcdm",
        "mcda",
        "tiet",
        "thapar"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f3c6aaf06748fb6d80a712aae485e21f37302c76fcbb2ffc1b140a6bc3b6e89e",
                "md5": "0382c7929bebac5edac12ae91d586cd9",
                "sha256": "7436180d2cba3d97bbd4f27957653927343748f5063a3ff346252b63ce4636fd"
            },
            "downloads": -1,
            "filename": "topsis-kanuj-102017188-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0382c7929bebac5edac12ae91d586cd9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5724,
            "upload_time": "2023-01-22T22:06:06",
            "upload_time_iso_8601": "2023-01-22T22:06:06.021777Z",
            "url": "https://files.pythonhosted.org/packages/f3/c6/aaf06748fb6d80a712aae485e21f37302c76fcbb2ffc1b140a6bc3b6e89e/topsis-kanuj-102017188-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-22 22:06:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "kanuj-boora",
    "github_project": "topsis-17188",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "topsis-kanuj-102017188"
}
        
Elapsed time: 0.03906s