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.1.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file PyHelium-0.1.2.2.1.tar.gz
.
File metadata
- Download URL: PyHelium-0.1.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01ffe076b19b50a739a1f049301edd52350a35584b7f4ca6bb928e78c96e57f6 |
|
MD5 | 804800c21d3c74e47e888cd7b0037618 |
|
BLAKE2b-256 | 0488563e067200850ce744220a1ac2072896fa12aee3f908fe2dd1e4cdf0f3cd |
File details
Details for the file PyHelium-0.1.2.2.1-py3-none-any.whl
.
File metadata
- Download URL: PyHelium-0.1.2.2.1-py3-none-any.whl
- Upload date:
- Size: 4.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a88a5beaf01b5e391a5970b4c3972adb6994d7370a9d8c7d7aa0ca84b5c5494 |
|
MD5 | 911b51ce651223e57f1e12abf487dc4e |
|
BLAKE2b-256 | 6126d020cf1f8689bcc9eb9d42e3799908bbcabe065abf3d70a8f84d9c85d13f |