Friendly Dogecoin JSON-RPC API binding for Python 3
Project description
Python Dogecoin
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for python_dogecoin-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e27077838285cead73afeb936a27beb73e64ce0e6a3075b1348309d9876f1b71 |
|
MD5 | 0bd1a36ad0f010d5178819e925bc7bab |
|
BLAKE2b-256 | 5024d8762f4b54baadc79570331105742a954931d7b0827eba7a3258cae514a3 |