Skip to main content

Hive JSON-RPC API client package with lazy-loaded submodules for all Hive APIs

Project description

Hive JSON-RPC API Package

A unified Python package providing lazy-loaded clients for all Hive blockchain JSON-RPC APIs.

Installation

pip install hiveio-api

Available APIs

  • account_by_key_api - AccountByKeyApi
  • account_history_api - AccountHistoryApi
  • block_api - BlockApi
  • bridge - Bridge
  • condenser_api - CondenserApi
  • database_api - DatabaseApi
  • debug_node_api - DebugNodeApi
  • follow_api - FollowApi
  • jsonrpc - Jsonrpc
  • hive - Hive
  • market_history_api - MarketHistoryApi
  • network_broadcast_api - NetworkBroadcastApi
  • rc_api - RcApi
  • reputation_api - ReputationApi
  • search_api - SearchApi
  • tags_api - TagsApi
  • transaction_status_api - TransactionStatusApi

Usage

from wax import create_hive_chain
from hiveio_api.database_api import DatabaseApi

class MyApiCollection:
    def __init__(self):
        self.database_api = DatabaseApi

chain = create_hive_chain().extends(MyApiCollection)

Lazy Loading

Each API submodule is lazily loaded, meaning importing hiveio_api does not load all APIs into memory. Only the APIs you explicitly import are loaded:

# Only loads database_api module
from hiveio_api.database_api import DatabaseApi

# Or access via the main package (still lazy)
from hiveio_api import database_api

Running Examples

Each API includes an example that can be run as a module:

python3 -m hiveio_api.database_api
python3 -m hiveio_api.condenser_api
python3 -m hiveio_api.rc_api

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hiveio_api-1.28.6rc3-py3-none-any.whl (148.6 kB view details)

Uploaded Python 3

File details

Details for the file hiveio_api-1.28.6rc3-py3-none-any.whl.

File metadata

  • Download URL: hiveio_api-1.28.6rc3-py3-none-any.whl
  • Upload date:
  • Size: 148.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.14.2 Linux/6.17.0-8-generic

File hashes

Hashes for hiveio_api-1.28.6rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 64b62eabed6d9d9faa7fe258f7b5fbdea4afe47dd64b04d8c98163ff6baf6f30
MD5 91031cd9d55c401926fada13deb6e283
BLAKE2b-256 fa3e8d397c3af26c57fadb3ba0fad509983ae7dc3b6904325a3932f195015066

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page