Generate multi-page HTML file for Interactive analytical reporting with Python and Plotly
Project description
VizBlend
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
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
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
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 vizblend-2.0.0.tar.gz.
File metadata
- Download URL: vizblend-2.0.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc28123e03c13fe1b2a13052a226c6e9e6b283b669d62bb01db4e6912420c2cc
|
|
| MD5 |
1f71d6f6ec1916a724fa2a90de68c0cc
|
|
| BLAKE2b-256 |
83d2fd5c7125f935b498c464e46b5c0177661bfc94501682a782de99ccec3100
|
File details
Details for the file vizblend-2.0.0-py3-none-any.whl.
File metadata
- Download URL: vizblend-2.0.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b47252bd28eefbc2474d6bc4cd60a350b833e9967f7921c3a957d82922b79ea2
|
|
| MD5 |
e2a9bcd9baa098a81591ad6e6b8e3994
|
|
| BLAKE2b-256 |
63e0efdc1d55ec869a43b50bcf895af9d4cdd2c8bef14c31eb3f1d948b595290
|