This is a forked version of piston-lib which is unmaintained.
This library uses websockets to communicate with golosd. The key difference from golos-python is that piston-lib uses websockets while golos-python uses http API.
Install with pip3
:
$ sudo apt-get install libffi-dev libssl-dev python-dev python3-pip
$ pip3 install golos-piston
Install current version via pipenv:
$ pipenv install 'git+https://github.com/bitfag/golos-piston.git#egg=golos-piston'
Manual installation:
$ git clone https://github.com/bitfag/golos-piston.git
$ cd golos-piston
$ python3 setup.py install --user
$ pip3 install golos-piston --user --upgrade
As golos-piston is a fork of piston-lib, you can use their documentation.
Thanks to readthedocs.io, the documentation can be viewed on lib.piston.rocks
Documentation is written with the help of sphinx and can be compile to html with:
cd docs
make html