Pywit Version 1.1.1 & Utopian-io SubmissionsteemCreated with Sketch.

in #utopian-io6 years ago (edited)

I've finished a small update to Pywit, leading to version 1.1.1. The main parts of this update were initial release bug fixes, adding a logging output to the monitor function so the end-user can see updates, and responding to pull requests from @bobinson who's been helping me test. I've made the initial push to be PEP8 compliant in the code, as well as increasing the testing and setting it up better for future tests. I'm still figuring out how to test the input functions, but it shouldn't be long before those are covered as well. This is my initial submission of Pywit to Utopian-io, as several people commented that I should submit to them as well under the v1.0.3 release.

Testing

Screen Shot 2018-10-30 at 4.41.39 PM.png

The main updates to Pywit today come in the form of tests! Yay! Originally using pytest, I branched out to include tox for virtual environment setup, mostly due to holgern using the same in beem, and it being rather easy to understand. Currently, only the Steem interface is tested (not the input class), as it's the easiest for initial testing with no input required from the user. Any tips on testing user input methods would be appreciated, apparently Cmd2 has some built in testing for it, but there might be issues integrating it with pytest, I haven't checked yet.

Thanks for the Attention!

I was surprised by how much attention v1.0.3 garnered, mostly thanks to bobinson sharing it around. I'd like to thank everybody on Steem for the attention, as I'm building this for all of you! Any tips, feature requests, or issues reported are greatly appreciated! If you appreciate this work, and want to see more, please Vote for me as witness!

Sort:  

Hi there,

Pywit looks good.

Since you didn't share the original announcement post on Utopian, I will review the project as a whole instead of the recent updates.

  • It seems pywit lacks support for witness_set_properties operation. It would be good if we have support for that. It's possible to broadcast witness updates (on witness params) by witnes' signing key. Which is useful on many cases.

  • There are a couple of undefined self calls.1, 2 causes errors on some calls. (See an example log)

  • Regarding testing user inputs, you can have a look to one of my projects' testing file: https://github.com/emre/storm/blob/master/tests.py#L82. run_cmd and test_list_command functions may give a clue.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Great, thanks for the errors you pointed out! I saw your comment on bobinson's post about pipfiles, I was wondering the reason you're not a big fan, since I don't have an opinion one way or the other yet. I had setup.py because it was easy to setup and figure out, basically for a quickstart, wasn't sure what the differences were when I was choosing one to use.

Hey again, do you have any docs on the witness_set_properties using the witness's public signing key? So far I don't think beempy supports it, but I could look into setting up a workaround in pywit. Or is it just with the private signing key that you mean?

You can sign with the private signing key. (witness key)

Check here for an example for witness_set_properties.

Thank you for your review, @emrebeyler! Keep up the good work!

This post has been upvoted for free by @microbot with 0.1%!
Get better upvotes by bidding on me.
More profits? 100% Payout! Delegate some SteemPower to @microbot: 1 SP, 5 SP, 10 SP, custom amount
You like to bet and win 20x your bid? Have a look at @gtw and this description!

Hi @petertag!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @petertag!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.28
TRX 0.11
JST 0.031
BTC 68611.07
ETH 3913.05
USDT 1.00
SBD 3.61