Skip to main content

Unofficial Python library for STEEM

Project description

beem - Unofficial Python Library for Steem

beem is an unofficial python library for steem, which is created new from scratch from python-bitshares The library name is derived from a beam maschine, 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.

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

Install 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

CLI tool beempy

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

beempy –help

Changelog

0.19.27

  • Block have only_ops and only_virtual_ops as parameter

  • transactions and operations property added to Block

  • entryId changed to start_entry_id in get_feed, get_blog_entries and get_blog

  • estimate_virtual_op_num() added to Account, can be used to fastly get account op numbers from dates or blocknumbers

  • history and history_reverse uses estimate_virtual_op_num()

  • blockchain.ops() is obsolete

  • only_ops and only_virtual_ops added to blockchain.get_current_block(), blockchain.blocks() and blockchain.stream()

  • reward, curation, verify added to cli

  • new curation functions added to the Comment class

  • Signed_Transaction.verify() fixed, by trying all recover_parameter from 0 to 3

  • get_potential_signatures, get_transaction_hex and get_required_signatures added to Transactionbuilder

  • KeyNotFound is replaced by MissingKeyError and KeyNotFound is removed

0.19.26

  • Several small bugs fixed

  • cache which stores blockchainobjects is now autocleaned

  • requests.session is now a shared instance

  • websocket will be created again for each Steem instance

  • A node benchmark which uses threads added to examples

  • Documentation improved

  • Optional threading added to beempy pingnode (use –threading with –sort)

0.19.25

  • bug fix release

0.19.24

  • AsciiChart for beempy: pricehistory, tradehistory and orderbook

  • Sort nodes regarding their ping times (beempy ping –sort –remove)

  • currentnode and nextnode skip not working nodes

  • Memory consumption fer requests and websocket reduced when creating more instances of steem

  • trade_history added to market

  • Issue #4 fixed

  • Steem(use_condenser=True) activates condenser_api calls for 19.4 nodes

0.19.23

  • new function for beempy added: power, follower, following, muter, muting, mute, nextnode, pingnode, currentnode

  • support for read-only systems added

  • more unit tests

  • Several improvements and bug fixes

0.19.22

  • beempy (command line tool) improved and all missing functions which are available in steempy are added

  • new functions to beempy added: witnesses, walletinfo, openorders, orderbook and claimreward

  • unit tests for cli added

0.19.21

  • Transactionbuilder and Wallet improved

  • Accounts with more than one authority can be used for signing

  • Examples added

  • reconstruct_tx added to sign and addSigningInformation

  • proposer from Transactionbuilder removed, as it had no function

  • rshares_to_vote_pct added

0.19.20

  • serveral bug fixes and improvements

  • coverage improved

  • rpc improvements

  • Native appbase support for broadcasting transactions added

  • Native appbase support for Transfer added

0.19.19

  • serveral bug fixes and improvements

  • coverage improved

  • steem.get_blockchain_version added

  • post and comment_options moved from beem.commment to beem.steem

  • wait_for_and_get_block improved

  • num_retries handling improved

  • block_numbers can be set as start and stop in account.history and account.history_reverse, when use_block_num=True (default)

0.19.18

  • bug fix release

0.19.17

  • GOLOS chain added

  • Huge speed improvements for all sign/verify operations (around 200%) when secp256k1 can not be installed and cryptography is installed

  • benchmark added

  • Example for speed comparison with steem-python added

  • Several bug fixes and improvements

0.19.16

  • rename wallet.purge() and wallet.purgeWallet() to wallet.wipe()

  • Handle internal node errors

  • Account class improved

  • Several improvements

0.19.15

  • bugfixes for testnet operations

  • refactoring

0.19.14

  • batched api calls possible

  • Threading added for websockets

  • bug fixes

0.19.13

  • beem is now in the beta state, as now 270 unit tests exists

  • unit tests added for appbase

  • bug fixes for appbase-api calls

0.19.12

  • bug fix release for condenser_api

0.19.11

  • beem is appbase ready

  • more examples added

  • print_appbase_calls added

  • https nodes can be used

0.19.10

  • Memo encryption/decryption fixed

0.19.9

  • CLI tool improved

  • bug fixes

  • more unittests

0.19.8

  • bug fixes

  • CLI tool added

  • beem added to conda-forge

  • more unittests

0.19.7

  • works on python 2.7

  • can be installed besides steem-python

  • graphenelib included

  • unit tests added

  • comment and account improved

  • timezone added

  • Delete_comment added

0.19.6

  • Small bug-fix

0.19.5

  • Market fixed

  • Account, Comment, Discussion and Witness class improved

  • Bug fixes

0.19.4

0.19.3

  • Add Comment/Post

  • Add Witness

  • Several bugfixes

  • Added all transactions that are supported from steem-python

  • New library name planned: beem

0.19.2

  • Notify and websocket fixed

  • Several fixes

0.19.1

  • Imported from https://github.com/xeroc/python-bitshares

  • Replaced all BitShares by Steem

  • Flake8 fixed

  • Unit tests are working

  • renamed to beem

  • Docs fixed

  • Signing fixed

  • pysteem: Account, Amount, Asset, Block, Blockchain, Instance, Memo, Message, Notify, Price, Steem, Transactionbuilder, Vote, Witness are working

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.19.27.tar.gz (448.4 kB view details)

Uploaded Source

Built Distribution

beem-0.19.27-py2.py3-none-any.whl (287.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: beem-0.19.27.tar.gz
  • Upload date:
  • Size: 448.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for beem-0.19.27.tar.gz
Algorithm Hash digest
SHA256 ae28e6ac72668936860bffcb0e51a9a192d1d6dc79e7f9d02bb4b019058c96b5
MD5 bbfac66ef802969e5a713123e8b6cc3c
BLAKE2b-256 9919bb67df7cdc07dff8b929c99710359950554861633daefbf7f0fef37f7d97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for beem-0.19.27-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1797f5966362e65e5d1bee931920abe58a9290710fefa957d567b7a2878adc3f
MD5 9e5b598569e5ac1abd2302731ef94884
BLAKE2b-256 1e12a7c64c78d0dcd6481dd378f7e74ae80cdf4b333d042ecc51c9e9e833450d

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