Installation
The OpenReason Protocol validator is available as a Python package on PyPI.
Requirements
- Python 3.9 or higher
- pip (Python package installer)
Install via pip
pip install orp-validatorInstall from source
git clone https://gitlab.com/publicreason/orp.git
cd orp
pip install -e .Verify installation
orp --versionYou should see:
orp-validator 0.3.0What gets installed
The orp-validator package includes:
- CLI tool (
orp) - Command-line interface for all operations - Python API - Import and use in your Python code
- JSON Schema - For ORP v0.1 validation
- Document templates - For all three compliance levels
Next steps
- Quick Start Guide - Validate your first document in 60 seconds
- Create Your First Document - Step-by-step guide
- CLI Reference - Full command reference
Troubleshooting
Python version too old
If you get an error about Python version:
python --version # Check your version
python3.11 -m pip install orp-validator # Use specific versionPermission errors
On Linux/Mac, you may need:
pip install --user orp-validatorOr use a virtual environment (recommended):
python -m venv orp-env
source orp-env/bin/activate # On Windows: orp-env\Scripts\activate
pip install orp-validatorModule not found
Make sure pip installed to the correct Python:
python -m pip install orp-validator