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.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyHelium-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 248a57131947ea6000ddb7d1bb206f694fdc69d085d3d34a249d2ce56c629ed7
MD5 87a37cebb452d0bb99d30ecb9c3283fa
BLAKE2b-256 c2b0051b569824c3a901720f808b190a637c8f4b5b6789bfea1135c0324b4899

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyHelium-0.1.2.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5452fc7a0f7f8ed15ca7e4847c243cdae72e8b1d6d3f844fed41772cf92e5a0
MD5 9982dc05fa2f0e1251f42cb2719be3ae
BLAKE2b-256 9624d7d9bd6e98cc5eaf1bed1fcd5e270d807a8777d13a6e641a66507cee7835

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