Skip to main content

image-review

A command-line tool for reviewing medical (DICOM) and general images for burned-in Protected Health Information (PHI).

The workflow has four steps:

  1. Preprocess raw DICOM and image files into normalized JPG batches.
  2. Review the images in a browser, in single or grid mode: on this machine, or from your laptop while the images stay on a cluster.
  3. Status reports on review progress.
  4. Export writes the allowlist of files that may be released.

The documentation is at https://jstorrs.github.io/image-review/.

Installation

Requires Python >= 3.12. pip install image-review installs every command from PyPI (or pip install . from a clone); review needs only a browser. See Installation for the dependencies, cluster installs without root, compressed DICOMs and minimum dependency versions.

Quick start

# Preprocess a directory of DICOMs or a ZIP archive
image-review preprocess /path/to/dicoms/ --work-dir ./review_work

# Review in your browser: pass 1 is grid triage (press m), later passes inspect the
# flagged (DIRTY) images one at a time; press r on the page for the next pass, Ctrl-C to stop
image-review review

# Check progress (--check: exit 1 until every image has a verdict)
image-review status

# Write the allowlist of files that may be released (path + SHA-256), and a report of the rest
image-review export --output allowlist.tsv --report report.tsv

The default work directory is ./review_work. Don't create work directories inside a git checkout (the repository's .gitignore excludes them as a safety net).

The quick start is also on its own page: Quick start.

Documentation

Security

Report vulnerabilities privately, as SECURITY.md describes. The security model states what the tool protects and its limits.

Contributing

Development setup, the test, lint and type-check commands, and the project's conventions are in CONTRIBUTING.md.

Changelog

See CHANGELOG.md.

Metadata

Release files for image-review 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for image-review 0.5.0
File Size Uploaded Provenance Actions
image_review-0.5.0.tar.gz 273.3 kB With provenance Details for image_review-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for image-review 0.5.0
File Interpreter ABI Platform Actions
image_review-0.5.0-py3-none-any.whl Python 3 none any Details for image_review-0.5.0-py3-none-any.whl

Total release size: 407.6 kB

Release files / image_review-0.5.0.tar.gz

Download URL image_review-0.5.0.tar.gz
Size 273.3 kB
Tags Source
SHA-256 checksum
How to use checksums
564ce8a49a9992b35a72b4616dc0aaf19487ac5783fcce61d526777e33a93e56
BLAKE2b-256 checksum
How to use checksums
6afec2a44fbfb37b648e8bf651fead39e2af9e699456f3c65aa53a460cacf425
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / image_review-0.5.0-py3-none-any.whl

Download URL image_review-0.5.0-py3-none-any.whl
Size 134.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22339f818bef1c2928828c3ca30e468ed12ab5b39974299d29bfba8034cf6860
BLAKE2b-256 checksum
How to use checksums
9c8d361fcb53023ee9c5e19a2097ea579058bc9a11f08c016d04f299579ad8d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for image-review 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for image_review-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page