Simple py driver for bundlr
Project description
pybundlr
Simple py driver for bundlr
Constructed by wrapping bundlr CLI.
Installation
Prerequisites
Ensure prerequisites:
- Linux/MacOS
- Python 3.8.5+
- Bundlr CLI:
npm install -g @bundlr-network/client
Install pybundlr
Open a new terminal and:
#create a virtual environment
python -m venv venv
#activate env
source venv/bin/activate
#avoid issues
pip install wheel
#main install
pip install pybundlr
Example Usage
From terminal, start a Python console:
python
In Python console:
import pybundlr
address = "Ry2bDGfBIvYtvDPYnf0eg_ijH4A1EDKaaEEecyjbUQ4"
bal = pybundlr.balance(address)
print(f"bal: {bal}")
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 Distribution
pybundlr-0.0.2.tar.gz
(3.3 kB
view hashes)