Metadata-Version: 2.4
Name: pincer-sdk
Version: 0.1.0
Summary: Pincer SDK for Python - Reference implementation for x402 protocol
Requires-Python: >=3.11
Requires-Dist: httpx>=0.28.0
Requires-Dist: pydantic>=2.10.0
Requires-Dist: solana>=0.36.0
Requires-Dist: solders>=0.21.0
Requires-Dist: x402>=0.3.0
Description-Content-Type: text/markdown

# Pincer SDK for Python

The Pincer SDK provides a reference implementation for the x402-sponsored access protocol. It allows AI agents and applications to seamlessly interact with Pincer-enabled API endpoints, handling payments and automated rebates.

## Installation

```bash
pip install pincer-sdk
```

## Quick Start

```python
from pincer_sdk import PincerClient

# Initialize the client
client = PincerClient(api_url="https://api.pincer.xyz")

# Call a payment-gated endpoint
response = client.call_endpoint("/v1/data")
print(response.json())
```

## Features

- **x402 Protocol Support**: Native handling of `402 Payment Required` responses.
- **Automated Payments**: Integration with Solana wallets for frictionless transactions.
- **Sponsor Awareness**: Built-in support for detecting and processing post-pay rebates.

## License

MIT
