###############
milkpay-xrocket
###############
**milkpay** is a set of lightweight crypto payment system SDKs.
**⚠️ This SDK still in beta! ⚠️**
Installation
------------
.. code-block:: bash
pip install -U milkpay-xrocket
Simple example
--------------
.. code-block:: python
import asyncio
import logging
from typing import Final
from milkpay.xrocket.pay import PayXRocket
PAY_KEY: Final[str] = "YOUR_PAY_KEY_HERE"
async def main() -> None:
logging.basicConfig(level=logging.DEBUG)
xrocket: PayXRocket = PayXRocket(pay_key=PAY_KEY)
try:
for invoice in await xrocket.get_invoices():
logging.info("Invoice #%d created at %s", invoice.id, invoice.created)
finally:
await xrocket.session.close()
if __name__ == "__main__":
asyncio.run(main())
Support
-------
❤️ My TON Address: `UQBTR4X8Cg-qJ3jkMLbuhe7DkqSNAfddNj8kvOHZtLHtR8YQ`
Raw data
{
"_id": null,
"home_page": null,
"name": "milkpay.xrocket",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "wakaree <nullmatawasoradesu@gmail.com>",
"keywords": "asyncio, client, crypto, payments, wrapper, xrocket",
"author": null,
"author_email": "wakaree <nullmatawasoradesu@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/f6/6f/f25dd6235b3de04a2fbe9f6233503f103de038a7b287989722683233ee66/milkpay_xrocket-1.0.0b5.tar.gz",
"platform": null,
"description": "\n###############\nmilkpay-xrocket\n###############\n\n**milkpay** is a set of lightweight crypto payment system SDKs.\n**\u26a0\ufe0f This SDK still in beta! \u26a0\ufe0f**\n\nInstallation\n------------\n\n.. code-block:: bash\n\n pip install -U milkpay-xrocket\n\nSimple example\n--------------\n\n.. code-block:: python\n\n import asyncio\n import logging\n from typing import Final\n\n from milkpay.xrocket.pay import PayXRocket\n\n\n PAY_KEY: Final[str] = \"YOUR_PAY_KEY_HERE\"\n\n\n async def main() -> None:\n logging.basicConfig(level=logging.DEBUG)\n xrocket: PayXRocket = PayXRocket(pay_key=PAY_KEY)\n try:\n for invoice in await xrocket.get_invoices():\n logging.info(\"Invoice #%d created at %s\", invoice.id, invoice.created)\n finally:\n await xrocket.session.close()\n\n\n if __name__ == \"__main__\":\n asyncio.run(main())\n\n\nSupport\n-------\n\u2764\ufe0f My TON Address: `UQBTR4X8Cg-qJ3jkMLbuhe7DkqSNAfddNj8kvOHZtLHtR8YQ`\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A lightweight xRocket API Python SDK",
"version": "1.0.0b5",
"project_urls": {
"Exchange API Documentation": "https://trade.xrocket.tg/api",
"Pay API Documentation": "https://pay.xrocket.tg/api",
"Repository": "https://github.com/py-stollen/milkpay-xrocket"
},
"split_keywords": [
"asyncio",
" client",
" crypto",
" payments",
" wrapper",
" xrocket"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c2775051263e0fbca98aff6b8bc44003ed1685ccb9b6772eb98080f494965607",
"md5": "a17907edfbe3542e02e561f15eb2f4c4",
"sha256": "0d6aeccebc04f1884838c87b1c56894f5012f2cb736567d99261b996b772d60e"
},
"downloads": -1,
"filename": "milkpay_xrocket-1.0.0b5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a17907edfbe3542e02e561f15eb2f4c4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 73622,
"upload_time": "2024-11-08T13:56:14",
"upload_time_iso_8601": "2024-11-08T13:56:14.021563Z",
"url": "https://files.pythonhosted.org/packages/c2/77/5051263e0fbca98aff6b8bc44003ed1685ccb9b6772eb98080f494965607/milkpay_xrocket-1.0.0b5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f66ff25dd6235b3de04a2fbe9f6233503f103de038a7b287989722683233ee66",
"md5": "0bc8ee68d508543531abcea5e861d912",
"sha256": "f735fc9e7e76e38deb19a677b998197b74105028de7c39de446250fea817e40a"
},
"downloads": -1,
"filename": "milkpay_xrocket-1.0.0b5.tar.gz",
"has_sig": false,
"md5_digest": "0bc8ee68d508543531abcea5e861d912",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 22897,
"upload_time": "2024-11-08T13:56:15",
"upload_time_iso_8601": "2024-11-08T13:56:15.403330Z",
"url": "https://files.pythonhosted.org/packages/f6/6f/f25dd6235b3de04a2fbe9f6233503f103de038a7b287989722683233ee66/milkpay_xrocket-1.0.0b5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 13:56:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "py-stollen",
"github_project": "milkpay-xrocket",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "milkpay.xrocket"
}