Skip to main content

A simple python package to access Helium network's APi

Project description

PyHelium

PyHelium is a simple api wrapper to access Helium network's api.

How to install ?

pip install PyHelium

Important: depending on your system, make sure to use pip3 and python3 instead.

###How to use ? #####Simple example:

import pyHelium

#this will return a Hotspot object
myHotspot = pyHelium.initiate_hotspot_from_address("11CDbFUj3CkT2SCnFn7372f9EeNz88hb9deQaomV6xKyDFq6z1h")

#we can then print informations about your hotspot:
print(myHotspot.name)
print(myHotspot.reward_scale)
print(myHotspot.status)

#it is also possible to fetch more data about your hotspot:
myHotspot.get_activity()
#and then print it
print(myHotspot.activity)

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

PyHelium-0.1.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

PyHelium-0.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file PyHelium-0.1.2.tar.gz.

File metadata

  • Download URL: PyHelium-0.1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for PyHelium-0.1.2.tar.gz
Algorithm Hash digest
SHA256 718b65f48af8d947a983e6a062d3069792a45c1b70c157fb60bb9efcdfa380fb
MD5 0b5c062ed0ffcc256b11638ba01004b0
BLAKE2b-256 f182980c5cc4ab44f3f02f07073718983c24943029f722902774ea782f9affb3

See more details on using hashes here.

File details

Details for the file PyHelium-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: PyHelium-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for PyHelium-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd26adbeed8d35cb4044096dfefaedb2757caf630e2d10ec2a3c06f157af6963
MD5 f77cd951a769bcb92c23b31b52ba3a37
BLAKE2b-256 7c98dace5faac2d47fd6455c144bcd7fc0c507e54b0a0cd654b85589b820eb1f

See more details on using hashes here.

Supported by

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