env-doctor v0.3.4
Added
- Jupyter / notebook HTML output —
from env_doctor import check; check()auto-detects a live Jupyter/Colab kernel and renders a rich, self-contained HTML report inline. Falls back to
the familiar terminal text report everywhere else. CheckReportpublic API —check()returns aCheckReportwith_repr_html_()(Jupyter display protocol),__repr__(),.html(raw HTML string), and.to_dict().--format {text,html,json}CLI flag —env-doctor check --format html > report.htmlfor CI reports.--json/--ciunchanged.reportmodule —is_notebook()detects Jupyter/Colab kernels;format_result_html()produces inline-CSS HTML with no external deps or JS.[notebook]optional extra —pip install "env-doctor[notebook]"pulls in IPython. Core deps unchanged; IPython stays optional and lazily imported.
Changed
- Extracted
collect_check_results()andrender_check_text()so the JSON, HTML, text, and public API renderers share a single detection pass. - HTML report header now uses the project SVG logo instead of an emoji.
Full changelog: v0.3.3...v0.3.4