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.2.tar.gz
(13.6 kB
view details)
Built Distribution
File details
Details for the file milkpay_cryptomus-1.0.2.tar.gz
.
File metadata
- Download URL: milkpay_cryptomus-1.0.2.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 | 05cc856d1074e1e58b914659ff8b571a6b47d89367471241a20196ee459840ab |
|
MD5 | 020b28233a71af0c91849df2789accf7 |
|
BLAKE2b-256 | f610f31a6ecdb7f41174376ac405517b0bf3c7585a93cbecddc3e856b2d56567 |
File details
Details for the file milkpay_cryptomus-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: milkpay_cryptomus-1.0.2-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 | 7f87240f5c808c681a15973ea1909f3e58e85f5d4277ebf2b3e4cc3bb6d23434 |
|
MD5 | cfffe4e02037665cd6646fd17dfa43f6 |
|
BLAKE2b-256 | b09064aac6c3c27333776f417b86fcf592edebd43e1f1cb72445c91e2fafbbb1 |