Skip to main content

api wrapper for umi.top crypto

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.2.2.tar.gz (55.1 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.2.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: umipy-2.2.2.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for umipy-2.2.2.tar.gz
Algorithm Hash digest
SHA256 d89b4f07aaf4f08fdd939b4eb6bad23de98309fce32891c23b7fd40983e6e916
MD5 362886cb60fb0e40c37f552eb201784f
BLAKE2b-256 88e17d4a1ed19b641447a1b2826a147ba62fc65fe57f8aab69e25e898a04cb8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: umipy-2.2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for umipy-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3e668b2d253d6cd175c51e84c20877872ed04655cdcd402a4b41c40f75a7634
MD5 5582af8f46421b957a129182a467eefb
BLAKE2b-256 5dfe6909d9f23350b80a7c6af421db54476996cca058f25b0f44f0169861ce49

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