Skip to main content

Altair Ally

This package is in early development and its API might change without notice.

Altair Ally is a companion package to Altair, which provides a few shortcuts to create common plots for exploratory data analysis (EDA), particularly those involving visualizing an entire dataset. The goal is to encourage good EDA habits by making it quick and simple to create these visualizations, and to provide useful default interactions with the plots.

Thanks to the excellent API in Altair / Vega-Lite, some configuration is possible by using the built-in methods of the returned chart objects, but the general philosophy is that highly customized plots are better made in Altair directly. Check out the examples section to get started and the API reference for all available options.

The package name is a nod to ggally which complements ggplot2 in a similar, but much more extensive manner.

Installation

pip install altair-ally

Version 0.2.0 requires Python 3.11 or newer and supports Altair 6.x, including 6.3.0, and pandas 1.5.3 through 3.x. Examples use Altair's built-in dataset loader, altair.datasets.

To work with a source checkout, install uv and run:

uv sync --locked
uv run python

Documentation

This Jupyter Book contains the documentation with more info and examples.

See the compatibility and migration guide for the expanded dist() options and changes since 0.1.1. See CHANGELOG.md for the 0.2.0 release notes.

Development

uv sync --locked --all-groups
uv run task test
uv run --group doc task doc-build
uv run task build

The test suite validates chart specifications and renders them with Vega-Lite. CI covers the minimum dependencies, Altair 6.0 and 6.3, and pandas 3.

Project metadata, development dependencies, pytest configuration, and tasks live in pyproject.toml. The committed uv.lock makes development reproducible; .python-version selects Python 3.13 locally, while CI also checks Python 3.11. See CONTRIBUTING.md for dependency updates and CI overrides.

Releasing

After updating the version and changelog, run uv run --locked task release-check. The version-aware release-build, release-tag, release-publish, and release-github tasks automate the remaining release commands. They support --dry-run to preview commands. See the release procedure for the commit/CI checkpoints and publication setup.

Metadata

Release files for altair-ally 0.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 altair-ally 0.2.1
File Size Uploaded
altair_ally-0.2.1.tar.gz 277.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for altair-ally 0.2.1
File Interpreter ABI Platform
altair_ally-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 290.9 kB

Release files / altair_ally-0.2.1.tar.gz

Download URL altair_ally-0.2.1.tar.gz
Size 277.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3a32509e9a81d80b9f92afb18391ea24bd8f0942e0f57577e8384e114f6e1ffc
BLAKE2b-256 checksum
How to use checksums
a508b6d97a4d32a2e723b4eecda1cd404711373d80e9d026ea0bfd2f891cf226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / altair_ally-0.2.1-py3-none-any.whl

Download URL altair_ally-0.2.1-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
883473b99cf70979660bcd96686a49ebc517778eb32f0b7e43c9b66b67c9430c
BLAKE2b-256 checksum
How to use checksums
620bfc9e22f9e1ff8438019a8a9f732725300d6dcfcb986adba1db1e51aeec8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

1 release file

0.1.0

1 release file

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