dpay

Official Python dPay library.


Keywords
dpay, dsite, cryptocurrency, blockchain
License
MIT
Install
pip install dpay==0.1.1

Documentation

Official dPay Python Library

dpay-python is the official dPay library for Python. It comes with a BIP38 encrypted wallet and a practical CLI utility called dpaycli.

This library currently works on Python 2.7, 3.5 and 3.6. Python 3.3 and 3.4 support forthcoming.

Installation

With pip:

pip3 install dpay      # pip install dpay for 2.7

From Source:

git clone https://github.com/dpays/dpay-python.git
cd dpay-python
python3 setup.py install        # python setup.py install for 2.7

Homebrew Build Prereqs

If you're on a mac, you may need to do the following first:

brew install openssl
export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS"
export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"

CLI tools bundled

The library comes with a few console scripts.

  • dpaycli:
    • rudimentary blockchain CLI (needs some TLC and more TLAs)
  • dpaytail:
    • useful for e.g. dpaytail -f -j | jq --unbuffered --sort-keys .

Documentation

Documentation is available at http://docs.dpays.io

Tests

Some tests are included. They can be run via:

  • python setup.py test

TODO

  • more unit tests
  • 100% documentation coverage, consistent documentation
  • migrate to click CLI library

Notice

This library is under development. Beware.