Skip to main content

Python library for Golos blockchain

Project description

Python GOLOS Library

This is a fork of golodranets GOLOS library for Python which was forked from official STEEM library for Python. It comes with a BIP38 encrypted wallet.

The main differences from the steem-python:

  • directed to work with GOLOS blockchain
  • websocket support
  • convert Cyrillic to Latin for tags and categories
  • Golos assets - STEEM -> GOLOS, SBD -> GBG, VESTS -> GESTS
  • renamed modules - steem -> golos, steemdata -> golosdata
  • for Post instance added two fields - score_trending and score_hot. This fields may be helpful if you want to sort your saved posts like get_discussions_by_trending and get_discussions_by_trending methods do. reblogged_by field is also filled now
  • for Account instance methods get_followers and get_following were improved - now it takes limit and offset parameters

GOLOS HF 17-22 is supported.

Installation

As regular package:

pip install python-golos

Local installation from source:

cd golos-python
poetry install
poetry shell

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"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-golos-1.0.0.tar.gz (207.0 kB view hashes)

Uploaded Source

Built Distribution

python_golos-1.0.0-py3-none-any.whl (216.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page