Skip to main content

api wrapper for umi.top crypto

Reason this release was yanked:

bad model

Project description

UMIPY

codecov

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/

simple getting a address data

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())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

umipy-2.1.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

umipy-2.1.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file umipy-2.1.3.tar.gz.

File metadata

  • Download URL: umipy-2.1.3.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for umipy-2.1.3.tar.gz
Algorithm Hash digest
SHA256 d2217ad23357f32eaa8fa704887d27f35645376394ee931bc3d5785805afce96
MD5 2086a61517daf5ecdb3f6427c23f0b82
BLAKE2b-256 5ea25b95acb96fbcefd14e0da11c8ab351f13f770481e371697f3c7fc420c889

See more details on using hashes here.

File details

Details for the file umipy-2.1.3-py3-none-any.whl.

File metadata

  • Download URL: umipy-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for umipy-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1dc2e8c738ebc32a83ee3e4d635d4d2352a3fd7915395ee73b698efc1cee23d8
MD5 2dc541b70d33285cff1ce6eec52a6899
BLAKE2b-256 b3dbfffef95d38a38c5138f8de2e2e620dedd686bc60447f733a726d4d8638f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page