helpertoolxyz 0.1.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.
- helpertoolxyz-0.1.0/PKG-INFO +32 -0
- helpertoolxyz-0.1.0/README.md +18 -0
- helpertoolxyz-0.1.0/helpertoolxyz/__init__.py +5 -0
- helpertoolxyz-0.1.0/helpertoolxyz/core.py +54 -0
- helpertoolxyz-0.1.0/helpertoolxyz.egg-info/PKG-INFO +32 -0
- helpertoolxyz-0.1.0/helpertoolxyz.egg-info/SOURCES.txt +9 -0
- helpertoolxyz-0.1.0/helpertoolxyz.egg-info/dependency_links.txt +1 -0
- helpertoolxyz-0.1.0/helpertoolxyz.egg-info/top_level.txt +1 -0
- helpertoolxyz-0.1.0/pyproject.toml +20 -0
- helpertoolxyz-0.1.0/setup.cfg +4 -0
- helpertoolxyz-0.1.0/setup.py +18 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: helpertoolxyz
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A curated collection.
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Homepage, https://google.com
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Classifier: Intended Audience :: Science/Research
|
|
10
|
+
Classifier: Topic :: Scientific/Engineering
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Dynamic: requires-python
|
|
14
|
+
|
|
15
|
+
# helpertoolxyz
|
|
16
|
+
|
|
17
|
+
A curated collection.
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pip install helpertoolxyz
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```python
|
|
27
|
+
import helpertoolxyz
|
|
28
|
+
|
|
29
|
+
print(helpertoolxyz.get())
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
This prints a help.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""Core module containing the curated import string."""
|
|
2
|
+
|
|
3
|
+
_IMPORTS = """\
|
|
4
|
+
import numpy as np
|
|
5
|
+
import pandas as pd
|
|
6
|
+
|
|
7
|
+
import matplotlib.pyplot as plt
|
|
8
|
+
import seaborn as sns
|
|
9
|
+
|
|
10
|
+
from scipy import stats
|
|
11
|
+
from scipy.stats import norm # Z-test (normal distribution)
|
|
12
|
+
from scipy.stats import t # t-test (t-distribution)
|
|
13
|
+
from scipy.stats import binom # binomial distribution
|
|
14
|
+
from scipy.stats import poisson # poisson distribution
|
|
15
|
+
from scipy.stats import bernoulli # bernoulli distribution
|
|
16
|
+
from scipy.optimize import minimize # optimization
|
|
17
|
+
from scipy.special import factorial # factorial function
|
|
18
|
+
from numpy import maximum # element-wise max
|
|
19
|
+
|
|
20
|
+
from statistics import stdev # sample standard deviation
|
|
21
|
+
|
|
22
|
+
import statsmodels.api as sm
|
|
23
|
+
import statsmodels.formula.api as smf # smf.ols(), smf.logit()
|
|
24
|
+
from statsmodels.formula.api import ols # for ANOVA
|
|
25
|
+
from statsmodels.stats.proportion import proportions_ztest # proportion z-test
|
|
26
|
+
from statsmodels.stats.outliers_influence import variance_inflation_factor # VIF
|
|
27
|
+
from statsmodels.tools.tools import add_constant
|
|
28
|
+
import statsmodels.stats.multicomp as mc # multiple comparison (Tukey)
|
|
29
|
+
from statsmodels.multivariate.manova import MANOVA # MANOVA
|
|
30
|
+
|
|
31
|
+
import sklearn.linear_model as lm
|
|
32
|
+
from sklearn.linear_model import LinearRegression
|
|
33
|
+
from sklearn.linear_model import Ridge, RidgeCV
|
|
34
|
+
from sklearn.linear_model import Lasso, LassoCV
|
|
35
|
+
from sklearn.linear_model import LogisticRegression
|
|
36
|
+
|
|
37
|
+
from sklearn import preprocessing
|
|
38
|
+
from sklearn.preprocessing import scale
|
|
39
|
+
from sklearn.preprocessing import StandardScaler
|
|
40
|
+
from sklearn.preprocessing import LabelEncoder
|
|
41
|
+
from sklearn.preprocessing import OneHotEncoder
|
|
42
|
+
|
|
43
|
+
from sklearn.model_selection import train_test_split
|
|
44
|
+
from sklearn.model_selection import KFold
|
|
45
|
+
from sklearn.model_selection import cross_val_score
|
|
46
|
+
|
|
47
|
+
from sklearn.metrics import mean_squared_error
|
|
48
|
+
from sklearn.metrics import confusion_matrix
|
|
49
|
+
from sklearn.metrics import accuracy_score"""
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def get():
|
|
53
|
+
"""Return a multi-line string of commonly used Python imports."""
|
|
54
|
+
return _IMPORTS
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: helpertoolxyz
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A curated collection.
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Homepage, https://google.com
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Classifier: Intended Audience :: Science/Research
|
|
10
|
+
Classifier: Topic :: Scientific/Engineering
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Dynamic: requires-python
|
|
14
|
+
|
|
15
|
+
# helpertoolxyz
|
|
16
|
+
|
|
17
|
+
A curated collection.
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pip install helpertoolxyz
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```python
|
|
27
|
+
import helpertoolxyz
|
|
28
|
+
|
|
29
|
+
print(helpertoolxyz.get())
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
This prints a help.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
helpertoolxyz
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "helpertoolxyz"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "A curated collection."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
requires-python = ">=3.8"
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Programming Language :: Python :: 3",
|
|
14
|
+
"Operating System :: OS Independent",
|
|
15
|
+
"Intended Audience :: Science/Research",
|
|
16
|
+
"Topic :: Scientific/Engineering",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
[project.urls]
|
|
20
|
+
Homepage = "https://google.com"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="helpertoolxyz",
|
|
5
|
+
version="0.1.0",
|
|
6
|
+
packages=find_packages(),
|
|
7
|
+
description="A curated collection of common Python imports for data science, ML, statistics, and visualization.",
|
|
8
|
+
long_description=open("README.md").read(),
|
|
9
|
+
long_description_content_type="text/markdown",
|
|
10
|
+
python_requires=">=3.8",
|
|
11
|
+
classifiers=[
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"License :: OSI Approved :: MIT License",
|
|
14
|
+
"Operating System :: OS Independent",
|
|
15
|
+
"Intended Audience :: Science/Research",
|
|
16
|
+
"Topic :: Scientific/Engineering",
|
|
17
|
+
],
|
|
18
|
+
)
|