Pywit Version 1.1.2

in #utopian-io5 years ago (edited)

Pywit version 1.1.2 is up on Github! Once again, install using:

pip3 install -U git+https://github.com/gitschwifty/pywit.git

New Tests

The updates in this one come mostly in testing and CI form. The Interface/SteemExplorer class is now fully covered by tests, and I've set up usage of Code Climate for both test coverage and maintainability (and added the badges to the readme). Going to be working on finishing out test coverage and increasing maintainability this month, hoping to get an A and close to 100% on Code Climate. Going to take a look at refactoring some functions and classes for the 'code smells' from Code Climate, but not sure if they're really needed. After that, I'll be looking to expand functionality a lot more, for more wallet functionality than just a witness tool.

Code Climate Screenshot

Functionality

The only real new functionality in here (I added and changed some functions as I went through test development but they're not really user-facing), is the use of witness_update function from Beempy. This is from @emrebeyler's suggestion on my last update (it was witness_update, not witness_set_properties), to set it up so that only the public signing key is needed for updates. So now, disabling your witness, and updating it using the update function (from bash proper, not from the interactive cli), require only your public signing key to use. This should've been a quick fix, but I was busy with school and work for a while. I'm a lot more free now, so more updates will be much swifter.

Thanks for reading, and give it a download if you haven't tried out Pywit yet! I'll be looking at getting it on Pypi (I think), so that you can just use pip install pywit

instead of the whole git url. If you'd like to request a feature, report a bug, or have any questions, comment here or on Github. Cheers!

Vote For Me as Your Witness

Cheers, thanks for reading! If you like my tools and content and would like to see more, Vote for me as witness or proxy your votes and I'll pick the best witnesses for you!

My Projects

Pywit- A witness tool-kit built in Python on top of Holger80's Beempy.

Sort:  

Hi @petertag,

It seems you missed the "development" tag on Utopian so it doesn't show up on our review tool. Can you update the tags and add "development"?

We have handled the situtation manually on our review tool, however keep in mind for your future posts.

Thanks! Sorry about that, checked my last post and thought it was shorthand 'dev'. I'll remember next time :)

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

You’ve Received an Upvote from @larrythelion on behalf of the Lion’s Den Community, Thanks for your Contribution !

Lion's Den Discord

Great updates, Peter.

Good job on the witness_set_properties support, note that, it's also possible to feed the price with that operation.

As far as I can seem, beem.Witness class uses publish_feed operation for that, and you do the same.

So, I am thinking about a use case about pywit, as a witness I want to use pywit as a feed publisher. With that flow, I need to pass my active key if I am not mistaken. However, with witness_set_properties it's also possible to do that with signing key. (sbd_exchange_rate field) It would be also good to see a support for that.


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]

I saw the build notifications from Gitlab and realized something major is happening :-)

Yup! Maybe not a big update here but something major coming soon :)

Posted using Partiko Android

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by petertag from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

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.30
TRX 0.11
JST 0.033
BTC 64275.05
ETH 3147.49
USDT 1.00
SBD 4.29