AutoStatLib 0.1.3__tar.gz → 0.1.5__tar.gz
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.
- {autostatlib-0.1.3/src/AutoStatLib.egg-info → autostatlib-0.1.5}/PKG-INFO +13 -9
- {autostatlib-0.1.3 → autostatlib-0.1.5}/README.md +9 -8
- {autostatlib-0.1.3 → autostatlib-0.1.5}/pyproject.toml +3 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/src/AutoStatLib/AutoStatLib.py +10 -4
- {autostatlib-0.1.3 → autostatlib-0.1.5}/src/AutoStatLib/_version.py +1 -1
- {autostatlib-0.1.3 → autostatlib-0.1.5/src/AutoStatLib.egg-info}/PKG-INFO +13 -9
- {autostatlib-0.1.3 → autostatlib-0.1.5}/LICENSE +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/MANIFEST.in +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/requirements.txt +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/setup.cfg +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/src/AutoStatLib/__init__.py +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/src/AutoStatLib/__main__.py +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/src/AutoStatLib.egg-info/SOURCES.txt +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/src/AutoStatLib.egg-info/dependency_links.txt +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/src/AutoStatLib.egg-info/requires.txt +0 -0
- {autostatlib-0.1.3 → autostatlib-0.1.5}/src/AutoStatLib.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: AutoStatLib
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Summary: AutoStatLib - a simple statistical analysis tool
|
|
5
5
|
Author: Stemonitis, SciWare LLC
|
|
6
6
|
Author-email: konung-yaropolk <yaropolk1995@gmail.com>
|
|
@@ -518,28 +518,31 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
518
518
|
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
|
|
519
519
|
Classifier: Operating System :: OS Independent
|
|
520
520
|
Classifier: Development Status :: 2 - Pre-Alpha
|
|
521
|
+
Classifier: Intended Audience :: Developers
|
|
521
522
|
Classifier: Intended Audience :: Science/Research
|
|
522
523
|
Classifier: Natural Language :: English
|
|
523
524
|
Classifier: Topic :: Software Development :: Libraries
|
|
524
525
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
526
|
+
Classifier: Topic :: Scientific/Engineering
|
|
527
|
+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
525
528
|
Requires-Python: >=3.10
|
|
526
529
|
Description-Content-Type: text/markdown
|
|
527
530
|
License-File: LICENSE
|
|
528
531
|
Requires-Dist: numpy
|
|
529
532
|
Requires-Dist: scipy
|
|
530
533
|
|
|
531
|
-
# AutoStatLib -
|
|
534
|
+
# AutoStatLib - python library for automated statistical analysis
|
|
532
535
|
|
|
533
536
|
[](https://pypi.org/project/AutoStatLib)
|
|
534
|
-
[](https://github.com/konung-yaropolk/AutoStatLib)
|
|
535
538
|
[](https://pypi.org/project/AutoStatLib)
|
|
536
539
|
[](https://pypi.org/project/AutoStatLib)
|
|
537
540
|
[](https://pypi.org/project/AutoStatLib)
|
|
538
541
|
|
|
539
542
|
|
|
540
|
-
### To install run the
|
|
543
|
+
### To install run the command:
|
|
541
544
|
```bash
|
|
542
|
-
pip install
|
|
545
|
+
pip install autostatlib
|
|
543
546
|
```
|
|
544
547
|
|
|
545
548
|
|
|
@@ -589,11 +592,11 @@ analysis.RunMannWhitney()
|
|
|
589
592
|
analysis.RunTtestPaired()
|
|
590
593
|
analysis.RunWilcoxon()
|
|
591
594
|
|
|
592
|
-
# 3 and more
|
|
595
|
+
# 3 and more independed groups comparison:
|
|
593
596
|
analysis.RunAnova()
|
|
594
597
|
analysis.RunKruskalWallis()
|
|
595
598
|
|
|
596
|
-
# 3 and more
|
|
599
|
+
# 3 and more depended groups comparison:
|
|
597
600
|
analysis.RunFriedman()
|
|
598
601
|
|
|
599
602
|
# single group tests"
|
|
@@ -602,10 +605,10 @@ analysis.RunWilcoxonSingleSample()
|
|
|
602
605
|
```
|
|
603
606
|
|
|
604
607
|
Test summary will be printed to the console.
|
|
605
|
-
You can also get it as a python string via GetSummary() method.
|
|
608
|
+
You can also get it as a python string via *GetSummary()* method.
|
|
606
609
|
|
|
607
610
|
---
|
|
608
|
-
Test results are accessible as a dictionary via GetResult() method:
|
|
611
|
+
Test results are accessible as a dictionary via *GetResult()* method:
|
|
609
612
|
```python
|
|
610
613
|
results = analysis.GetResult()
|
|
611
614
|
```
|
|
@@ -635,6 +638,7 @@ The results dictionary keys with representing value types:
|
|
|
635
638
|
(taken from the input)
|
|
636
639
|
}
|
|
637
640
|
```
|
|
641
|
+
If errors occured, *GetResult()* returns an empty dictionary
|
|
638
642
|
|
|
639
643
|
|
|
640
644
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# AutoStatLib -
|
|
1
|
+
# AutoStatLib - python library for automated statistical analysis
|
|
2
2
|
|
|
3
3
|
[](https://pypi.org/project/AutoStatLib)
|
|
4
|
-
[](https://github.com/konung-yaropolk/AutoStatLib)
|
|
5
5
|
[](https://pypi.org/project/AutoStatLib)
|
|
6
6
|
[](https://pypi.org/project/AutoStatLib)
|
|
7
7
|
[](https://pypi.org/project/AutoStatLib)
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
### To install run the
|
|
10
|
+
### To install run the command:
|
|
11
11
|
```bash
|
|
12
|
-
pip install
|
|
12
|
+
pip install autostatlib
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
|
|
@@ -59,11 +59,11 @@ analysis.RunMannWhitney()
|
|
|
59
59
|
analysis.RunTtestPaired()
|
|
60
60
|
analysis.RunWilcoxon()
|
|
61
61
|
|
|
62
|
-
# 3 and more
|
|
62
|
+
# 3 and more independed groups comparison:
|
|
63
63
|
analysis.RunAnova()
|
|
64
64
|
analysis.RunKruskalWallis()
|
|
65
65
|
|
|
66
|
-
# 3 and more
|
|
66
|
+
# 3 and more depended groups comparison:
|
|
67
67
|
analysis.RunFriedman()
|
|
68
68
|
|
|
69
69
|
# single group tests"
|
|
@@ -72,10 +72,10 @@ analysis.RunWilcoxonSingleSample()
|
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
Test summary will be printed to the console.
|
|
75
|
-
You can also get it as a python string via GetSummary() method.
|
|
75
|
+
You can also get it as a python string via *GetSummary()* method.
|
|
76
76
|
|
|
77
77
|
---
|
|
78
|
-
Test results are accessible as a dictionary via GetResult() method:
|
|
78
|
+
Test results are accessible as a dictionary via *GetResult()* method:
|
|
79
79
|
```python
|
|
80
80
|
results = analysis.GetResult()
|
|
81
81
|
```
|
|
@@ -105,6 +105,7 @@ The results dictionary keys with representing value types:
|
|
|
105
105
|
(taken from the input)
|
|
106
106
|
}
|
|
107
107
|
```
|
|
108
|
+
If errors occured, *GetResult()* returns an empty dictionary
|
|
108
109
|
|
|
109
110
|
|
|
110
111
|
|
|
@@ -22,10 +22,13 @@ classifiers = [
|
|
|
22
22
|
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
|
|
23
23
|
"Operating System :: OS Independent",
|
|
24
24
|
"Development Status :: 2 - Pre-Alpha",
|
|
25
|
+
"Intended Audience :: Developers",
|
|
25
26
|
"Intended Audience :: Science/Research",
|
|
26
27
|
"Natural Language :: English",
|
|
27
28
|
"Topic :: Software Development :: Libraries",
|
|
28
29
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
30
|
+
"Topic :: Scientific/Engineering",
|
|
31
|
+
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
29
32
|
]
|
|
30
33
|
|
|
31
34
|
[project.urls]
|
|
@@ -323,6 +323,7 @@ class StatisticalAnalysis(__StatisticalTests, __NormalityTests, __TextFormatting
|
|
|
323
323
|
popmean=None,
|
|
324
324
|
verbose=True):
|
|
325
325
|
self.results = None
|
|
326
|
+
self.error = False
|
|
326
327
|
self.groups_list = groups_list
|
|
327
328
|
self.paired = paired
|
|
328
329
|
self.tails = tails
|
|
@@ -357,6 +358,7 @@ class StatisticalAnalysis(__StatisticalTests, __NormalityTests, __TextFormatting
|
|
|
357
358
|
|
|
358
359
|
# reset values from previous tests
|
|
359
360
|
self.results = None
|
|
361
|
+
self.error = False
|
|
360
362
|
self.warnings = []
|
|
361
363
|
self.normals = []
|
|
362
364
|
self.methods = []
|
|
@@ -408,6 +410,7 @@ class StatisticalAnalysis(__StatisticalTests, __NormalityTests, __TextFormatting
|
|
|
408
410
|
self.log('\nTest :', test)
|
|
409
411
|
self.log('Error :', error)
|
|
410
412
|
self.log('-'*67 + '\n')
|
|
413
|
+
self.error = True
|
|
411
414
|
print(self.summary)
|
|
412
415
|
return
|
|
413
416
|
|
|
@@ -533,17 +536,20 @@ class StatisticalAnalysis(__StatisticalTests, __NormalityTests, __TextFormatting
|
|
|
533
536
|
self.__run_test(test='wilcoxon')
|
|
534
537
|
|
|
535
538
|
def GetResult(self):
|
|
536
|
-
if self.results:
|
|
539
|
+
if not self.results and not self.error:
|
|
540
|
+
self.__run_test(test='auto')
|
|
537
541
|
return self.results
|
|
542
|
+
if not self.results and self.error:
|
|
543
|
+
print('Error occured, no results to output')
|
|
544
|
+
return {}
|
|
538
545
|
else:
|
|
539
|
-
self.__run_test(test='auto')
|
|
540
546
|
return self.results
|
|
541
547
|
|
|
542
548
|
def GetSummary(self):
|
|
543
|
-
if self.results:
|
|
549
|
+
if not self.results and not self.error:
|
|
550
|
+
self.__run_test(test='auto')
|
|
544
551
|
return self.summary
|
|
545
552
|
else:
|
|
546
|
-
self.__run_test(test='auto')
|
|
547
553
|
return self.summary
|
|
548
554
|
|
|
549
555
|
def PrintSummary(self):
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# AutoStatLib package version:
|
|
2
|
-
__version__ = "0.1.
|
|
2
|
+
__version__ = "0.1.5"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: AutoStatLib
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Summary: AutoStatLib - a simple statistical analysis tool
|
|
5
5
|
Author: Stemonitis, SciWare LLC
|
|
6
6
|
Author-email: konung-yaropolk <yaropolk1995@gmail.com>
|
|
@@ -518,28 +518,31 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
518
518
|
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
|
|
519
519
|
Classifier: Operating System :: OS Independent
|
|
520
520
|
Classifier: Development Status :: 2 - Pre-Alpha
|
|
521
|
+
Classifier: Intended Audience :: Developers
|
|
521
522
|
Classifier: Intended Audience :: Science/Research
|
|
522
523
|
Classifier: Natural Language :: English
|
|
523
524
|
Classifier: Topic :: Software Development :: Libraries
|
|
524
525
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
526
|
+
Classifier: Topic :: Scientific/Engineering
|
|
527
|
+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
525
528
|
Requires-Python: >=3.10
|
|
526
529
|
Description-Content-Type: text/markdown
|
|
527
530
|
License-File: LICENSE
|
|
528
531
|
Requires-Dist: numpy
|
|
529
532
|
Requires-Dist: scipy
|
|
530
533
|
|
|
531
|
-
# AutoStatLib -
|
|
534
|
+
# AutoStatLib - python library for automated statistical analysis
|
|
532
535
|
|
|
533
536
|
[](https://pypi.org/project/AutoStatLib)
|
|
534
|
-
[](https://github.com/konung-yaropolk/AutoStatLib)
|
|
535
538
|
[](https://pypi.org/project/AutoStatLib)
|
|
536
539
|
[](https://pypi.org/project/AutoStatLib)
|
|
537
540
|
[](https://pypi.org/project/AutoStatLib)
|
|
538
541
|
|
|
539
542
|
|
|
540
|
-
### To install run the
|
|
543
|
+
### To install run the command:
|
|
541
544
|
```bash
|
|
542
|
-
pip install
|
|
545
|
+
pip install autostatlib
|
|
543
546
|
```
|
|
544
547
|
|
|
545
548
|
|
|
@@ -589,11 +592,11 @@ analysis.RunMannWhitney()
|
|
|
589
592
|
analysis.RunTtestPaired()
|
|
590
593
|
analysis.RunWilcoxon()
|
|
591
594
|
|
|
592
|
-
# 3 and more
|
|
595
|
+
# 3 and more independed groups comparison:
|
|
593
596
|
analysis.RunAnova()
|
|
594
597
|
analysis.RunKruskalWallis()
|
|
595
598
|
|
|
596
|
-
# 3 and more
|
|
599
|
+
# 3 and more depended groups comparison:
|
|
597
600
|
analysis.RunFriedman()
|
|
598
601
|
|
|
599
602
|
# single group tests"
|
|
@@ -602,10 +605,10 @@ analysis.RunWilcoxonSingleSample()
|
|
|
602
605
|
```
|
|
603
606
|
|
|
604
607
|
Test summary will be printed to the console.
|
|
605
|
-
You can also get it as a python string via GetSummary() method.
|
|
608
|
+
You can also get it as a python string via *GetSummary()* method.
|
|
606
609
|
|
|
607
610
|
---
|
|
608
|
-
Test results are accessible as a dictionary via GetResult() method:
|
|
611
|
+
Test results are accessible as a dictionary via *GetResult()* method:
|
|
609
612
|
```python
|
|
610
613
|
results = analysis.GetResult()
|
|
611
614
|
```
|
|
@@ -635,6 +638,7 @@ The results dictionary keys with representing value types:
|
|
|
635
638
|
(taken from the input)
|
|
636
639
|
}
|
|
637
640
|
```
|
|
641
|
+
If errors occured, *GetResult()* returns an empty dictionary
|
|
638
642
|
|
|
639
643
|
|
|
640
644
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|