# UMIPY
[![codecov](https://codecov.io/github/kesha1225/PyUmi/graph/badge.svg?token=PZ12EHSKAH)](https://codecov.io/github/kesha1225/PyUmi)
Interaction with umi blockchain
### Install
for stable version
`pip install umipy`
for dev version
`pip install https://github.com/RoyFractal/PyUmi/archive/master.zip`
### Usage
You can find more examples - [examples/](examples/)
#### simple getting a address data
```python3
import asyncio
import aiohttp
from umipy import UmiPy
async def main():
umi = UmiPy(session=aiohttp.ClientSession())
balance = await umi.get_balance(
"umi17ymaed9h9hq7s5pc2f5fhmlzpmsk3qtc6g2cgm360zysz0uvq44qnxlsuz"
)
print(balance)
trans = await umi.get_transactions(
"umi17ymaed9h9hq7s5pc2f5fhmlzpmsk3qtc6g2cgm360zysz0uvq44qnxlsuz"
)
print(trans)
await umi.close()
asyncio.run(main())
```
Raw data
{
"_id": null,
"home_page": "https://github.com/kesha1225/PyUmi",
"name": "umipy",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": "umi, crypto, api, wrapper",
"author": "kesha1225",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/fa/02/8c83035b8820dcd38f073b3c9e1377d1a8cfa48270560bb3824e3fde3e85/umipy-2.1.2.tar.gz",
"platform": null,
"description": "# UMIPY\n[![codecov](https://codecov.io/github/kesha1225/PyUmi/graph/badge.svg?token=PZ12EHSKAH)](https://codecov.io/github/kesha1225/PyUmi)\n\nInteraction with umi blockchain\n\n\n### Install\n\nfor stable version\n\n`pip install umipy`\n\nfor dev version\n\n`pip install https://github.com/RoyFractal/PyUmi/archive/master.zip` \n\n\n### Usage\n\nYou can find more examples - [examples/](examples/)\n\n#### simple getting a address data\n\n```python3\nimport asyncio\nimport aiohttp\n\nfrom umipy import UmiPy\n\n\nasync def main():\n umi = UmiPy(session=aiohttp.ClientSession())\n balance = await umi.get_balance(\n \"umi17ymaed9h9hq7s5pc2f5fhmlzpmsk3qtc6g2cgm360zysz0uvq44qnxlsuz\"\n )\n print(balance)\n\n trans = await umi.get_transactions(\n \"umi17ymaed9h9hq7s5pc2f5fhmlzpmsk3qtc6g2cgm360zysz0uvq44qnxlsuz\"\n )\n print(trans)\n\n await umi.close()\n\n\nasyncio.run(main())\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "api wrapper for umi.top crypto",
"version": "2.1.2",
"project_urls": {
"Homepage": "https://github.com/kesha1225/PyUmi",
"Repository": "https://github.com/kesha1225/PyUmi"
},
"split_keywords": [
"umi",
" crypto",
" api",
" wrapper"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a4ddbe7fdf431495e8bc3037047b948c4ce7485c082b5c8716db6a38036997c3",
"md5": "d8bae0a0256cf9b1edee05aa13698dc8",
"sha256": "61832cf941134bfb3e316086753704093053e5595a30821ff85fc46925b0950d"
},
"downloads": -1,
"filename": "umipy-2.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d8bae0a0256cf9b1edee05aa13698dc8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 9917,
"upload_time": "2024-11-16T20:10:16",
"upload_time_iso_8601": "2024-11-16T20:10:16.623659Z",
"url": "https://files.pythonhosted.org/packages/a4/dd/be7fdf431495e8bc3037047b948c4ce7485c082b5c8716db6a38036997c3/umipy-2.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fa028c83035b8820dcd38f073b3c9e1377d1a8cfa48270560bb3824e3fde3e85",
"md5": "1a3e71b0d358cc6c4c64522cc9bda819",
"sha256": "b5be18757e98f1dcac4eab025b6c36c1bbe5a2716359f1e183e6067244fc03d6"
},
"downloads": -1,
"filename": "umipy-2.1.2.tar.gz",
"has_sig": false,
"md5_digest": "1a3e71b0d358cc6c4c64522cc9bda819",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 8689,
"upload_time": "2024-11-16T20:10:18",
"upload_time_iso_8601": "2024-11-16T20:10:18.228900Z",
"url": "https://files.pythonhosted.org/packages/fa/02/8c83035b8820dcd38f073b3c9e1377d1a8cfa48270560bb3824e3fde3e85/umipy-2.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-16 20:10:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kesha1225",
"github_project": "PyUmi",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "umipy"
}