Installing AssayPDF
Installing AssayPDF
Section titled “Installing AssayPDF”Prerequisites and initial setup. For the end-to-end workflow once you’re installed, see usage.md.
Prerequisites
Section titled “Prerequisites”Python + uv
Section titled “Python + uv”curl -LsSf https://astral.sh/uv/install.sh | shuv fetches Python 3.12, installs all dependencies, and creates .venv/ on uv sync. About 30 seconds on a fresh machine.
System binaries
Section titled “System binaries”AssayPDF shells out to several PDF and imaging tools at runtime: ghostscript, qpdf, mupdf-tools (mutool), exiftool, imagemagick, and verapdf.
brew install ghostscript qpdf mupdf-tools exiftool imagemagickveraPDF is not in core Homebrew. Install via the headless installer:
cd /tmpcurl -L -o verapdf-installer.zip https://software.verapdf.org/rel/verapdf-installer.zipunzip -o verapdf-installer.zip# Follow on-screen prompts or use the auto-install XML approach in scripts/bootstrap.shsudo apt-get install ghostscript qpdf mupdf-tools libimage-exiftool-perl imagemagick# verapdf: same headless installer as macOSVerify
Section titled “Verify”just check-depsPrints a check or cross for each binary.
Preflight engine (only for assay benchmark)
Section titled “Preflight engine (only for assay benchmark)”You only need an engine if you plan to run assay benchmark. Generation, validation, and reporting work without one.
| Engine | Status | License | Notes |
|---|---|---|---|
| callas pdfToolbox | working | trial or commercial | CLI invocation |
| Enfocus PitStop Server | working | trial or commercial | CLI invocation |
| lintPDF | working | — | HTTP API at lintpdf.com; runner wired |
Engine-specific env vars (set before assay benchmark):
export ASSAY_PDFTOOLBOX_PROFILE_DIR="$HOME/Library/Application Support/callas software/pdfToolbox/Profiles"export ASSAY_PITSTOP_PROFILE_DIR="$HOME/Library/Application Support/Enfocus/PitStop Server/Preflight Profiles"Clone and sync
Section titled “Clone and sync”git clone https://github.com/printwithsynergy/assay-pdf.gitcd assay-pdfuv sync --all-extrasThat’s it. Continue with the usage walkthrough.
Optional: ICC profile setup
Section titled “Optional: ICC profile setup”For variant-specific colorimetry, install Adobe ICC Profiles. Without these, AssayPDF falls back to a generic CMYK profile which is structurally valid but not the spec-recommended ICC for any specific variant. Details in reproducing.md.