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.

Files for python-golos, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size python_golos-1.0.0-py3-none-any.whl (216.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-golos-1.0.0.tar.gz (207.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page