topsis-anshul-102303930 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,97 @@
1
+ Metadata-Version: 2.1
2
+ Name: topsis-anshul-102303930
3
+ Version: 1.0.1
4
+ Summary: A Python package for TOPSIS multi-criteria decision making
5
+ Author: Anshul Kaushal
6
+ Author-email: anshulkaushal27@gmail.com
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Requires-Python: >=3.6
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: pandas
14
+ Requires-Dist: numpy
15
+
16
+ \# Topsis-Anshul-102303930
17
+
18
+
19
+
20
+ \## 📌 Description
21
+
22
+ This package implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method.
23
+
24
+ TOPSIS is a multi-criteria decision-making approach used to rank alternatives based on their distance from
25
+
26
+ an ideal best and an ideal worst solution.
27
+
28
+
29
+
30
+ ---
31
+
32
+
33
+
34
+ \## ⚙️ Installation
35
+
36
+ Install the package using pip:
37
+
38
+
39
+
40
+ ```bash
41
+
42
+ pip install Topsis-Anshul-102303930
43
+
44
+
45
+
46
+ \## Usage
47
+
48
+ \# After installation, the topsis command becomes available in the terminal.
49
+ topsis <input_csv> <weights> <impacts> <output_csv>
50
+
51
+ Parameters
52
+ Parameter Description
53
+ input_csv CSV file containing the dataset
54
+ weights Comma-separated numerical weights
55
+ impacts Comma-separated impacts (+ for benefit, - for cost)
56
+
57
+ Example Commands
58
+
59
+ topsis sample.csv "1,1,1,1" "+,-,+,+"
60
+
61
+
62
+ Weights and impacts can also be provided without quotes:
63
+
64
+ topsis sample.csv 1,1,1,1 +,-,+,+
65
+
66
+
67
+ Example
68
+ Input File (sample.csv)
69
+
70
+ A CSV file showing data for different mobile handsets with varying features:
71
+
72
+ Model,Storage space(in gb),Camera(in MP),Price(in $),Looks(out of 5)
73
+ M1,16,12,250,5
74
+ M2,16,8,200,3
75
+ M3,32,16,300,4
76
+ M4,32,8,275,4
77
+ M5,16,16,225,2
78
+
79
+ Weights Vector
80
+ [0.25, 0.25, 0.25, 0.25]
81
+
82
+ Impacts Vector
83
+ [+, +, -, +]
84
+
85
+ Command
86
+ topsis sample.csv "0.25,0.25,0.25,0.25" "+,+,-,+"
87
+
88
+ Output
89
+ TOPSIS RESULTS
90
+ -----------------------------
91
+
92
+ P-Score Rank
93
+ 1 0.534277 3
94
+ 2 0.308368 5
95
+ 3 0.691632 1
96
+ 4 0.534737 2
97
+ 5 0.401046 4
@@ -0,0 +1,8 @@
1
+ topsis_anshul/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ topsis_anshul/topsis.py,sha256=nxT4WXz7Z2KU17EOpviNfBPE4XdB794wSyT0seMzd_k,2556
3
+ topsis_anshul_102303930-1.0.1.dist-info/LICENSE,sha256=XFA2fzQCLy41yBxlaoLoMFCr_mFFPsUqtx58outGwfo,689
4
+ topsis_anshul_102303930-1.0.1.dist-info/METADATA,sha256=GzFTdBdtFj8Ei7OsRSAtkUhXTFRyA-Vggx_qP3vZjXk,2015
5
+ topsis_anshul_102303930-1.0.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
+ topsis_anshul_102303930-1.0.1.dist-info/entry_points.txt,sha256=fM1Se7TB5H5DyOFpENDatsDEMD1odgCE4QXiT38xW_g,53
7
+ topsis_anshul_102303930-1.0.1.dist-info/top_level.txt,sha256=xnQI0g8RBd7KKV__q4kvGFvD4LUGWRp_EQ3TWz5BV_w,14
8
+ topsis_anshul_102303930-1.0.1.dist-info/RECORD,,
@@ -1,45 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: topsis-anshul-102303930
3
- Version: 1.0.0
4
- Summary: A Python package for TOPSIS multi-criteria decision making
5
- Author: Anshul Kaushal
6
- Author-email: anshulkaushal27@gmail.com
7
- Classifier: Programming Language :: Python :: 3
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
- Requires-Python: >=3.6
11
- Description-Content-Type: text/markdown
12
- License-File: LICENSE
13
- Requires-Dist: pandas
14
- Requires-Dist: numpy
15
-
16
- \# Topsis-Anshul-102303930
17
-
18
-
19
-
20
- \## 📌 Description
21
-
22
- This package implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method.
23
-
24
- TOPSIS is a multi-criteria decision-making approach used to rank alternatives based on their distance from
25
-
26
- an ideal best and an ideal worst solution.
27
-
28
-
29
-
30
- ---
31
-
32
-
33
-
34
- \## ⚙️ Installation
35
-
36
- Install the package using pip:
37
-
38
-
39
-
40
- ```bash
41
-
42
- pip install Topsis-Anshul-102303930
43
-
44
-
45
-
@@ -1,8 +0,0 @@
1
- topsis_anshul/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- topsis_anshul/topsis.py,sha256=nxT4WXz7Z2KU17EOpviNfBPE4XdB794wSyT0seMzd_k,2556
3
- topsis_anshul_102303930-1.0.0.dist-info/LICENSE,sha256=XFA2fzQCLy41yBxlaoLoMFCr_mFFPsUqtx58outGwfo,689
4
- topsis_anshul_102303930-1.0.0.dist-info/METADATA,sha256=isv0Uix1WPRzgMmWhywtwRx1fVy2grhXMtwba39LbbA,947
5
- topsis_anshul_102303930-1.0.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
- topsis_anshul_102303930-1.0.0.dist-info/entry_points.txt,sha256=fM1Se7TB5H5DyOFpENDatsDEMD1odgCE4QXiT38xW_g,53
7
- topsis_anshul_102303930-1.0.0.dist-info/top_level.txt,sha256=xnQI0g8RBd7KKV__q4kvGFvD4LUGWRp_EQ3TWz5BV_w,14
8
- topsis_anshul_102303930-1.0.0.dist-info/RECORD,,