# Topsis
TOPSIS is based on the fundamental premise that the best solution has the shortest distance from the positive-ideal solution, and the longest distance from the negative-ideal one. Alternatives are ranked with the use of an overall index calculated based on the distances from the ideal solutions.
It takes 4 arguments :
1.Data.csv file
2.Weights
3.Impacts
4.Result file
Returns file with Topsis Score and Rank
## How to use it?
Open terminal and type pip install Topsis-shreya-102203070
To get started quickly, just use the following:
from topis_pckg.topsis import topsis
topsis('inputfilename','Weights','Impacts','Outputfilename')
make ensure the weights and impacts should be in ""
eg: "1,1,1,1,1" and "+,-,+,-,+"
Raw data
{
"_id": null,
"home_page": null,
"name": "Topsis-shreya-102203070",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, video, stream, video stream, camera stream, sockets",
"author": "shreya",
"author_email": "ssingh5_be22@thapar.edu",
"download_url": "https://files.pythonhosted.org/packages/e3/e7/4c75cdcc5633ae576533a67bd0753a789ddaa6c11d624450b3925df443be/topsis_shreya_102203070-0.0.1.tar.gz",
"platform": null,
"description": "# Topsis\r\n\r\nTOPSIS is based on the fundamental premise that the best solution has the shortest distance from the positive-ideal solution, and the longest distance from the negative-ideal one. Alternatives are ranked with the use of an overall index calculated based on the distances from the ideal solutions.\r\n\r\nIt takes 4 arguments :\r\n1.Data.csv file\r\n2.Weights\r\n3.Impacts\r\n4.Result file\r\n\r\nReturns file with Topsis Score and Rank\r\n\r\n## How to use it?\r\n\r\nOpen terminal and type pip install Topsis-shreya-102203070\r\n\r\nTo get started quickly, just use the following:\r\n\r\nfrom topis_pckg.topsis import topsis\r\ntopsis('inputfilename','Weights','Impacts','Outputfilename')\r\nmake ensure the weights and impacts should be in \"\"\r\n\r\neg: \"1,1,1,1,1\" and \"+,-,+,-,+\"\r\n",
"bugtrack_url": null,
"license": null,
"summary": "topsis package for decision making",
"version": "0.0.1",
"project_urls": null,
"split_keywords": [
"python",
" video",
" stream",
" video stream",
" camera stream",
" sockets"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f09b2564e5f1f94652fc43b1391b4552c00797b6f2bf2c9651b4bbdc4099e178",
"md5": "2be6eae02fbf95090caadf093074e8cc",
"sha256": "1eb078240820a0c832742c84283f78b2dffac4612688284bb1fed3a32f693655"
},
"downloads": -1,
"filename": "Topsis_shreya_102203070-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2be6eae02fbf95090caadf093074e8cc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3053,
"upload_time": "2025-01-25T14:26:53",
"upload_time_iso_8601": "2025-01-25T14:26:53.524223Z",
"url": "https://files.pythonhosted.org/packages/f0/9b/2564e5f1f94652fc43b1391b4552c00797b6f2bf2c9651b4bbdc4099e178/Topsis_shreya_102203070-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e3e74c75cdcc5633ae576533a67bd0753a789ddaa6c11d624450b3925df443be",
"md5": "f012a8d1d7735314ce07c137cf6fb82c",
"sha256": "55688e73bd4d93e48e323de0b8445600f8a3b4d26bf9187a283887e446e93926"
},
"downloads": -1,
"filename": "topsis_shreya_102203070-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f012a8d1d7735314ce07c137cf6fb82c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2883,
"upload_time": "2025-01-25T14:26:55",
"upload_time_iso_8601": "2025-01-25T14:26:55.702122Z",
"url": "https://files.pythonhosted.org/packages/e3/e7/4c75cdcc5633ae576533a67bd0753a789ddaa6c11d624450b3925df443be/topsis_shreya_102203070-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-25 14:26:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "topsis-shreya-102203070"
}