Local web review interface for nophi / nophi-av PHI redaction
Project description
nophi-ui
A local web review interface for the nophi (documents) and
nophi-av (audio/video) PHI redaction engines.
It is a thin FastAPI frontend — the redaction logic stays in the two engines. It lets you run detection from the browser, remove false-positive detections (and, for audio, add a missed segment by hand) before redaction is applied, and view the redacted result.
Run
nophi-ui # opens http://127.0.0.1:8000
nophi-ui --port 9000 --no-open
You type a server-side input directory and output directory (raw paths), preview the files that will be processed, then start detection.
What it does
- Documents (
.txt .csv .docx .xlsx .pdf): detect → review the detection list → uncheck false positives → apply. PDF previews inline; docx/xlsx are download-only. - Audio: detect → review (play the original clip per detection) → uncheck
false positives and/or add missed
start/endsegments → apply (re-scrubs from the original; no re-transcription). - Video: view-only. Redacted in one shot; detections shown for reference.
Security
This tool serves PHI, so by design it:
- binds to
127.0.0.1only (refuses other hosts), - locks CORS to its own origin,
- requires a per-launch token on every API call,
- serves files by opaque job/file id (never a client-supplied path),
- marks PHI responses
Cache-Control: no-storeand serves only the clipped segment for audio review.
State is held in memory for the process lifetime; closing the server clears it (a restart means re-running detection).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nophi_ui-0.1.0.tar.gz.
File metadata
- Download URL: nophi_ui-0.1.0.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a476f4e89a9e1e016d8d754e4ea010d4250e76675f70e6f8ab0d97ef5bcc219
|
|
| MD5 |
efeba03a189ddfc08145f2ca68b67454
|
|
| BLAKE2b-256 |
ed5eff17e8464f046ef6398568e7eb04b2a6e1e84c2d3144b301ac8913fe76e8
|
File details
Details for the file nophi_ui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nophi_ui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bb952f968abf9d51aed6f24e6d29fa80084459a43a4bf709186eb069c9fad75
|
|
| MD5 |
e081f7c196c7c058b569fad80ad5c3d5
|
|
| BLAKE2b-256 |
5e6658b8b626420a02fffacb86467623e5749afc68dad195c621d908ac54d13c
|