Skip to main content

Python SDK for Qwery x402 Payment Facilitator - Zero fee Solana payments

Project description

Qwery Python SDK

Qwery SDK for Python

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

PyPI version Python License: MIT

Installation

pip install qwery-sdk

Quick Start

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

License

MIT © Qwery

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

qwery_sdk-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

qwery_sdk-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qwery_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ed0e83aea08a774778821bc13170588cb35cc5817623f7ee71a8de81b4677fd
MD5 ecf8a25e22c1ffb2dadac6f18183650c
BLAKE2b-256 225ddad9705c6ed0511f3d0151f7310d929607717f9bdb03047e45451df62633

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qwery_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3e06fa88eecd29cf4ad8a500ffb391cdd733a598672571e0eb2317b030e96e8
MD5 e102e4c206e4cb7f7295d071378a9561
BLAKE2b-256 7c4da200d724d306eefa252bfa8451a74d19866d894686bb8a21dd85c0e91263

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