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 our 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.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

PyHelium-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyHelium-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 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.0.tar.gz
Algorithm Hash digest
SHA256 5806525cc9da4643d71e9f4b17fbc385f0e9e3dbeef513887cbe1c53389c85e1
MD5 bdc52356882dad646567e0f08c9ee0b4
BLAKE2b-256 ffbc218db9b469c00d14553f975e91cf3affc52dac2695e8654a7fd0eee8f00e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyHelium-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 665617217305fa345d00cb4608696745de882a17f4bdef2064d374809a6d37e8
MD5 0342682b32e955be2bd351a251017acc
BLAKE2b-256 c7af62a63f16c4fcdb2245bab28b9eca8669c5ffd138afdfaf62824eee8c7b97

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