scalableHypothesisTestings 1.0.0__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.
Potentially problematic release.
This version of scalableHypothesisTestings might be problematic. Click here for more details.
- scalablehypothesistestings-1.0.0/LICENSE +21 -0
- scalablehypothesistestings-1.0.0/PKG-INFO +32 -0
- scalablehypothesistestings-1.0.0/README.md +16 -0
- scalablehypothesistestings-1.0.0/pyproject.toml +29 -0
- scalablehypothesistestings-1.0.0/setup.cfg +4 -0
- scalablehypothesistestings-1.0.0/src/scalableHypothesisTestings/__init__.py +0 -0
- scalablehypothesistestings-1.0.0/src/scalableHypothesisTestings/perform_hypothesisTesting.py +29 -0
- scalablehypothesistestings-1.0.0/src/scalableHypothesisTestings.egg-info/PKG-INFO +32 -0
- scalablehypothesistestings-1.0.0/src/scalableHypothesisTestings.egg-info/SOURCES.txt +10 -0
- scalablehypothesistestings-1.0.0/src/scalableHypothesisTestings.egg-info/dependency_links.txt +1 -0
- scalablehypothesistestings-1.0.0/src/scalableHypothesisTestings.egg-info/requires.txt +2 -0
- scalablehypothesistestings-1.0.0/src/scalableHypothesisTestings.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Prakhar Gandhi
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: scalableHypothesisTestings
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: My Python package related to scaling and doing hypothesis testings
|
|
5
|
+
Author-email: Prakhar Gandhi <gprakhar0@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.9
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: mpire
|
|
14
|
+
Requires-Dist: medstat
|
|
15
|
+
Dynamic: license-file
|
|
16
|
+
|
|
17
|
+
# scalableImageTransformations
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
Python package related to scaling image transformations
|
|
21
|
+
|
|
22
|
+
```python
|
|
23
|
+
import scalableImageTransformations
|
|
24
|
+
from scalableImageTransformations import perform_hypothesisTesting
|
|
25
|
+
from pprint import pprint
|
|
26
|
+
|
|
27
|
+
if __name__=="__main__":
|
|
28
|
+
csv_file_path = r"C:\Users\gprak\anaconda3\envs\py310\Lib\site-packages\pymatgen\analysis\hhi_data.csv"
|
|
29
|
+
progress_bar = True
|
|
30
|
+
rv = perform_hypothesisTesting.get_hypothesis_tests_from_csv_file(csv_file_path,progress_bar)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# scalableImageTransformations
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Python package related to scaling image transformations
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
import scalableImageTransformations
|
|
8
|
+
from scalableImageTransformations import perform_hypothesisTesting
|
|
9
|
+
from pprint import pprint
|
|
10
|
+
|
|
11
|
+
if __name__=="__main__":
|
|
12
|
+
csv_file_path = r"C:\Users\gprak\anaconda3\envs\py310\Lib\site-packages\pymatgen\analysis\hhi_data.csv"
|
|
13
|
+
progress_bar = True
|
|
14
|
+
rv = perform_hypothesisTesting.get_hypothesis_tests_from_csv_file(csv_file_path,progress_bar)
|
|
15
|
+
```
|
|
16
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "scalableHypothesisTestings"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "My Python package related to scaling and doing hypothesis testings"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "MIT"}
|
|
11
|
+
authors = [
|
|
12
|
+
{name = "Prakhar Gandhi", email = "gprakhar0@gmail.com"}
|
|
13
|
+
]
|
|
14
|
+
requires-python = ">=3.9"
|
|
15
|
+
|
|
16
|
+
dependencies = [
|
|
17
|
+
"mpire",
|
|
18
|
+
"medstat"
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
classifiers = [
|
|
23
|
+
"Programming Language :: Python :: 3",
|
|
24
|
+
"License :: OSI Approved :: MIT License",
|
|
25
|
+
"Operating System :: OS Independent",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
[tool.setuptools.packages.find]
|
|
29
|
+
where = ["src"]
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import medstat
|
|
2
|
+
import pandas as pd
|
|
3
|
+
from pprint import pprint
|
|
4
|
+
import multiprocessing
|
|
5
|
+
from mpire import WorkerPool
|
|
6
|
+
from pprint import pprint
|
|
7
|
+
|
|
8
|
+
def get_hypothesis_test_from_csv_file(df,name,list_of_columns):
|
|
9
|
+
result = []
|
|
10
|
+
for name2 in list_of_columns:
|
|
11
|
+
var = medstat.test_hypothesis(df,name,name2)
|
|
12
|
+
result.append(var)
|
|
13
|
+
return {"name":name,"list_of_columns":list_of_columns,"result":result}
|
|
14
|
+
|
|
15
|
+
def get_hypothesis_tests_from_csv_file(csv_file_path,progress_bar):
|
|
16
|
+
df = pd.read_csv(csv_file_path)
|
|
17
|
+
list_of_columns = list(df.columns)
|
|
18
|
+
results = []
|
|
19
|
+
for name in list_of_columns:
|
|
20
|
+
my_dict = {
|
|
21
|
+
"df":df,
|
|
22
|
+
"name":name,
|
|
23
|
+
"list_of_columns":list_of_columns
|
|
24
|
+
}
|
|
25
|
+
results.append(my_dict)
|
|
26
|
+
num_cores = max(multiprocessing.cpu_count()//2,1)
|
|
27
|
+
with WorkerPool(n_jobs=num_cores,daemon=False) as pool:
|
|
28
|
+
results = pool.map(get_hypothesis_test_from_csv_file, results, progress_bar = progress_bar)
|
|
29
|
+
return results
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: scalableHypothesisTestings
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: My Python package related to scaling and doing hypothesis testings
|
|
5
|
+
Author-email: Prakhar Gandhi <gprakhar0@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.9
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: mpire
|
|
14
|
+
Requires-Dist: medstat
|
|
15
|
+
Dynamic: license-file
|
|
16
|
+
|
|
17
|
+
# scalableImageTransformations
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
Python package related to scaling image transformations
|
|
21
|
+
|
|
22
|
+
```python
|
|
23
|
+
import scalableImageTransformations
|
|
24
|
+
from scalableImageTransformations import perform_hypothesisTesting
|
|
25
|
+
from pprint import pprint
|
|
26
|
+
|
|
27
|
+
if __name__=="__main__":
|
|
28
|
+
csv_file_path = r"C:\Users\gprak\anaconda3\envs\py310\Lib\site-packages\pymatgen\analysis\hhi_data.csv"
|
|
29
|
+
progress_bar = True
|
|
30
|
+
rv = perform_hypothesisTesting.get_hypothesis_tests_from_csv_file(csv_file_path,progress_bar)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
src/scalableHypothesisTestings/__init__.py
|
|
5
|
+
src/scalableHypothesisTestings/perform_hypothesisTesting.py
|
|
6
|
+
src/scalableHypothesisTestings.egg-info/PKG-INFO
|
|
7
|
+
src/scalableHypothesisTestings.egg-info/SOURCES.txt
|
|
8
|
+
src/scalableHypothesisTestings.egg-info/dependency_links.txt
|
|
9
|
+
src/scalableHypothesisTestings.egg-info/requires.txt
|
|
10
|
+
src/scalableHypothesisTestings.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
scalableHypothesisTestings
|