{"id":26847,"library":"compz","title":"CompZ","description":"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.","status":"active","version":"1.0.0","language":"python","source_language":"en","source_url":"https://github.com/Compliledger/CompZ","tags":["compliance","privacy","blockchain","zcash","attestation"],"install":[{"cmd":"pip install compz","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"incorrect package name","wrong":"from compz_client import CompZClient","symbol":"CompZClient","correct":"from compz import CompZClient"},{"note":"direct import without module","wrong":"import Attestation","symbol":"Attestation","correct":"from compz import Attestation"}],"quickstart":{"code":"from compz import CompZClient, Attestation\nimport os\n\nclient = CompZClient(\n    api_key=os.environ.get('COMPZ_API_KEY', ''),\n    network='testnet'\n)\nattestation = Attestation(\n    data={'compliance': 'approved'},\n    schema='https://example.com/schema.json'\n)\nresult = client.submit(attestation)\nprint(result)","lang":"python","description":"Initialize client and submit a compliance attestation. Provide API key via environment variable COMPZ_API_KEY."},"warnings":[{"fix":"client = CompZClient(network='testnet')","message":"The SDK defaults to mainnet. Always specify network='testnet' for development to avoid costly mistakes.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Set COMPZ_API_KEY environment variable or pass api_key argument.","message":"API key is required. Without it, the client raises a vague authentication error.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install --upgrade compz' and verify import: from compz import CompZClient","cause":"Importing wrong symbol name after a failed installation or using an outdated version.","error":"AttributeError: module 'compz' has no attribute 'CompZClient'"},{"fix":"Set environment variable COMPZ_API_KEY or pass api_key to constructor.","cause":"Attempting to use mainnet without providing an API key.","error":"ValueError: Cannot submit attestation on mainnet without API key"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}