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.

Metadata

Release files for altair-ally 0.2.0

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.0
File Size Uploaded
altair_ally-0.2.0.tar.gz 272.8 kB Details

Built distribution (wheel)

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

Total release size: 286.5 kB

Release files / altair_ally-0.2.0.tar.gz

Download URL altair_ally-0.2.0.tar.gz
Size 272.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eda1914aa4129bb7c4f571cad057be2050e5a28ffe72f318176057b72d5c6c3e
BLAKE2b-256 checksum
How to use checksums
25c04840f83bcee93cd1093d0c2e8c51df58f69a2e8a7607d39ea385273de870
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.0-py3-none-any.whl

Download URL altair_ally-0.2.0-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a97fa9c74c3200733d89e3a2b9a279894f22bf17c45cc97ac4d2181172802ff9
BLAKE2b-256 checksum
How to use checksums
f82a1c3b96f8a3148cd5342c2493c25c3f8a1a140e58592f1c0ae33b27f602e3
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

0.2.1

2 release files

This release

0.2.0 This release

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