pandas-plots 0.0.1__tar.gz → 0.0.3__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,7 @@
1
+ Copyright 2024 smeisegeier
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,75 @@
1
+ Metadata-Version: 2.1
2
+ Name: pandas-plots
3
+ Version: 0.0.3
4
+ Summary: A collection of helper for pandas n plots
5
+ Author-email: smeisegeier <dsexterDSDo@googlemail.com>
6
+ License: Copyright 2024 smeisegeier
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
+
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
+
14
+ Project-URL: Homepage, https://github.com/smeisegeier/pandas-plots
15
+ Keywords: tables,pivot,plotly
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Requires-Python: >=3.10
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: pandas>=2.0.0
22
+ Requires-Dist: plotly
23
+ Requires-Dist: matplotlib
24
+ Requires-Dist: seaborn
25
+
26
+ # pandas-plots
27
+
28
+ <!-- [![GitHub release](https://img.shields.io/github/release/Naereen/StrapDown.js.svg)](https://GitHub.com/Naereen/StrapDown.js/releases/) -->
29
+ <!-- [![GitHub latest commit](https://badgen.net/github/last-commit/Naereen/Strapdown.js)](https://GitHub.com/Naereen/StrapDown.js/commit/) -->
30
+
31
+ ![py3.10](https://img.shields.io/badge/python-3.10-blue.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0icHlZZWxsb3ciIGdyYWRpZW50VHJhbnNmb3JtPSJyb3RhdGUoNDUpIj4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI2ZlNSIgb2Zmc2V0PSIwLjYiLz4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI2RhMSIgb2Zmc2V0PSIxIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJweUJsdWUiIGdyYWRpZW50VHJhbnNmb3JtPSJyb3RhdGUoNDUpIj4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzY5ZiIgb2Zmc2V0PSIwLjQiLz4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzQ2OCIgb2Zmc2V0PSIxIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KCiAgPHBhdGggZD0iTTI3LDE2YzAtNyw5LTEzLDI0LTEzYzE1LDAsMjMsNiwyMywxM2wwLDIyYzAsNy01LDEyLTExLDEybC0yNCwwYy04LDAtMTQsNi0xNCwxNWwwLDEwbC05LDBjLTgsMC0xMy05LTEzLTI0YzAtMTQsNS0yMywxMy0yM2wzNSwwbDAtM2wtMjQsMGwwLTlsMCwweiBNODgsNTB2MSIgZmlsbD0idXJsKCNweUJsdWUpIi8+CiAgPHBhdGggZD0iTTc0LDg3YzAsNy04LDEzLTIzLDEzYy0xNSwwLTI0LTYtMjQtMTNsMC0yMmMwLTcsNi0xMiwxMi0xMmwyNCwwYzgsMCwxNC03LDE0LTE1bDAtMTBsOSwwYzcsMCwxMyw5LDEzLDIzYzAsMTUtNiwyNC0xMywyNGwtMzUsMGwwLDNsMjMsMGwwLDlsMCwweiBNMTQwLDUwdjEiIGZpbGw9InVybCgjcHlZZWxsb3cpIi8+CgogIDxjaXJjbGUgcj0iNCIgY3g9IjY0IiBjeT0iODgiIGZpbGw9IiNGRkYiLz4KICA8Y2lyY2xlIHI9IjQiIGN4PSIzNyIgY3k9IjE1IiBmaWxsPSIjRkZGIi8+Cjwvc3ZnPgo=)
32
+
33
+ ## quickstart
34
+
35
+ install / update package
36
+
37
+ ```bash
38
+ pip install pandas-plots -U
39
+ ```
40
+
41
+ include in python
42
+
43
+ ```python
44
+ from pandas_plots import tbl, viz
45
+ ```
46
+
47
+ example
48
+
49
+ ```python
50
+ # load sample dataset from seaborn
51
+ import seaborn as sb
52
+ df = sb.load_dataset('taxis')
53
+
54
+ viz.plot_box(df['fare'], height=400, violin=True)
55
+ ```
56
+ ![plot_box](img/2024-02-13-00-40-27.png)
57
+
58
+ ## why use pandas-plots
59
+
60
+ `pandas-plots` is a package to help you examine and visualize data that are organized in a pandas DataFrame. It provides a high level api to pandas / plotly with some selected functions.
61
+
62
+ It is subdivided into:
63
+
64
+ - `tbl` utilities for table descriptions
65
+ - `describe_df()` an alternative version of pandas `describe()` function
66
+ - `pivot_df()` gets a pivot table of a 3 column dataframe
67
+
68
+ - `viz` utilities for plotly visualizations
69
+ - `plot_box()` auto annotated boxplot w/ violin option
70
+ - `plot_boxes()` multiple boxplots _(annotation is experimental)_
71
+ - `plots_bars()` a standardized bar plot
72
+ - `plot_stacked_bars()` shortcut to stacked bars 😄
73
+ - `plot_quadrants()` quickly show a 2x2 heatmap
74
+
75
+ ## dependencies
@@ -0,0 +1,50 @@
1
+ # pandas-plots
2
+
3
+ <!-- [![GitHub release](https://img.shields.io/github/release/Naereen/StrapDown.js.svg)](https://GitHub.com/Naereen/StrapDown.js/releases/) -->
4
+ <!-- [![GitHub latest commit](https://badgen.net/github/last-commit/Naereen/Strapdown.js)](https://GitHub.com/Naereen/StrapDown.js/commit/) -->
5
+
6
+ ![py3.10](https://img.shields.io/badge/python-3.10-blue.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0icHlZZWxsb3ciIGdyYWRpZW50VHJhbnNmb3JtPSJyb3RhdGUoNDUpIj4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI2ZlNSIgb2Zmc2V0PSIwLjYiLz4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI2RhMSIgb2Zmc2V0PSIxIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJweUJsdWUiIGdyYWRpZW50VHJhbnNmb3JtPSJyb3RhdGUoNDUpIj4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzY5ZiIgb2Zmc2V0PSIwLjQiLz4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzQ2OCIgb2Zmc2V0PSIxIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KCiAgPHBhdGggZD0iTTI3LDE2YzAtNyw5LTEzLDI0LTEzYzE1LDAsMjMsNiwyMywxM2wwLDIyYzAsNy01LDEyLTExLDEybC0yNCwwYy04LDAtMTQsNi0xNCwxNWwwLDEwbC05LDBjLTgsMC0xMy05LTEzLTI0YzAtMTQsNS0yMywxMy0yM2wzNSwwbDAtM2wtMjQsMGwwLTlsMCwweiBNODgsNTB2MSIgZmlsbD0idXJsKCNweUJsdWUpIi8+CiAgPHBhdGggZD0iTTc0LDg3YzAsNy04LDEzLTIzLDEzYy0xNSwwLTI0LTYtMjQtMTNsMC0yMmMwLTcsNi0xMiwxMi0xMmwyNCwwYzgsMCwxNC03LDE0LTE1bDAtMTBsOSwwYzcsMCwxMyw5LDEzLDIzYzAsMTUtNiwyNC0xMywyNGwtMzUsMGwwLDNsMjMsMGwwLDlsMCwweiBNMTQwLDUwdjEiIGZpbGw9InVybCgjcHlZZWxsb3cpIi8+CgogIDxjaXJjbGUgcj0iNCIgY3g9IjY0IiBjeT0iODgiIGZpbGw9IiNGRkYiLz4KICA8Y2lyY2xlIHI9IjQiIGN4PSIzNyIgY3k9IjE1IiBmaWxsPSIjRkZGIi8+Cjwvc3ZnPgo=)
7
+
8
+ ## quickstart
9
+
10
+ install / update package
11
+
12
+ ```bash
13
+ pip install pandas-plots -U
14
+ ```
15
+
16
+ include in python
17
+
18
+ ```python
19
+ from pandas_plots import tbl, viz
20
+ ```
21
+
22
+ example
23
+
24
+ ```python
25
+ # load sample dataset from seaborn
26
+ import seaborn as sb
27
+ df = sb.load_dataset('taxis')
28
+
29
+ viz.plot_box(df['fare'], height=400, violin=True)
30
+ ```
31
+ ![plot_box](img/2024-02-13-00-40-27.png)
32
+
33
+ ## why use pandas-plots
34
+
35
+ `pandas-plots` is a package to help you examine and visualize data that are organized in a pandas DataFrame. It provides a high level api to pandas / plotly with some selected functions.
36
+
37
+ It is subdivided into:
38
+
39
+ - `tbl` utilities for table descriptions
40
+ - `describe_df()` an alternative version of pandas `describe()` function
41
+ - `pivot_df()` gets a pivot table of a 3 column dataframe
42
+
43
+ - `viz` utilities for plotly visualizations
44
+ - `plot_box()` auto annotated boxplot w/ violin option
45
+ - `plot_boxes()` multiple boxplots _(annotation is experimental)_
46
+ - `plots_bars()` a standardized bar plot
47
+ - `plot_stacked_bars()` shortcut to stacked bars 😄
48
+ - `plot_quadrants()` quickly show a 2x2 heatmap
49
+
50
+ ## dependencies
@@ -4,29 +4,29 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pandas-plots"
7
- version = "0.0.1"
7
+ version = "0.0.3"
8
8
  requires-python = ">=3.10"
9
9
  description = "A collection of helper for pandas n plots"
10
10
  readme = "README.md"
11
11
  authors = [{ name = "smeisegeier", email = "dsexterDSDo@googlemail.com" }]
12
12
  license = { file = "LICENSE" }
13
- # classifiers = [
14
- # "License :: OSI Approved :: MIT License",
15
- # "Programming Language :: Python",
16
- # "Programming Language :: Python :: 3",
17
- # ]
18
- # keywords = ["feed", "reader", "tutorial"]
19
- # dependencies = [
20
- # "feedparser >= 5.2.0",
21
- # "html2text",
22
- # 'tomli; python_version < "3.11"',
23
- # ]
13
+ classifiers = [
14
+ "License :: OSI Approved :: MIT License",
15
+ "Programming Language :: Python :: 3",
16
+ ]
17
+ keywords = ["tables", "pivot", "plotly"]
18
+ dependencies = [
19
+ "pandas >= 2.0.0",
20
+ "plotly",
21
+ "matplotlib",
22
+ "seaborn",
23
+ ]
24
24
 
25
- [project.optional-dependencies]
25
+ # [project.optional-dependencies]
26
26
  # dev = ["black", "bumpver", "isort", "pip-tools", "pytest"]
27
27
 
28
28
  [project.urls]
29
29
  Homepage = "https://github.com/smeisegeier/pandas-plots"
30
30
 
31
- [project.scripts]
31
+ # [project.scripts]
32
32
  # realpython = "reader.__main__:main"
@@ -0,0 +1,75 @@
1
+ Metadata-Version: 2.1
2
+ Name: pandas-plots
3
+ Version: 0.0.3
4
+ Summary: A collection of helper for pandas n plots
5
+ Author-email: smeisegeier <dsexterDSDo@googlemail.com>
6
+ License: Copyright 2024 smeisegeier
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
+
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
+
14
+ Project-URL: Homepage, https://github.com/smeisegeier/pandas-plots
15
+ Keywords: tables,pivot,plotly
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Requires-Python: >=3.10
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: pandas>=2.0.0
22
+ Requires-Dist: plotly
23
+ Requires-Dist: matplotlib
24
+ Requires-Dist: seaborn
25
+
26
+ # pandas-plots
27
+
28
+ <!-- [![GitHub release](https://img.shields.io/github/release/Naereen/StrapDown.js.svg)](https://GitHub.com/Naereen/StrapDown.js/releases/) -->
29
+ <!-- [![GitHub latest commit](https://badgen.net/github/last-commit/Naereen/Strapdown.js)](https://GitHub.com/Naereen/StrapDown.js/commit/) -->
30
+
31
+ ![py3.10](https://img.shields.io/badge/python-3.10-blue.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0icHlZZWxsb3ciIGdyYWRpZW50VHJhbnNmb3JtPSJyb3RhdGUoNDUpIj4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI2ZlNSIgb2Zmc2V0PSIwLjYiLz4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI2RhMSIgb2Zmc2V0PSIxIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJweUJsdWUiIGdyYWRpZW50VHJhbnNmb3JtPSJyb3RhdGUoNDUpIj4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzY5ZiIgb2Zmc2V0PSIwLjQiLz4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzQ2OCIgb2Zmc2V0PSIxIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KCiAgPHBhdGggZD0iTTI3LDE2YzAtNyw5LTEzLDI0LTEzYzE1LDAsMjMsNiwyMywxM2wwLDIyYzAsNy01LDEyLTExLDEybC0yNCwwYy04LDAtMTQsNi0xNCwxNWwwLDEwbC05LDBjLTgsMC0xMy05LTEzLTI0YzAtMTQsNS0yMywxMy0yM2wzNSwwbDAtM2wtMjQsMGwwLTlsMCwweiBNODgsNTB2MSIgZmlsbD0idXJsKCNweUJsdWUpIi8+CiAgPHBhdGggZD0iTTc0LDg3YzAsNy04LDEzLTIzLDEzYy0xNSwwLTI0LTYtMjQtMTNsMC0yMmMwLTcsNi0xMiwxMi0xMmwyNCwwYzgsMCwxNC03LDE0LTE1bDAtMTBsOSwwYzcsMCwxMyw5LDEzLDIzYzAsMTUtNiwyNC0xMywyNGwtMzUsMGwwLDNsMjMsMGwwLDlsMCwweiBNMTQwLDUwdjEiIGZpbGw9InVybCgjcHlZZWxsb3cpIi8+CgogIDxjaXJjbGUgcj0iNCIgY3g9IjY0IiBjeT0iODgiIGZpbGw9IiNGRkYiLz4KICA8Y2lyY2xlIHI9IjQiIGN4PSIzNyIgY3k9IjE1IiBmaWxsPSIjRkZGIi8+Cjwvc3ZnPgo=)
32
+
33
+ ## quickstart
34
+
35
+ install / update package
36
+
37
+ ```bash
38
+ pip install pandas-plots -U
39
+ ```
40
+
41
+ include in python
42
+
43
+ ```python
44
+ from pandas_plots import tbl, viz
45
+ ```
46
+
47
+ example
48
+
49
+ ```python
50
+ # load sample dataset from seaborn
51
+ import seaborn as sb
52
+ df = sb.load_dataset('taxis')
53
+
54
+ viz.plot_box(df['fare'], height=400, violin=True)
55
+ ```
56
+ ![plot_box](img/2024-02-13-00-40-27.png)
57
+
58
+ ## why use pandas-plots
59
+
60
+ `pandas-plots` is a package to help you examine and visualize data that are organized in a pandas DataFrame. It provides a high level api to pandas / plotly with some selected functions.
61
+
62
+ It is subdivided into:
63
+
64
+ - `tbl` utilities for table descriptions
65
+ - `describe_df()` an alternative version of pandas `describe()` function
66
+ - `pivot_df()` gets a pivot table of a 3 column dataframe
67
+
68
+ - `viz` utilities for plotly visualizations
69
+ - `plot_box()` auto annotated boxplot w/ violin option
70
+ - `plot_boxes()` multiple boxplots _(annotation is experimental)_
71
+ - `plots_bars()` a standardized bar plot
72
+ - `plot_stacked_bars()` shortcut to stacked bars 😄
73
+ - `plot_quadrants()` quickly show a 2x2 heatmap
74
+
75
+ ## dependencies
@@ -3,11 +3,10 @@ MANIFEST.in
3
3
  README.md
4
4
  pyproject.toml
5
5
  src/pandas_plots/__init__.py
6
- src/pandas_plots/legacy.py
7
- src/pandas_plots/pandas.py
8
- src/pandas_plots/plots.py
6
+ src/pandas_plots/tbl.py
7
+ src/pandas_plots/viz.py
9
8
  src/pandas_plots.egg-info/PKG-INFO
10
9
  src/pandas_plots.egg-info/SOURCES.txt
11
10
  src/pandas_plots.egg-info/dependency_links.txt
12
- src/pandas_plots.egg-info/top_level.txt
13
- tests/test.py
11
+ src/pandas_plots.egg-info/requires.txt
12
+ src/pandas_plots.egg-info/top_level.txt
@@ -0,0 +1,4 @@
1
+ pandas>=2.0.0
2
+ plotly
3
+ matplotlib
4
+ seaborn