Skip to main content

Friendly Dogecoin JSON-RPC API binding for Python 3

Reason this release was yanked:

Broken configuration loading

Project description

Python Dogecoin

PyPI Downloads

This is a fork of a dogecoin-python library focused on a Python 3 support only. Note that you are looking for python-dogecoin version on PyPI instead of original dogecoin-python.

This package allows performing commands such as listing the current balance and sending coins to the Satoshi (original) client from Python. The communication with the client happens over JSON-RPC.

Installation

$ pip install python-dogecoin

Development

pyenv is used to easily create virtual environment for the development. Use pyenv-installer to quickly setup it locally.

$ pyenv virtualenv 3.8.1 python-dogecoin
$ pyenv activate python-dogecoin
$ pip install --upgrade pip
$ pip install -e .

Formatting your code after adding changes

$ pyenv activate python-dogecoin
$ pip install -e ".[dev]"
$ make format

Tests

You need Dogecoin server to be up and running and configured to use testnet.

$ pyenv activate python-dogecoin
$ pip install -e ".[test]"
$ python tests/test.py
$ pytest -sv tests/

Running Dogecoin server

$ ./src/dogecoind -daemon -testnet
$ ./src/dogecoin-cli stop  # stop after end of testing

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

python-dogecoin-0.0.3.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

python_dogecoin-0.0.3-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

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