https://github.com/py-stollen/milkpay-cryptomus
A lightweight Cryptomus SDK
https://github.com/py-stollen/milkpay-cryptomus
aiohttp asyncio client crypto cryptomus http-client payments stollen wrapper
Last synced: 5 months ago
JSON representation
A lightweight Cryptomus SDK
- Host: GitHub
- URL: https://github.com/py-stollen/milkpay-cryptomus
- Owner: py-stollen
- License: mit
- Created: 2024-09-06T16:50:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-13T20:57:16.000Z (10 months ago)
- Last Synced: 2025-08-13T22:29:11.535Z (10 months ago)
- Topics: aiohttp, asyncio, client, crypto, cryptomus, http-client, payments, stollen, wrapper
- Language: Python
- Homepage: https://pypi.org/project/milkpay.cryptomus/
- Size: 43.9 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
#################
milkpay-cryptomus
#################
**milkpay** is a set of lightweight crypto payment system SDKs.
Installation
------------
.. code-block:: bash
pip install -U milkpay-cryptomus
Simple example
--------------
.. code-block:: python
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`