Feedzai's theme for Altair charts.
Via pip:
pip install feedzai-altair-themeVia Pipenv:
pipenv install feedzai-altair-themeVia Poetry:
poetry add feedzai-altair-themeVia PDM:
pdm add feedzai-altair-themeVia uv:
uv add feedzai-altair-themeimport altair as alt
alt.theme.enable("feedzai")You can find some example charts in the demo.ipynb notebook.
Assuming uv is installed, install Python:
uv python installCreate and activate the development environment:
uv syncsource .venv/bin/activateAfter implementing changes, type-check with mypy, then lint and format the code with Ruff:
mypyruff check --fixruff formatTo see the changes applied to some example charts, use the demo.ipynb notebook:
jupyter lab demo.ipynbOnce done, deactivate the development environment:
deactivateBump the feedzai-altair-theme version using one of the following commands, according to the Semantic Versioning specification:
uv version --bump patchuv version --bump minoruv version --bump majorNext, confirm you can build the package locally:
uv buildOnce 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.
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 -ngit push origin --tagsFirst, 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-isolationThis 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.
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.whlThis command assumes that the feedzai-altair-theme dependencies are already installed in your environment.