Skip to main content

Unofficial idena-go RPC API Python Wrapper

Project description

pydena

Unofficial Python API for idena-go RPC

Requirements

  • Python 3.6+

Installation

# From pypi
pip install pydena

# From source
git clone github.com/M4cs/pydena
cd pydena
python3 setup.py install

Roadmap

  • IPFS API ✔
  • Accounts API ✔
  • Blockchain API ✔
  • DNA API ✔
  • Net API ❌
  • Flip API ❌
  • Contracts API ❌

Usage

Initialize your API:

from pydena import API

# Local Node with No API Key on http://localhost:9009
api = API()

# Local Node with API Key
api = API(apikey='YOUR-API-KEY')

# Remote node with API Key
api = API('http://localhost:9999', 'YOUR-API-KEY')

# Get Coinbase Address:
api.getCoinbaseAddress()

# Get Last Block:
api.getLastBlock()

# See all in documentation below!

View the official documentation here

Download files

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

Source Distribution

pydena-1.0.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

pydena-1.0.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file pydena-1.0.2.tar.gz.

File metadata

  • Download URL: pydena-1.0.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pydena-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8d6e1f7b91dcf7a6606b4dfcd31b70b52e6b1d9577478f769e3f5cd56293d893
MD5 4245a1a64684fc8a57c550bd1d77530d
BLAKE2b-256 d30ff058d48ca4a7ce46295bf77072ccee6159fa0bf27d5477932f82ad589ca0

See more details on using hashes here.

File details

Details for the file pydena-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pydena-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pydena-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 861dca8f7fb99cb3190913ae2b789b17898a021f4009d9c416ca61785d924340
MD5 330e249cbafa3387540d70fac7117088
BLAKE2b-256 570751e8778f2c6a07c3e6264bb3cd4a713a4cb05275b38da24b9b36c239a02b

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