Skip to main content

polarstory

Data exploration with polars.

polarstory helps you understand a dataset, investigate individual variables, compare two extracts, and create standalone html reports. It works with polars DataFrames, LazyFrames, and parquet files.

Documentation

For guides, examples, and the API reference, visit polarstory documentation.

Installation

pip install polarstory

Getting Started

import polarstory as ps

profile = ps.profile('cohort.parquet')
profile.write_html('cohort_profile.html')

Explore particular variables and build a shorter report:

report = ps.Report('Cohort findings')
report.add(profile.summary('age'))
report.add(profile.histogram('age'))
report.add(profile.frequency('enctype'))
report.write_html('findings.html')

Compare two datasets:

comparison = ps.compare('cohort_before.parquet', 'cohort_after.parquet')
comparison.write_html('comparison.html')

Reports are self-contained html files with static charts. You can open them in a browser, share them with colleagues, or print them to PDF. polarstory also provides command-line tools, a notebook explorer, and optional VS Code and Windows File Explorer integrations.

Working with research data? Review reports for sensitive information and small cells before sharing. Examples in the documentation use synthetic data.

Development

Run the project's tests with:

python -m pytest -q

The test guide describes the independent statistical reference checks.

Metadata

Release files for polarstory 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polarstory 1.2.3
File Size Uploaded Provenance Actions
polarstory-1.2.3.tar.gz 109.4 kB With provenance Details for polarstory-1.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polarstory 1.2.3
File Interpreter ABI Platform Actions
polarstory-1.2.3-py3-none-any.whl Python 3 none any Details for polarstory-1.2.3-py3-none-any.whl

Total release size: 199.0 kB

Release files / polarstory-1.2.3.tar.gz

Download URL polarstory-1.2.3.tar.gz
Size 109.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4fa9b348dfed751fd7037949607012de6c1e530de8f51f2728ee5e016f5691cc
BLAKE2b-256 checksum
How to use checksums
fc98c3b210b55a61be02ddf25ee4ed77ead5b98111f93c24f02e4041905177ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / polarstory-1.2.3-py3-none-any.whl

Download URL polarstory-1.2.3-py3-none-any.whl
Size 89.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0857269c4ab8a0f77d40aa3d9f016520936b6c4a4793d8d65a5cce545e02e41
BLAKE2b-256 checksum
How to use checksums
e650a4bb07ea8d2850e558d656957cccc2ebfff00b93693b75a355d3f91cafa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for polarstory 1.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for polarstory-1.2.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page