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.
Current build status
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
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
0.19.28
Improve rewards command in beempy
estimate_virtual_op_num improved and small bug fixed
SBD value in Comment always converted to Amount
accuracy renamed to stop_diff
Doku of estimate_virtual_op_num improved
Unit test for estimate_virtual_op_num added
beempy rewards command renamed to pending
new beempy command: rewards shows now the received rewards
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
New library name is now beem
Upstream fixes from https://github.com/xeroc/python-bitshares
Improved Docu
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
Built Distribution
Hashes for beem-0.19.29-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de77321bc924cd0ad63133af66f690c102c55cd2267a7de4ce2b57b701fcec4 |
|
MD5 | 93055bf85b492ae3ab1fe9ef5adfc156 |
|
BLAKE2b-256 | bf19a3baf4adbc03d0b5dfb80bfe936c8800c686b9a3872915f7f6a3584e3b6d |