Skip to main content

xyz17711-ping

Publish PyPI Python versions License

Typed Python client for ping-service, part of the 17711.xyz microservice fleet -- pay-per-call APIs settled in USDC via x402, listed on x402scan. See the Python family README for the full guide (payment configuration, LangChain integration, logging, error handling) -- this page only covers what's specific to this one package.

Install

pip install "xyz17711[ping]"

Methods

Method Description
ping x402 ping: the cheapest end-to-end payment test for an x402 client or agent wallet, returns an echo and the server pid ($0.002, x402)

Every method above has both a sync form and an async form (the a-prefixed sibling, e.g. aping next to ping), sharing one underlying client.

Quickstart

from xyz17711_ping import Client

client = Client()  # talks to https://api.17711.xyz/registry/ping-service by default
# see the Methods table above for every available call and its request/response model

Pass another base URL (self-hosted instance, test server) as the first argument: Client("https://my-host.example/registry/ping-service").

LangChain

pip install "xyz17711-ping[langchain]"
from xyz17711_ping import Client
from xyz17711_ping.langchain_tools import PingToolkit

client = Client()
tools = PingToolkit(client=client).get_tools()

License

MIT -- see the repository's own LICENSE.

Metadata

Release files for xyz17711-ping 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xyz17711-ping 0.1.2
File Size Uploaded
xyz17711_ping-0.1.2.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xyz17711-ping 0.1.2
File Interpreter ABI Platform
xyz17711_ping-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / xyz17711_ping-0.1.2.tar.gz

Download URL xyz17711_ping-0.1.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8956da4fc71ff45bb8d2cde591779a4f2a4bd2f63634149c1f5d0e2a3214825a
BLAKE2b-256 checksum
How to use checksums
cd92a514ee70d9a07a1e121c5b6492380d8c0fe0c020f09b460d5c4af68984a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / xyz17711_ping-0.1.2-py3-none-any.whl

Download URL xyz17711_ping-0.1.2-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08e9af50d5350c39799e9607d52bb2401af178f24c3d6c7f82c3702020011dce
BLAKE2b-256 checksum
How to use checksums
ce4d38d9fe237e1d4e34172e96de3eb85854788537b88c34ba63f63e57447454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page