Registry / auth-security / compz
library1.0.0pypypi✓ verified 89d ago

CompZ is a privacy-preserving compliance attestation SDK that anchors attestations to the Zcash blockchain. Version 1.0.0 is the initial release, with active development. Release cadence is not yet established.

pip install compz
INSTALL
IMPORT
SIG · COMPZ
C
compz
auth-securitypythonv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CompZClient
✓ from compz import CompZClient
✗ from compz_client import CompZClient
incorrect package name
Attestation
✓ from compz import Attestation
✗ import Attestation
direct import without module

Initialize client and submit a compliance attestation. Provide API key via environment variable COMPZ_API_KEY.

from compz import CompZClient, Attestation import os client = CompZClient( api_key=os.environ.get('COMPZ_API_KEY', ''), network='testnet' ) attestation = Attestation( data={'compliance': 'approved'}, schema='https://example.com/schema.json' ) result = client.submit(attestation) print(result)
Debug
Known issues
gotchaThe SDK defaults to mainnet. Always specify network='testnet' for development to avoid costly mistakes.
fix
client = CompZClient(network='testnet')
affects: >=1.0.0
gotchaAPI key is required. Without it, the client raises a vague authentication error.
fix
Set COMPZ_API_KEY environment variable or pass api_key argument.
affects: >=1.0.0
Errors
Common errors & fixes
AttributeError: module 'compz' has no attribute 'CompZClient'
Importing wrong symbol name after a failed installation or using an outdated version.
fix
Run 'pip install --upgrade compz' and verify import: from compz import CompZClient
ValueError: Cannot submit attestation on mainnet without API key
Attempting to use mainnet without providing an API key.
fix
Set environment variable COMPZ_API_KEY or pass api_key to constructor.
Upgrade
Version history
1.0.0latest on PyPI · released Nov 29, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
26
OpenAI (training)
1
Resources
compz — pip install compz · libregistry