Update for beem - a steem python lib - CLI and conda-forge added

in #utopian-io8 years ago (edited)

beem has now a first and simple version for a CLI script, called beempy. I pushed beem to conda-forge. The coverage could be increased to 79.4%. The current version is 0.19.9.

You can find the github here: https://github.com/holgern/beem.

Conda-forge

beem has now its own feedstock: https://github.com/conda-forge/beem-feedstock. I successfully pushed a pull request.
It can now be installed by conda install beem on every miniconda/anaconda environment. You only need to enable the conda-forge channel first:

conda config --add channels conda-forge

CLI

I started to work on a cli tool for beem. I'm using click. I will try to add all commands which are available withing steempy from steem-python.

image.png

Unit tests

I worked also on the unit tests. At the moment, 178 unit tests are available.

Changes

Python2/3 Compatibilty

  • to_bytes() is reverted back to __bytes__
  • py23_bytes added
  • isinstance for strings and integer corrected
  • super() made compatible with python 2

Account

  • allow and disallow moved from the steem to the account class
  • small improvements

Comment

  • get_votes added

Steem

  • Doku improved

Vote

  • bug fixes
  • printAsTable added

Wallet

  • getPostingKeyForAccount added

Unit tests

  • test_vote added
  • test_testnet added
  • test_py23 added

Fix unit tests for python 3

CLI added

CLI and Account improved

Account:

  • sp vp properties added
  • print_info improved
  • reputation -> get_reputation
  • voting_power -> get_voting_power
  • steem_power -> get_steem_power
  • precision option removed
  • balance -> get_balance

CLI

  • set, config createwallet, walletinfo, addkey, listkeys, listaccounts and changewalletpasswordphrase added

Steem

  • create_account_with_delegate added

Unittests

Unit tests fixed and added

Fix Memo in Transfer



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

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