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

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.1
File Size Uploaded Provenance Actions
polarstory-1.2.1.tar.gz 95.8 kB With provenance Details for polarstory-1.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 174.8 kB

Release files / polarstory-1.2.1.tar.gz

Download URL polarstory-1.2.1.tar.gz
Size 95.8 kB
Tags Source
SHA-256 checksum
How to use checksums
96cb2d31252ee89226a8d67a343011f9e5b0e2cf9c1764655049749d4575e4ec
BLAKE2b-256 checksum
How to use checksums
2640f2f6444bd5c3a3e0960aefe6e9ec1eb50cb930f93607045dd2a2158d6e7f
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 18, 2026.

Transparency log

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

Download URL polarstory-1.2.1-py3-none-any.whl
Size 79.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bf60acfab161b431b953773ef2e243871a195c1e4664864e23daf3b11287b22
BLAKE2b-256 checksum
How to use checksums
d4b4727eeb514a1001ae78e8197c357158af014ad39f75eaf8618678e312ea9c
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 18, 2026.

Transparency log

Security for polarstory 1.2.1

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.1.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 18, 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