Skip to main content

Pay-per-call SDK for Agent Market (x402 / USDC on Base).

Project description

tools402

Pay-per-call SDK for Agent Market — pay with USDC on Base, no API key, no account.

pip install tools402
from tools402 import Client
import os

client = Client(wallet_private_key=os.environ["WALLET_KEY"])
result = client._call("/v1/ocr", files={"file": open("doc.pdf", "rb")})
print(result["text"])

Catalog: https://tools402.dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tools402-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tools402-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file tools402-0.1.0.tar.gz.

File metadata

  • Download URL: tools402-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for tools402-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f94a935a261bda0d194cf483368a8746e613853773b5a928dc90927a7dc1c95
MD5 d080cb14ef208a1123056c0827e85a42
BLAKE2b-256 fbf8f36cd85940ab79a5eb677711a6cee12bca28594909e87cda11099c2248b7

See more details on using hashes here.

File details

Details for the file tools402-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tools402-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for tools402-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c8b19d8c9267fb32e9480e9b9f9043b27c7a10f9588b68cb1feb5d83f8b256f
MD5 a9398c865f16b63f5a9032ec3313953b
BLAKE2b-256 e318cadc747c539ecf8216492c6417604c8fc64b66aeaae0991a477b64ae7923

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page