Skip to main content

Unofficial Python library for STEEM

Project description

beem - Unofficial Python Library for Steem and HIVE

beem is an unofficial python library for steem and HIVE, which is created new from scratch from python-bitshares The library name is derived from a beam machine, similar to the analogy between steem and steam. beem includes python-graphenelib.

Latest Version Python Versions https://anaconda.org/conda-forge/beem/badges/version.svg https://anaconda.org/conda-forge/beem/badges/downloads.svg

Current build status

https://travis-ci.org/holgern/beem.svg?branch=master https://ci.appveyor.com/api/projects/status/ig8oqp8bt2fmr09a?svg=true https://circleci.com/gh/holgern/beem.svg?style=svg https://readthedocs.org/projects/beem/badge/?version=latest https://api.codacy.com/project/badge/Grade/e5476faf97df4c658697b8e7a7efebd7 Updates Test Coverage

Support & Documentation

You may find help in the beem-discord-channel. The discord channel can also be used to discuss things about beem.

A complete library documentation is available at beem.readthedocs.io.

Advantages over the official steem-python library

  • High unit test coverage

  • Support for websocket nodes

  • Native support for new Appbase calls

  • Node error handling and automatic node switching

  • Usage of pycryptodomex instead of the outdated pycrypto

  • Complete documentation of beempy and all classes including all functions

  • steemconnect integration

  • Works on read-only systems

  • Own BlockchainObject class with cache

  • Contains all broadcast operations

  • Estimation of virtual account operation index from date or block number

  • the command line tool beempy uses click and has more commands

  • SteemNodeRPC can be used to execute even not implemented RPC-Calls

  • More complete implemention

Installation

The minimal working python version is 2.7.x. or 3.4.x

beem can be installed parallel to python-steem.

For Debian and Ubuntu, please ensure that the following packages are installed:

sudo apt-get install build-essential libssl-dev python-dev

For Fedora and RHEL-derivatives, please ensure that the following packages are installed:

sudo yum install gcc openssl-devel python-devel

For OSX, please do the following:

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

For Termux on Android, please install the following packages:

pkg install clang openssl-dev python-dev

Signing and Verify can be fasten (200 %) by installing cryptography:

pip install -U cryptography

or:

pip install -U secp256k1prp

Install or update beem by pip:

pip install -U beem

You can install beem from this repository if you want the latest but possibly non-compiling version:

git clone https://github.com/holgern/beem.git
cd beem
python setup.py build

python setup.py install --user

Run tests after install:

pytest

Installing beem with conda-forge

Installing beem from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge

Once the conda-forge channel has been enabled, beem can be installed with:

conda install beem

Signing and Verify can be fasten (200 %) by installing cryptography:

conda install cryptography

beem can be updated by:

conda update beem

CLI tool beempy

A command line tool is available. The help output shows the available commands:

beempy –help

Stand alone version of CLI tool beempy

With the help of pyinstaller, a stand alone version of beempy was created for Windows, OSX and linux. Each version has just to be unpacked and can be used in any terminal. The packed directories can be found under release. Each release has a hash sum, which is created directly in the build-server before transmitting the packed file. Please check the hash-sum after downloading.

Changelog

Can be found in CHANGELOG.rst.

License

This library is licensed under the MIT License.

Acknowledgements

python-bitshares and python-graphenelib were created by Fabian Schuh (xeroc).

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

beem-0.22.5.tar.gz (504.7 kB view details)

Uploaded Source

Built Distribution

beem-0.22.5-py2.py3-none-any.whl (339.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file beem-0.22.5.tar.gz.

File metadata

  • Download URL: beem-0.22.5.tar.gz
  • Upload date:
  • Size: 504.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for beem-0.22.5.tar.gz
Algorithm Hash digest
SHA256 470445e433924dd7bf3dc28b8b2f100e223d77dcb83c594d99e99b7add01f944
MD5 0db0f0fa61d364d829368a6eaed4d078
BLAKE2b-256 cb5cd50fee98a0cff7a15f8d6fc7cf163bb7a1661881abf38857a8ec0138364a

See more details on using hashes here.

File details

Details for the file beem-0.22.5-py2.py3-none-any.whl.

File metadata

  • Download URL: beem-0.22.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 339.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for beem-0.22.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1cedd1e2f1a88c22a3884a69d65d4cedcd2c64ed8d08ced0b8aae14d14820c2b
MD5 4166648fc4d0871230f0eedda5a91f40
BLAKE2b-256 d1b6aada1e60f1fc7c7a9111d2d4e1628ecad41c7e17eae4419816712b84563b

See more details on using hashes here.

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