Metadata-Version: 2.4
Name: qwery-sdk
Version: 0.1.0
Summary: Python SDK for Qwery x402 Payment Facilitator - Zero fee Solana payments
Author-email: Qwery <support@qwery.xyz>
License: MIT
Project-URL: Homepage, https://qwery.xyz
Project-URL: Documentation, https://docs.qwery.xyz
Project-URL: Repository, https://github.com/Qwerydotxyz/qwery-sdk-python
Keywords: solana,payments,x402,web3,cryptocurrency,blockchain
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.24.0
Requires-Dist: pydantic>=2.0.0
Provides-Extra: solana
Requires-Dist: solana>=0.30.0; extra == "solana"
Requires-Dist: solders>=0.18.0; extra == "solana"
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Dynamic: license-file

<div align="center">
  <img src="https://res.cloudinary.com/dkfwg4ta8/image/upload/v1763973825/pysdk402_f5exsu.png" alt="Qwery Python SDK" width="100%" />
</div>

# Qwery SDK for Python

Python SDK for integrating Qwery x402 Payment Facilitator into your applications.

[![PyPI version](https://img.shields.io/pypi/v/qwery-sdk)](https://pypi.org/project/qwery-sdk/)
[![Python](https://img.shields.io/pypi/pyversions/qwery-sdk)](https://pypi.org/project/qwery-sdk/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Installation
```bash
pip install qwery-sdk
```

## Quick Start
```python
import asyncio
from qwery_sdk import QweryClient, Network

async def main():
    async with QweryClient(network=Network.MAINNET) as client:
        payment = await client.create_payment(
            amount=0.01,
            token="SOL",
            recipient="merchant_wallet_address"
        )
        print(f"Payment ID: {payment.payment_id}")

asyncio.run(main())
```

## Features

- **Zero User Fees** - Facilitator pays network costs
- **Instant Settlement** - Sub-2 second finality
- **Multi-Token Support** - SOL, USDC, USDT
- **Async/Await** - Built for asyncio
- **Type Hints** - Full type annotations

## Documentation

- **API Docs**: https://docs.qwery.xyz
- **Facilitator API**: https://facilitator.qwery.xyz/docs
- **Website**: https://qwery.xyz

## License

MIT © Qwery
