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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyHelium-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 921be9e1f12b522fa81c5eb5ae44bd2b7046fd4536fea160dfeaa3c27a64e7f0
MD5 d07d5cf649efbdc2906104e7c03a2c6f
BLAKE2b-256 a635cbcd8720c887fb21816f003a23f44ec5a39403e726f27678e220288a3b93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyHelium-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fda47066536254b59225864783f404418225b2001572f6f4d89ea82a978cd7bf
MD5 84254165d12bfde01a3f28d22c002c75
BLAKE2b-256 d9441fd721e1cc465dad31a2ee63b9d190fcadf6cd65daf91e933912214eb851

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