Metadata-Version: 2.3
Name: milkpay.cryptomus
Version: 1.0.3
Summary: A lightweight Cryptomus SDK
Project-URL: Repository, https://github.com/py-stollen/milkpay-cryptomus
Project-URL: Business API documentation, https://doc.cryptomus.com/business
Author-email: wakaree <nullmatawasoradesu@gmail.com>
Maintainer-email: wakaree <nullmatawasoradesu@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: asyncio,client,crypto,cryptomus,payments,wrapper
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.9
Requires-Dist: pydantic<2.10,>=2.4.1
Requires-Dist: stollen~=0.2.11
Provides-Extra: dev
Requires-Dist: black~=24.8.0; extra == 'dev'
Requires-Dist: mypy~=1.11.1; extra == 'dev'
Requires-Dist: pre-commit~=3.8.0; extra == 'dev'
Requires-Dist: ruff~=0.6.1; extra == 'dev'
Description-Content-Type: text/x-rst


#################
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`
