{"id":17665848,"url":"https://github.com/darenr/report_creator","last_synced_at":"2026-04-24T19:02:05.162Z","repository":{"id":206561473,"uuid":"716792839","full_name":"darenr/report_creator","owner":"darenr","description":"Tool to assemble HTML reports using python components with charts and diagrams.","archived":false,"fork":false,"pushed_at":"2026-04-16T22:21:39.000Z","size":18732,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-17T00:29:59.527Z","etag":null,"topics":["data-analysis","data-presentation","exploratory-data-analysis","html-report","html-report-generation","pandas","python"],"latest_commit_sha":null,"homepage":"https://darenr.github.io/report_creator/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darenr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-09T22:12:23.000Z","updated_at":"2026-04-16T22:21:10.000Z","dependencies_parsed_at":"2023-11-17T23:06:12.402Z","dependency_job_id":"4d8bc621-2924-4151-a908-91a8243a9b34","html_url":"https://github.com/darenr/report_creator","commit_stats":null,"previous_names":["darenr/report_creator"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/darenr/report_creator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darenr%2Freport_creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darenr%2Freport_creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darenr%2Freport_creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darenr%2Freport_creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darenr","download_url":"https://codeload.github.com/darenr/report_creator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darenr%2Freport_creator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32236744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","data-presentation","exploratory-data-analysis","html-report","html-report-generation","pandas","python"],"created_at":"2024-10-23T21:08:03.749Z","updated_at":"2026-04-24T19:02:05.157Z","avatar_url":"https://github.com/darenr.png","language":"HTML","readme":"# Report Creator\n\n\n[![PyPI Version](https://img.shields.io/pypi/v/report_creator.svg?style=for-the-badge\u0026logo=pypi\u0026color=blue)](https://pypi.org/project/report_creator)\n[![Python Versions](https://img.shields.io/pypi/pyversions/report_creator.svg?style=for-the-badge\u0026logo=pypi\u0026color=blue)](https://pypi.org/project/report_creator)\n\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/darenr/report_creator/main.yml?style=for-the-badge\u0026logo=pypi\u0026color=blue)\n![Read the Docs](https://img.shields.io/readthedocs/report_creator?style=for-the-badge\u0026logo=readthedocs\u0026color=blue)\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge\u0026color=blue)](https://www.apache.org/licenses/LICENSE-2.0)\n\n\n\n[GitHub](https://github.com/darenr/report_creator) |\n[PyPI](https://pypi.org/project/report_creator/) |\n[Documentation](https://report-creator.readthedocs.io) |\n[Issues](https://github.com/darenr/report_creator/issues) |\n[Getting Started](https://report-creator.readthedocs.io/en/latest/getting_started.html)\n\nLibrary to assemble reports in HTML from various components using python. This is not meant to be a replacement for do-it-yourself HTML,\nit's a tool to put together professional looking reports from python easily and quickly. The philosophy for layout is that components flow in\neither the horizontal (`rc.Group()`) or Vertical (`rc.Block()`) direction.\n\nTalk to this repo using [DeepWiki Report Creator](https://deepwiki.com/darenr/report_creator) \n\nUse the documentation in Cursor, Windsurf, Claude Desktop or another MCP Client via the [Context7 MCP](https://context7.com/darenr/report_creator) for example\n\n```plaintext\nCreate an html report on this dataframe, use context7\n```\n\n## Features\n\n### Data \u0026 Visualization\n\n- **Deep Pandas Integration**: Native support for DataFrames in `Table`, `DataTable` (searcheable/sortable), and `Metric` components.\n- **Interactive Plotting**: Full support for `Plotly` figures with a custom theme for professional-looking charts by default.\n- **Matplotlib \u0026 Seaborn**: Automatic detection and rendering of `Matplotlib` and `Seaborn` objects, with consistent styling using a context manager.\n- **Specialized Charts**: Built-in components for `Radar` charts, `Bar`, `Line`, `Pie`, `Scatter`, `Box`, and `Histogram`.\n- **Advanced Metrics**: `Metric` and `MetricGroup` for KPI displays, including `EventMetric` for time-series frequency analysis.\n\n### Content \u0026 Layout\n\n- **Rich Layout System**: Flexible report structuring using `rc.Block()` (vertical) and `rc.Group()` (horizontal) stacks.\n- **Modern UI Components**: Interactive elements like `Accordion`/`Collapse` sections and `Select` tabbed interfaces.\n- **Superior Markdown**: Full GitHub Flavored Markdown (GFM) support, including Emojis, Math (LaTeX), and RST directives.\n- **Diagrams as Code**: Native `Mermaid.js` support for flowcharts, sequence diagrams, and more, with built-in pan and zoom.\n\n### Technical Capabilities\n\n- **Syntax Highlighting**: Code blocks with support for multiple languages including `Sql`, `Python`, `Yaml`, and `Json`.\n- **SQL Prettifier**: Heuristic formatting for SQL queries to improve readability in reports.\n- **Smart Media Handling**: Images and Galleries can be local, remote (fetched at build time), or Base64 encoded, with automatic styling.\n- **Self-Contained Output**: Generates standalone HTML files that bundle only the required JavaScript dependencies (Plotly, DataTables, etc.).\n- **Deterministic Styling**: Automatic, repeatable color generation for headings and labels to ensure visual consistency.\n\n## Example\n\n```python\nimport report_creator as rc\n\nwith rc.ReportCreator(\n    title=\"My Report\",\n    description=\"My Report Description\",\n    footer=\"My Report Footer\",\n    accent_color=\"red\",\n) as report:\n    view = rc.Block(\n        rc.Text(\n            \"\"\"It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of light, it was the season of darkness, it was the spring of hope, it was the winter of despair.\"\"\",\n            label=\"Charles Dickens, A Tale of Two Cities\",\n        ),\n        rc.Group(\n            rc.Metric(\n                heading=\"Answer to Life, The Universe, and Everything\",\n                value=\"42\",\n            ),\n            rc.Metric(\n                heading=\"Author\",\n                value=\"Douglas Adams\",\n            ),\n        ),\n        rc.Bar(\n            px.data.medals_long(),\n            x=\"nation\",\n            y=\"count\",\n            dimension=\"medal\",\n            label=\"Bar Chart - Olympic Medals\",\n        ),\n        rc.Scatter(\n            px.data.iris(),\n            x=\"sepal_width\",\n            y=\"sepal_length\",\n            dimension=\"species\",\n            marginal=\"histogram\",\n            label=\"Scatter Plot - Iris\",\n        ),\n    )\n\n    report.save(view, \"report.html\")\n```\n\n## Development\n\nThis project has been configured for Claude Clode. These are entirely optional to use for development.\n\n```sh\nconda create -n rc -c conda-forge python=3.13\nconda activate rc\nmake setup\n\n# recommended for code hygiene\nmake format\n\n# install as a local package:\npython3 -m pip install -e .\n\n# see dependency tree:\npipdeptree --exclude pip,pipdeptree,setuptools,wheel,twine\n\n# build examples:\nmake examples\n\n# build a *specific* example:\nmake examples EXAMPLES=examples/myreport.py\n\n# run tests\nmake tests\n\n# build doc\nmake doc\n\n# release new version\nmake release\n\n# show list of make targets\nmake targets\n\n```\n\n## Get in touch\n\nThis project is under active development\n\n- Report bugs via [GitHub Issues](https://github.com/darenr/report_creator/issues).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarenr%2Freport_creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarenr%2Freport_creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarenr%2Freport_creator/lists"}