{"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,"search_vec":"'1.0.0':19 'activ':25 'anchor':12 'attest':9,13,37 'blockchain':17,35 'cadenc':28 'complianc':8,33 'compz':1,2 'develop':26 'establish':32 'initi':22 'preserv':7 'privaci':6,34 'privacy-preserv':5 'releas':23,27 'sdk':10 'version':18 'yet':31 'zcash':16,36","created_at":"2026-05-01T17:43:12.467467+00:00","updated_at":"2026-05-01T17:43:12.467467+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/Compliledger/CompZ","docs":"https://github.com/Compliledger/CompZ/blob/main/README.md","changelog":null,"pypi":"https://pypi.org/project/compz/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth-security"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-29","install_tag":null}}