Skip to content

(v0.3.4) Jupyter / notebook HTML output

Latest

Choose a tag to compare

@mitulgarg mitulgarg released this 15 Jun 17:53
· 1 commit to main since this release

env-doctor v0.3.4

Added

  • Jupyter / notebook HTML outputfrom 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.
  • CheckReport public APIcheck() returns a CheckReport with _repr_html_() (Jupyter display protocol), __repr__(), .html (raw HTML string), and .to_dict().
  • --format {text,html,json} CLI flagenv-doctor check --format html > report.html for CI reports. --json / --ci unchanged.
  • report moduleis_notebook() detects Jupyter/Colab kernels; format_result_html() produces inline-CSS HTML with no external deps or JS.
  • [notebook] optional extrapip install "env-doctor[notebook]" pulls in IPython. Core deps unchanged; IPython stays optional and lazily imported.

Changed

  • Extracted collect_check_results() and render_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