Skip to content

2.1.0 - CLI Tool, Benchmarks, Dynamic Methods, and more!

Latest
Compare
Choose a tag to compare
@Someguy123 Someguy123 released this 30 Sep 09:36
· 1 commit to master since this release
  • Added some new methods to SteemAsync

    • get_witness - Get data for a given witness name

    • get_witness_list - Get the ordered witness list (i.e. top 20) including their metadata

    • wrapped_call - Easier way to call condenser_api/database_api prefixed methods. Primarily used by getattr to handle dynamic methods.

  • Added __getattr__ to SteemAsync to allow for dynamically generated methods - e.g. calling SteemAsync().lookup_account_names(["someguy123", true]) will be transparently converted into .wrapped_call('lookup_account_names', ["someguy123", true]) - allowing users to call same-named RPC methods just like a fully implemented method, instead of having to use json_call or api_call

  • Added privex.steem.cli and __main__ - which allows using steem-async straight from the CLI, which can be helpful for developers/node admins who need to check if a specific method is working properly, or to check what it outputs. It can also be used for shellscripting and other uses.

  • Added privex.steem.benchmarks - which contains bench_async (steem-async benchmark) and bench_beem (beem benchmark), to allow developers to see and verify the performance difference between beem and steem-async.

  • Added rich to setup.py + Pipfile, as well as the bench extra to setup.py

  • Added info to the README about using the new CLI tool, as well as the benchmarks

  • Probably some other stuff too :)