Skip to main content

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


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 details)

Uploaded Source

Built Distribution

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

pybundlr-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pybundlr-0.0.2.tar.gz.

File metadata

  • Download URL: pybundlr-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pybundlr-0.0.2.tar.gz
Algorithm Hash digest
SHA256 afdc25b4374576b24fa66e40ccbbde09019427d8dec5ab9274a5f6f4913b62bf
MD5 7fe554e53fd2c3a4cc9dcc4142f2f07d
BLAKE2b-256 faa91a2368ce8d9ba1c7c0e832be088e83d11e0dc2bfc58b621a62c8ea94d9b1

See more details on using hashes here.

File details

Details for the file pybundlr-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pybundlr-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pybundlr-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 85c6150a104f52c80a7b716e8850a8d6a5d582a9c27fcb312efec8890641766f
MD5 ba733c4a36e96f127e9b444654c4c111
BLAKE2b-256 d8bc4ccb14d743fc7dd172a977b8fc5aca19c9e9b54707a776ade6696b05d5b3

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