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- AccountByKeyApiaccount_history_api- AccountHistoryApiblock_api- BlockApibridge- Bridgecondenser_api- CondenserApidatabase_api- DatabaseApidebug_node_api- DebugNodeApifollow_api- FollowApijsonrpc- Jsonrpchive- Hivemarket_history_api- MarketHistoryApinetwork_broadcast_api- NetworkBroadcastApirc_api- RcApireputation_api- ReputationApisearch_api- SearchApitags_api- TagsApitransaction_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64b62eabed6d9d9faa7fe258f7b5fbdea4afe47dd64b04d8c98163ff6baf6f30
|
|
| MD5 |
91031cd9d55c401926fada13deb6e283
|
|
| BLAKE2b-256 |
fa3e8d397c3af26c57fadb3ba0fad509983ae7dc3b6904325a3932f195015066
|