gongyou-agent-market
Buyer-side Python client for the GongYou Agent Market. Python 3.9 and newer is supported.
pip install gongyou-agent-market
The client never accepts a private key. Keep the buyer wallet and signing library in the buyer process, then pass a callback that receives the quote and returns the already-signed payment payload:
from agent_market_client import AgentMarketClient
def buyer_owned_signer(quote: dict) -> dict:
# Inspect the quote and sign it with the buyer's wallet here.
# Return only the x402 payload; never return or log the private key.
return sign_with_buyer_wallet(quote)
client = AgentMarketClient("https://www.gongyou.kr")
quote = client.quote("product-id-or-slug")
settled = client.settle_with_signer(quote, buyer_owned_signer)
settle_with_signer calls the callback locally and sends only its returned
payload to the marketplace. The SDK does not create, store, transmit, or log
wallet private keys. Challenge registration still uses the buyer wallet's
signature through client.challenge and client.register.
Metadata
Release files for gongyou-agent-market 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gongyou_agent_market-0.1.0.tar.gz | 3.2 kB | Without provenance | Details for gongyou_agent_market-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gongyou_agent_market-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gongyou_agent_market-0.1.0-py3-none-any.whl |
Total release size: 6.6 kB
Release files / gongyou_agent_market-0.1.0.tar.gz
| Download URL | gongyou_agent_market-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
585700bcb2caf35dec1f0ee5fceab127efaced35c53ba1ba210df0e01b81da42
|
|
BLAKE2b-256 checksum How to use checksums |
91cfe84caa3da0499d99b8b6ae3ab29fc5eecd1261df1f1d0891ab0e1268e793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Release files / gongyou_agent_market-0.1.0-py3-none-any.whl
| Download URL | gongyou_agent_market-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3555098656e2893c85b49b5a0338a4cea20be06a2308f24e9b6fe924e96634ca
|
|
BLAKE2b-256 checksum How to use checksums |
0833595716ff82095f69a89eb5713009a99483aa7f131f193c8cd7018b4e7943
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Security for gongyou-agent-market 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.