Skip to main content

Nektar, a Python package to access Hive API.

Project description

nektar

nektar allows communication to the Hive blockchain using the Hive API.

Official Release

nektar can now be used on your Python projects through PyPi by running pip command on a Python-ready environment.

pip install hive-nektar --upgrade

Current version is 0.1.*, but more updates are coming soon.

This is compatible with Python 3.9 or later.

WARNINGS:

  • This package is still under development, some future breakage is inevatable.
  • Some AppBase API methods are still under development and subject to change.

Features

1. Lightweight package for small Hive dApps or projects.
2. Readily available methods using the nektar.Waggle() class.
3. Highly costumizable via appbase module.

Nektar Module

Basic Usage

from nektar import Waggle

username = ""
dapp = Waggle(username)
dapp.append_wif("5*")

author = ""
permlink = ""
weight = 10000

dapp.vote(author, permlink, weight, synchrnous=True, strict=False)

AppBase Module

Basic Usage

from appbase import AppBase

dapp = AppBase(username)
dapp.append_wif("5*")

props = dapp.api("database").get_dynamic_global_properties({})

username = "nektar"
account = dapp.api("condenser").get_accounts([[self.username]])

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

hive-nektar-0.1.1.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

hive_nektar-0.1.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file hive-nektar-0.1.1.tar.gz.

File metadata

  • Download URL: hive-nektar-0.1.1.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for hive-nektar-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4a6546fae48c9f29485cb7e0957dfd6b2807c9833548814da315a74ed15912a3
MD5 c53bc1b875bbb3b46429258bde3781d6
BLAKE2b-256 05804c88cf35c8e708349df68f70125c207b051e81252ef16d90460f4f44cc36

See more details on using hashes here.

File details

Details for the file hive_nektar-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hive_nektar-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for hive_nektar-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e34db49a5310076a25e0b75dd110c3fc746a524c1b6a3450110b58282695eeb1
MD5 b75d1a6e429cd1ac04d1a5257886c6d8
BLAKE2b-256 59845e4cfdbf6c9706fabef39c1fd13ddb7f1d4f446160214d8ca3e52541ccef

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