polars-data-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.
- polars_data_profiling-0.1.0/LICENSE +22 -0
- polars_data_profiling-0.1.0/NOTICE +26 -0
- polars_data_profiling-0.1.0/PKG-INFO +131 -0
- polars_data_profiling-0.1.0/README.md +79 -0
- polars_data_profiling-0.1.0/pyproject.toml +132 -0
- polars_data_profiling-0.1.0/pyproject.toml.orig +111 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/__init__.py +19 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/compare_reports.py +386 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/config.py +558 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/config_default.yaml +219 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/config_minimal.yaml +218 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/controller/__init__.py +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/controller/console.py +127 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/controller/namespace.py +38 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/__init__.py +5 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/alerts.py +779 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/correlations.py +332 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/dataframe.py +24 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/describe.py +197 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/description.py +106 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/duplicates.py +64 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/engine.py +192 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/expressions.py +215 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/handler.py +84 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/images.py +179 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/missing.py +161 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/pairwise.py +59 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/probe.py +217 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/sample.py +77 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/summaries.py +641 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/summarizer.py +177 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/summary.py +143 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/summary_algorithms.py +301 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/table.py +47 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/timeseries.py +312 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/timeseries_index.py +48 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/type_rules.py +35 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/typeset.py +262 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/typeset_base.py +367 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/model/typeset_relations.py +132 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/profile_report.py +508 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/py.typed +0 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/__init__.py +5 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/formatters.py +344 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/__init__.py +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/__init__.py +43 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/alerts.py +18 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/collapse.py +25 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/container.py +51 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/correlation_table.py +21 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/dropdown.py +45 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/duplicate.py +16 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/frequency_table.py +14 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/frequency_table_small.py +16 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/html.py +14 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/image.py +34 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/item_renderer.py +16 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/renderable.py +42 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/root.py +36 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/sample.py +29 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/scores.py +33 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/table.py +27 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/toggle_button.py +14 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/variable.py +51 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/core/variable_info.py +36 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/__init__.py +9 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/flavour_html.py +65 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/flavour_widget.py +62 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/flavours.py +42 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/__init__.py +57 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/alerts.py +10 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/collapse.py +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/container.py +85 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/correlation_table.py +21 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/dropdown.py +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/duplicate.py +23 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/frame_table.py +61 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/frequency_table.py +20 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/frequency_table_small.py +15 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/html.py +6 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/image.py +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/root.py +15 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/sample.py +17 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/scores.py +12 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/table.py +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_constant.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_constant_length.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_dirty_category.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_duplicates.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_empty.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_high_cardinality.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_high_correlation.html +4 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_imbalance.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_infinite.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_missing.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_near_duplicates.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_non_stationary.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_seasonal.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_skewed.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_truncated.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_type_date.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_uniform.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_unique.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_unsupported.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts/alert_zeros.html +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/alerts.html +47 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/collapse.html +31 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/correlation_table.html +5 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/diagram.html +13 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/dropdown.html +25 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/duplicate.html +5 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/frequency_table.html +45 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/frequency_table_small.html +34 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/report.html +42 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sample.html +10 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/scores.html +78 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/batch_grid.html +16 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/cards.html +41 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/correlations.html +53 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/grid.html +39 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/interactions.html +45 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/list.html +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/named_list.html +8 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/overview_tabs.html +47 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/scores.html +3 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/sections.html +15 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/select.html +40 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/sequence/tabs.html +30 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/table.html +38 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/toggle_button.html +18 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/variable.html +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/variable_info.html +49 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/assets/bootstrap.bundle.min.js +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/assets/bootstrap.min.css +6 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/assets/cosmo.bootstrap.min.css +12 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/assets/flatly.bootstrap.min.css +12 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/assets/script.js +398 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/assets/simplex.bootstrap.min.css +12 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/assets/style.css +1455 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/assets/united.bootstrap.min.css +12 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/footer.html +6 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/javascript.html +18 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/navigation.html +22 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates/wrapper/style.html +20 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/templates.py +79 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/theme.py +74 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/toggle_button.py +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/variable.py +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/html/variable_info.py +7 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/__init__.py +59 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/alerts.py +43 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/collapse.py +43 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/container.py +127 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/correlation_table.py +16 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/dropdown.py +31 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/duplicate.py +14 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/frequency_table.py +57 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/frequency_table_small.py +64 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/html.py +11 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/image.py +29 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/notebook.py +82 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/root.py +10 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/sample.py +14 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/table.py +30 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/toggle_button.py +17 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/variable.py +12 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/flavours/widget/variable_info.py +11 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/presentation/frequency_table_utils.py +169 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/__init__.py +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/correlations.py +202 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/overview.py +506 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/report.py +547 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/__init__.py +41 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_boolean.py +130 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_categorical.py +562 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_common.py +34 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_complex.py +102 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_count.py +172 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_date.py +147 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_file.py +68 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_generic.py +45 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_image.py +202 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_path.py +138 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_real.py +314 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_text.py +213 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_timeseries.py +371 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/structure/variables/render_url.py +132 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/report/utils.py +32 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/serialize_report.py +144 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/utils/__init__.py +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/utils/collect.py +41 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/utils/common.py +29 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/utils/dataframe.py +166 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/utils/notebook.py +8 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/utils/paths.py +46 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/utils/progress_bar.py +16 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/utils/styles.py +22 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/version.py +8 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/__init__.py +1 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/charts/__init__.py +16 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/charts/builders.py +631 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/charts/palette.py +129 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/charts/scales.py +204 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/charts/specs.py +249 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/charts/svg.py +1336 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/missing.py +34 -0
- polars_data_profiling-0.1.0/src/polars_data_profiling/visualisation/plot.py +142 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 Jos Polfliet, 2019-2021 Simon Brugman, 2022-Present YData Labs Inc
|
|
4
|
+
Copyright (c) 2026 Drew Adlof and polars-data-profiling contributors
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
polars-data-profiling
|
|
2
|
+
Copyright 2026 Drew Adlof and polars-data-profiling contributors
|
|
3
|
+
|
|
4
|
+
This project is a fork of fg-data-profiling
|
|
5
|
+
(https://github.com/Data-Centric-AI-Community/fg-data-profiling), previously
|
|
6
|
+
published as ydata-profiling and pandas-profiling. It is distributed under the
|
|
7
|
+
same MIT License (see LICENSE), which keeps the original copyright notices:
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2016 Jos Polfliet
|
|
10
|
+
Copyright (c) 2019-2021 Simon Brugman
|
|
11
|
+
Copyright (c) 2022-Present YData Labs Inc
|
|
12
|
+
|
|
13
|
+
The report templates, the HTML/widget presentation layer, the native SVG chart
|
|
14
|
+
renderer, the configuration model and the type-inference framework come from
|
|
15
|
+
that project. The statistics engine was rewritten on Polars LazyFrames, and the
|
|
16
|
+
pandas and Spark backends were removed.
|
|
17
|
+
|
|
18
|
+
The type-inference design (a tree of identity relations plus inference
|
|
19
|
+
relations walked from a generic root type) follows visions
|
|
20
|
+
(https://github.com/dylan-profiler/visions) by Ian Eaves and Simon Brugman.
|
|
21
|
+
|
|
22
|
+
The augmented Dickey-Fuller p-values use the response-surface regression
|
|
23
|
+
coefficients of MacKinnon (1994, 2010), as published in statsmodels
|
|
24
|
+
(BSD-3-Clause, https://github.com/statsmodels/statsmodels).
|
|
25
|
+
|
|
26
|
+
Not affiliated with or endorsed by YData Labs Inc.
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: polars-data-profiling
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Polars-native, lazy data profiling reports (a pandas-free fork of ydata-profiling).
|
|
5
|
+
Keywords: data-profiling,data-quality,eda,lazyframe,polars,profiling,report
|
|
6
|
+
Author: Drew Adlof
|
|
7
|
+
Author-email: Drew Adlof <drew.adlof@gmail.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
License-File: NOTICE
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Framework :: IPython
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
22
|
+
Classifier: Typing :: Typed
|
|
23
|
+
Requires-Dist: filetype>=1.0.0
|
|
24
|
+
Requires-Dist: jinja2>=3.1.6,<3.2
|
|
25
|
+
Requires-Dist: minify-html>=0.15.0
|
|
26
|
+
Requires-Dist: numpy>=1.24
|
|
27
|
+
Requires-Dist: polars>=2.0
|
|
28
|
+
Requires-Dist: pydantic-settings>=2.6
|
|
29
|
+
Requires-Dist: pydantic>=2.12,<3
|
|
30
|
+
Requires-Dist: pyyaml>=6.0
|
|
31
|
+
Requires-Dist: scipy>=1.10
|
|
32
|
+
Requires-Dist: tqdm>=4.66.3,<5
|
|
33
|
+
Requires-Dist: imagehash>=4.3 ; extra == 'all'
|
|
34
|
+
Requires-Dist: ipywidgets>=8 ; extra == 'all'
|
|
35
|
+
Requires-Dist: pillow>=10 ; extra == 'all'
|
|
36
|
+
Requires-Dist: wordcloud>=1.9.4 ; extra == 'all'
|
|
37
|
+
Requires-Dist: imagehash>=4.3 ; extra == 'image'
|
|
38
|
+
Requires-Dist: pillow>=10 ; extra == 'image'
|
|
39
|
+
Requires-Dist: ipywidgets>=8 ; extra == 'notebook'
|
|
40
|
+
Requires-Dist: wordcloud>=1.9.4 ; extra == 'wordcloud'
|
|
41
|
+
Requires-Python: >=3.11
|
|
42
|
+
Project-URL: Homepage, https://github.com/andrewadlof/polars-data-profiling
|
|
43
|
+
Project-URL: Repository, https://github.com/andrewadlof/polars-data-profiling
|
|
44
|
+
Project-URL: Documentation, https://andrewadlof.github.io/polars-data-profiling/
|
|
45
|
+
Project-URL: Issues, https://github.com/andrewadlof/polars-data-profiling/issues
|
|
46
|
+
Project-URL: Changelog, https://github.com/andrewadlof/polars-data-profiling/blob/main/CHANGELOG.md
|
|
47
|
+
Provides-Extra: all
|
|
48
|
+
Provides-Extra: image
|
|
49
|
+
Provides-Extra: notebook
|
|
50
|
+
Provides-Extra: wordcloud
|
|
51
|
+
Description-Content-Type: text/markdown
|
|
52
|
+
|
|
53
|
+
# polars-data-profiling
|
|
54
|
+
|
|
55
|
+
Profiling reports for Polars DataFrames and LazyFrames, without pandas. For every column: its type, statistics, distribution,
|
|
56
|
+
missing values and alerts, plus correlations, interactions, samples and duplicate rows, in one HTML page or JSON document.
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
import polars as pl
|
|
60
|
+
from polars_data_profiling import ProfileReport
|
|
61
|
+
|
|
62
|
+
lf = pl.scan_parquet("events/*.parquet")
|
|
63
|
+
ProfileReport(lf, title="Events").to_file("events.html")
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Importing the package also registers a `profile` namespace on frames:
|
|
67
|
+
|
|
68
|
+
```python
|
|
69
|
+
import polars_data_profiling # noqa: F401
|
|
70
|
+
|
|
71
|
+
df.profile.report(minimal=True).to_file("quick.html")
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Why this exists
|
|
75
|
+
|
|
76
|
+
[fg-data-profiling](https://github.com/Data-Centric-AI-Community/fg-data-profiling) (formerly ydata-profiling and
|
|
77
|
+
pandas-profiling) builds excellent reports, but on pandas: Polars data has to be converted first, every column is described
|
|
78
|
+
one at a time on materialised data, and pandas comes in through its own code and through phik, seaborn and statsmodels.
|
|
79
|
+
|
|
80
|
+
This fork keeps the report and replaces the engine with one built on Polars LazyFrames:
|
|
81
|
+
|
|
82
|
+
- **Lazy.** Every statistic is a lazy query. A LazyFrame is never collected whole, so `scan_parquet` and `scan_csv` inputs
|
|
83
|
+
only materialise aggregates.
|
|
84
|
+
- **Batched.** Type inference is one `select` over all columns. Variable summaries are generators that yield their lazy
|
|
85
|
+
requests, and the requests of every column are evaluated together, one `select` and one `collect_all` per round, sharing
|
|
86
|
+
one read of the source. A profile reads its source about a dozen times, whatever the number of columns.
|
|
87
|
+
- **No pandas.** pandas is not a dependency, direct or transitive, with or without extras. CI fails if it appears in the
|
|
88
|
+
resolved dependency tree, and checks that profiling never imports it.
|
|
89
|
+
- **Same report.** The HTML report, its configuration and most of the API are unchanged. See
|
|
90
|
+
[Coming from ydata-profiling](https://andrewadlof.github.io/polars-data-profiling/migrating/).
|
|
91
|
+
|
|
92
|
+
## Install
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
uv add polars-data-profiling
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Without uv, `pip install polars-data-profiling` works too. It needs Python 3.11+ and Polars 2.0+. Optional extras: `image`
|
|
99
|
+
(image columns), `wordcloud` (word clouds) and `notebook` (Jupyter widgets), or `all`.
|
|
100
|
+
|
|
101
|
+
## Speed
|
|
102
|
+
|
|
103
|
+
One 1,000,000-row, 15-column frame (6 float, 4 integer, 4 categorical and 1 unique-string column), default settings, on the
|
|
104
|
+
same Windows machine:
|
|
105
|
+
|
|
106
|
+
| Profiler | Time to HTML |
|
|
107
|
+
| -------------------------------------------------------------- | ------------ |
|
|
108
|
+
| fg-data-profiling 4.20.0 (pandas 2.3.3) on the frame converted | 83.3 s |
|
|
109
|
+
| polars-data-profiling on the frame as a LazyFrame | 8.9 s |
|
|
110
|
+
|
|
111
|
+
The same profile reads its source 10 times. Without shared scans it would read it 255 times, once per query.
|
|
112
|
+
|
|
113
|
+
## Documentation
|
|
114
|
+
|
|
115
|
+
[andrewadlof.github.io/polars-data-profiling](https://andrewadlof.github.io/polars-data-profiling/): usage, configuration,
|
|
116
|
+
how the lazy engine works, and the differences from ydata-profiling.
|
|
117
|
+
|
|
118
|
+
## Development
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
uv sync --all-extras
|
|
122
|
+
uv run just check # ruff, the pandas check and the tests
|
|
123
|
+
uv run just # all recipes
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
See [Development](https://andrewadlof.github.io/polars-data-profiling/development/) for the recipes and the release process.
|
|
127
|
+
|
|
128
|
+
## License
|
|
129
|
+
|
|
130
|
+
MIT, like the project it is forked from. See [LICENSE](LICENSE) and [NOTICE](NOTICE). Not affiliated with or endorsed by
|
|
131
|
+
YData Labs Inc.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# polars-data-profiling
|
|
2
|
+
|
|
3
|
+
Profiling reports for Polars DataFrames and LazyFrames, without pandas. For every column: its type, statistics, distribution,
|
|
4
|
+
missing values and alerts, plus correlations, interactions, samples and duplicate rows, in one HTML page or JSON document.
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
import polars as pl
|
|
8
|
+
from polars_data_profiling import ProfileReport
|
|
9
|
+
|
|
10
|
+
lf = pl.scan_parquet("events/*.parquet")
|
|
11
|
+
ProfileReport(lf, title="Events").to_file("events.html")
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Importing the package also registers a `profile` namespace on frames:
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
import polars_data_profiling # noqa: F401
|
|
18
|
+
|
|
19
|
+
df.profile.report(minimal=True).to_file("quick.html")
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Why this exists
|
|
23
|
+
|
|
24
|
+
[fg-data-profiling](https://github.com/Data-Centric-AI-Community/fg-data-profiling) (formerly ydata-profiling and
|
|
25
|
+
pandas-profiling) builds excellent reports, but on pandas: Polars data has to be converted first, every column is described
|
|
26
|
+
one at a time on materialised data, and pandas comes in through its own code and through phik, seaborn and statsmodels.
|
|
27
|
+
|
|
28
|
+
This fork keeps the report and replaces the engine with one built on Polars LazyFrames:
|
|
29
|
+
|
|
30
|
+
- **Lazy.** Every statistic is a lazy query. A LazyFrame is never collected whole, so `scan_parquet` and `scan_csv` inputs
|
|
31
|
+
only materialise aggregates.
|
|
32
|
+
- **Batched.** Type inference is one `select` over all columns. Variable summaries are generators that yield their lazy
|
|
33
|
+
requests, and the requests of every column are evaluated together, one `select` and one `collect_all` per round, sharing
|
|
34
|
+
one read of the source. A profile reads its source about a dozen times, whatever the number of columns.
|
|
35
|
+
- **No pandas.** pandas is not a dependency, direct or transitive, with or without extras. CI fails if it appears in the
|
|
36
|
+
resolved dependency tree, and checks that profiling never imports it.
|
|
37
|
+
- **Same report.** The HTML report, its configuration and most of the API are unchanged. See
|
|
38
|
+
[Coming from ydata-profiling](https://andrewadlof.github.io/polars-data-profiling/migrating/).
|
|
39
|
+
|
|
40
|
+
## Install
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
uv add polars-data-profiling
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Without uv, `pip install polars-data-profiling` works too. It needs Python 3.11+ and Polars 2.0+. Optional extras: `image`
|
|
47
|
+
(image columns), `wordcloud` (word clouds) and `notebook` (Jupyter widgets), or `all`.
|
|
48
|
+
|
|
49
|
+
## Speed
|
|
50
|
+
|
|
51
|
+
One 1,000,000-row, 15-column frame (6 float, 4 integer, 4 categorical and 1 unique-string column), default settings, on the
|
|
52
|
+
same Windows machine:
|
|
53
|
+
|
|
54
|
+
| Profiler | Time to HTML |
|
|
55
|
+
| -------------------------------------------------------------- | ------------ |
|
|
56
|
+
| fg-data-profiling 4.20.0 (pandas 2.3.3) on the frame converted | 83.3 s |
|
|
57
|
+
| polars-data-profiling on the frame as a LazyFrame | 8.9 s |
|
|
58
|
+
|
|
59
|
+
The same profile reads its source 10 times. Without shared scans it would read it 255 times, once per query.
|
|
60
|
+
|
|
61
|
+
## Documentation
|
|
62
|
+
|
|
63
|
+
[andrewadlof.github.io/polars-data-profiling](https://andrewadlof.github.io/polars-data-profiling/): usage, configuration,
|
|
64
|
+
how the lazy engine works, and the differences from ydata-profiling.
|
|
65
|
+
|
|
66
|
+
## Development
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
uv sync --all-extras
|
|
70
|
+
uv run just check # ruff, the pandas check and the tests
|
|
71
|
+
uv run just # all recipes
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
See [Development](https://andrewadlof.github.io/polars-data-profiling/development/) for the recipes and the release process.
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
|
|
78
|
+
MIT, like the project it is forked from. See [LICENSE](LICENSE) and [NOTICE](NOTICE). Not affiliated with or endorsed by
|
|
79
|
+
YData Labs Inc.
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "polars-data-profiling"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Polars-native, lazy data profiling reports (a pandas-free fork of ydata-profiling)."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.11"
|
|
7
|
+
keywords = [
|
|
8
|
+
"data-profiling",
|
|
9
|
+
"data-quality",
|
|
10
|
+
"eda",
|
|
11
|
+
"lazyframe",
|
|
12
|
+
"polars",
|
|
13
|
+
"profiling",
|
|
14
|
+
"report",
|
|
15
|
+
]
|
|
16
|
+
license = "MIT"
|
|
17
|
+
license-files = [
|
|
18
|
+
"LICENSE",
|
|
19
|
+
"NOTICE",
|
|
20
|
+
]
|
|
21
|
+
classifiers = [
|
|
22
|
+
"Development Status :: 3 - Alpha",
|
|
23
|
+
"Environment :: Console",
|
|
24
|
+
"Framework :: IPython",
|
|
25
|
+
"Intended Audience :: Developers",
|
|
26
|
+
"Intended Audience :: Science/Research",
|
|
27
|
+
"Operating System :: OS Independent",
|
|
28
|
+
"Programming Language :: Python :: 3.11",
|
|
29
|
+
"Programming Language :: Python :: 3.12",
|
|
30
|
+
"Programming Language :: Python :: 3.13",
|
|
31
|
+
"Programming Language :: Python :: 3.14",
|
|
32
|
+
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
33
|
+
"Typing :: Typed",
|
|
34
|
+
]
|
|
35
|
+
dependencies = [
|
|
36
|
+
"filetype>=1.0.0",
|
|
37
|
+
"jinja2>=3.1.6,<3.2",
|
|
38
|
+
"minify-html>=0.15.0",
|
|
39
|
+
"numpy>=1.24",
|
|
40
|
+
"polars>=2.0",
|
|
41
|
+
"pydantic-settings>=2.6",
|
|
42
|
+
"pydantic>=2.12,<3",
|
|
43
|
+
"pyyaml>=6.0",
|
|
44
|
+
"scipy>=1.10",
|
|
45
|
+
"tqdm>=4.66.3,<5",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[[project.authors]]
|
|
49
|
+
name = "Drew Adlof"
|
|
50
|
+
email = "drew.adlof@gmail.com"
|
|
51
|
+
|
|
52
|
+
[project.optional-dependencies]
|
|
53
|
+
image = [
|
|
54
|
+
"imagehash>=4.3",
|
|
55
|
+
"pillow>=10",
|
|
56
|
+
]
|
|
57
|
+
notebook = ["ipywidgets>=8"]
|
|
58
|
+
wordcloud = ["wordcloud>=1.9.4"]
|
|
59
|
+
all = [
|
|
60
|
+
"imagehash>=4.3",
|
|
61
|
+
"ipywidgets>=8",
|
|
62
|
+
"pillow>=10",
|
|
63
|
+
"wordcloud>=1.9.4",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
[project.urls]
|
|
67
|
+
Homepage = "https://github.com/andrewadlof/polars-data-profiling"
|
|
68
|
+
Repository = "https://github.com/andrewadlof/polars-data-profiling"
|
|
69
|
+
Documentation = "https://andrewadlof.github.io/polars-data-profiling/"
|
|
70
|
+
Issues = "https://github.com/andrewadlof/polars-data-profiling/issues"
|
|
71
|
+
Changelog = "https://github.com/andrewadlof/polars-data-profiling/blob/main/CHANGELOG.md"
|
|
72
|
+
|
|
73
|
+
[project.scripts]
|
|
74
|
+
polars_data_profiling = "polars_data_profiling.controller.console:main"
|
|
75
|
+
|
|
76
|
+
[build-system]
|
|
77
|
+
requires = ["uv_build>=0.8,<0.12"]
|
|
78
|
+
build-backend = "uv_build"
|
|
79
|
+
|
|
80
|
+
[tool.uv]
|
|
81
|
+
default-groups = ["dev"]
|
|
82
|
+
|
|
83
|
+
[tool.uv.build-backend]
|
|
84
|
+
module-name = "polars_data_profiling"
|
|
85
|
+
|
|
86
|
+
[tool.ruff]
|
|
87
|
+
line-length = 88
|
|
88
|
+
target-version = "py311"
|
|
89
|
+
|
|
90
|
+
[tool.ruff.lint]
|
|
91
|
+
select = [
|
|
92
|
+
"E",
|
|
93
|
+
"F",
|
|
94
|
+
"I",
|
|
95
|
+
"UP",
|
|
96
|
+
"B",
|
|
97
|
+
"SIM",
|
|
98
|
+
]
|
|
99
|
+
ignore = [
|
|
100
|
+
"E501",
|
|
101
|
+
"B905",
|
|
102
|
+
"SIM108",
|
|
103
|
+
]
|
|
104
|
+
|
|
105
|
+
[tool.ruff.lint.per-file-ignores]
|
|
106
|
+
"tests/*" = [
|
|
107
|
+
"B",
|
|
108
|
+
"SIM",
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
[tool.pytest.ini_options]
|
|
112
|
+
testpaths = ["tests"]
|
|
113
|
+
|
|
114
|
+
[dependency-groups]
|
|
115
|
+
dev = [
|
|
116
|
+
"mdformat-gfm>=0.4.1",
|
|
117
|
+
"mdformat>=0.7.22",
|
|
118
|
+
"pillow>=10",
|
|
119
|
+
"prek>=0.2.3",
|
|
120
|
+
"pyarrow>=14",
|
|
121
|
+
"pytest-cov>=6.2.1",
|
|
122
|
+
"pytest>=8.4.2",
|
|
123
|
+
"ruff>=0.12.12",
|
|
124
|
+
"rust-just>=1.50.0",
|
|
125
|
+
]
|
|
126
|
+
docs = [
|
|
127
|
+
"mkdocs-api-autonav",
|
|
128
|
+
"mkdocs-github-admonitions-plugin",
|
|
129
|
+
"mkdocs-glightbox",
|
|
130
|
+
"mkdocstrings[python]",
|
|
131
|
+
"zensical>=0.0.20",
|
|
132
|
+
]
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
#
|
|
3
|
+
# Polars-native data profiling: a fork of fg-data-profiling (formerly
|
|
4
|
+
# ydata-profiling / pandas-profiling) with the pandas and Spark backends replaced
|
|
5
|
+
# by a single Polars engine built on LazyFrames. Profiles run as a handful of
|
|
6
|
+
# batched lazy queries, so a `scan_parquet` / `scan_csv` input is read a few
|
|
7
|
+
# times in total instead of once per column. pandas is not a dependency, direct
|
|
8
|
+
# or transitive.
|
|
9
|
+
# =============================================================================
|
|
10
|
+
[project]
|
|
11
|
+
name = "polars-data-profiling"
|
|
12
|
+
version = "0.1.0"
|
|
13
|
+
description = "Polars-native, lazy data profiling reports (a pandas-free fork of ydata-profiling)."
|
|
14
|
+
readme = "README.md"
|
|
15
|
+
requires-python = ">=3.11"
|
|
16
|
+
keywords = ["data-profiling", "data-quality", "eda", "lazyframe", "polars", "profiling", "report"]
|
|
17
|
+
authors = [{ name = "Drew Adlof", email = "drew.adlof@gmail.com" }]
|
|
18
|
+
license = "MIT"
|
|
19
|
+
license-files = ["LICENSE", "NOTICE"]
|
|
20
|
+
classifiers = [
|
|
21
|
+
"Development Status :: 3 - Alpha",
|
|
22
|
+
"Environment :: Console",
|
|
23
|
+
"Framework :: IPython",
|
|
24
|
+
"Intended Audience :: Developers",
|
|
25
|
+
"Intended Audience :: Science/Research",
|
|
26
|
+
"Operating System :: OS Independent",
|
|
27
|
+
"Programming Language :: Python :: 3.11",
|
|
28
|
+
"Programming Language :: Python :: 3.12",
|
|
29
|
+
"Programming Language :: Python :: 3.13",
|
|
30
|
+
"Programming Language :: Python :: 3.14",
|
|
31
|
+
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
32
|
+
"Typing :: Typed",
|
|
33
|
+
]
|
|
34
|
+
dependencies = [
|
|
35
|
+
"filetype>=1.0.0",
|
|
36
|
+
"jinja2>=3.1.6,<3.2",
|
|
37
|
+
"minify-html>=0.15.0",
|
|
38
|
+
"numpy>=1.24",
|
|
39
|
+
"polars>=2.0",
|
|
40
|
+
"pydantic-settings>=2.6",
|
|
41
|
+
"pydantic>=2.12,<3",
|
|
42
|
+
"pyyaml>=6.0",
|
|
43
|
+
# chi-squared p-values, Kendall's tau, contingency tests, FFT peak finding
|
|
44
|
+
"scipy>=1.10",
|
|
45
|
+
"tqdm>=4.66.3,<5",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[project.optional-dependencies]
|
|
49
|
+
# Image variables: dimensions, EXIF and perceptual hashes (`vars.image.active`)
|
|
50
|
+
image = ["imagehash>=4.3", "pillow>=10"]
|
|
51
|
+
# Jupyter widgets flavour (`report.to_widgets()`)
|
|
52
|
+
notebook = ["ipywidgets>=8"]
|
|
53
|
+
# Word clouds for text variables (a word-frequency chart is drawn without it)
|
|
54
|
+
wordcloud = ["wordcloud>=1.9.4"]
|
|
55
|
+
# Everything above
|
|
56
|
+
all = ["imagehash>=4.3", "ipywidgets>=8", "pillow>=10", "wordcloud>=1.9.4"]
|
|
57
|
+
|
|
58
|
+
[project.urls]
|
|
59
|
+
Homepage = "https://github.com/andrewadlof/polars-data-profiling"
|
|
60
|
+
Repository = "https://github.com/andrewadlof/polars-data-profiling"
|
|
61
|
+
Documentation = "https://andrewadlof.github.io/polars-data-profiling/"
|
|
62
|
+
Issues = "https://github.com/andrewadlof/polars-data-profiling/issues"
|
|
63
|
+
Changelog = "https://github.com/andrewadlof/polars-data-profiling/blob/main/CHANGELOG.md"
|
|
64
|
+
|
|
65
|
+
[project.scripts]
|
|
66
|
+
polars_data_profiling = "polars_data_profiling.controller.console:main"
|
|
67
|
+
|
|
68
|
+
[build-system]
|
|
69
|
+
requires = ["uv_build>=0.8,<0.12"]
|
|
70
|
+
build-backend = "uv_build"
|
|
71
|
+
|
|
72
|
+
[tool.uv.build-backend]
|
|
73
|
+
module-name = "polars_data_profiling"
|
|
74
|
+
|
|
75
|
+
[dependency-groups]
|
|
76
|
+
dev = [
|
|
77
|
+
"mdformat-gfm>=0.4.1",
|
|
78
|
+
"mdformat>=0.7.22",
|
|
79
|
+
"pillow>=10",
|
|
80
|
+
"prek>=0.2.3",
|
|
81
|
+
"pyarrow>=14",
|
|
82
|
+
"pytest-cov>=6.2.1",
|
|
83
|
+
"pytest>=8.4.2",
|
|
84
|
+
"ruff>=0.12.12",
|
|
85
|
+
"rust-just>=1.50.0",
|
|
86
|
+
]
|
|
87
|
+
docs = [
|
|
88
|
+
"mkdocs-api-autonav",
|
|
89
|
+
"mkdocs-github-admonitions-plugin",
|
|
90
|
+
"mkdocs-glightbox",
|
|
91
|
+
"mkdocstrings[python]",
|
|
92
|
+
"zensical>=0.0.20",
|
|
93
|
+
]
|
|
94
|
+
|
|
95
|
+
[tool.uv]
|
|
96
|
+
default-groups = ["dev"]
|
|
97
|
+
|
|
98
|
+
[tool.ruff]
|
|
99
|
+
line-length = 88
|
|
100
|
+
target-version = "py311"
|
|
101
|
+
|
|
102
|
+
[tool.ruff.lint]
|
|
103
|
+
select = ["E", "F", "I", "UP", "B", "SIM"]
|
|
104
|
+
# E501: long strings in templates and messages; B905: zip(strict=) is noise here
|
|
105
|
+
ignore = ["E501", "B905", "SIM108"]
|
|
106
|
+
|
|
107
|
+
[tool.ruff.lint.per-file-ignores]
|
|
108
|
+
"tests/*" = ["B", "SIM"]
|
|
109
|
+
|
|
110
|
+
[tool.pytest.ini_options]
|
|
111
|
+
testpaths = ["tests"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Polars-native data profiling.
|
|
2
|
+
|
|
3
|
+
Profile a ``pl.DataFrame`` or ``pl.LazyFrame`` into an HTML or JSON report::
|
|
4
|
+
|
|
5
|
+
import polars as pl
|
|
6
|
+
from polars_data_profiling import ProfileReport
|
|
7
|
+
|
|
8
|
+
ProfileReport(pl.scan_parquet("data.parquet"), title="Data").to_file("report.html")
|
|
9
|
+
|
|
10
|
+
Importing the package also registers the ``profile`` namespace on Polars
|
|
11
|
+
frames: ``df.profile.report(...)``.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from polars_data_profiling.profile_report import ProfileReport # isort: skip
|
|
15
|
+
from polars_data_profiling.compare_reports import compare
|
|
16
|
+
from polars_data_profiling.controller import namespace # noqa: F401 (registers df.profile)
|
|
17
|
+
from polars_data_profiling.version import __version__
|
|
18
|
+
|
|
19
|
+
__all__ = ["ProfileReport", "__version__", "compare"]
|