Update for beem (former steempy) - the new python library for steem

in #utopian-io6 years ago (edited)

image.png

steempy is a CLI tool from steem-python, in order to prevent confusion, I renamed my python library to beem. A beam maschine is a special steam engine which utilizes a metal beam. Therefore, beem is a good name for a python library for Steem.

beem is a python library for Steem and uses python-graphenelib from @xeroc. python-graphenelib has a dependency to pcrytodome, which is incompatible to the old and un-maintained pycryto which is used by steem-python. Therefore,
pip install beem will break some functions of steem-python, as pycryto is replaced by pycrytodome.

beem is compatible to python 3.5 and upwards. At the moments, all unit tests passed for python 3.5 and 3.6 for linux, OSX and windows. As soon as python-graphenelib is compatible to python 2.7, I will add compatiblity for python 2.7.

You cannot install beem and steem on the same maschine!

I commited a PR to python-steem: https://github.com/steemit/steem-python/pull/146 in order to fix this.

New links for the project

You can install beem on an Android mobile using Termux. You can learn here how to setup termux.

pkg install clang openssl-dev python python-dev
pip install-U beem


20180222_124405.jpg

New Features

  • Coverage could improved to 73%!
  • Improved Doku
  • Missing features added
  • More unit tests
  • Library renamed to beem

Added missing transaction objects and more unit tests

  • https://github.com/holgern/beem/commit/761a3a607201bd7fa87ae76bebe9427e6f2a9cda
  • ExchangeRate, Beneficiary, Beneficiaries, CommentOptionExtensions, Transfer_to_vesting, Withdraw_vesting, Account_witness_vote, Comment, Custom_json, Comment_options, Feed_publish, Convert, Set_withdraw_vesting_route, Limit_order_cancel, Delegate_vesting_shares, Limit_order_create, Transfer_from_savings, Cancel_transfer_from_savings, Claim_reward_balance, Transfer_to_savings added
  • Unit tests added

Added missing functions and objects

account:

  • reputation added
  • history improved and fixed

block:

  • ops and ops_statistics added

blockchain:

  • function-names improved
  • ops_statistics added

blockchainobject

  • json export added

Comment class added

Discussion class added

steem:

  • follow and account by key api added and fixed

storage:

  • more nodes added

utils

  • Helpfunctions added

vote

  • blockchainobject
  • refresh fixed

wallet

  • purgeWallet added

Witness

  • printAsTable function added
  • WitnessesVotedByAccount added
  • WitnessesRankedByVote added
  • WitnessesByIds added
  • LookupWitnesses added

Steemnoderpc

  • register_apis fixed

test_wallet

  • unit tests added

test_utils

  • unittests added

Rename library from steempy to beem

Improve doc and upstream fixes from python-bitshares included


Did you try my new library yet? Please give me feedback!



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Congratulations @holger80! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Thank you for the contribution. It has been approved. Please state the source of the first image.

You can contact us on Discord.
[utopian-moderator]

You done a Great Job @holger80

Hey @holger80 I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x