Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: holgern/beem
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.22.14
Choose a base ref
...
head repository: holgern/beem
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.23.0
Choose a head ref

Commits on Apr 8, 2020

  1. Prepare next release 0.23.0

    holgern committed Apr 8, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4c7b531 View commit details
  2. fix ci

    holgern committed Apr 8, 2020
    Copy the full SHA
    61c3684 View commit details
  3. Try to fix ci

    holgern committed Apr 8, 2020
    Copy the full SHA
    5b6c089 View commit details
  4. Try to fix ci

    holgern committed Apr 8, 2020
    Copy the full SHA
    c5ecc8d View commit details
  5. Fix ci

    holgern committed Apr 8, 2020
    Copy the full SHA
    b782b2a View commit details

Commits on Apr 9, 2020

  1. Add new hardfork_hive operation, which got added at the steem/hive ha…

    …rdfork.
    Flugschwein committed Apr 9, 2020
    Copy the full SHA
    4187f8a View commit details
  2. Add new update_proposal_votes operation to beem.snapshot, which got a…

    …dded at HF21.
    flugschwein committed Apr 9, 2020
    Copy the full SHA
    6652299 View commit details
  3. Fix minor grammar mistake

    Flugschwein committed Apr 9, 2020
    Copy the full SHA
    b499d64 View commit details
  4. Remove commented out testing stuff

    Flugschwein committed Apr 9, 2020
    Copy the full SHA
    e08dc42 View commit details

Commits on Apr 10, 2020

  1. Copy the full SHA
    e470879 View commit details
  2. Copy the full SHA
    361bc44 View commit details
  3. Add current VPs at the end of build_vp_arrays()

    flugschwein committed Apr 10, 2020
    Copy the full SHA
    9ab9ec5 View commit details
  4. Update Example for VP_over_time

    flugschwein committed Apr 10, 2020
    Copy the full SHA
    7eeaab7 View commit details
  5. Fix bugs and improve precision

    Flugschwein committed Apr 10, 2020
    Copy the full SHA
    73ecf00 View commit details
  6. Improve graphing for Example for VP_over_time

    Flugschwein committed Apr 10, 2020
    Copy the full SHA
    ab59bc5 View commit details

Commits on Apr 16, 2020

  1. Copy the full SHA
    06d5f78 View commit details
  2. Add final precision to build_vp_arrays

    Flugschwein committed Apr 16, 2020
    Copy the full SHA
    09b8ade View commit details
  3. Add new operation added by HF24

    flugschwein committed Apr 16, 2020
    Copy the full SHA
    216b6b1 View commit details

Commits on Apr 17, 2020

  1. Merge pull request #226 from Flugschwein/snapshot-hive

    Snapshot update
    holgern authored Apr 17, 2020
    Copy the full SHA
    4134c69 View commit details
  2. Replace steem by blockchain

    * steem object in all classes is replaced by blockchain
    * Hive and Steem are now BlockChainInstance classes
    * Each class has now blockchain_instance parameter (steem_instance is stil available)
    * shared_blockchain_instance and set_shared_blockchain_instance can be used for Hive() and Steem() instances
    * token_symbol, backed_token_symbol and vest_token_symbol
    holgern committed Apr 17, 2020
    Copy the full SHA
    051e80c View commit details
  3. Fix renaming in snapshot

    holgern committed Apr 17, 2020
    Copy the full SHA
    bd10941 View commit details
  4. More bug fixes

    holgern committed Apr 17, 2020
    Copy the full SHA
    dc0c739 View commit details
  5. Rename SteemNodeRPC to NodeRPC

    Rename SteemWebsocket to NodeWebsocket and SteemNodeRPC to NodeRPC
    holgern committed Apr 17, 2020
    Copy the full SHA
    9ed2f2c View commit details
  6. Fix some doc strings

    holgern committed Apr 17, 2020
    Copy the full SHA
    049fdfe View commit details
  7. Implement new reward curve

    holgern committed Apr 17, 2020
    Copy the full SHA
    7089ba5 View commit details
  8. fix typo

    holgern committed Apr 17, 2020
    Copy the full SHA
    d98992b View commit details

Commits on Apr 18, 2020

  1. Rshares, vote percentage and SBD/HBD calculation has been fixed for v…

    …otes
    
    * Rshares, vote percentage and SBD/HBD calculation has been fixed for votes
    * post_rshares parameter added to all vote calculations
    holgern committed Apr 18, 2020
    Copy the full SHA
    ac35ddf View commit details
  2. Fix changelog and unit test

    holgern committed Apr 18, 2020
    Copy the full SHA
    ee7e49f View commit details
Showing with 5,235 additions and 3,411 deletions.
  1. +17 −0 CHANGELOG.rst
  2. +4 −4 README.rst
  3. +7 −4 appveyor.yml
  4. +2 −0 beem/__init__.py
  5. +427 −359 beem/account.py
  6. +42 −35 beem/amount.py
  7. +5 −3 beem/asset.py
  8. +25 −21 beem/block.py
  9. +103 −98 beem/blockchain.py
  10. +1,941 −0 beem/blockchaininstance.py
  11. +8 −3 beem/blockchainobject.py
  12. +392 −296 beem/cli.py
  13. +114 −93 beem/comment.py
  14. +19 −4 beem/constants.py
  15. +21 −16 beem/conveyor.py
  16. +239 −154 beem/discussions.py
  17. +438 −0 beem/hive.py
  18. +18 −13 beem/hivesigner.py
  19. +11 −5 beem/imageuploader.py
  20. +70 −3 beem/instance.py
  21. +99 −93 beem/market.py
  22. +20 −15 beem/memo.py
  23. +13 −8 beem/message.py
  24. +17 −4 beem/nodelist.py
  25. +16 −10 beem/notify.py
  26. +58 −53 beem/price.py
  27. +17 −11 beem/rc.py
  28. +187 −82 beem/snapshot.py
  29. +35 −1,700 beem/steem.py
  30. +14 −9 beem/steemconnect.py
  31. +1 −1 beem/storage.py
  32. +64 −59 beem/transactionbuilder.py
  33. +1 −1 beem/version.py
  34. +47 −31 beem/vote.py
  35. +24 −19 beem/wallet.py
  36. +107 −76 beem/witness.py
  37. +1 −1 beemapi/__init__.py
  38. +4 −4 beemapi/{steemnoderpc.py → noderpc.py}
  39. +1 −1 beemapi/version.py
  40. +2 −2 beemapi/websocket.py
  41. +3 −1 beembase/operationids.py
  42. +0 −1 beembase/operations.py
  43. +1 −1 beembase/version.py
  44. +10 −0 beemgraphenebase/chains.py
  45. +1 −1 beemgraphenebase/version.py
  46. +5 −2 examples/account_vp_over_time.py
  47. +2 −0 examples/print_comments.py
  48. +2 −0 examples/print_votes.py
  49. +1 −1 pyinstaller/VERSION
  50. +3 −3 setup.py
  51. +13 −13 tests/beem/test_account.py
  52. +2 −8 tests/beem/test_amount.py
  53. +2 −2 tests/beem/test_asset.py
  54. +2 −2 tests/beem/test_base_objects.py
  55. +2 −2 tests/beem/test_blockchain_threading.py
  56. +9 −9 tests/beem/test_comment.py
  57. +1 −1 tests/beem/test_connection.py
  58. +469 −0 tests/beem/test_hive.py
  59. +1 −1 tests/beem/test_hivesigner.py
  60. +36 −36 tests/beem/test_instance.py
  61. +2 −2 tests/beem/test_market.py
  62. +1 −1 tests/beem/test_nodelist.py
  63. +20 −16 tests/beem/test_steem.py
  64. +1 −1 tests/beem/test_steemconnect.py
  65. +2 −2 tests/beem/test_witness.py
  66. +9 −10 tests/beemapi/{test_steemnoderpc.py → test_noderpc.py}
  67. +4 −4 tests/beemapi/test_websocket.py
17 changes: 17 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
Changelog
=========
0.23.0
------
* set hive as default for default_chain
* get_steem_nodes added to NodeList
* Prepared for Hive HF 24
* steem object in all classes is replaced by blockchain
* Hive class has been added
* Hive and Steem are now BlockChainInstance classes
* Hive and Steem have now is_hive and is_steem properties
* Each class has now blockchain_instance parameter (steem_instance is stil available)
* shared_blockchain_instance and set_shared_blockchain_instance can be used for Hive() and Steem() instances
* token_symbol, backed_token_symbol and vest_token_symbol
* Rename SteemWebsocket to NodeWebsocket and SteemNodeRPC to NodeRPC
* Rshares, vote percentage and SBD/HBD calculation has been fixed for votes
* post_rshares parameter added to all vote calculations
* Account class has now get_token_power(), get_voting_value() and get_vote_pct_for_vote_value()

0.22.14
-------
* add click_shell to turn beempy into a shell utility with autocompletion
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
beem - Unofficial Python Library for Steem and HIVE
beem - Unofficial Python Library for HIVE and STEEM
===================================================

beem is an unofficial python library for steem and HIVE, which is created new from scratch from `python-bitshares`_
@@ -53,16 +53,16 @@ You may find help in the `beem-discord-channel`_. The discord channel can also

A complete library documentation is available at `beem.readthedocs.io`_.

Advantages over the official steem-python library
=================================================
About beem
==========

* High unit test coverage
* Support for websocket nodes
* Native support for new Appbase calls
* Node error handling and automatic node switching
* Usage of pycryptodomex instead of the outdated pycrypto
* Complete documentation of beempy and all classes including all functions
* steemconnect integration
* hivesigner/steemconnect integration
* Works on read-only systems
* Own BlockchainObject class with cache
* Contains all broadcast operations
11 changes: 7 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -9,10 +9,10 @@ environment:
WITH_COMPILER: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_compiler.cmd"

matrix:
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
PYTHON_ARCH: "64"
MINICONDA: C:\Miniconda36-x64
COMM_PY: "py36"
MINICONDA: C:\Miniconda37-x64
COMM_PY: "py37"


install:
@@ -50,23 +50,26 @@ install:
- cmd: conda update -q conda
- cmd: conda info -a
- cmd: conda install --yes conda-build setuptools pip parameterized cryptography
- cmd: conda install --yes pycryptodomex pyyaml pytest pytest-mock coverage mock appdirs pylibscrypt
- cmd: conda install --yes pycryptodomex pyyaml pytest pytest-mock coverage mock appdirs pylibscrypt pywin32
- cmd: pip install scrypt -U
- cmd: conda install --yes ecdsa requests future websocket-client pytz six Click events prettytable pyinstaller click-shell


build_script:
# Build the compiled extension
- cmd: activate root
- cmd: python setup.py build
- cmd: python setup.py install --user

test_script:
# Run the project tests
- cmd: activate root
- cmd: py.test tests/beembase
- cmd: py.test tests/beemgraphene

after_test:
# If tests are successful, create binary packages for the project.
- cmd: activate root
- cmd: pyinstaller pyinstaller\beempy-onedir.spec
- cmd: pyinstaller pyinstaller\beempy-onefile.spec

2 changes: 2 additions & 0 deletions beem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
""" beem."""
from .steem import Steem
from .hive import Hive
from .version import version as __version__
__all__ = [
"steem",
@@ -9,6 +10,7 @@
"asset",
"block",
"blockchain",
"blockchaininstance",
"market",
"storage",
"price",
Loading