A lightweight Cryptomus SDK
Project description
milkpay is a set of lightweight crypto payment system SDKs.
Installation
pip install -U milkpay-cryptomus
Simple example
import asyncio
import logging
from milkpay.cryptomus.business import Cryptomus
from milkpay.cryptomus.business.enums import Currency
async def main() -> None:
logging.basicConfig(level=logging.DEBUG)
cryptomus: Cryptomus = Cryptomus()
for rate in await cryptomus.get_exchange_rates(currency=Currency.TON):
logging.info(rate)
await cryptomus.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_cryptomus-1.1.1.tar.gz.
File metadata
- Download URL: milkpay_cryptomus-1.1.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfc3d2f33ffe48b155ba16cfc86ca33c247db21a1c7968a1b51986a6aeacf69a
|
|
| MD5 |
b7adb092357b1470d95f25173aa561a8
|
|
| BLAKE2b-256 |
262e8b2e43b4e3068bdec59a1cc7e0fc763715be0ec784d5d71fba659c0eb6e6
|
Provenance
The following attestation bundles were made for milkpay_cryptomus-1.1.1.tar.gz:
Publisher:
pypi-release.yml on py-stollen/milkpay-cryptomus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
milkpay_cryptomus-1.1.1.tar.gz -
Subject digest:
cfc3d2f33ffe48b155ba16cfc86ca33c247db21a1c7968a1b51986a6aeacf69a - Sigstore transparency entry: 163945490
- Sigstore integration time:
-
Permalink:
py-stollen/milkpay-cryptomus@853669d99fc98e35e95711b9f6300de76be7beb9 -
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@853669d99fc98e35e95711b9f6300de76be7beb9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file milkpay_cryptomus-1.1.1-py3-none-any.whl.
File metadata
- Download URL: milkpay_cryptomus-1.1.1-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef5a8508545b65e673e4e45c827478f36ffd6584b38f633d335405f3eaed5c42
|
|
| MD5 |
6f039cacfc119ab49a87b7d89180b639
|
|
| BLAKE2b-256 |
9c52fb23359cabd3af597afb8f3291a5f3e1543dc0b3279ba578551d836f9699
|
Provenance
The following attestation bundles were made for milkpay_cryptomus-1.1.1-py3-none-any.whl:
Publisher:
pypi-release.yml on py-stollen/milkpay-cryptomus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
milkpay_cryptomus-1.1.1-py3-none-any.whl -
Subject digest:
ef5a8508545b65e673e4e45c827478f36ffd6584b38f633d335405f3eaed5c42 - Sigstore transparency entry: 163945493
- Sigstore integration time:
-
Permalink:
py-stollen/milkpay-cryptomus@853669d99fc98e35e95711b9f6300de76be7beb9 -
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@853669d99fc98e35e95711b9f6300de76be7beb9 -
Trigger Event:
push
-
Statement type: