Skip to content

GolosChain/golos-piston

 
 

Repository files navigation

Python Library for Golos

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.

Installation

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

Upgrade

$ pip3 install golos-piston --user --upgrade

Documentation

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

Packages

No packages published

Languages

  • Python 99.6%
  • Makefile 0.4%