dataxid-profiling 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.
Files changed (53) hide show
  1. dataxid_profiling-0.1.0/.github/CODEOWNERS +1 -0
  2. dataxid_profiling-0.1.0/.github/ISSUE_TEMPLATE/bug_report.md +33 -0
  3. dataxid_profiling-0.1.0/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
  4. dataxid_profiling-0.1.0/.github/pull_request_template.md +17 -0
  5. dataxid_profiling-0.1.0/.gitignore +35 -0
  6. dataxid_profiling-0.1.0/.python-version +1 -0
  7. dataxid_profiling-0.1.0/CHANGELOG.md +24 -0
  8. dataxid_profiling-0.1.0/CONTRIBUTING.md +47 -0
  9. dataxid_profiling-0.1.0/LICENSE +202 -0
  10. dataxid_profiling-0.1.0/PKG-INFO +159 -0
  11. dataxid_profiling-0.1.0/README.md +128 -0
  12. dataxid_profiling-0.1.0/docs/report-columns.png +0 -0
  13. dataxid_profiling-0.1.0/docs/report-correlations.png +0 -0
  14. dataxid_profiling-0.1.0/docs/report-overview.png +0 -0
  15. dataxid_profiling-0.1.0/pyproject.toml +77 -0
  16. dataxid_profiling-0.1.0/src/dataxid_profiling/__init__.py +152 -0
  17. dataxid_profiling-0.1.0/src/dataxid_profiling/_alerts.py +135 -0
  18. dataxid_profiling-0.1.0/src/dataxid_profiling/_analyzers/__init__.py +142 -0
  19. dataxid_profiling-0.1.0/src/dataxid_profiling/_analyzers/_boolean.py +51 -0
  20. dataxid_profiling-0.1.0/src/dataxid_profiling/_analyzers/_categorical.py +168 -0
  21. dataxid_profiling-0.1.0/src/dataxid_profiling/_analyzers/_datetime.py +66 -0
  22. dataxid_profiling-0.1.0/src/dataxid_profiling/_analyzers/_numeric.py +174 -0
  23. dataxid_profiling-0.1.0/src/dataxid_profiling/_analyzers/_text.py +53 -0
  24. dataxid_profiling-0.1.0/src/dataxid_profiling/_config.py +60 -0
  25. dataxid_profiling-0.1.0/src/dataxid_profiling/_correlations.py +51 -0
  26. dataxid_profiling-0.1.0/src/dataxid_profiling/_dataset_overview.py +146 -0
  27. dataxid_profiling-0.1.0/src/dataxid_profiling/_ingest.py +73 -0
  28. dataxid_profiling-0.1.0/src/dataxid_profiling/_report/__init__.py +1 -0
  29. dataxid_profiling-0.1.0/src/dataxid_profiling/_report/_charts.py +295 -0
  30. dataxid_profiling-0.1.0/src/dataxid_profiling/_report/_html.py +198 -0
  31. dataxid_profiling-0.1.0/src/dataxid_profiling/_report/templates/dataxid_logo.png +0 -0
  32. dataxid_profiling-0.1.0/src/dataxid_profiling/_report/templates/icon.png +0 -0
  33. dataxid_profiling-0.1.0/src/dataxid_profiling/_report/templates/report.html.j2 +496 -0
  34. dataxid_profiling-0.1.0/src/dataxid_profiling/_type_inference.py +111 -0
  35. dataxid_profiling-0.1.0/src/dataxid_profiling/py.typed +0 -0
  36. dataxid_profiling-0.1.0/tests/__init__.py +0 -0
  37. dataxid_profiling-0.1.0/tests/conftest.py +131 -0
  38. dataxid_profiling-0.1.0/tests/test_alerts.py +159 -0
  39. dataxid_profiling-0.1.0/tests/test_analyzer_boolean.py +84 -0
  40. dataxid_profiling-0.1.0/tests/test_analyzer_categorical.py +167 -0
  41. dataxid_profiling-0.1.0/tests/test_analyzer_datetime.py +102 -0
  42. dataxid_profiling-0.1.0/tests/test_analyzer_numeric.py +235 -0
  43. dataxid_profiling-0.1.0/tests/test_analyzer_text.py +88 -0
  44. dataxid_profiling-0.1.0/tests/test_chart_renderer.py +157 -0
  45. dataxid_profiling-0.1.0/tests/test_config.py +82 -0
  46. dataxid_profiling-0.1.0/tests/test_correlations.py +104 -0
  47. dataxid_profiling-0.1.0/tests/test_dataset_overview.py +99 -0
  48. dataxid_profiling-0.1.0/tests/test_dataset_overview_extended.py +116 -0
  49. dataxid_profiling-0.1.0/tests/test_html_report.py +197 -0
  50. dataxid_profiling-0.1.0/tests/test_ingest.py +103 -0
  51. dataxid_profiling-0.1.0/tests/test_profile_report.py +218 -0
  52. dataxid_profiling-0.1.0/tests/test_type_inference.py +127 -0
  53. dataxid_profiling-0.1.0/uv.lock +461 -0
@@ -0,0 +1 @@
1
+ * @dataxid/core-maintainers
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: Bug Report
3
+ about: Report a bug in dataxid-profiling
4
+ labels: bug
5
+ ---
6
+
7
+ ## Description
8
+
9
+ A clear description of the bug.
10
+
11
+ ## Steps to Reproduce
12
+
13
+ ```python
14
+ import polars as pl
15
+ from dataxid_profiling import ProfileReport
16
+
17
+ # minimal code to reproduce
18
+ ```
19
+
20
+ ## Expected Behavior
21
+
22
+ What you expected to happen.
23
+
24
+ ## Actual Behavior
25
+
26
+ What actually happened. Include the full error traceback if applicable.
27
+
28
+ ## Environment
29
+
30
+ - **dataxid-profiling version**: `pip show dataxid-profiling`
31
+ - **polars version**: `pip show polars`
32
+ - **Python version**: `python --version`
33
+ - **OS**:
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: Feature Request
3
+ about: Suggest an improvement or new feature
4
+ labels: enhancement
5
+ ---
6
+
7
+ ## Problem
8
+
9
+ What problem does this solve? Why is it needed?
10
+
11
+ ## Proposed Solution
12
+
13
+ How should it work? Include a code example if possible:
14
+
15
+ ```python
16
+ # how you'd like to use it
17
+ ```
18
+
19
+ ## Alternatives Considered
20
+
21
+ Any alternative approaches you've thought about.
@@ -0,0 +1,17 @@
1
+ ## What
2
+
3
+ Brief description of the change.
4
+
5
+ ## Why
6
+
7
+ Motivation — what problem does this solve?
8
+
9
+ ## How
10
+
11
+ Key implementation decisions (if non-obvious).
12
+
13
+ ## Test Plan
14
+
15
+ - [ ] Existing tests pass (`pytest tests/`)
16
+ - [ ] New tests added (if applicable)
17
+ - [ ] Tested manually with a sample dataset
@@ -0,0 +1,35 @@
1
+ # Local docs
2
+ .local/
3
+
4
+ # Python
5
+ __pycache__/
6
+ *.py[cod]
7
+ *.so
8
+ *.egg-info/
9
+ dist/
10
+ build/
11
+
12
+ # Virtual environment
13
+ .venv/
14
+
15
+ # IDE
16
+ .idea/
17
+ .vscode/
18
+ *.swp
19
+ *.swo
20
+
21
+ # OS
22
+ .DS_Store
23
+ Thumbs.db
24
+
25
+ # Testing
26
+ .pytest_cache/
27
+ .coverage
28
+ htmlcov/
29
+ .mypy_cache/
30
+
31
+ # Reports
32
+ reports/
33
+
34
+ # Jupyter
35
+ .ipynb_checkpoints/
@@ -0,0 +1 @@
1
+ 3.12
@@ -0,0 +1,24 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/).
7
+
8
+ ## [0.1.0] - 2026-03-23
9
+
10
+ ### Added
11
+
12
+ - `ProfileReport` — 3-line data profiling for Polars and Pandas DataFrames
13
+ - 5 column analyzers: numeric, categorical, boolean, datetime, text
14
+ - Dataset overview: row/column counts, missing totals, duplicate rows, memory usage, type distribution
15
+ - 7 data quality alerts: HIGH_MISSING, CONSTANT, HIGH_CARDINALITY, DUPLICATES, HIGH_ZEROS, SKEWED, IMBALANCED
16
+ - Pearson correlation heatmap (Polars-native)
17
+ - Interactive HTML report with ECharts (histogram, bar, pie, word cloud, heatmap)
18
+ - Programmatic access: `to_dict()`, `to_json()`, `.stats`, `.alerts`, `.correlations`
19
+ - Two profiling modes: `"complete"` (deep analysis) and `"overview"` (fast summary)
20
+ - Pandas auto-conversion via `pl.from_pandas()`
21
+ - CSV and Parquet file path ingestion
22
+ - PEP 561 `py.typed` marker
23
+
24
+ [0.1.0]: https://github.com/dataxid/dataxid-profiling/releases/tag/v0.1.0
@@ -0,0 +1,47 @@
1
+ # Contributing to dataxid-profiling
2
+
3
+ Thanks for your interest in contributing! Here's how to get started.
4
+
5
+ ## Development Setup
6
+
7
+ ```bash
8
+ git clone https://github.com/dataxid/dataxid-profiling.git
9
+ cd dataxid-profiling
10
+ uv sync
11
+ ```
12
+
13
+ ## Running Tests
14
+
15
+ ```bash
16
+ pytest
17
+ ```
18
+
19
+ ## Linting
20
+
21
+ ```bash
22
+ ruff check src/ tests/
23
+ ruff format src/ tests/
24
+ ```
25
+
26
+ ## Code Style
27
+
28
+ - Line length: 99 characters
29
+ - Type hints everywhere, `Any` only for opaque state
30
+ - Minimal comments — code should be self-explanatory, comments explain *why*, not *what*
31
+ - Import order: stdlib → third-party → project (enforced by `ruff`)
32
+ - Polars-native: no NumPy/SciPy/Pandas in core logic
33
+
34
+ ## Pull Requests
35
+
36
+ 1. Fork the repo and create a feature branch
37
+ 2. Make your changes with tests
38
+ 3. Run `ruff check` and `pytest` before submitting
39
+ 4. Open a PR with a clear description of what and why
40
+
41
+ ## Reporting Issues
42
+
43
+ Use [GitHub Issues](https://github.com/dataxid/dataxid-profiling/issues) with the provided templates.
44
+
45
+ ## License
46
+
47
+ By contributing, you agree that your contributions will be licensed under the Apache License 2.0.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,159 @@
1
+ Metadata-Version: 2.4
2
+ Name: dataxid-profiling
3
+ Version: 0.1.0
4
+ Summary: Fast, Polars-native data profiling with interactive HTML reports and data quality alerts.
5
+ Project-URL: Homepage, https://dataxid.com
6
+ Project-URL: Repository, https://github.com/dataxid/dataxid-profiling
7
+ Project-URL: Changelog, https://github.com/dataxid/dataxid-profiling/blob/main/CHANGELOG.md
8
+ Project-URL: Issues, https://github.com/dataxid/dataxid-profiling/issues
9
+ Author-email: DataXID <dev@dataxid.com>
10
+ License-Expression: Apache-2.0
11
+ License-File: LICENSE
12
+ Keywords: data-profiling,data-quality,eda,exploratory-data-analysis,pandas-profiling,polars,profiling,ydata-profiling
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: License :: OSI Approved :: Apache Software License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Topic :: Scientific/Engineering
25
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
26
+ Classifier: Typing :: Typed
27
+ Requires-Python: >=3.10
28
+ Requires-Dist: jinja2>=3.1
29
+ Requires-Dist: polars>=1.0
30
+ Description-Content-Type: text/markdown
31
+
32
+ # dataxid-profiling
33
+
34
+ [![PyPI version](https://img.shields.io/pypi/v/dataxid-profiling.svg)](https://pypi.org/project/dataxid-profiling/)
35
+ [![Python versions](https://img.shields.io/pypi/pyversions/dataxid-profiling.svg)](https://pypi.org/project/dataxid-profiling/)
36
+ [![License](https://img.shields.io/pypi/l/dataxid-profiling.svg)](https://github.com/dataxid/dataxid-profiling/blob/main/LICENSE)
37
+
38
+ Fast, Polars-native data profiling with interactive HTML reports and data quality alerts.
39
+
40
+ ## Quickstart
41
+
42
+ ```python
43
+ import polars as pl
44
+ from dataxid_profiling import ProfileReport
45
+
46
+ df = pl.read_csv("data.csv")
47
+ report = ProfileReport(df)
48
+ report.to_html("report.html")
49
+ ```
50
+
51
+ Pandas works too:
52
+
53
+ ```python
54
+ report = ProfileReport(pd.read_csv("data.csv"))
55
+ ```
56
+
57
+ ## Report Preview
58
+
59
+ **Dataset overview** — row/column counts, missing cells, duplicates, memory usage, and column type distribution at a glance.
60
+
61
+ <p align="center">
62
+ <img src="docs/report-overview.png" alt="Dataset overview and alerts" width="700">
63
+ </p>
64
+
65
+ **Column details** — per-column statistics, top value distribution, and word clouds for categorical data.
66
+
67
+ <p align="center">
68
+ <img src="docs/report-columns.png" alt="Column details with charts and word cloud" width="700">
69
+ </p>
70
+
71
+ **Correlations** — interactive heatmap showing relationships between numeric columns.
72
+
73
+ <p align="center">
74
+ <img src="docs/report-correlations.png" alt="Correlation heatmap" width="700">
75
+ </p>
76
+
77
+ ## Highlights
78
+
79
+ - Built on Polars — two runtime dependencies
80
+ - 3 lines to profile any dataset
81
+ - Programmatic-first: `.to_dict()`, `.stats`, `.alerts`
82
+ - Interactive HTML reports with ECharts
83
+ - Accepts Polars, Pandas, CSV, and Parquet
84
+ - 5 column types: numeric, categorical, boolean, datetime, text
85
+ - 7 data quality alerts out of the box
86
+ - Pearson correlation heatmap
87
+ - Two modes: `"complete"` for deep analysis, `"overview"` for speed
88
+ - Fully typed
89
+
90
+ ## Installation
91
+
92
+ ```bash
93
+ pip install dataxid-profiling
94
+ ```
95
+
96
+ ## Usage
97
+
98
+ ### Programmatic access
99
+
100
+ ```python
101
+ report = ProfileReport(df, title="Customer Data Profile")
102
+
103
+ stats = report.to_dict()
104
+ alerts = report.alerts
105
+ column_stats = report.stats["age"]
106
+ correlations = report.correlations
107
+ ```
108
+
109
+ ### JSON export
110
+
111
+ ```python
112
+ report.to_json("report.json")
113
+ ```
114
+
115
+ ### Configuration
116
+
117
+ ```python
118
+ from dataxid_profiling import ProfileReport, ProfileConfig
119
+
120
+ config = ProfileConfig(
121
+ title="Customer Data Profile",
122
+ mode="overview",
123
+ missing_threshold=0.1,
124
+ histogram_bins=30,
125
+ )
126
+ report = ProfileReport(df, config=config)
127
+ ```
128
+
129
+ ### Modes
130
+
131
+ | Feature | `"complete"` | `"overview"` |
132
+ |---|:-:|:-:|
133
+ | Basic stats | ✓ | ✓ |
134
+ | Histograms & value counts | ✓ | ✓ |
135
+ | Correlations | ✓ | ✗ |
136
+ | Character analysis | ✓ | ✗ |
137
+ | Duplicate rows table | ✓ | ✗ |
138
+
139
+ ## Output formats
140
+
141
+ | Format | Method | Use case |
142
+ |---|---|---|
143
+ | HTML | `report.to_html("report.html")` | Interactive report |
144
+ | JSON | `report.to_json("report.json")` | Machine-readable |
145
+ | Dict | `report.to_dict()` | Python-native |
146
+
147
+ ## Contributing
148
+
149
+ Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
150
+
151
+ ## Links
152
+
153
+ - [PyPI](https://pypi.org/project/dataxid-profiling/)
154
+ - [Changelog](CHANGELOG.md)
155
+ - [GitHub Issues](https://github.com/dataxid/dataxid-profiling/issues)
156
+
157
+ ## License
158
+
159
+ [Apache-2.0](LICENSE)
@@ -0,0 +1,128 @@
1
+ # dataxid-profiling
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/dataxid-profiling.svg)](https://pypi.org/project/dataxid-profiling/)
4
+ [![Python versions](https://img.shields.io/pypi/pyversions/dataxid-profiling.svg)](https://pypi.org/project/dataxid-profiling/)
5
+ [![License](https://img.shields.io/pypi/l/dataxid-profiling.svg)](https://github.com/dataxid/dataxid-profiling/blob/main/LICENSE)
6
+
7
+ Fast, Polars-native data profiling with interactive HTML reports and data quality alerts.
8
+
9
+ ## Quickstart
10
+
11
+ ```python
12
+ import polars as pl
13
+ from dataxid_profiling import ProfileReport
14
+
15
+ df = pl.read_csv("data.csv")
16
+ report = ProfileReport(df)
17
+ report.to_html("report.html")
18
+ ```
19
+
20
+ Pandas works too:
21
+
22
+ ```python
23
+ report = ProfileReport(pd.read_csv("data.csv"))
24
+ ```
25
+
26
+ ## Report Preview
27
+
28
+ **Dataset overview** — row/column counts, missing cells, duplicates, memory usage, and column type distribution at a glance.
29
+
30
+ <p align="center">
31
+ <img src="docs/report-overview.png" alt="Dataset overview and alerts" width="700">
32
+ </p>
33
+
34
+ **Column details** — per-column statistics, top value distribution, and word clouds for categorical data.
35
+
36
+ <p align="center">
37
+ <img src="docs/report-columns.png" alt="Column details with charts and word cloud" width="700">
38
+ </p>
39
+
40
+ **Correlations** — interactive heatmap showing relationships between numeric columns.
41
+
42
+ <p align="center">
43
+ <img src="docs/report-correlations.png" alt="Correlation heatmap" width="700">
44
+ </p>
45
+
46
+ ## Highlights
47
+
48
+ - Built on Polars — two runtime dependencies
49
+ - 3 lines to profile any dataset
50
+ - Programmatic-first: `.to_dict()`, `.stats`, `.alerts`
51
+ - Interactive HTML reports with ECharts
52
+ - Accepts Polars, Pandas, CSV, and Parquet
53
+ - 5 column types: numeric, categorical, boolean, datetime, text
54
+ - 7 data quality alerts out of the box
55
+ - Pearson correlation heatmap
56
+ - Two modes: `"complete"` for deep analysis, `"overview"` for speed
57
+ - Fully typed
58
+
59
+ ## Installation
60
+
61
+ ```bash
62
+ pip install dataxid-profiling
63
+ ```
64
+
65
+ ## Usage
66
+
67
+ ### Programmatic access
68
+
69
+ ```python
70
+ report = ProfileReport(df, title="Customer Data Profile")
71
+
72
+ stats = report.to_dict()
73
+ alerts = report.alerts
74
+ column_stats = report.stats["age"]
75
+ correlations = report.correlations
76
+ ```
77
+
78
+ ### JSON export
79
+
80
+ ```python
81
+ report.to_json("report.json")
82
+ ```
83
+
84
+ ### Configuration
85
+
86
+ ```python
87
+ from dataxid_profiling import ProfileReport, ProfileConfig
88
+
89
+ config = ProfileConfig(
90
+ title="Customer Data Profile",
91
+ mode="overview",
92
+ missing_threshold=0.1,
93
+ histogram_bins=30,
94
+ )
95
+ report = ProfileReport(df, config=config)
96
+ ```
97
+
98
+ ### Modes
99
+
100
+ | Feature | `"complete"` | `"overview"` |
101
+ |---|:-:|:-:|
102
+ | Basic stats | ✓ | ✓ |
103
+ | Histograms & value counts | ✓ | ✓ |
104
+ | Correlations | ✓ | ✗ |
105
+ | Character analysis | ✓ | ✗ |
106
+ | Duplicate rows table | ✓ | ✗ |
107
+
108
+ ## Output formats
109
+
110
+ | Format | Method | Use case |
111
+ |---|---|---|
112
+ | HTML | `report.to_html("report.html")` | Interactive report |
113
+ | JSON | `report.to_json("report.json")` | Machine-readable |
114
+ | Dict | `report.to_dict()` | Python-native |
115
+
116
+ ## Contributing
117
+
118
+ Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
119
+
120
+ ## Links
121
+
122
+ - [PyPI](https://pypi.org/project/dataxid-profiling/)
123
+ - [Changelog](CHANGELOG.md)
124
+ - [GitHub Issues](https://github.com/dataxid/dataxid-profiling/issues)
125
+
126
+ ## License
127
+
128
+ [Apache-2.0](LICENSE)