# UMIPY
[](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/3b/75/f126b143b6ebce2c0b83243fbde9b7d10b5840937fe6dbd4c81c7b64dc77/umipy-2.1.5.tar.gz",
"platform": null,
"description": "# UMIPY\n[](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\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "api wrapper for umi.top crypto",
"version": "2.1.5",
"project_urls": {
"Homepage": "https://github.com/kesha1225/PyUmi",
"Repository": "https://github.com/kesha1225/PyUmi"
},
"split_keywords": [
"umi",
" crypto",
" api",
" wrapper"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "bb22a95fdcb59282ecf14255f9521ad4f9efe209e4e315ebe9ed744db75c5d96",
"md5": "dd5eaabdf9906319d98a566a9ea9cf98",
"sha256": "974b4a7dde57f8a9db1a3c24a248dee1f546e91af59972698852f586f3745a28"
},
"downloads": -1,
"filename": "umipy-2.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dd5eaabdf9906319d98a566a9ea9cf98",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 9919,
"upload_time": "2025-02-08T17:58:57",
"upload_time_iso_8601": "2025-02-08T17:58:57.643810Z",
"url": "https://files.pythonhosted.org/packages/bb/22/a95fdcb59282ecf14255f9521ad4f9efe209e4e315ebe9ed744db75c5d96/umipy-2.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3b75f126b143b6ebce2c0b83243fbde9b7d10b5840937fe6dbd4c81c7b64dc77",
"md5": "010512ef33b29f04735401e85c94ab57",
"sha256": "c09a29a5298b38f51618f5a172810ce60344e5eb33479decc1d3d5ec22e415e0"
},
"downloads": -1,
"filename": "umipy-2.1.5.tar.gz",
"has_sig": false,
"md5_digest": "010512ef33b29f04735401e85c94ab57",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 8707,
"upload_time": "2025-02-08T17:59:00",
"upload_time_iso_8601": "2025-02-08T17:59:00.136764Z",
"url": "https://files.pythonhosted.org/packages/3b/75/f126b143b6ebce2c0b83243fbde9b7d10b5840937fe6dbd4c81c7b64dc77/umipy-2.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-08 17:59:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kesha1225",
"github_project": "PyUmi",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "aiohappyeyeballs",
"specs": [
[
"==",
"2.3.5"
]
]
},
{
"name": "aiohttp",
"specs": [
[
"==",
"3.10.3"
]
]
},
{
"name": "aiosignal",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "annotated-types",
"specs": [
[
"==",
"0.7.0"
]
]
},
{
"name": "attrs",
"specs": [
[
"==",
"24.2.0"
]
]
},
{
"name": "cffi",
"specs": [
[
"==",
"1.17.0"
]
]
},
{
"name": "frozenlist",
"specs": [
[
"==",
"1.4.1"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.7"
]
]
},
{
"name": "mnemonic",
"specs": [
[
"==",
"0.21"
]
]
},
{
"name": "multidict",
"specs": [
[
"==",
"6.0.5"
]
]
},
{
"name": "pycparser",
"specs": [
[
"==",
"2.22"
]
]
},
{
"name": "pydantic-core",
"specs": [
[
"==",
"2.20.1"
]
]
},
{
"name": "pydantic",
"specs": [
[
"==",
"2.8.2"
]
]
},
{
"name": "pynacl",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "typing-extensions",
"specs": [
[
"==",
"4.12.2"
]
]
},
{
"name": "yarl",
"specs": [
[
"==",
"1.9.4"
]
]
}
],
"lcname": "umipy"
}