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.2

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.2
File Size Uploaded Provenance Actions
polarstory-1.2.2.tar.gz 96.5 kB With provenance Details for polarstory-1.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 176.0 kB

Release files / polarstory-1.2.2.tar.gz

Download URL polarstory-1.2.2.tar.gz
Size 96.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a7349a16945dda03f08421458e7a9e0ec7a09c43366dff0cd5cc7f1d58a2928b
BLAKE2b-256 checksum
How to use checksums
91956569789b270d15ff26fa9b3df73c0b7f244259189e1e3e360ce4f11a6c74
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 Nov 24, 2026.

Transparency log

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

Download URL polarstory-1.2.2-py3-none-any.whl
Size 79.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3542c8dd43d829513853a426c8dd522854040feff3ea605952d9d9a624100d5
BLAKE2b-256 checksum
How to use checksums
5b3661575e8f9b6fb21ff5c6687502b074beb41958700d6c9a0ba55fd5d2093c
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 Nov 24, 2026.

Transparency log

Security for polarstory 1.2.2

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.2.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 Nov 24, 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