Skip to content

Installation

Requirements

  • Python 3.10 or higher
  • uv (recommended), pip, or poetry

Install from PyPI

Text Only
uv add dppvalidator
Text Only
pip install dppvalidator
Text Only
poetry add dppvalidator

Optional Dependencies

CLI Extras

For enhanced CLI output with rich formatting:

Text Only
uv add "dppvalidator[cli]"
Text Only
pip install "dppvalidator[cli]"

This installs rich for colored terminal output.

Core dependencies included by default

The core package already includes httpx, jsonschema, pyld, and cryptography — no extras needed for full validation functionality.

Verify Installation

Text Only
# Check version
dppvalidator --version

# Run a quick test
echo '{"id": "https://example.com/dpp"}' | dppvalidator validate -

Development Installation

For contributing to dppvalidator:

Text Only
# Clone the repository
git clone https://github.com/artiso-ai/dppvalidator.git
cd dppvalidator

# Install with dev dependencies
uv sync

# Run tests
uv run pytest

Next Steps