feat: Python async SDK for RIP-302 Agent Economy (Bounty #685 Tier 1, 50 RTC)#1723
Open
kuanglaodi2-sudo wants to merge 1 commit intoScottcjn:mainfrom
Open
Conversation
…Tier 1, 50 RTC)
Python async SDK with full coverage of RIP-302 Agent Economy API:
- Job lifecycle: post, browse, claim, deliver, accept, dispute, cancel
- Reputation queries
- Marketplace statistics
- Async (httpx) + sync wrapper
Files:
- sdk/python/rustchain_sdk/__init__.py
- sdk/python/rustchain_sdk/rustchain_sdk.py
- sdk/python/README.md
- sdk/python/setup.py
- sdk/python/pyproject.toml
Usage:
async with AgentEconomySDK(wallet="my_wallet") as sdk:
jobs = await sdk.find_job(category="code", min_reward=5.0)
await sdk.claim_job(jobs[0].id)
Bounty: Scottcjn/rustchain-bounties#685
Payout: C4c7r9WPsnEe6CUfegMU9M7ReHD1pWg8qeSfTBoRcLbg
|
Welcome to RustChain! Thanks for your first pull request. Before we review, please make sure:
Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150) A maintainer will review your PR soon. Thanks for contributing! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RIP-302 Python SDK (Bounty #685 Tier 1, 50 RTC)
What This Is
Full Python async SDK for the RIP-302 Agent Economy marketplace API.
Features
AgentEconomySDK) - async/await with httpxSyncAgentEconomySDK) - for synchronous codepost_job,browse_jobs,get_job,claim_job,deliver_job,accept_job,dispute_job,cancel_jobget_reputationget_statsfind_job(category + min_reward + keyword filter)Job,Reputation,MarketplaceStatsFiles
Quick Start
Requirements
Payout Wallet:
C4c7r9WPsnEe6CUfegMU9M7ReHD1pWg8qeSfTBoRcLbg