Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

helium-py logo

helium-py

Test

Versioning

This project follows semantic versioning. Prior to 1.0.0 this project does not guarantee a stable public API.

Modules

API

The API module classes provide client classes for interacting with the Helium APIs.

For full API specification and documentation please reference docs.helium.com.

from datetime import datetime, timedelta
from helium_py.api import ChainVariables, Hotspots

# Example of fetching chain variables
chain_vars = ChainVariables()  # Create a ChainVariables client
print(chain_vars.get_all())    # Get all chain variables

# Example of fetching hotspot earnings for the last five days
hotspot_address = "some_valid_hotspot_address"
hotspots = Hotspots()
hotspots.get_hotspot_rewards_total(hotspot_address, min_time=datetime.now() - timedelta(days=5))

Crypto

The Crypto module classes provide Address, Keypair, and Mnemonic classes as well as helpful utilities.

from helium_py.crypto.keypair import Keypair

# Example of creating a random keypair, accessing the address, and signing a message
keypair = Keypair.make_random()
address = keypair.address.b58  # B58 public key address
keypair.sign(b'message')  # Sign a message with keypair private key

Metadata

Release files for helium-py 0.2a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for helium-py 0.2a2
File Size Uploaded Provenance
helium-py-0.2a2.tar.gz 42.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for helium-py 0.2a2
File Interpreter ABI Platform
helium_py-0.2a2-py3-none-any.whl Python 3 none any Details

Total release size: 102.2 kB

Release files / helium-py-0.2a2.tar.gz

Download URL helium-py-0.2a2.tar.gz
Size 42.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1ae56b05d954ce32d3c27c0838e8a400966d55e85bcd2ba0c25d6f4b9ba674e9
BLAKE2b-256 checksum
How to use checksums
25146cfc359ab91a7c6e1d2f28ed9b2f96593d72fbb09ca141013e253500e8f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / helium_py-0.2a2-py3-none-any.whl

Download URL helium_py-0.2a2-py3-none-any.whl
Size 60.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04b1a0b45b0bb9b616ccf60f40433ac13197d39a1cba5582a296dd7ba5e9a158
BLAKE2b-256 checksum
How to use checksums
d4568acb8c37a1b0e0bfb18b539d03067c03e311aeac8156ac0b94c4e776f8ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for helium-py 0.2a2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page