Skip to main content

VizBlend

PyPI Version License Build Status CI/CD Code Style: Black PyPI Downloads

VizBlend is a Python package that simplifies creating interactive analytical reports by consolidating Plotly figures into a single HTML file. It’s designed to function like a modern PowerPoint presentation but with the power of stunning and interactive data visualizations.

Whether you’re a data analyst, scientist, or developer, VizBlend streamlines the visualization workflow and enhances collaboration.

Demo

Below is a preview of a report generated with VizBlend:

⭐ If You Like It, Start it, please! ⭐ VizBlend Thumbnail VizBlend Thumbnail

Installation and use case

Install vizBlend using pip:

pip install vizBlend

Import VizBlend and add figures

from vizblend import CreateReport  
import plotly.graph_objects as go  

report = CreateReport(report_title="Sales Report")  
bar_fig = go.Figure(go.Bar(x=["A", "B", "C"], y=[10, 20, 30]))  
report.add_figure(bar_fig, {"title": "Sales Data"})

Generate the report

report_file = report.blend_graphs_to_html()  
print(f"Report saved to {report_file}")

Learning Purpose

Beside its main job, this repo intends to teach aspiring data analysts or even data scientists who cannot have full control over their coding cycle. With a simple mission: create visualizations and append them to an HTML file, you can take your learning curve up to include useful skills:

  • Write unit and integration tests with edge cases to ensure your code is not error-prone.

  • Write CI/CD workflows to run on every push or pull request to ensure the newly committed code is compatible enough.

  • Creating, managing and deploying your package to PyPi so that you can simply run pip install <package_name> and start using it.

    Useful Resources

Metadata

Release files for vizblend 2.0.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 vizblend 2.0.0
File Size Uploaded
vizblend-2.0.0.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vizblend 2.0.0
File Interpreter ABI Platform
vizblend-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.3 kB

Release files / vizblend-2.0.0.tar.gz

Download URL vizblend-2.0.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dc28123e03c13fe1b2a13052a226c6e9e6b283b669d62bb01db4e6912420c2cc
BLAKE2b-256 checksum
How to use checksums
83d2fd5c7125f935b498c464e46b5c0177661bfc94501682a782de99ccec3100
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / vizblend-2.0.0-py3-none-any.whl

Download URL vizblend-2.0.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b47252bd28eefbc2474d6bc4cd60a350b833e9967f7921c3a957d82922b79ea2
BLAKE2b-256 checksum
How to use checksums
63e0efdc1d55ec869a43b50bcf895af9d4cdd2c8bef14c31eb3f1d948b595290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

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