A lightweight xRocket API Python SDK
Project description
milkpay is a set of lightweight crypto payment system SDKs. ⚠️ This SDK still in beta! ⚠️
Installation
pip install -U milkpay-xrocket
Simple example
import asyncio
import logging
from typing import Final
from milkpay.xrocket.pay import PayXRocket
PAY_KEY: Final[str] = "YOUR_PAY_KEY_HERE"
async def main() -> None:
logging.basicConfig(level=logging.DEBUG)
xrocket: PayXRocket = PayXRocket(pay_key=PAY_KEY)
try:
for invoice in await xrocket.get_invoices():
logging.info("Invoice #%d created at %s", invoice.id, invoice.created)
finally:
await xrocket.session.close()
if __name__ == "__main__":
asyncio.run(main())
Support
❤️ My TON Address: UQBTR4X8Cg-qJ3jkMLbuhe7DkqSNAfddNj8kvOHZtLHtR8YQ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file milkpay_xrocket-1.0.0b8.tar.gz.
File metadata
- Download URL: milkpay_xrocket-1.0.0b8.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85cb0894144ed7e6cc49b91f0d53c2a2cf0944e9184a904e595e14773f3a6827
|
|
| MD5 |
c3d10cc69f62d484e16a566b3d6b609e
|
|
| BLAKE2b-256 |
0b7cf0a7ca88f93882d5b5448e659a988e089674ed0f3b6e68c10c40b7b568a8
|
Provenance
The following attestation bundles were made for milkpay_xrocket-1.0.0b8.tar.gz:
Publisher:
pypi-release.yml on py-stollen/milkpay-xrocket
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
milkpay_xrocket-1.0.0b8.tar.gz -
Subject digest:
85cb0894144ed7e6cc49b91f0d53c2a2cf0944e9184a904e595e14773f3a6827 - Sigstore transparency entry: 353821895
- Sigstore integration time:
-
Permalink:
py-stollen/milkpay-xrocket@24ce8e07b290de9c7041dd3399969a974db4824c -
Branch / Tag:
refs/heads/master - Owner: https://github.com/py-stollen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@24ce8e07b290de9c7041dd3399969a974db4824c -
Trigger Event:
push
-
Statement type:
File details
Details for the file milkpay_xrocket-1.0.0b8-py3-none-any.whl.
File metadata
- Download URL: milkpay_xrocket-1.0.0b8-py3-none-any.whl
- Upload date:
- Size: 73.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
693f5eaf90f6f664ac9d29d92355e8ab5905ef5fdc09564b4a278163e77de812
|
|
| MD5 |
bfba56bc2ded278dec6eb73fb1ebdb81
|
|
| BLAKE2b-256 |
485225648434fb5bce04bd4466567eaf442ee161d62543fbb14a7c49cf2c5947
|
Provenance
The following attestation bundles were made for milkpay_xrocket-1.0.0b8-py3-none-any.whl:
Publisher:
pypi-release.yml on py-stollen/milkpay-xrocket
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
milkpay_xrocket-1.0.0b8-py3-none-any.whl -
Subject digest:
693f5eaf90f6f664ac9d29d92355e8ab5905ef5fdc09564b4a278163e77de812 - Sigstore transparency entry: 353821928
- Sigstore integration time:
-
Permalink:
py-stollen/milkpay-xrocket@24ce8e07b290de9c7041dd3399969a974db4824c -
Branch / Tag:
refs/heads/master - Owner: https://github.com/py-stollen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@24ce8e07b290de9c7041dd3399969a974db4824c -
Trigger Event:
push
-
Statement type: