16ane-sdk
توضیحات
Python SDK for the 16ane Agent Economy (tANE Sandbox)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | 16ane-sdk-0.1.2 |
| نام | 16ane-sdk |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/16ane-sdk/ |
| مجوز | MIT |
<img src="https://raw.githubusercontent.com/bytesbrains/16ane/main/web/mark.png" alt="16ane" width="68">
# 16ane-sdk (Python)
Python SDK for the 16ane agent-economy sandbox: owner and agent-session wallets, x402 v2 payments
settled through `AneAgentVault`, signed service manifests, and direct on-chain receipt verification.
> **TEST TOKENS (tANE) — NO CASH VALUE.** `tANE` is a free, simulated testnet token. It is not
> backed by INR, not redeemable, and not convertible to any future `ANE`.
Status: on PyPI since `0.1.0` (`pip install 16ane-sdk`); `0.0.0` is an older code-free name placeholder. The distribution name is `16ane-sdk`; the import name is `ane_sdk`. The sandbox contracts are live on Base Sepolia
(registry `0x01d5daB670DE5868305eB862721ebE62772C3Df3`, all addresses in [`networks/sandbox-sepolia.json`](https://github.com/bytesbrains/16ane/blob/main/networks/sandbox-sepolia.json)), or use a local Anvil chain.
## Use from a checkout
```bash
python3 -m unittest discover -s packages/sdk-py/tests -p 'test_*.py' -v
```
```python
import sys
sys.path.insert(0, "packages/sdk-py")
from ane_sdk import AneClient, AgentSession
client = AneClient(rpc_url="http://127.0.0.1:8545", chain_id=84532, registry_address="0x...")
```
Requires Python 3.11+ and has no third-party dependencies. See the
[repository README](https://github.com/bytesbrains/16ane#readme) for the protocol, threat model and ADRs.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl 16ane-sdk-0.1.2:
pip install 16ane-sdk.whl
نصب پکیج tar.gz 16ane-sdk-0.1.2:
pip install 16ane-sdk.tar.gz