feedzai-altair-theme
Feedzai's theme for Altair charts.
Sneak peek
Quickstart
Installation
Via pip:
pip install feedzai-altair-theme
Via Pipenv:
pipenv install feedzai-altair-theme
Via Poetry:
poetry add feedzai-altair-theme
Via PDM:
pdm add feedzai-altair-theme
Via uv:
uv add feedzai-altair-theme
Usage
import altair as alt
alt.theme.enable("feedzai")
You can find some example charts in the demo.ipynb notebook.
Development
Assuming uv is installed, install Python:
uv python install
Create and activate the development environment:
uv sync
source .venv/bin/activate
After implementing changes, type-check with mypy, then lint and format the code with Ruff:
mypy
ruff check --fix
ruff format
To see the changes applied to some example charts, use the demo.ipynb notebook:
jupyter lab demo.ipynb
Once done, run the tests to confirm that the theme is working for the major supported versions of Altair:
uv run --isolated --with "altair==5.5.0" pytest
uv run --isolated --with "altair==6.0.0" pytest
Finally, deactivate the development environment:
deactivate
GitHub Actions
The feedzai-altair-theme is published via GitHub Actions. So, zizmor is used to lint workflows and pinact to pin versions of actions like actions/checkout.
If you change the release.yml file, install zizmor (if necessary), run the following command, and implement the relevant feedback:
zizmor .
To update action versions, install pinact (if necessary) and run the following command:
pinact run -u --min-age 7
Deployment
Bump the package version
Bump the feedzai-altair-theme version using one of the following commands, according to the Semantic Versioning specification:
uv version --bump patch
uv version --bump minor
uv version --bump major
Next, confirm you can build the package locally:
uv build
Open a PR
Once the changes are finished and the feedzai-altair-theme version is updated, open a PR. After the PR is merged, a maintainer will ensure a new package version is released.
Release the new package version
To release a new version of feedzai-altair-theme, create a new (lightweight) tag from the master branch, and a GitHub Actions workflow will take care of the rest:
git tag "v$(uv version --short)"
git tag -n
git push origin --tags
Misc
Install the feedzai-altair-theme package in an environment without an Internet connection
Via repo
First, download the repo and move it to your environment. Then install the package with pip (or an equivalent) by pointing to the folder path and adding the necessary flags:
pip install feedzai-altair-theme/ --no-deps --no-build-isolation
This command assumes that the feedzai-altair-theme dependencies and the uv build backend are already installed in your environment. For more information about the additional flags, check the pip install documentation.
Via wheel
First, download the wheel (a.k.a. built distribution) and move it to your environment. Then install the package with pip (or an equivalent) by pointing to the file path and adding the necessary flags after replacing <VERSION>:
pip install feedzai_altair_theme-<VERSION>-py3-none-any.whl
This command assumes that the feedzai-altair-theme dependencies are already installed in your environment.
Metadata
Release files for feedzai-altair-theme 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| feedzai_altair_theme-2.1.1.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| feedzai_altair_theme-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.2 kB
Release files / feedzai_altair_theme-2.1.1.tar.gz
| Download URL | feedzai_altair_theme-2.1.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbd85537ab47068328a6ef67afe75663eaa6e86cb65e661c6bb43879cbf50f0d
|
|
BLAKE2b-256 checksum How to use checksums |
6cbebb392f930c9eeb63844e6a315167be6a5a33cb001b320672ecf6bb9d576b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 14, 2026.
Transparency logRelease files / feedzai_altair_theme-2.1.1-py3-none-any.whl
| Download URL | feedzai_altair_theme-2.1.1-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db7ebb636a11b05e8f83b379f7512a4a64987e5773178ada0dd27c42ef6e9388
|
|
BLAKE2b-256 checksum How to use checksums |
b15889edc64d2ef55eea7f0384a16a0b203010b17be27e421c6ce56d5b4aabde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 14, 2026.
Transparency log