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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
milkpay_cryptomus-1.0.3.tar.gz
(13.6 kB
view details)
Built Distribution
File details
Details for the file milkpay_cryptomus-1.0.3.tar.gz
.
File metadata
- Download URL: milkpay_cryptomus-1.0.3.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebcdacbbd3e954290fe4c9ef80de2a69d65d05d4c9e00df40375af2c0ff39fe0 |
|
MD5 | 0037b7daef2b1abd714e079db79a8e97 |
|
BLAKE2b-256 | d421f4be82c3c1ec4dc244294fae6f7df5c30885dd6f6f2178cb5a9d2ee6d89a |
Provenance
The following attestation bundles were made for milkpay_cryptomus-1.0.3.tar.gz
:
Publisher:
pypi-release.yml
on py-stollen/milkpay-cryptomus
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
milkpay_cryptomus-1.0.3.tar.gz
- Subject digest:
ebcdacbbd3e954290fe4c9ef80de2a69d65d05d4c9e00df40375af2c0ff39fe0
- Sigstore transparency entry: 145724912
- Sigstore integration time:
- Predicate type:
File details
Details for the file milkpay_cryptomus-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: milkpay_cryptomus-1.0.3-py3-none-any.whl
- Upload date:
- Size: 35.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2db13b0db07f70b6db4b22a864a40a3cf1e7b5c3b86bf8d1aa067a269cea57 |
|
MD5 | c6af5976cbd5eefec5475b0af291be0b |
|
BLAKE2b-256 | aa749626d7caa9093288c0099c86f4b613c5c4ee59cd7c9035aed87e09186718 |
Provenance
The following attestation bundles were made for milkpay_cryptomus-1.0.3-py3-none-any.whl
:
Publisher:
pypi-release.yml
on py-stollen/milkpay-cryptomus
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
milkpay_cryptomus-1.0.3-py3-none-any.whl
- Subject digest:
4f2db13b0db07f70b6db4b22a864a40a3cf1e7b5c3b86bf8d1aa067a269cea57
- Sigstore transparency entry: 145724916
- Sigstore integration time:
- Predicate type: