{"repo":"rklb7/ic-py","free":true,"listed":false,"github":"https://github.com/rklb7/ic-py","clone":"git clone https://github.com/rklb7/ic-py.git","description":"Python Agent Library for the DFINITY Internet Computer","language":"Python","stars":133,"topics":["dfinity","python","sdk","ic","internet-computer","agent"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Python Agent Library for the Internet Computer ic-py provides basic modules to interact with canisters on the DFINITY Internet Computer. --- Install --- What’s New Optional certificate verification via BLS + blst - Agent.update raw(..., verify certificate: bool = False) - When verify certificate=True , the agent verifies certified update responses using BLS12-381 (minsig: G1 signature, G2 public key) . - This requires the official Python binding of blst . - If you don’t want to verify certificates (e.g., during prototyping), you can omit the flag or set verify certificate=False (default). ⚠️ Security advice: For production workloads, enable certificate verification. --- Installing blst (only needed if you verify certificates) blst is not on PyPI. Install the official binding from source. macOS (Intel & Apple Silicon) / Linux Or copy the generated blst.py and the native blst .so into your site-packages : Quick check: Windows - Recommended: use WSL2 (Ubuntu) and follow the Linux steps above. - Native Windows builds may require additional toolchain setup; WSL2 is strongly recommended. --- Features 1. Candid types encode & decode 2. Support secp256k1 & ed25519 identities, PEM file import 3. Canister DID file parsing 4. Canister class, initialized with canister id and DID file 5. Common canister interfaces: ledger, management, NNS, cycles wallet 6. Async support --- Modules & Usage 1. Principal Create an instance: Properties & methods: 2. Identity Create an instance: Sign a messag","default_branch":null,"files":null,"tree":[],"storefront":"/r/rklb7","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rklb7/ic-py/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}