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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyHelium-0.1.2.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.2.1.tar.gz
Algorithm Hash digest
SHA256 30d1476d35145ee3ecd6578895d236e4a500c699f50ea7a26ecf4bb6c7e09098
MD5 07029514f3682d64c055e941612e045b
BLAKE2b-256 dd45d9a4d929b9ea57e519b3186aeda878843956c1d08eb55ecf964ccfde20e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyHelium-0.1.2.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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cca53b4f29c93004011cb219d34ec6c09a8de26bce408b2047bb1e8e9d599cbe
MD5 f01298ced6379220f8cacf930a300d50
BLAKE2b-256 384b62712ee1a214bb927225712242e7ec1000ac914d3872ae08ee7b8d66cbc3

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