Skip to content

only-dev-time/steempy

Repository files navigation

Python Library for the Steem Blockchain

steempy is a Steem library for Python. It comes with a BIP38 encrypted wallet and a practical CLI utility called steempy. The base version is a fork of the official python library, which is no longer maintained.

This library currently works on Python 2.7, 3.5 and 3.6. Python 3.3 and 3.4 support forthcoming.

Installation

With pip:

pip3 install steem-lib      # pip install steem-lib for 2.7

From Source:

git clone https://github.com/only-dev-time/steempy.git
cd steempy
python3 setup.py install        # python setup.py install for 2.7

Homebrew Build Prereqs

If you're on a mac, you may need to do the following first:

brew install openssl
export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS"
export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"

CLI tools bundled

The library comes with a few console scripts.

  • steempy:
    • rudimentary blockchain CLI (needs some TLC and more TLAs)
  • steemtail:
    • useful for e.g. steemtail -f -j | jq --unbuffered --sort-keys .

Documentation

Documentation is available at http://steem.readthedocs.io

Tests

Some tests are included. They can be run via:

  • python setup.py test

TODO

  • more unit tests
  • 100% documentation coverage, consistent documentation
  • migrate to click CLI library

Notice

This library is under development. Beware.

About

A python library to interact with the Steem blockchain

Topics

Resources

License

Stars

Watchers

Forks

Languages