Skip to main content

Unofficial Python library for dPay

Project description

dPayGo - Official Python Library for dPay
===============================================

dPayGo is an unofficial python library for dPay, which is created new from scratch from `python-bitshares`.


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

A complete library documentation is available at `libraries.dpays.io/dpaygo`_.

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

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

dPayGo can be installed parallel to dpay-python.

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 dPayGo by pip::

pip install -U dpaygo

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

git clone https://github.com/dpays/dpaygo.git
cd dpaygo
python setup.py build

python setup.py install --user

Run tests after install::

pytest


Installing dpaygo with conda-forge
--------------------------------

Installing dpaygo 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, dpaygo can be installed with::

conda install dpaygo

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

conda install cryptography


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.

Changelog
=========
0.01.06
-------
* Added all new seed nodes for dPay's live network

0.01.05
-------
* Removed old nodes

0.01.04
-------
* Added dPay Node Running On Appbase (0.20.0) {Moved from Dev network} [d.dpays.io]
* Fixed "invalid reward fund" bug
* Cleaned up typos and typos in docs

0.01.03
-------
* Updated for the dPay network

License
=======
This library is licensed under the MIT License.

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

.. _python-graphenelib: https://github.com/xeroc/python-graphenelib
.. _python-bitshares: https://github.com/xeroc/python-bitshares
.. _Python: http://python.org
.. _Anaconda: https://www.continuum.io
.. _dpaygo.readthedocs.io: http://dpaygo.readthedocs.io/en/latest/
.. _dpaygo-discord-channel: https://discord.gg/4HM592V

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

dpaygo-0.1.23.tar.gz (483.7 kB view details)

Uploaded Source

File details

Details for the file dpaygo-0.1.23.tar.gz.

File metadata

  • Download URL: dpaygo-0.1.23.tar.gz
  • Upload date:
  • Size: 483.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

File hashes

Hashes for dpaygo-0.1.23.tar.gz
Algorithm Hash digest
SHA256 e8806d666caad2c3d7292007fc4e1c4c95bc881f024bd9e31ffc46ff158f2b0d
MD5 87e980f0c5a56e8828435d1e9b317bbb
BLAKE2b-256 4b590ccd5bbf570697252c1297ab0b0eec6a72e2b4baf1be441c114009885ebb

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