Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_parrot_visualizations-0.1.5.tar.gz (417.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_parrot_visualizations-0.1.5-py3-none-any.whl (434.5 kB view details)

Uploaded Python 3

File details

Details for the file ai_parrot_visualizations-0.1.5.tar.gz.

File metadata

  • Download URL: ai_parrot_visualizations-0.1.5.tar.gz
  • Upload date:
  • Size: 417.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ai_parrot_visualizations-0.1.5.tar.gz
Algorithm Hash digest
SHA256 df911a8f86bfb38c329485e2e4f1a1e10bfa39cb174a8812f3baa9ceb3ffae6f
MD5 ae37a5064d0e4547d6e1778a01bce4c2
BLAKE2b-256 1cc080a433b33e8d0161fb748d663a7d36f4ecbb17780812fef73a3679423ea3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_parrot_visualizations-0.1.5.tar.gz:

Publisher: release.yml on phenobarbital/ai-parrot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_parrot_visualizations-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_parrot_visualizations-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3f5f0fbebd0c5e09725909c42de716a137148e680fff788aca2c0314993de412
MD5 19822ca62bba2693c2b611c1d6aae6f3
BLAKE2b-256 3c5ae6cb66a4b73ed0342dc9cbcbab65c9a88489d361c79625f6b0a1bf09e055

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_parrot_visualizations-0.1.5-py3-none-any.whl:

Publisher: release.yml on phenobarbital/ai-parrot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page