Piston is the Swiss-army knife for Python developers working on Steem. It allows you to read content from the blockchain and put new content on it. Furthermore it has a wallet to store your private keys (in an encrypted form) locally for convenience and allow easy automation.
It's my pleasure to announce a new piston release numbered 0.4.0 which is compliant with changes made to the API in Steem 0.16.0. Let's see what has changed:
A major changes had been happened under the hood, namely, most libraries have been moved from piston into python-steem. This allows to use Steem() with as little code as this:
from steem import Steem()
In order to not break compatibility with your existing code, you can still load Steem() and all the other classes from piston.steem, however, you will see a depracation error.
In general, developers can replace all appearances of:
from piston.XXXXXXX import YYYYYYY
by
from steem.XXXXXXX import YYYYYYY
Going forward, piston will be evolve towards the reference application implementation that utilizes the steem python library. :It already comes with
I finally managed to build packages for windows that can be installed using NSIS installer and are fully (except for the web interface) usable in the cmd command line.
This is the foundation to package a graphical frontend for STEEM for windows platforms.
Eager developers can see the build procedure in contrib/.
Piston 0.4.0 comes with a few brand new calles:
piston info: Read data from the blockchain, optionally use blocknumbers, account names, public keys, or post identifiers as argumentpiston setprofile/delprofile: This allows you to set profile content in your accounts json_metadatapiston follow/unfollow: Follow/Unfollow some other users' blogspiston resteem: Resteem articlespiston history --csv: Export your history as CSV filepiston approvewitness/disapprovewitness: Approve/Disapprove witnessesNew:
Fixes: