Evidence Sanitizer is distributed as a cloneable repository rather than a published PyPI package. Installation means cloning the repo and runningDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/facunemi/evidence-sanitizer/llms.txt
Use this file to discover all available pages before exploring further.
uv sync to materialize a local virtual environment with all dependencies. The entire workflow — dependency resolution, environment creation, and script invocation — is handled by uv, which keeps everything project-local and reproducible.
Prerequisites
You need two things before installing Evidence Sanitizer: Python 3.12 or later. The project declaresrequires-python = ">=3.12" in pyproject.toml. Older Python versions are not supported.
uv. Evidence Sanitizer uses uv for all dependency management and script execution. Install it by following the official instructions at docs.astral.sh/uv. uv is a single binary with no dependencies of its own and works on Linux, macOS, and Windows.
Installation
Clone the repository
Clone Evidence Sanitizer from GitHub:All subsequent commands in this guide assume you are inside the
evidence-sanitizer directory.Install dependencies with uv sync
Install the project and its dependencies into a local virtual environment:uv reads
pyproject.toml, resolves the dependency set, and writes a .venv directory inside the project root. The only runtime dependency is typer>=0.15.0,<1.0.0. Development dependencies (mypy, pytest, ruff) are also installed for use with the development commands listed in the README.No published PyPI package install is required.
uv sync installs Evidence Sanitizer as a local editable project directly from the cloned source. There is no pip install evidence-sanitizer step.Invocation Options
There are two equivalent ways to run Evidence Sanitizer after installation. Option 1 — via the registered script entry point (recommended):evidence-sanitizer script registered in pyproject.toml under [project.scripts]:
main() function in evidence_sanitizer/cli.py and runs it inside the project virtual environment.
Option 2 — via the Python module interface:
evidence_sanitizer package as a runnable module. Both invocation styles produce identical behavior — use whichever fits your workflow.
Verifying the Installation
The--help flag is the fastest way to confirm a working installation at any time:
sanitize subcommand’s flags directly:
sanitize command accepts: the positional INPUT path, the required --output OUTPUT destination path, and the optional --dry-run flag.