Python SDK for the Verifiable Reality Layer (VRL) Proof Bundle Specification v1.0
Project description
VRL SDK - Verifiable Reality Layer Python SDK
A complete, production-ready Python implementation of the VRL Proof Bundle Specification v1.0.
The VRL SDK provides cryptographically verifiable attestation for AI model outputs and deterministic computations, enabling third parties to independently verify authenticity without trusting the issuing party.
Features
- ProofBundle: Complete implementation of VRL Proof Bundle structure (§3)
- Verifier: Full 10-step verification procedure per VRL Spec §12
- Canonical JSON: Spec-compliant hash computation with sorted keys and no whitespace (§10)
- SHA-256 Hashing: All hash functions use SHA-256 as specified (§11)
- AI Identity: AI-ID computation with provider signature support (§2)
- Fluent Builders: Easy-to-use builder APIs for constructing bundles
- Multiple Proof Systems: Support for all proof systems defined in spec (§4)
- Data Commitments: External dataset binding with provider signatures (§6)
- Legal Metadata: Jurisdiction, compliance, and timestamp authority support (§8)
- Proof Graphs: Causal dependency tracking for composite proofs (§7)
Installation
From PyPI
pip install vrl-sdk
From source
git clone https://github.com/vrl-protocol/sdk.git
cd sdk/sdk/python
pip install -e .
Development
pip install -e ".[dev]"
pytest tests/
Project Links
- Source: https://github.com/vrl-protocol/sdk
- Specification: https://github.com/vrl-protocol/spec
- Registry: https://github.com/vrl-protocol/registry
- Docs: https://vrl-protocol.github.io/spec/
License
MIT
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 vrl_sdk-0.2.1.tar.gz.
File metadata
- Download URL: vrl_sdk-0.2.1.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b8f473d3bd0c67f78625b4bb344edd03655ae18b172b562c3a591ae6b2e970
|
|
| MD5 |
bb8b0eea4729909d1bcd3f7da2f6f376
|
|
| BLAKE2b-256 |
b7fade4ad74ec642804e7b7f918fa4106d7a6c6c7705c952b8a2a6b2355affa4
|
File details
Details for the file vrl_sdk-0.2.1-py3-none-any.whl.
File metadata
- Download URL: vrl_sdk-0.2.1-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef06232549092abee30b6de25acf1b17d8c3fa06631828ed930d5f0181d38a61
|
|
| MD5 |
5431b3b01fa7affef19574ad1d575263
|
|
| BLAKE2b-256 |
339365a33af01797164a9b00f05b5cddd0bcef3a3c3f2ff3e9349c53bd8327bb
|