With the release of piston 0.4.3a0 and python-steem 0.4.3, the library and command line application now support the interaction with the GOLOS network.
The changes required can be summarized to:
You can install piston using pip3 (the package manager for python3):
pip3 install --user --upgrade steem-piston==0.4.3a0
This will install piston 0.4.3a0 and pysteem 0.4.3.
After that, you need to set the default node to an API that works on GOLOS:
piston set node wss://ws.golos.io
Now, piston (and pysteem) are setup to connect to GOLOS, you can check by running
piston balance golos
To add your own account, you can either use
piston addkey (and provide a raw wif key), or
piston importaccount <accountname> (and provide the password to your account - owner key won't be stored by default)
More information about available calles be be found via
piston --help
or on the official piston.rocks webpage.
If you want to use the library with GOLOS (instead of STEEM) you can either change the default node via piston set node x (as described above) or do so programatically:
from steem import Steem
golos = Steem('wss://ws.golos.io')
More documentation about how to use the library can be found on it's own documentation webpage.
Now, have fun!