Skip to main content

Create compressed, interactive HTML reports with embedded Python code, custom JS and CSS, and wrappers for CanvasXpress plots, networks and more.

Project description


py_report_html

Create compressed, interactive HTML reports with embedded Python code, custom JS and CSS, and wrappers for CanvasXpress plots, networks and more.

py_report_html is a Python library designed for generating customizable HTML reports that can include a variety of data visualizations, tables, networks and potentially other types of interactive or static content. It supports data compression and extensibility through additional templates and web resources. The key advantage is the ability to embed Python code to control template flow execution, content rendering, and data modification on the go.

Key features and functionalities include:

  • Data Visualization Support: It integrates with several popular Python and Javascript libraries for data visualization, such as matplotlib and seaborn for static data visualization, CanvasXpress for dynamic data visualization, and Cytoscape, Elgrapho, Sigma and Pyvis for static and dynamic visualization of graph-based data structures. Additionally, it supports MermaidJS for flowcharts and diagrams.

  • Template-Based Report Generation: Allows users to define custom HTML templates for their reports, providing flexibility and customization.

  • Compression Option: Optionally compresses report data to reduce the size of the final report, making it easier to share, store, and render in a web browser.

  • Flexible Data Handling: Generates reports based on tables directly loaded from files using the main binary, “py_report_html”. Alternatively, users can load and transform data using py_report_html as a library for deeper control.

  • Extensibility: Highly extensible, allowing users to include additional JavaScript libraries, CSS stylesheets, and nested templates to further customize their reports.

For an equivalent R library, please visit htmlreportR on GitHub (https://github.com/AEstebanMar/htmlreportR).

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

py_report_html-1.1.1.tar.gz (7.6 MB view hashes)

Uploaded Source

Built Distribution

py_report_html-1.1.1-py3-none-any.whl (1.1 MB view hashes)

Uploaded Python 3

Supported by

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