Skip to main content

xyz17711-extract-correct

Publish PyPI Python versions License

Typed Python client for extract-correct-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[extract-correct]"

Methods

Method Description
parse_json JSON repair API: extract valid JSON from messy text or model output and fix it against a JSON Schema ($0.006, x402)

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

Quickstart

from xyz17711_extract_correct import Client

client = Client()  # talks to https://api.17711.xyz/registry/extract-correct-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/extract-correct-service").

LangChain

pip install "xyz17711-extract-correct[langchain]"
from xyz17711_extract_correct import Client
from xyz17711_extract_correct.langchain_tools import ExtractCorrectToolkit

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

License

MIT -- see the repository's own LICENSE.

Metadata

Release files for xyz17711-extract-correct 0.1.0

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-extract-correct 0.1.0
File Size Uploaded Provenance
xyz17711_extract_correct-0.1.0.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for xyz17711-extract-correct 0.1.0
File Interpreter ABI Platform
xyz17711_extract_correct-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / xyz17711_extract_correct-0.1.0.tar.gz

Download URL xyz17711_extract_correct-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
743b1d6e926b886f21da5b6e0fee1ce07f367ccde2d22ae242744e0612fdc929
BLAKE2b-256 checksum
How to use checksums
86fe2ff33a616352dec4c32d4afac45d3f20cfebbf053a5c072816c1c0fc1ff2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / xyz17711_extract_correct-0.1.0-py3-none-any.whl

Download URL xyz17711_extract_correct-0.1.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3925ea1d5c7deb001e53dc8c6ecc9ef15199a2012930dd831b53907601ced63
BLAKE2b-256 checksum
How to use checksums
d243f618d3a2d63a87d736e7f70acbe36d2e9c1f8614cdece92cdb18d7ace4ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for xyz17711-extract-correct 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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