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.4.tar.gz
(13.6 kB
view details)
Built Distribution
File details
Details for the file milkpay_cryptomus-1.0.4.tar.gz
.
File metadata
- Download URL: milkpay_cryptomus-1.0.4.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 | a84d4acc49be8918aa83a30e035f73dd6376d1a5123fc2e5e406d6cea599b243 |
|
MD5 | 3a7e4620285c0e11bba9e173597b7281 |
|
BLAKE2b-256 | 82b0fbd912e5cff97034627263e1e1bc73e5a5e5ec475f751a9a7099ee3c6081 |
Provenance
The following attestation bundles were made for milkpay_cryptomus-1.0.4.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.4.tar.gz
- Subject digest:
a84d4acc49be8918aa83a30e035f73dd6376d1a5123fc2e5e406d6cea599b243
- Sigstore transparency entry: 145727287
- Sigstore integration time:
- Predicate type:
File details
Details for the file milkpay_cryptomus-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: milkpay_cryptomus-1.0.4-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 | bd5fc8fdf7cfcac5fdb0d7e4d8deaac774cb09b201bcddd0ceb0c47dc6b59158 |
|
MD5 | 15ce5a585132127912574391c6336ea3 |
|
BLAKE2b-256 | 6fb8ce8761224e9e09d8886142857eeabf9f1f1ba82c34380057c5a9cc993e47 |
Provenance
The following attestation bundles were made for milkpay_cryptomus-1.0.4-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.4-py3-none-any.whl
- Subject digest:
bd5fc8fdf7cfcac5fdb0d7e4d8deaac774cb09b201bcddd0ceb0c47dc6b59158
- Sigstore transparency entry: 145727290
- Sigstore integration time:
- Predicate type: