snapvizjhp 0.1.1__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jin Ha Park
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,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: snapvizjhp
3
+ Version: 0.1.1
4
+ Summary: Tiny EDA + visualization helper for pandas
5
+ License: MIT
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: pandas>=1.5
10
+ Requires-Dist: matplotlib>=3.5
11
+ Requires-Dist: scipy>=1.9
12
+ Dynamic: license-file
13
+
14
+ # snapvizjhp
15
+
16
+ Tiny EDA + visualization helper for pandas.
17
+
18
+ ## Install
19
+
20
+ ```
21
+ pip install snapvizjhp
22
+ ```
23
+
24
+ ## Use
25
+
26
+ ```python
27
+ import pandas as pd
28
+ import snapvizjhp as sv
29
+
30
+ df = pd.read_csv("data.csv")
31
+
32
+ sv.summarize(df)
33
+ sv.missing(df)
34
+ sv.numeric_columns(df)
35
+
36
+ sv.plot_density(df, "age")
37
+ sv.plot_trend(df, "sales")
38
+ ```
39
+
40
+ ## Functions
41
+
42
+ - `summarize(df)` — row count, column count, column names
43
+ - `missing(df)` — null counts per column, sorted descending
44
+ - `numeric_columns(df)` — list of numeric column names
45
+ - `plot_density(df, column)` — KDE density curve for a numeric column
46
+ - `plot_trend(df, column)` — line plot of a column in row order
@@ -0,0 +1,33 @@
1
+ # snapvizjhp
2
+
3
+ Tiny EDA + visualization helper for pandas.
4
+
5
+ ## Install
6
+
7
+ ```
8
+ pip install snapvizjhp
9
+ ```
10
+
11
+ ## Use
12
+
13
+ ```python
14
+ import pandas as pd
15
+ import snapvizjhp as sv
16
+
17
+ df = pd.read_csv("data.csv")
18
+
19
+ sv.summarize(df)
20
+ sv.missing(df)
21
+ sv.numeric_columns(df)
22
+
23
+ sv.plot_density(df, "age")
24
+ sv.plot_trend(df, "sales")
25
+ ```
26
+
27
+ ## Functions
28
+
29
+ - `summarize(df)` — row count, column count, column names
30
+ - `missing(df)` — null counts per column, sorted descending
31
+ - `numeric_columns(df)` — list of numeric column names
32
+ - `plot_density(df, column)` — KDE density curve for a numeric column
33
+ - `plot_trend(df, column)` — line plot of a column in row order
@@ -0,0 +1,19 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "snapvizjhp"
7
+ version = "0.1.1"
8
+ description = "Tiny EDA + visualization helper for pandas"
9
+ readme = "README.md"
10
+ license = { text = "MIT" }
11
+ requires-python = ">=3.9"
12
+ dependencies = [
13
+ "pandas>=1.5",
14
+ "matplotlib>=3.5",
15
+ "scipy>=1.9",
16
+ ]
17
+
18
+ [tool.setuptools.packages.find]
19
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ from .core import summarize, missing, numeric_columns, plot_density, plot_trend
2
+
3
+ __all__ = ["summarize", "missing", "numeric_columns", "plot_density", "plot_trend"]
@@ -0,0 +1,34 @@
1
+ import matplotlib.pyplot as plt
2
+
3
+
4
+ def summarize(df):
5
+ return {
6
+ "rows": len(df),
7
+ "columns": len(df.columns),
8
+ "names": list(df.columns),
9
+ }
10
+
11
+
12
+ def missing(df):
13
+ counts = df.isna().sum()
14
+ return counts.sort_values(ascending=False)
15
+
16
+
17
+ def numeric_columns(df):
18
+ sel = df.select_dtypes(include="number")
19
+ return list(sel.columns)
20
+
21
+
22
+ def plot_density(df, column):
23
+ _, ax = plt.subplots()
24
+ df[column].plot.kde(ax=ax, title=f"Density of {column}")
25
+ ax.set_xlabel(column)
26
+ return ax
27
+
28
+
29
+ def plot_trend(df, column):
30
+ _, ax = plt.subplots()
31
+ df[column].plot(ax=ax, title=f"Trend of {column}")
32
+ ax.set_xlabel("row order")
33
+ ax.set_ylabel(column)
34
+ return ax
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: snapvizjhp
3
+ Version: 0.1.1
4
+ Summary: Tiny EDA + visualization helper for pandas
5
+ License: MIT
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: pandas>=1.5
10
+ Requires-Dist: matplotlib>=3.5
11
+ Requires-Dist: scipy>=1.9
12
+ Dynamic: license-file
13
+
14
+ # snapvizjhp
15
+
16
+ Tiny EDA + visualization helper for pandas.
17
+
18
+ ## Install
19
+
20
+ ```
21
+ pip install snapvizjhp
22
+ ```
23
+
24
+ ## Use
25
+
26
+ ```python
27
+ import pandas as pd
28
+ import snapvizjhp as sv
29
+
30
+ df = pd.read_csv("data.csv")
31
+
32
+ sv.summarize(df)
33
+ sv.missing(df)
34
+ sv.numeric_columns(df)
35
+
36
+ sv.plot_density(df, "age")
37
+ sv.plot_trend(df, "sales")
38
+ ```
39
+
40
+ ## Functions
41
+
42
+ - `summarize(df)` — row count, column count, column names
43
+ - `missing(df)` — null counts per column, sorted descending
44
+ - `numeric_columns(df)` — list of numeric column names
45
+ - `plot_density(df, column)` — KDE density curve for a numeric column
46
+ - `plot_trend(df, column)` — line plot of a column in row order
@@ -0,0 +1,10 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/snapvizjhp/__init__.py
5
+ src/snapvizjhp/core.py
6
+ src/snapvizjhp.egg-info/PKG-INFO
7
+ src/snapvizjhp.egg-info/SOURCES.txt
8
+ src/snapvizjhp.egg-info/dependency_links.txt
9
+ src/snapvizjhp.egg-info/requires.txt
10
+ src/snapvizjhp.egg-info/top_level.txt
@@ -0,0 +1,3 @@
1
+ pandas>=1.5
2
+ matplotlib>=3.5
3
+ scipy>=1.9
@@ -0,0 +1 @@
1
+ snapvizjhp