Skip to main content

Unofficial Python library for dPay

Project description

dpaycli - Unofficial Python Library for DPay

dpaycli is an unofficial python library for dpay, which is created new from scratch from `python-bitshares`_
The library name is derived from a beam machine, similar to the analogy between dpay and steam. dpaycli includes `python-graphenelib`_.

.. image::
:alt: Latest Version

.. image::
:alt: Python Versions

.. image::

.. image::

Current build status

.. image::

.. image::

.. image::

.. image::

.. image::

.. image::
:alt: Updates

.. image::
:alt: Test Coverage

Support & Documentation
You may find help in the `dpaycli-discord-channel`_. The discord channel can also be used to discuss things about dpaycli.

A complete library documentation is available at ``_.

Advantages over the official dpay-python library

* High unit test coverage
* Support for websocket nodes
* Native support for new Appbase calls
* Node error handling and automatic node switching
* Usage of pycryptodomex instead of the outdated pycrypto
* Complete documentation of dpay and all classes including all functions
* dpayid integration
* Works on read-only systems
* Own BlockchainObject class with cache
* Contains all broadcast operations
* Estimation of virtual account operation index from date or block number
* the command line tool dpay uses click and has more commands
* DPayNodeRPC can be used to execute even not implemented RPC-Calls
* More complete implemention

The minimal working python version is 2.7.x. or 3.4.x

dpaycli can be installed parallel to python-dpay.

For Debian and Ubuntu, please ensure that the following packages are installed:

.. code:: bash

sudo apt-get install build-essential libssl-dev python-dev

For Fedora and RHEL-derivatives, please ensure that the following packages are installed:

.. code:: bash

sudo yum install gcc openssl-devel python-devel

For OSX, please do the following::

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

For Termux on Android, please install the following packages:

.. code:: bash

pkg install clang openssl-dev python-dev

Signing and Verify can be fasten (200 %) by installing cryptography:

.. code:: bash

pip install -U cryptography

Install or update dpaycli by pip::

pip install -U dpaycli

You can install dpaycli from this repository if you want the latest
but possibly non-compiling version::

git clone
cd dpaycli
python build

python install --user

Run tests after install::


Installing dpaycli with conda-forge

Installing dpaycli from the conda-forge channel can be achieved by adding conda-forge to your channels with::

conda config --add channels conda-forge

Once the conda-forge channel has been enabled, dpaycli can be installed with::

conda install dpaycli

Signing and Verify can be fasten (200 %) by installing cryptography::

conda install cryptography

dpaycli can be updated by::

conda update dpaycli

CLI tool dpay
A command line tool is available. The help output shows the available commands:

dpay --help

Stand alone version of CLI tool dpay
With the help of pyinstaller, a stand alone version of dpay was created for Windows, OSX and linux.
Each version has just to be unpacked and can be used in any terminal. The packed directories
can be found under release. Each release has a hash sum, which is created directly in the build-server
before transmitting the packed file. Please check the hash-sum after downloading.

Can be found in CHANGELOG.rst.

This library is licensed under the MIT License.

`python-bitshares`_ and `python-graphenelib`_ were created by Fabian Schuh (xeroc).

.. _python-graphenelib:
.. _python-bitshares:
.. _Python:
.. _Anaconda:
.. _dpaycli-discord-channel:

Project details

Download files

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

Built Distribution

dpaycli-0.2.0-py3.6.egg (747.0 kB view hashes)

Uploaded 3 6

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page