Update for beem - now compatible with python 2.7

in #utopian-io6 years ago (edited)

beem is now the first (as far as I know) python library for steem which supports python 2.7, 3.4, 3.5 and 3.6. By supporting, I mean that 130 unit tests have passed with the specific python version.

New Features

  • beem is now compatible with the official steem-python library. Both can be installed in parallel!
  • beem works now also for python 2. Be careful there might be some bugs. Please report!
  • Code coverage is 75%
  • The newest version 0.19.7 can be installed with pip install beem

Changes

Account

  • docu improved
  • get_feed, get_blog, get_blog_entries added
  • get_account_votes added
  • fix timezone

Amount

  • export to json and str fixed

Block

  • change_block_number added

Blockchain

  • get_estimated_block_num added

Comment

  • dates and Amounts are now converted
  • json_export adapted
  • get_reblogged_by added
  • delete_comment added

Storage

  • 2 nodes removed from default

Utils

  • timezone information added to formatTimeString

Unit tests

  • more tests added for account, amount, comment, price and transaction

More Changes

Changes to make beem compatible with python 2.7



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

I've tried on Mac OSX
no luck with pip.

But after setting:
export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS"
export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"

and
git clone https://github.com/holgern/beem.git
cd beem
python setup.py build
python setup.py install --user

All works!
Tomorrow will try to use it for my mini project.

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