tvm-x402
Python SDK for the x402 payment protocol (TRON-only).
Installation
pip install tvm-x402
Optional extras:
pip install "tvm-x402[tron]"
pip install "tvm-x402[fastapi]"
pip install "tvm-x402[flask]"
pip install "tvm-x402[all]"
Quick Start
from x402.clients import X402Client
client = X402Client()
If you want automatic handling of HTTP 402 responses, use X402HttpClient:
import httpx
from x402.clients import X402Client, X402HttpClient
x402_client = X402Client()
http_client = httpx.AsyncClient()
client = X402HttpClient(http_client=http_client, x402_client=x402_client)
Links
Metadata
Release files for tvm-x402 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tvm_x402-0.1.1.tar.gz | 38.0 kB | Without provenance | Details for tvm_x402-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tvm_x402-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for tvm_x402-0.1.1-py3-none-any.whl |
Total release size: 89.5 kB
Release files / tvm_x402-0.1.1.tar.gz
| Download URL | tvm_x402-0.1.1.tar.gz |
|---|---|
| Size | 38.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fad0af72776b1a410b79ab9d4907a8ebd745115694fdb954c555892ef27052e
|
|
BLAKE2b-256 checksum How to use checksums |
65387b0e955d6a4dc8b85cd383dc3af3d49a613d44e8750ca69136ad6d800e99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / tvm_x402-0.1.1-py3-none-any.whl
| Download URL | tvm_x402-0.1.1-py3-none-any.whl |
|---|---|
| Size | 51.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d77225828de14d177ee54bedc104540ff23d355b6da1694b0556c7e63edc5bb8
|
|
BLAKE2b-256 checksum How to use checksums |
45c63bb191acdfd1e72e5b24da77a6c712b3c18f505d7af439984667b0f8409b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Security for tvm-x402 0.1.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.