Utilities to parse Debian package, control, and copyright files. Current version 31.1.1, with a recent release cadence (multiple minor releases in 2025). Requires Python >=3.9.
pip install debian-inspectorVerified import paths — ran on the pinned version, not inferred.
Parses a control file and a copyright file using top-level API.
Update any code that references 'licence' field in copyright paragraphs to use 'license'.
Change imports to `from debian_inspector import DpkgHandler, Copyright, get_license_detection_from_nameless_paragraph`.
Read the file content first: `with open('control') as f: text = f.read(); handler = DpkgHandler(text)`.No dependency data recorded yet.