Visualization renderers for AI-Parrot outputs
Project description
ai-parrot-visualizations
Visualization renderer backends for the AI-Parrot framework.
Provides heavy visualization renderers (matplotlib, seaborn, plotly, altair, bokeh,
holoviews, echarts, d3, folium, infographic) as a separate installable package,
keeping the core ai-parrot package lightweight.
Installation
# Install all renderers
pip install "ai-parrot-visualizations[all]"
# Install specific renderer groups
pip install "ai-parrot-visualizations[matplotlib,seaborn]"
pip install "ai-parrot-visualizations[plotly,altair]"
pip install "ai-parrot-visualizations[charts]" # all chart renderers
pip install "ai-parrot-visualizations[infographic]" # infographic renderers
pip install "ai-parrot-visualizations[messaging]" # card/slack/whatsapp
Usage
Import paths are unchanged — the PEP 420 namespace merging makes satellite renderers transparent to the consumer:
from parrot.outputs.formats import get_renderer
from parrot.models.outputs import OutputMode
# Works the same whether renderer is in core or satellite
renderer_cls = get_renderer(OutputMode.MATPLOTLIB)
result = renderer_cls.render(data)
Available Extras
| Extra | Renderers | Dependencies |
|---|---|---|
matplotlib |
MatplotlibRenderer | matplotlib>=3.7 |
seaborn |
SeabornRenderer | seaborn>=0.13, matplotlib>=3.7 |
plotly |
PlotlyRenderer | plotly>=5.0 |
altair |
AltairRenderer | altair>=5.0 |
bokeh |
BokehRenderer | bokeh>=3.0, pandas-bokeh>=0.5 |
holoviews |
HoloviewsRenderer | holoviews>=1.18 |
echarts |
EChartsRenderer | (JS-based, no Python deps) |
d3 |
D3Renderer | (JS-based, no Python deps) |
map |
MapRenderer | folium>=0.14 |
infographic |
InfographicRenderer, InfographicHTMLRenderer | cairosvg, svglib, reportlab |
jinja2 |
Jinja2Renderer, TemplateReportRenderer | jinja2>=3.0 |
streamlit |
StreamlitGenerator | streamlit>=1.30 |
panel |
PanelGenerator | panel>=1.0 |
messaging |
CardRenderer, SlackRenderer, WhatsAppRenderer | (no heavy deps) |
charts |
All chart renderers | (all chart deps above) |
all |
Everything | (all deps above) |
Architecture
This package uses PEP 420 implicit namespace packages to contribute to the
parrot.outputs.formats namespace without requiring entry-points. When both
ai-parrot and ai-parrot-visualizations are installed, Python merges their
parrot/outputs/formats/ directories via extend_path().
License
MIT — see the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_parrot_visualizations-0.1.3.tar.gz.
File metadata
- Download URL: ai_parrot_visualizations-0.1.3.tar.gz
- Upload date:
- Size: 414.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6376bfcb7a6024185b8aba2554d164ec580dfa6617e16d1beee92f90ee67cf2
|
|
| MD5 |
c261daf1116fe273eda7dc2050d518be
|
|
| BLAKE2b-256 |
b9600a98ecac1e5de7a64e9ef62585e8b0cb7ce1ba32332827260cf9a38a931b
|
Provenance
The following attestation bundles were made for ai_parrot_visualizations-0.1.3.tar.gz:
Publisher:
release.yml on phenobarbital/ai-parrot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_parrot_visualizations-0.1.3.tar.gz -
Subject digest:
a6376bfcb7a6024185b8aba2554d164ec580dfa6617e16d1beee92f90ee67cf2 - Sigstore transparency entry: 1673614204
- Sigstore integration time:
-
Permalink:
phenobarbital/ai-parrot@14c9887a42a333152b2ef33ba6658b88215a15c1 -
Branch / Tag:
refs/tags/0.25.2 - Owner: https://github.com/phenobarbital
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@14c9887a42a333152b2ef33ba6658b88215a15c1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ai_parrot_visualizations-0.1.3-py3-none-any.whl.
File metadata
- Download URL: ai_parrot_visualizations-0.1.3-py3-none-any.whl
- Upload date:
- Size: 430.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a903af421ee4bd0319ee0d552603a3ddc032088fc1bf2ffaaf22d1b85f373f13
|
|
| MD5 |
65ea209b15a44b3d2669f49ae9f0f63a
|
|
| BLAKE2b-256 |
e2cffcace50078aebe8be55cece7e98f4cdc2d92ff796b1d8b4f52ae0f012b32
|
Provenance
The following attestation bundles were made for ai_parrot_visualizations-0.1.3-py3-none-any.whl:
Publisher:
release.yml on phenobarbital/ai-parrot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_parrot_visualizations-0.1.3-py3-none-any.whl -
Subject digest:
a903af421ee4bd0319ee0d552603a3ddc032088fc1bf2ffaaf22d1b85f373f13 - Sigstore transparency entry: 1673614386
- Sigstore integration time:
-
Permalink:
phenobarbital/ai-parrot@14c9887a42a333152b2ef33ba6658b88215a15c1 -
Branch / Tag:
refs/tags/0.25.2 - Owner: https://github.com/phenobarbital
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@14c9887a42a333152b2ef33ba6658b88215a15c1 -
Trigger Event:
release
-
Statement type: