{"id":27265,"library":"py-builder-relayer-client","title":"Python Builder Relayer Client","description":"Python SDK for signing orders with Polymarket's builder relayer network. Current version 0.0.1, early-stage development with basic signing functionality.","status":"active","version":"0.0.1","language":"python","source_language":"en","source_url":"https://github.com/Polymarket/py-builder-relayer-client","tags":["polymarket","blockchain","ethereum","signing","relayer"],"install":[{"cmd":"pip install py-builder-relayer-client","lang":"bash","label":"Default install"}],"dependencies":[{"reason":"HTTP client for API calls","package":"requests","optional":false},{"reason":"Ethereum account signing","package":"eth-account","optional":false}],"imports":[{"note":"Use snake_case module name as per package structure.","symbol":"BuilderRelayerClient","correct":"from builder_relayer_client import BuilderRelayerClient"}],"quickstart":{"code":"import os\nfrom builder_relayer_client import BuilderRelayerClient\n\napi_key = os.environ.get('BUILDER_RELAYER_API_KEY', '')\nclient = BuilderRelayerClient(api_key=api_key)\n# Example: sign an order\norder_payload = {'type': 'BUY', 'amount': 100}\nsigned_order = client.sign_order(order_payload)\nprint(signed_order)","lang":"python","description":"Initialize client with API key and sign an order."},"warnings":[{"fix":"Use `pip install py-builder-relayer-client==0.0.1` and expect breaking changes.","message":"The package is in very early stage (v0.0.1). API may change without notice. Pin to exact version in production.","severity":"gotcha","affected_versions":"<0.1.0"},{"fix":"Set environment variable `BUILDER_RELAYER_API_KEY` or pass it directly to the constructor.","message":"The client requires a builder relayer API key. Without it, signing calls may fail with authentication errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install package: `pip install py-builder-relayer-client`. Then import: `from builder_relayer_client import BuilderRelayerClient`.","cause":"Incorrect import path or package not installed.","error":"ImportError: No module named 'builder_relayer_client'"},{"fix":"Upgrade to latest version: `pip install --upgrade py-builder-relayer-client`. Check documentation for available methods.","cause":"Outdated client version or method not yet implemented.","error":"AttributeError: 'BuilderRelayerClient' object has no attribute 'sign_order'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}