Releases: MaybeBio/LibInspector
Releases · MaybeBio/LibInspector
V0.2.0
Release 0.2.0 (2025-12-25)
Highlights in this release:
- AST-only file-mode fallback: when dynamic import attempts fail (common for local scripts with relative imports), LibInspector now performs a pure AST analysis of the target file and emits a useful Markdown/HTML file-level report.
- Multi-candidate (max-coverage) outputs: by default LibInspector now attempts all import candidates (resolved package name, CLI entry module, constructed module name from file path, and raw file path) and generates a separate report per candidate so you can inspect different analysis perspectives.
- New API parameter:
run_all_candidates(default:True) — set toFalsefor a single-run behavior when callinginspect_library()programmatically.
Notes and migration tips:
- CLI behavior: the CLI currently triggers multi-candidate runs by default (per-candidate Markdown/HTML files are created). If you prefer a single consolidated run programmatically, call
inspect_library(..., run_all_candidates=False). - Output filenames: when multiple candidates are produced, output files are named by appending
_candidate_<n>_<safe-name>to your requested output path (e.g.report_candidate_1_TensorVis.cli.md).
Full Changelog: v0.1.0...v0.2.0